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 2500426' -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 : 2913811 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 : ['2500426'] with mtr_portfolio_ids : ['19795857'] and first list_photo_ids : [] new path : /proc/2913811/ 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.0759851932525635 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 09:53:14 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 : 10553 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-06 09:53:17.187836: 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 09:53:17.215156: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-06 09:53:17.216683: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fdd24000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-06 09:53:17.216703: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-06 09:53:17.219605: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-06 09:53:17.464196: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3446a490 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-06 09:53:17.464254: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-06 09:53:17.465500: 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 09:53:17.465973: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 09:53:17.469068: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 09:53:17.472121: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-06 09:53:17.472626: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-06 09:53:17.476086: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-06 09:53:17.477149: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-06 09:53:17.482378: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-06 09:53:17.483934: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-06 09:53:17.484026: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 09:53:17.484825: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-06 09:53:17.484840: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-06 09:53:17.484863: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-06 09:53:17.486219: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9777 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 09:53:17.756262: 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 09:53:17.756414: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 09:53:17.756436: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 09:53:17.756455: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-06 09:53:17.756474: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-06 09:53:17.756491: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-06 09:53:17.756509: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-06 09:53:17.756527: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-06 09:53:17.758008: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-06 09:53:17.759357: 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 09:53:17.759397: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 09:53:17.759415: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 09:53:17.759432: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-06 09:53:17.759449: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-06 09:53:17.759466: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-06 09:53:17.759482: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-06 09:53:17.759499: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-06 09:53:17.761219: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-06 09:53:17.761261: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-06 09:53:17.761274: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-06 09:53:17.761286: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-06 09:53:17.763117: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9777 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 09:53:24.664238: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 09:53:24.825609: 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 : 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 : 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 : 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 : 8 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 : 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 : 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 : 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 : 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 : 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 : 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 : 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 : 10 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 : 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 : 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 : 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 : 6 Detection mask done ! Trying to reset tf kernel 2913930 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5264 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 : 10553 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.0013251304626464844 nb_pixel_total : 72328 time to create 1 rle with old method : 0.0839383602142334 length of segment : 191 time for calcul the mask position with numpy : 0.0009353160858154297 nb_pixel_total : 43930 time to create 1 rle with old method : 0.0514369010925293 length of segment : 316 time for calcul the mask position with numpy : 0.021716833114624023 nb_pixel_total : 801426 time to create 1 rle with new method : 0.1630232334136963 length of segment : 1304 time for calcul the mask position with numpy : 0.01944136619567871 nb_pixel_total : 1066415 time to create 1 rle with new method : 0.15358781814575195 length of segment : 1745 time for calcul the mask position with numpy : 0.0017480850219726562 nb_pixel_total : 123274 time to create 1 rle with old method : 0.15801668167114258 length of segment : 382 time for calcul the mask position with numpy : 0.0006439685821533203 nb_pixel_total : 50005 time to create 1 rle with old method : 0.0532684326171875 length of segment : 192 time for calcul the mask position with numpy : 0.0005500316619873047 nb_pixel_total : 19966 time to create 1 rle with old method : 0.0225982666015625 length of segment : 331 time for calcul the mask position with numpy : 0.0043487548828125 nb_pixel_total : 135104 time to create 1 rle with old method : 0.14480376243591309 length of segment : 733 time for calcul the mask position with numpy : 0.017822742462158203 nb_pixel_total : 635948 time to create 1 rle with new method : 0.06661796569824219 length of segment : 1130 time for calcul the mask position with numpy : 0.0003552436828613281 nb_pixel_total : 12854 time to create 1 rle with old method : 0.020989656448364258 length of segment : 159 time for calcul the mask position with numpy : 0.00244140625 nb_pixel_total : 159631 time to create 1 rle with new method : 0.005115509033203125 length of segment : 426 time for calcul the mask position with numpy : 0.0049037933349609375 nb_pixel_total : 337667 time to create 1 rle with new method : 0.01459503173828125 length of segment : 1843 time for calcul the mask position with numpy : 0.012093067169189453 nb_pixel_total : 641449 time to create 1 rle with new method : 0.11203193664550781 length of segment : 1438 time for calcul the mask position with numpy : 0.0007174015045166016 nb_pixel_total : 18898 time to create 1 rle with old method : 0.020938634872436523 length of segment : 200 time for calcul the mask position with numpy : 0.0003216266632080078 nb_pixel_total : 1641 time to create 1 rle with old method : 0.002955913543701172 length of segment : 105 time for calcul the mask position with numpy : 0.005305051803588867 nb_pixel_total : 10819 time to create 1 rle with old method : 0.016776084899902344 length of segment : 121 time for calcul the mask position with numpy : 0.02041935920715332 nb_pixel_total : 1438654 time to create 1 rle with new method : 0.1648561954498291 length of segment : 1097 time for calcul the mask position with numpy : 0.003907442092895508 nb_pixel_total : 296162 time to create 1 rle with new method : 0.008062362670898438 length of segment : 927 time for calcul the mask position with numpy : 0.23949503898620605 nb_pixel_total : 1245270 time to create 1 rle with new method : 0.24874401092529297 length of segment : 2046 time for calcul the mask position with numpy : 0.00020122528076171875 nb_pixel_total : 10609 time to create 1 rle with old method : 0.012099504470825195 length of segment : 113 time for calcul the mask position with numpy : 0.0033805370330810547 nb_pixel_total : 248515 time to create 1 rle with new method : 0.008901357650756836 length of segment : 1162 time for calcul the mask position with numpy : 0.0003113746643066406 nb_pixel_total : 2958 time to create 1 rle with old method : 0.004094123840332031 length of segment : 74 time for calcul the mask position with numpy : 0.05011749267578125 nb_pixel_total : 1481151 time to create 1 rle with new method : 0.30571866035461426 length of segment : 1806 time for calcul the mask position with numpy : 0.002969503402709961 nb_pixel_total : 239336 time to create 1 rle with new method : 0.008290290832519531 length of segment : 850 time for calcul the mask position with numpy : 0.0002124309539794922 nb_pixel_total : 10680 time to create 1 rle with old method : 0.012597799301147461 length of segment : 108 time for calcul the mask position with numpy : 0.003359556198120117 nb_pixel_total : 306218 time to create 1 rle with new method : 0.007796764373779297 length of segment : 977 time for calcul the mask position with numpy : 0.0006356239318847656 nb_pixel_total : 11812 time to create 1 rle with old method : 0.013416528701782227 length of segment : 265 time for calcul the mask position with numpy : 0.003510713577270508 nb_pixel_total : 110099 time to create 1 rle with old method : 0.12132000923156738 length of segment : 552 time for calcul the mask position with numpy : 0.006868839263916016 nb_pixel_total : 377566 time to create 1 rle with new method : 0.014142751693725586 length of segment : 1482 time for calcul the mask position with numpy : 0.00024056434631347656 nb_pixel_total : 11204 time to create 1 rle with old method : 0.013022184371948242 length of segment : 146 time for calcul the mask position with numpy : 0.009512901306152344 nb_pixel_total : 264298 time to create 1 rle with new method : 0.02987837791442871 length of segment : 895 time for calcul the mask position with numpy : 0.0002300739288330078 nb_pixel_total : 8613 time to create 1 rle with old method : 0.009845733642578125 length of segment : 193 time for calcul the mask position with numpy : 0.012963056564331055 nb_pixel_total : 728442 time to create 1 rle with new method : 0.027650117874145508 length of segment : 2564 time for calcul the mask position with numpy : 0.00093841552734375 nb_pixel_total : 61648 time to create 1 rle with old method : 0.06964921951293945 length of segment : 423 time for calcul the mask position with numpy : 0.004481792449951172 nb_pixel_total : 356435 time to create 1 rle with new method : 0.011131048202514648 length of segment : 1612 time for calcul the mask position with numpy : 0.0004775524139404297 nb_pixel_total : 23931 time to create 1 rle with old method : 0.027317047119140625 length of segment : 130 time for calcul the mask position with numpy : 0.013937711715698242 nb_pixel_total : 945607 time to create 1 rle with new method : 0.0262300968170166 length of segment : 2082 time for calcul the mask position with numpy : 0.018761157989501953 nb_pixel_total : 908934 time to create 1 rle with new method : 0.2631707191467285 length of segment : 2124 time for calcul the mask position with numpy : 0.0006690025329589844 nb_pixel_total : 44268 time to create 1 rle with old method : 0.04990816116333008 length of segment : 324 time for calcul the mask position with numpy : 0.004000186920166016 nb_pixel_total : 332241 time to create 1 rle with new method : 0.010256767272949219 length of segment : 1327 time for calcul the mask position with numpy : 0.0016994476318359375 nb_pixel_total : 75715 time to create 1 rle with old method : 0.08955764770507812 length of segment : 233 time for calcul the mask position with numpy : 0.16524267196655273 nb_pixel_total : 1586258 time to create 1 rle with new method : 0.2630913257598877 length of segment : 1530 time for calcul the mask position with numpy : 0.003960132598876953 nb_pixel_total : 313758 time to create 1 rle with new method : 0.010037660598754883 length of segment : 1025 time for calcul the mask position with numpy : 0.024058818817138672 nb_pixel_total : 1574461 time to create 1 rle with new method : 0.056891679763793945 length of segment : 1736 time for calcul the mask position with numpy : 0.003272533416748047 nb_pixel_total : 320793 time to create 1 rle with new method : 0.007187366485595703 length of segment : 918 time for calcul the mask position with numpy : 0.0009884834289550781 nb_pixel_total : 75597 time to create 1 rle with old method : 0.08422708511352539 length of segment : 453 time for calcul the mask position with numpy : 0.0019905567169189453 nb_pixel_total : 69605 time to create 1 rle with old method : 0.07646346092224121 length of segment : 523 time for calcul the mask position with numpy : 0.019145488739013672 nb_pixel_total : 1012604 time to create 1 rle with new method : 0.11312389373779297 length of segment : 1531 time for calcul the mask position with numpy : 0.0012431144714355469 nb_pixel_total : 103800 time to create 1 rle with old method : 0.14016199111938477 length of segment : 197 time for calcul the mask position with numpy : 0.0005896091461181641 nb_pixel_total : 49286 time to create 1 rle with old method : 0.05493021011352539 length of segment : 142 time for calcul the mask position with numpy : 0.0020134449005126953 nb_pixel_total : 104485 time to create 1 rle with old method : 0.11159133911132812 length of segment : 304 time for calcul the mask position with numpy : 0.0003116130828857422 nb_pixel_total : 5612 time to create 1 rle with old method : 0.0064144134521484375 length of segment : 239 time for calcul the mask position with numpy : 0.01659870147705078 nb_pixel_total : 1022905 time to create 1 rle with new method : 0.06289982795715332 length of segment : 1433 time for calcul the mask position with numpy : 0.00079345703125 nb_pixel_total : 59006 time to create 1 rle with old method : 0.061678409576416016 length of segment : 332 time for calcul the mask position with numpy : 0.00029015541076660156 nb_pixel_total : 21210 time to create 1 rle with old method : 0.023777246475219727 length of segment : 224 time for calcul the mask position with numpy : 0.0001404285430908203 nb_pixel_total : 6546 time to create 1 rle with old method : 0.007618904113769531 length of segment : 111 time for calcul the mask position with numpy : 0.003771543502807617 nb_pixel_total : 308269 time to create 1 rle with new method : 0.010549783706665039 length of segment : 1054 time for calcul the mask position with numpy : 0.0007984638214111328 nb_pixel_total : 49644 time to create 1 rle with old method : 0.05671215057373047 length of segment : 297 time for calcul the mask position with numpy : 0.0027713775634765625 nb_pixel_total : 180426 time to create 1 rle with new method : 0.008281946182250977 length of segment : 1076 time for calcul the mask position with numpy : 0.016982078552246094 nb_pixel_total : 1278381 time to create 1 rle with new method : 0.13349151611328125 length of segment : 2381 time for calcul the mask position with numpy : 9.703636169433594e-05 nb_pixel_total : 1698 time to create 1 rle with old method : 0.0019621849060058594 length of segment : 49 time for calcul the mask position with numpy : 0.00024127960205078125 nb_pixel_total : 10957 time to create 1 rle with old method : 0.012670040130615234 length of segment : 237 time for calcul the mask position with numpy : 0.005747318267822266 nb_pixel_total : 371830 time to create 1 rle with new method : 0.01665663719177246 length of segment : 957 time for calcul the mask position with numpy : 0.010623455047607422 nb_pixel_total : 793889 time to create 1 rle with new method : 0.051724910736083984 length of segment : 1863 time for calcul the mask position with numpy : 0.0001583099365234375 nb_pixel_total : 3382 time to create 1 rle with old method : 0.004992485046386719 length of segment : 88 time for calcul the mask position with numpy : 0.004541873931884766 nb_pixel_total : 311892 time to create 1 rle with new method : 0.009897232055664062 length of segment : 1011 time for calcul the mask position with numpy : 0.014197587966918945 nb_pixel_total : 1208583 time to create 1 rle with new method : 0.16309571266174316 length of segment : 1822 time for calcul the mask position with numpy : 0.0001552104949951172 nb_pixel_total : 7902 time to create 1 rle with old method : 0.008772611618041992 length of segment : 95 time for calcul the mask position with numpy : 0.003843069076538086 nb_pixel_total : 327269 time to create 1 rle with new method : 0.009160041809082031 length of segment : 1122 time for calcul the mask position with numpy : 0.009577512741088867 nb_pixel_total : 578661 time to create 1 rle with new method : 0.029529809951782227 length of segment : 1140 time for calcul the mask position with numpy : 0.0018737316131591797 nb_pixel_total : 143195 time to create 1 rle with old method : 0.15349125862121582 length of segment : 386 time for calcul the mask position with numpy : 0.0003726482391357422 nb_pixel_total : 8389 time to create 1 rle with old method : 0.009395122528076172 length of segment : 117 time for calcul the mask position with numpy : 0.007073402404785156 nb_pixel_total : 376537 time to create 1 rle with new method : 0.014598369598388672 length of segment : 925 time for calcul the mask position with numpy : 0.0003535747528076172 nb_pixel_total : 13627 time to create 1 rle with old method : 0.015902280807495117 length of segment : 78 time for calcul the mask position with numpy : 0.0042455196380615234 nb_pixel_total : 265319 time to create 1 rle with new method : 0.011904001235961914 length of segment : 1379 time for calcul the mask position with numpy : 0.012912273406982422 nb_pixel_total : 698597 time to create 1 rle with new method : 0.0535283088684082 length of segment : 1754 time for calcul the mask position with numpy : 0.003299236297607422 nb_pixel_total : 249992 time to create 1 rle with new method : 0.007823467254638672 length of segment : 910 time for calcul the mask position with numpy : 0.0010347366333007812 nb_pixel_total : 62378 time to create 1 rle with old method : 0.06688451766967773 length of segment : 227 time for calcul the mask position with numpy : 0.005210399627685547 nb_pixel_total : 426297 time to create 1 rle with new method : 0.013694047927856445 length of segment : 1890 time for calcul the mask position with numpy : 0.0007314682006835938 nb_pixel_total : 58207 time to create 1 rle with old method : 0.06461310386657715 length of segment : 228 time spent for convertir_results : 15.356869459152222 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 80 chid ids of type : 3663 Number RLEs to save : 65912 save missing photos in datou_result : time spend for datou_step_exec : 37.27181386947632 time spend to save output : 18.07071018218994 total time spend for step 1 : 55.34252405166626 step2:crop_condition Thu Feb 6 09:54:09 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 80 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 ! 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 : 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 ! 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 : 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 ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 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 ! 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_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 [1330470464, 1330470161, 1330470155, 1330470149, 1330470143, 1330469560, 1330469470, 1330469330, 1330469326, 1330469281, 1330469277, 1330469171, 1330468985, 1330467648, 1330467646, 1330467644, 1330467641, 1330467275, 1330467181, 1330466462] Looping around the photos to save general results len do output : 18 /-3657544167Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657544201Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657544216Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657544197Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657544215Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657544204Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657544171Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657544179Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657544211Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657544219Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657544223Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657544233Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657544239Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657544243Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657544185Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657544226Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657544237Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657544190Didn'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, '2500426') ('3459', '19795857', '1330470464', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470161', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470155', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470149', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470143', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469560', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469470', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469330', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469326', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469281', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469277', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469171', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330468985', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467648', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467646', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467644', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467641', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467275', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467181', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330466462', None, None, None, None, None, '2500426') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 74 time used for this insertion : 0.04048466682434082 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.28640341758728 time spend to save output : 0.04167461395263672 total time spend for step 2 : 7.328078031539917 step3:thcl Thu Feb 6 09:54:17 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.003818035125732422 time to convert the images to numpy array : 1.6689300537109375e-06 time to import caffe and check if the image exist : 0.0066263675689697266 time to convert the images to numpy array : 0.004584312438964844 time to import caffe and check if the image exist : 0.007706165313720703 time to convert the images to numpy array : 0.005619525909423828 time to import caffe and check if the image exist : 0.00419163703918457 time to convert the images to numpy array : 0.014295578002929688 time to import caffe and check if the image exist : 0.009356975555419922 time to convert the images to numpy array : 0.012295007705688477 time to import caffe and check if the image exist : 0.005213499069213867 time to convert the images to numpy array : 0.016552448272705078 time to import caffe and check if the image exist : 0.004553318023681641 time to convert the images to numpy array : 0.0172119140625 time to import caffe and check if the image exist : 0.006511211395263672 time to convert the images to numpy array : 0.01741814613342285 time to import caffe and check if the image exist : 0.0061855316162109375 time to convert the images to numpy array : 0.018649578094482422 time to import caffe and check if the image exist : 0.004300355911254883 time to convert the images to numpy array : 0.020989179611206055 total time to convert the images to numpy array : 0.26810669898986816 list photo_ids error: [] list photo_ids correct : [-3657544185, -3657544226, -3657544237, -3657544190, -3657544167, -3657544201, -3657544223, -3657544233, -3657544239, -3657544243, -3657544171, -3657544179, -3657544215, -3657544204, -3657544216, -3657544197, -3657544211, -3657544219] number of photos to traite : 18 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 : 10774 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 : 10555 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.17622113227844238 time used to do the prediction : 0.07947373390197754 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 : 10553 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 : 10553 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.14983320236206055 time used to do the prediction : 0.05764269828796387 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.0251998901367188e-05 save missing photos in datou_result : time spend for datou_step_exec : 7.366843938827515 time spend to save output : 0.000308990478515625 total time spend for step 3 : 7.36715292930603 step4:merge_mask_thcl_custom Thu Feb 6 09:54:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 80 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 [1330470464, 1330470161, 1330470155, 1330470149, 1330470143, 1330469560, 1330469470, 1330469330, 1330469326, 1330469281, 1330469277, 1330469171, 1330468985, 1330467648, 1330467646, 1330467644, 1330467641, 1330467275, 1330467181, 1330466462] Looping around the photos to save general results len do output : 20 /1330470464Didn't retrieve data .Didn't retrieve data . /1330470161Didn't retrieve data .Didn't retrieve data . /1330470155Didn't retrieve data .Didn't retrieve data . /1330470149Didn't retrieve data .Didn't retrieve data . /1330470143Didn't retrieve data .Didn't retrieve data . /1330469560Didn't retrieve data .Didn't retrieve data . /1330469470Didn't retrieve data .Didn't retrieve data . /1330469330Didn't retrieve data .Didn't retrieve data . /1330469326Didn't retrieve data .Didn't retrieve data . /1330469281Didn't retrieve data .Didn't retrieve data . /1330469277Didn't retrieve data .Didn't retrieve data . /1330469171Didn't retrieve data .Didn't retrieve data . /1330468985Didn't retrieve data .Didn't retrieve data . /1330467648Didn't retrieve data .Didn't retrieve data . /1330467646Didn't retrieve data .Didn't retrieve data . /1330467644Didn't retrieve data .Didn't retrieve data . /1330467641Didn't retrieve data .Didn't retrieve data . /1330467275Didn't retrieve data .Didn't retrieve data . /1330467181Didn't retrieve data .Didn't retrieve data . /1330466462Didn'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, '2500426') ('3459', '19795857', '1330470464', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470161', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470155', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470149', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470143', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469560', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469470', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469330', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469326', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469281', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469277', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469171', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330468985', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467648', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467646', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467644', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467641', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467275', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467181', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330466462', None, None, None, None, None, '2500426') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.016187667846679688 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.05817747116088867 time spend to save output : 0.017006874084472656 total time spend for step 4 : 0.07518434524536133 step5:rle_unique_nms_with_priority Thu Feb 6 09:54:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 3 nb_hashtags : 2 time to prepare the origin masks : 1.7815003395080566 time for calcul the mask position with numpy : 0.2635955810546875 nb_pixel_total : 1156922 time to create 1 rle with new method : 0.08230829238891602 time for calcul the mask position with numpy : 0.006452322006225586 nb_pixel_total : 34960 time to create 1 rle with old method : 0.037362098693847656 time for calcul the mask position with numpy : 0.18764758110046387 nb_pixel_total : 809511 time to create 1 rle with new method : 0.0782461166381836 time for calcul the mask position with numpy : 0.006571292877197266 nb_pixel_total : 72207 time to create 1 rle with old method : 0.07702016830444336 create new chi : 0.7552287578582764 time to delete rle : 0.011983633041381836 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 4002 TO DO : save crop sub photo not yet done ! save time : 0.4133784770965576 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.5504975318908691 time for calcul the mask position with numpy : 0.0391995906829834 nb_pixel_total : 938563 time to create 1 rle with new method : 0.20323538780212402 time for calcul the mask position with numpy : 0.0065801143646240234 nb_pixel_total : 48679 time to create 1 rle with old method : 0.05377006530761719 time for calcul the mask position with numpy : 0.006165266036987305 nb_pixel_total : 12331 time to create 1 rle with old method : 0.013484001159667969 time for calcul the mask position with numpy : 0.03242206573486328 nb_pixel_total : 1074027 time to create 1 rle with new method : 0.14070534706115723 create new chi : 0.5148565769195557 time to delete rle : 0.0004863739013671875 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 4581 TO DO : save crop sub photo not yet done ! save time : 3.737030267715454 nb_obj : 6 nb_hashtags : 1 time to prepare the origin masks : 0.9235949516296387 time for calcul the mask position with numpy : 0.0513460636138916 nb_pixel_total : 1096629 time to create 1 rle with new method : 0.08240652084350586 time for calcul the mask position with numpy : 0.007153987884521484 nb_pixel_total : 160406 time to create 1 rle with new method : 0.4648144245147705 time for calcul the mask position with numpy : 0.006734132766723633 nb_pixel_total : 12776 time to create 1 rle with old method : 0.014038801193237305 time for calcul the mask position with numpy : 0.0064203739166259766 nb_pixel_total : 12842 time to create 1 rle with old method : 0.014324426651000977 time for calcul the mask position with numpy : 0.0187530517578125 nb_pixel_total : 636198 time to create 1 rle with new method : 0.03192448616027832 time for calcul the mask position with numpy : 0.00984644889831543 nb_pixel_total : 134802 time to create 1 rle with old method : 0.144822359085083 time for calcul the mask position with numpy : 0.008046865463256836 nb_pixel_total : 19947 time to create 1 rle with old method : 0.022238731384277344 create new chi : 0.8920285701751709 time to delete rle : 0.0007331371307373047 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 7853 TO DO : save crop sub photo not yet done ! save time : 0.48885273933410645 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.4514641761779785 time for calcul the mask position with numpy : 0.016921281814575195 nb_pixel_total : 1407054 time to create 1 rle with new method : 0.03238844871520996 time for calcul the mask position with numpy : 0.00675511360168457 nb_pixel_total : 18845 time to create 1 rle with old method : 0.021271467208862305 time for calcul the mask position with numpy : 0.009540319442749023 nb_pixel_total : 1634 time to create 1 rle with old method : 0.0019257068634033203 time for calcul the mask position with numpy : 0.010909795761108398 nb_pixel_total : 646067 time to create 1 rle with new method : 0.05638480186462402 create new chi : 0.16352415084838867 time to delete rle : 0.0004353523254394531 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 4242 TO DO : save crop sub photo not yet done ! save time : 0.28850269317626953 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.1702423095703125 time for calcul the mask position with numpy : 0.010641098022460938 nb_pixel_total : 541526 time to create 1 rle with new method : 0.05426335334777832 time for calcul the mask position with numpy : 0.006979942321777344 nb_pixel_total : 95065 time to create 1 rle with old method : 0.10616803169250488 time for calcul the mask position with numpy : 0.01691913604736328 nb_pixel_total : 1437009 time to create 1 rle with new method : 0.05277085304260254 create new chi : 0.25516343116760254 time to delete rle : 0.00042247772216796875 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 4138 TO DO : save crop sub photo not yet done ! save time : 2.0502541065216064 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.5058486461639404 time for calcul the mask position with numpy : 0.014204025268554688 nb_pixel_total : 712698 time to create 1 rle with new method : 0.5364673137664795 time for calcul the mask position with numpy : 0.013521909713745117 nb_pixel_total : 10574 time to create 1 rle with old method : 0.015478134155273438 time for calcul the mask position with numpy : 0.007417201995849609 nb_pixel_total : 73992 time to create 1 rle with old method : 0.08885359764099121 time for calcul the mask position with numpy : 0.018421173095703125 nb_pixel_total : 1276336 time to create 1 rle with new method : 0.04980945587158203 create new chi : 0.7562339305877686 time to delete rle : 0.00052642822265625 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 5468 TO DO : save crop sub photo not yet done ! save time : 2.0656280517578125 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.4454216957092285 time for calcul the mask position with numpy : 0.010331869125366211 nb_pixel_total : 463955 time to create 1 rle with new method : 0.04193878173828125 time for calcul the mask position with numpy : 0.007399797439575195 nb_pixel_total : 105390 time to create 1 rle with old method : 0.1181175708770752 time for calcul the mask position with numpy : 0.007199525833129883 nb_pixel_total : 13032 time to create 1 rle with old method : 0.015081644058227539 time for calcul the mask position with numpy : 0.021671295166015625 nb_pixel_total : 1491223 time to create 1 rle with new method : 0.04327082633972168 create new chi : 0.27245426177978516 time to delete rle : 0.0009582042694091797 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 5942 TO DO : save crop sub photo not yet done ! save time : 0.6351122856140137 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.749152421951294 time for calcul the mask position with numpy : 0.022128820419311523 nb_pixel_total : 1477616 time to create 1 rle with new method : 0.045169830322265625 time for calcul the mask position with numpy : 0.0072345733642578125 nb_pixel_total : 862 time to create 1 rle with old method : 0.0010492801666259766 time for calcul the mask position with numpy : 0.006874799728393555 nb_pixel_total : 72672 time to create 1 rle with old method : 0.07929182052612305 time for calcul the mask position with numpy : 0.006734371185302734 nb_pixel_total : 11136 time to create 1 rle with old method : 0.011944293975830078 time for calcul the mask position with numpy : 0.008871793746948242 nb_pixel_total : 390152 time to create 1 rle with new method : 0.04062390327453613 time for calcul the mask position with numpy : 0.007175445556640625 nb_pixel_total : 109404 time to create 1 rle with old method : 0.11706328392028809 time for calcul the mask position with numpy : 0.007073879241943359 nb_pixel_total : 11758 time to create 1 rle with old method : 0.01318359375 create new chi : 0.37938523292541504 time to delete rle : 0.0007679462432861328 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 5775 TO DO : save crop sub photo not yet done ! save time : 0.3852980136871338 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.49303460121154785 time for calcul the mask position with numpy : 0.015744686126708984 nb_pixel_total : 1026479 time to create 1 rle with new method : 0.03703618049621582 time for calcul the mask position with numpy : 0.009412527084350586 nb_pixel_total : 256942 time to create 1 rle with new method : 0.03852272033691406 time for calcul the mask position with numpy : 0.00716400146484375 nb_pixel_total : 35692 time to create 1 rle with old method : 0.039852142333984375 time for calcul the mask position with numpy : 0.014978170394897461 nb_pixel_total : 754487 time to create 1 rle with new method : 0.7007253170013428 create new chi : 0.8669486045837402 time to delete rle : 0.0006933212280273438 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 8139 TO DO : save crop sub photo not yet done ! save time : 0.6283845901489258 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.3250610828399658 time for calcul the mask position with numpy : 0.024294137954711914 nb_pixel_total : 1116006 time to create 1 rle with new method : 0.05289030075073242 time for calcul the mask position with numpy : 0.015234947204589844 nb_pixel_total : 933834 time to create 1 rle with new method : 0.04802703857421875 time for calcul the mask position with numpy : 0.0084075927734375 nb_pixel_total : 23760 time to create 1 rle with old method : 0.03807711601257324 create new chi : 0.1894369125366211 time to delete rle : 0.0009081363677978516 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 5467 TO DO : save crop sub photo not yet done ! save time : 0.374744176864624 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.37962937355041504 time for calcul the mask position with numpy : 0.012753009796142578 nb_pixel_total : 866484 time to create 1 rle with new method : 0.12987017631530762 time for calcul the mask position with numpy : 0.009085893630981445 nb_pixel_total : 259889 time to create 1 rle with new method : 0.06578707695007324 time for calcul the mask position with numpy : 0.012870311737060547 nb_pixel_total : 902972 time to create 1 rle with new method : 0.05093574523925781 time for calcul the mask position with numpy : 0.006922245025634766 nb_pixel_total : 44255 time to create 1 rle with old method : 0.0486149787902832 create new chi : 0.3403937816619873 time to delete rle : 0.0007145404815673828 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 7188 TO DO : save crop sub photo not yet done ! save time : 0.4810774326324463 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.43123340606689453 time for calcul the mask position with numpy : 0.009996414184570312 nb_pixel_total : 426618 time to create 1 rle with new method : 0.051793575286865234 time for calcul the mask position with numpy : 0.007311820983886719 nb_pixel_total : 45064 time to create 1 rle with old method : 0.05020332336425781 time for calcul the mask position with numpy : 0.028241872787475586 nb_pixel_total : 1526267 time to create 1 rle with new method : 0.04514265060424805 time for calcul the mask position with numpy : 0.0065920352935791016 nb_pixel_total : 75651 time to create 1 rle with old method : 0.09654712677001953 create new chi : 0.30484628677368164 time to delete rle : 0.0005307197570800781 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 4981 TO DO : save crop sub photo not yet done ! save time : 0.33626365661621094 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.5150659084320068 time for calcul the mask position with numpy : 0.01110076904296875 nb_pixel_total : 357409 time to create 1 rle with new method : 0.04695582389831543 time for calcul the mask position with numpy : 0.006403923034667969 nb_pixel_total : 19245 time to create 1 rle with old method : 0.020988941192626953 time for calcul the mask position with numpy : 0.0067713260650634766 nb_pixel_total : 112833 time to create 1 rle with old method : 0.12374711036682129 time for calcul the mask position with numpy : 0.02023625373840332 nb_pixel_total : 1584113 time to create 1 rle with new method : 0.0362856388092041 create new chi : 0.27933263778686523 time to delete rle : 0.0005137920379638672 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 5528 TO DO : save crop sub photo not yet done ! save time : 3.2072808742523193 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.35836005210876465 time for calcul the mask position with numpy : 0.017633438110351562 nb_pixel_total : 945291 time to create 1 rle with new method : 0.04631495475769043 time for calcul the mask position with numpy : 0.006507396697998047 nb_pixel_total : 49201 time to create 1 rle with old method : 0.052617549896240234 time for calcul the mask position with numpy : 0.0065882205963134766 nb_pixel_total : 28377 time to create 1 rle with old method : 0.032480716705322266 time for calcul the mask position with numpy : 0.01346135139465332 nb_pixel_total : 981391 time to create 1 rle with new method : 0.04723858833312988 time for calcul the mask position with numpy : 0.0071642398834228516 nb_pixel_total : 69340 time to create 1 rle with old method : 0.08668661117553711 create new chi : 0.32566094398498535 time to delete rle : 0.0006082057952880859 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 5390 TO DO : save crop sub photo not yet done ! save time : 0.3518357276916504 nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 1.653261423110962 time for calcul the mask position with numpy : 0.014061927795410156 nb_pixel_total : 654597 time to create 1 rle with new method : 0.09193825721740723 time for calcul the mask position with numpy : 0.006926774978637695 nb_pixel_total : 36716 time to create 1 rle with old method : 0.04202866554260254 time for calcul the mask position with numpy : 0.006951332092285156 nb_pixel_total : 49550 time to create 1 rle with old method : 0.060906410217285156 time for calcul the mask position with numpy : 0.00877070426940918 nb_pixel_total : 56423 time to create 1 rle with old method : 0.068878173828125 time for calcul the mask position with numpy : 0.007761955261230469 nb_pixel_total : 116197 time to create 1 rle with old method : 0.1239936351776123 time for calcul the mask position with numpy : 0.007518768310546875 nb_pixel_total : 103747 time to create 1 rle with old method : 0.11296582221984863 time for calcul the mask position with numpy : 0.00670933723449707 nb_pixel_total : 6530 time to create 1 rle with old method : 0.007569313049316406 time for calcul the mask position with numpy : 0.007283687591552734 nb_pixel_total : 21074 time to create 1 rle with old method : 0.026798486709594727 time for calcul the mask position with numpy : 0.018726348876953125 nb_pixel_total : 1023176 time to create 1 rle with new method : 0.059183359146118164 time for calcul the mask position with numpy : 0.010440826416015625 nb_pixel_total : 5590 time to create 1 rle with old method : 0.006470680236816406 create new chi : 0.70857834815979 time to delete rle : 0.0008409023284912109 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 8562 TO DO : save crop sub photo not yet done ! save time : 0.5328302383422852 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.26357555389404297 time for calcul the mask position with numpy : 0.01289224624633789 nb_pixel_total : 795284 time to create 1 rle with new method : 0.04264521598815918 time for calcul the mask position with numpy : 0.016760826110839844 nb_pixel_total : 1276632 time to create 1 rle with new method : 0.05216503143310547 time for calcul the mask position with numpy : 0.007037162780761719 nb_pixel_total : 1684 time to create 1 rle with old method : 0.0021698474884033203 create new chi : 0.1419079303741455 time to delete rle : 0.0006165504455566406 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 5718 TO DO : save crop sub photo not yet done ! save time : 0.40259671211242676 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.4476964473724365 time for calcul the mask position with numpy : 0.019711971282958984 nb_pixel_total : 959364 time to create 1 rle with new method : 0.04485297203063965 time for calcul the mask position with numpy : 0.007929325103759766 nb_pixel_total : 133458 time to create 1 rle with old method : 0.14693665504455566 time for calcul the mask position with numpy : 0.006907224655151367 nb_pixel_total : 3379 time to create 1 rle with old method : 0.003984689712524414 time for calcul the mask position with numpy : 0.01076507568359375 nb_pixel_total : 598292 time to create 1 rle with new method : 0.03607487678527832 time for calcul the mask position with numpy : 0.010606527328491211 nb_pixel_total : 379107 time to create 1 rle with new method : 0.03163504600524902 create new chi : 0.32073330879211426 time to delete rle : 0.0007088184356689453 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 7731 TO DO : save crop sub photo not yet done ! save time : 0.6345534324645996 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.2945549488067627 time for calcul the mask position with numpy : 0.013120174407958984 nb_pixel_total : 729895 time to create 1 rle with new method : 0.050467729568481445 time for calcul the mask position with numpy : 0.006388187408447266 nb_pixel_total : 7267 time to create 1 rle with old method : 0.008119344711303711 time for calcul the mask position with numpy : 0.00709080696105957 nb_pixel_total : 126031 time to create 1 rle with old method : 0.148728609085083 time for calcul the mask position with numpy : 0.03574728965759277 nb_pixel_total : 1210407 time to create 1 rle with new method : 0.1354663372039795 create new chi : 0.4154472351074219 time to delete rle : 0.0007796287536621094 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 6042 TO DO : save crop sub photo not yet done ! save time : 0.41454291343688965 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.5158126354217529 time for calcul the mask position with numpy : 0.04434370994567871 nb_pixel_total : 1185425 time to create 1 rle with new method : 0.09363389015197754 time for calcul the mask position with numpy : 0.00697779655456543 nb_pixel_total : 13582 time to create 1 rle with old method : 0.015064716339111328 time for calcul the mask position with numpy : 0.007846832275390625 nb_pixel_total : 265260 time to create 1 rle with new method : 0.09200692176818848 time for calcul the mask position with numpy : 0.00720524787902832 nb_pixel_total : 8356 time to create 1 rle with old method : 0.01036381721496582 time for calcul the mask position with numpy : 0.007642507553100586 nb_pixel_total : 22415 time to create 1 rle with old method : 0.02809882164001465 time for calcul the mask position with numpy : 0.011148452758789062 nb_pixel_total : 578562 time to create 1 rle with new method : 0.03600144386291504 create new chi : 0.37023186683654785 time to delete rle : 0.0008182525634765625 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 6706 TO DO : save crop sub photo not yet done ! save time : 2.3502578735351562 nb_obj : 5 nb_hashtags : 1 time to prepare the origin masks : 0.6206607818603516 time for calcul the mask position with numpy : 0.014834165573120117 nb_pixel_total : 988752 time to create 1 rle with new method : 0.03466606140136719 time for calcul the mask position with numpy : 0.0064432621002197266 nb_pixel_total : 1254 time to create 1 rle with old method : 0.0015902519226074219 time for calcul the mask position with numpy : 0.007985591888427734 nb_pixel_total : 270991 time to create 1 rle with new method : 0.1726827621459961 time for calcul the mask position with numpy : 0.008725643157958984 nb_pixel_total : 48452 time to create 1 rle with old method : 0.0780038833618164 time for calcul the mask position with numpy : 0.0076062679290771484 nb_pixel_total : 62160 time to create 1 rle with old method : 0.06912493705749512 time for calcul the mask position with numpy : 0.011154651641845703 nb_pixel_total : 701991 time to create 1 rle with new method : 0.037213802337646484 create new chi : 0.4583883285522461 time to delete rle : 0.0007929801940917969 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 7603 TO DO : save crop sub photo not yet done ! save time : 0.7703614234924316 map_output_result : {1330470464: (0.0, 'Should be the crop_list due to order', 0.0), 1330470161: (0.0, 'Should be the crop_list due to order', 0.0), 1330470155: (0.0, 'Should be the crop_list due to order', 0.0), 1330470149: (0.0, 'Should be the crop_list due to order', 0.0), 1330470143: (0.0, 'Should be the crop_list due to order', 0.0), 1330469560: (0.0, 'Should be the crop_list due to order', 0.0), 1330469470: (0.0, 'Should be the crop_list due to order', 0.0), 1330469330: (0.0, 'Should be the crop_list due to order', 0.0), 1330469326: (0.0, 'Should be the crop_list due to order', 0.0), 1330469281: (0.0, 'Should be the crop_list due to order', 0.0), 1330469277: (0.0, 'Should be the crop_list due to order', 0.0), 1330469171: (0.0, 'Should be the crop_list due to order', 0.0), 1330468985: (0.0, 'Should be the crop_list due to order', 0.0), 1330467648: (0.0, 'Should be the crop_list due to order', 0.0), 1330467646: (0.0, 'Should be the crop_list due to order', 0.0), 1330467644: (0.0, 'Should be the crop_list due to order', 0.0), 1330467641: (0.0, 'Should be the crop_list due to order', 0.0), 1330467275: (0.0, 'Should be the crop_list due to order', 0.0), 1330467181: (0.0, 'Should be the crop_list due to order', 0.0), 1330466462: (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 [1330470464, 1330470161, 1330470155, 1330470149, 1330470143, 1330469560, 1330469470, 1330469330, 1330469326, 1330469281, 1330469277, 1330469171, 1330468985, 1330467648, 1330467646, 1330467644, 1330467641, 1330467275, 1330467181, 1330466462] Looping around the photos to save general results len do output : 20 /1330470464.Didn't retrieve data . /1330470161.Didn't retrieve data . /1330470155.Didn't retrieve data . /1330470149.Didn't retrieve data . /1330470143.Didn't retrieve data . /1330469560.Didn't retrieve data . /1330469470.Didn't retrieve data . /1330469330.Didn't retrieve data . /1330469326.Didn't retrieve data . /1330469281.Didn't retrieve data . /1330469277.Didn't retrieve data . /1330469171.Didn't retrieve data . /1330468985.Didn't retrieve data . /1330467648.Didn't retrieve data . /1330467646.Didn't retrieve data . /1330467644.Didn't retrieve data . /1330467641.Didn't retrieve data . /1330467275.Didn't retrieve data . /1330467181.Didn't retrieve data . /1330466462.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, '2500426') ('3459', '19795857', '1330470464', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470161', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470155', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470149', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470143', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469560', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469470', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469330', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469326', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469281', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469277', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469171', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330468985', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467648', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467646', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467644', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467641', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467275', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467181', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330466462', None, None, None, None, None, '2500426') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.014748573303222656 save_final save missing photos in datou_result : time spend for datou_step_exec : 43.43409752845764 time spend to save output : 0.015478134155273438 total time spend for step 5 : 43.449575662612915 step6:crop_condition Thu Feb 6 09:55: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 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 95 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738832109_2913811 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6339445114135742 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738832110_2913811 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.614741325378418 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738832111_2913811 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5116932392120361 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738832112_2913811 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6166918277740479 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/1738832114_2913811 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.8900144100189209 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 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738832115_2913811 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6236953735351562 we have finished the crop for the class : metal delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1330470464, 1330470161, 1330470155, 1330470149, 1330470143, 1330469560, 1330469470, 1330469330, 1330469326, 1330469281, 1330469277, 1330469171, 1330468985, 1330467648, 1330467646, 1330467644, 1330467641, 1330467275, 1330467181, 1330466462] Looping around the photos to save general results len do output : 7 /1335177772Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335177773Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335177774Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335177777Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335177778Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335177779Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335177780Didn'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, '2500426') ('3459', '19795857', '1330470464', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470161', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470155', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470149', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470143', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469560', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469470', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469330', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469326', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469281', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469277', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469171', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330468985', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467648', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467646', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467644', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467641', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467275', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467181', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330466462', None, None, None, None, None, '2500426') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 time used for this insertion : 0.03041863441467285 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.588854312896729 time spend to save output : 0.031187057495117188 total time spend for step 6 : 13.620041370391846 step7:ventilate_hashtags_in_portfolio Thu Feb 6 09:55:21 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 : 19795857 get user id for portfolio 19795857 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 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','autre_refus','Carton_gris','Teint_Dans_La_Masse','environnement','cartonnette','flou','papier','Carton_brun','plastique','metal','mal_croppe')) 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`=19795857 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','autre_refus','Carton_gris','Teint_Dans_La_Masse','environnement','cartonnette','flou','papier','Carton_brun','plastique','metal','mal_croppe')) 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`=19795857 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','autre_refus','Carton_gris','Teint_Dans_La_Masse','environnement','cartonnette','flou','papier','Carton_brun','plastique','metal','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20295965,20295966,20295967,20295968,20295969,20295970,20295971,20295972,20295973,20295974,20295975,20295976?tags=kraft,autre_refus,Carton_gris,Teint_Dans_La_Masse,environnement,cartonnette,flou,papier,Carton_brun,plastique,metal,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1330470464, 1330470161, 1330470155, 1330470149, 1330470143, 1330469560, 1330469470, 1330469330, 1330469326, 1330469281, 1330469277, 1330469171, 1330468985, 1330467648, 1330467646, 1330467644, 1330467641, 1330467275, 1330467181, 1330466462] Looping around the photos to save general results len do output : 1 /19795857. 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, '2500426') ('3459', '19795857', '1330470464', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470161', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470155', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470149', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470143', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469560', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469470', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469330', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469326', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469281', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469277', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469171', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330468985', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467648', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467646', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467644', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467641', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467275', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467181', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330466462', None, None, None, None, None, '2500426') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.015658855438232422 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.731785535812378 time spend to save output : 0.016043901443481445 total time spend for step 7 : 2.7478294372558594 step8:final Thu Feb 6 09:55:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1330470464: ('0.030964489826679084',), 1330470161: ('0.030964489826679084',), 1330470155: ('0.030964489826679084',), 1330470149: ('0.030964489826679084',), 1330470143: ('0.030964489826679084',), 1330469560: ('0.030964489826679084',), 1330469470: ('0.030964489826679084',), 1330469330: ('0.030964489826679084',), 1330469326: ('0.030964489826679084',), 1330469281: ('0.030964489826679084',), 1330469277: ('0.030964489826679084',), 1330469171: ('0.030964489826679084',), 1330468985: ('0.030964489826679084',), 1330467648: ('0.030964489826679084',), 1330467646: ('0.030964489826679084',), 1330467644: ('0.030964489826679084',), 1330467641: ('0.030964489826679084',), 1330467275: ('0.030964489826679084',), 1330467181: ('0.030964489826679084',), 1330466462: ('0.030964489826679084',)} new output for save of step final : {1330470464: ('0.030964489826679084',), 1330470161: ('0.030964489826679084',), 1330470155: ('0.030964489826679084',), 1330470149: ('0.030964489826679084',), 1330470143: ('0.030964489826679084',), 1330469560: ('0.030964489826679084',), 1330469470: ('0.030964489826679084',), 1330469330: ('0.030964489826679084',), 1330469326: ('0.030964489826679084',), 1330469281: ('0.030964489826679084',), 1330469277: ('0.030964489826679084',), 1330469171: ('0.030964489826679084',), 1330468985: ('0.030964489826679084',), 1330467648: ('0.030964489826679084',), 1330467646: ('0.030964489826679084',), 1330467644: ('0.030964489826679084',), 1330467641: ('0.030964489826679084',), 1330467275: ('0.030964489826679084',), 1330467181: ('0.030964489826679084',), 1330466462: ('0.030964489826679084',)} [1330470464, 1330470161, 1330470155, 1330470149, 1330470143, 1330469560, 1330469470, 1330469330, 1330469326, 1330469281, 1330469277, 1330469171, 1330468985, 1330467648, 1330467646, 1330467644, 1330467641, 1330467275, 1330467181, 1330466462] Looping around the photos to save general results len do output : 20 /1330470464.Didn't retrieve data . /1330470161.Didn't retrieve data . /1330470155.Didn't retrieve data . /1330470149.Didn't retrieve data . /1330470143.Didn't retrieve data . /1330469560.Didn't retrieve data . /1330469470.Didn't retrieve data . /1330469330.Didn't retrieve data . /1330469326.Didn't retrieve data . /1330469281.Didn't retrieve data . /1330469277.Didn't retrieve data . /1330469171.Didn't retrieve data . /1330468985.Didn't retrieve data . /1330467648.Didn't retrieve data . /1330467646.Didn't retrieve data . /1330467644.Didn't retrieve data . /1330467641.Didn't retrieve data . /1330467275.Didn't retrieve data . /1330467181.Didn't retrieve data . /1330466462.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, '2500426') ('3459', '19795857', '1330470464', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470161', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470155', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470149', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470143', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469560', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469470', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469330', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469326', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469281', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469277', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469171', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330468985', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467648', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467646', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467644', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467641', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467275', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467181', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330466462', None, None, None, None, None, '2500426') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.21681547164916992 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.2990303039550781 time spend to save output : 0.21762633323669434 total time spend for step 8 : 0.5166566371917725 step9:velours_tree Thu Feb 6 09:55:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.03988957405090332 time spend to save output : 7.343292236328125e-05 total time spend for step 9 : 0.0399630069732666 step10:send_mail_cod Thu Feb 6 09:55:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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_P19795857_06-02-2025_09_55_24.pdf 20295965 imagette202959651738832124 20295966 imagette202959661738832124 20295970 change filename to text .imagette202959701738832124 20295971 imagette202959711738832125 20295974 change filename to text .change filename to text .imagette202959741738832125 20295975 change filename to text .imagette202959751738832125 20295976 imagette202959761738832125 20295967 change filename to text .imagette202959671738832125 20295968 change filename to text .imagette202959681738832125 20295973 change filename to text .imagette202959731738832125 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=19795857 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20295965,20295966,20295967,20295968,20295969,20295970,20295971,20295972,20295973,20295974,20295975,20295976?tags=kraft,autre_refus,Carton_gris,Teint_Dans_La_Masse,environnement,cartonnette,flou,papier,Carton_brun,plastique,metal,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1330470464] : ('0.030964489826679084',) no score found for photo 1330470464 apple ('0.030964489826679084',) We are sending mail with results at report@fotonower.com args[1330470161] : ('0.030964489826679084',) no score found for photo 1330470161 apple ('0.030964489826679084',) We are sending mail with results at report@fotonower.com args[1330470155] : ('0.030964489826679084',) no score found for photo 1330470155 apple ('0.030964489826679084',) We are sending mail with results at report@fotonower.com args[1330470149] : ('0.030964489826679084',) no score found for photo 1330470149 apple ('0.030964489826679084',) We are sending mail with results at report@fotonower.com args[1330470143] : ('0.030964489826679084',) no score found for photo 1330470143 apple ('0.030964489826679084',) We are sending mail with results at report@fotonower.com args[1330469560] : ('0.030964489826679084',) no score found for photo 1330469560 apple ('0.030964489826679084',) We are sending mail with results at report@fotonower.com args[1330469470] : ('0.030964489826679084',) no score found for photo 1330469470 apple ('0.030964489826679084',) We are sending mail with results at report@fotonower.com args[1330469330] : ('0.030964489826679084',) no score found for photo 1330469330 apple ('0.030964489826679084',) We are sending mail with results at report@fotonower.com args[1330469326] : ('0.030964489826679084',) no score found for photo 1330469326 apple ('0.030964489826679084',) We are sending mail with results at report@fotonower.com args[1330469281] : ('0.030964489826679084',) no score found for photo 1330469281 apple ('0.030964489826679084',) We are sending mail with results at report@fotonower.com args[1330469277] : ('0.030964489826679084',) no score found for photo 1330469277 apple ('0.030964489826679084',) We are sending mail with results at report@fotonower.com args[1330469171] : ('0.030964489826679084',) no score found for photo 1330469171 apple ('0.030964489826679084',) We are sending mail with results at report@fotonower.com args[1330468985] : ('0.030964489826679084',) no score found for photo 1330468985 apple ('0.030964489826679084',) We are sending mail with results at report@fotonower.com args[1330467648] : ('0.030964489826679084',) no score found for photo 1330467648 apple ('0.030964489826679084',) We are sending mail with results at report@fotonower.com args[1330467646] : ('0.030964489826679084',) no score found for photo 1330467646 apple ('0.030964489826679084',) We are sending mail with results at report@fotonower.com args[1330467644] : ('0.030964489826679084',) no score found for photo 1330467644 apple ('0.030964489826679084',) We are sending mail with results at report@fotonower.com args[1330467641] : ('0.030964489826679084',) no score found for photo 1330467641 apple ('0.030964489826679084',) We are sending mail with results at report@fotonower.com args[1330467275] : ('0.030964489826679084',) no score found for photo 1330467275 apple ('0.030964489826679084',) We are sending mail with results at report@fotonower.com args[1330467181] : ('0.030964489826679084',) no score found for photo 1330467181 apple ('0.030964489826679084',) We are sending mail with results at report@fotonower.com args[1330466462] : ('0.030964489826679084',) no score found for photo 1330466462 apple ('0.030964489826679084',) We are sending mail with results at report@fotonower.com refus_total : 0.030964489826679084 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=19795857 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1330467644,1330467648,1330470464,1330470161,1330470155,1330470149,1330470143,1330469560,1330469470,1330469330,1330469326,1330469281,1330469277,1330469171,1330468985,1330465381,1330467646,1330467641,1330467275,1330467181) Found this number of photos: 20 begin to download photo : 1330467644 begin to download photo : 1330470149 begin to download photo : 1330469326 begin to download photo : 1330465381 download finish for photo 1330469326 begin to download photo : 1330469281 download finish for photo 1330470149 begin to download photo : 1330470143 download finish for photo 1330467644 begin to download photo : 1330467648 download finish for photo 1330465381 begin to download photo : 1330467646 download finish for photo 1330467648 begin to download photo : 1330470464 download finish for photo 1330469281 begin to download photo : 1330469277 download finish for photo 1330470143 begin to download photo : 1330469560 download finish for photo 1330467646 begin to download photo : 1330467641 download finish for photo 1330469277 begin to download photo : 1330469171 download finish for photo 1330470464 begin to download photo : 1330470161 download finish for photo 1330469560 begin to download photo : 1330469470 download finish for photo 1330467641 begin to download photo : 1330467275 download finish for photo 1330469171 begin to download photo : 1330468985 download finish for photo 1330470161 begin to download photo : 1330470155 download finish for photo 1330469470 begin to download photo : 1330469330 download finish for photo 1330467275 begin to download photo : 1330467181 download finish for photo 1330470155 download finish for photo 1330469330 download finish for photo 1330468985 download finish for photo 1330467181 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19795857_06-02-2025_09_55_24.pdf results_Auto_P19795857_06-02-2025_09_55_24.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19795857_06-02-2025_09_55_24.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','19795857','results_Auto_P19795857_06-02-2025_09_55_24.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19795857_06-02-2025_09_55_24.pdf','pdf','','0.2','0.030964489826679084') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1330470464, 1330470161, 1330470155, 1330470149, 1330470143, 1330469560, 1330469470, 1330469330, 1330469326, 1330469281, 1330469277, 1330469171, 1330468985, 1330467648, 1330467646, 1330467644, 1330467641, 1330467275, 1330467181, 1330466462] 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, '2500426') ('3459', '19795857', '1330470464', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470161', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470155', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470149', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470143', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469560', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469470', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469330', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469326', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469281', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469277', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469171', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330468985', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467648', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467646', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467644', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467641', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467275', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467181', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330466462', None, None, None, None, None, '2500426') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03954505920410156 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.038248538970947 time spend to save output : 0.04002857208251953 total time spend for step 10 : 5.078277111053467 step11:split_time_score Thu Feb 6 09:55:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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', 27),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 21012025 19795857 Nombre de photos uploadées : 27 / 23040 (0%) 21012025 19795857 Nombre de photos taguées (types de déchets): 0 / 27 (0%) 21012025 19795857 Nombre de photos taguées (volume) : 0 / 27 (0%) elapsed_time : load_data_split_time_score 4.5299530029296875e-06 elapsed_time : order_list_meta_photo_and_scores 1.5735626220703125e-05 ??????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0017027854919433594 elapsed_time : insert_dashboard_record_day_entry 0.021983623504638672 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_55_24.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 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19797270 order by id desc limit 1 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 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19815786 order by id desc limit 1 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 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19815792 order by id desc limit 1 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': 27, '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 [1330470464, 1330470161, 1330470155, 1330470149, 1330470143, 1330469560, 1330469470, 1330469330, 1330469326, 1330469281, 1330469277, 1330469171, 1330468985, 1330467648, 1330467646, 1330467644, 1330467641, 1330467275, 1330467181, 1330466462] Looping around the photos to save general results len do output : 1 /19795857Didn'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, '2500426') ('3459', '19795857', '1330470464', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470161', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470155', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470149', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330470143', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469560', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469470', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469330', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469326', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469281', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469277', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330469171', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330468985', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467648', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467646', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467644', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467641', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467275', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330467181', None, None, None, None, None, '2500426') ('3459', None, None, None, None, None, None, None, '2500426') ('3459', '19795857', '1330466462', None, None, None, None, None, '2500426') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.017008304595947266 save_final save missing photos in datou_result : time spend for datou_step_exec : 35.29229950904846 time spend to save output : 0.017337799072265625 total time spend for step 11 : 35.30963730812073 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 58.16user 32.44system 2:58.36elapsed 50%CPU (0avgtext+0avgdata 2939128maxresident)k 31624inputs+33280outputs (1620major+2355817minor)pagefaults 0swaps