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 2501424' -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 : 3088178 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 : ['2501424'] with mtr_portfolio_ids : ['19804581'] and first list_photo_ids : [] new path : /proc/3088178/ 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 : 6.0087974071502686 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 Wed Feb 5 09:06:12 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 : 10774 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-05 09:06:14.907070: 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-05 09:06:14.931148: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-05 09:06:14.932861: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f9a3c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-05 09:06:14.932920: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-05 09:06:14.936939: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-05 09:06:15.189282: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x242fd480 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-05 09:06:15.189344: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-05 09:06:15.190841: 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-05 09:06:15.191257: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-05 09:06:15.194331: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-05 09:06:15.197166: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-05 09:06:15.197548: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-05 09:06:15.200379: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-05 09:06:15.201731: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-05 09:06:15.206619: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-05 09:06:15.208141: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-05 09:06:15.208224: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-05 09:06:15.208970: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-05 09:06:15.208985: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-05 09:06:15.209010: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-05 09:06:15.210363: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9985 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-05 09:06:15.474311: 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-05 09:06:15.474440: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-05 09:06:15.474468: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-05 09:06:15.474493: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-05 09:06:15.474517: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-05 09:06:15.474541: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-05 09:06:15.474564: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-05 09:06:15.474588: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-05 09:06:15.476557: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-05 09:06:15.477676: 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-05 09:06:15.477711: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-05 09:06:15.477728: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-05 09:06:15.477744: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-05 09:06:15.477760: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-05 09:06:15.477775: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-05 09:06:15.477791: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-05 09:06:15.477807: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-05 09:06:15.479033: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-05 09:06:15.479068: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-05 09:06:15.479076: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-05 09:06:15.479084: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-05 09:06:15.480406: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9985 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-05 09:06:22.588409: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-05 09:06:22.753869: 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 : 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 : 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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 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 : 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 : 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 : 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 : 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 : 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 : 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 : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 Detection mask done ! Trying to reset tf kernel 3088372 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5485 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 : 10231 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.003762483596801758 nb_pixel_total : 180804 time to create 1 rle with new method : 0.012195110321044922 length of segment : 865 time for calcul the mask position with numpy : 0.015278339385986328 nb_pixel_total : 747912 time to create 1 rle with new method : 0.04799461364746094 length of segment : 2250 time for calcul the mask position with numpy : 0.0002536773681640625 nb_pixel_total : 8266 time to create 1 rle with old method : 0.013570785522460938 length of segment : 128 time for calcul the mask position with numpy : 0.004666566848754883 nb_pixel_total : 238164 time to create 1 rle with new method : 0.008373737335205078 length of segment : 585 time for calcul the mask position with numpy : 0.017045021057128906 nb_pixel_total : 879465 time to create 1 rle with new method : 0.04169917106628418 length of segment : 1610 time for calcul the mask position with numpy : 0.0003046989440917969 nb_pixel_total : 17625 time to create 1 rle with old method : 0.018530845642089844 length of segment : 174 time for calcul the mask position with numpy : 0.0005161762237548828 nb_pixel_total : 37483 time to create 1 rle with old method : 0.03900718688964844 length of segment : 202 time for calcul the mask position with numpy : 0.003808736801147461 nb_pixel_total : 310113 time to create 1 rle with new method : 0.010225057601928711 length of segment : 1102 time for calcul the mask position with numpy : 0.017623186111450195 nb_pixel_total : 1092760 time to create 1 rle with new method : 0.04498481750488281 length of segment : 1949 time for calcul the mask position with numpy : 0.0009770393371582031 nb_pixel_total : 47469 time to create 1 rle with old method : 0.04976487159729004 length of segment : 458 time for calcul the mask position with numpy : 0.00612330436706543 nb_pixel_total : 376153 time to create 1 rle with new method : 0.013361930847167969 length of segment : 1353 time for calcul the mask position with numpy : 0.0043599605560302734 nb_pixel_total : 318371 time to create 1 rle with new method : 0.013628959655761719 length of segment : 1165 time for calcul the mask position with numpy : 0.01773977279663086 nb_pixel_total : 894021 time to create 1 rle with new method : 0.03493905067443848 length of segment : 1680 time for calcul the mask position with numpy : 0.00411224365234375 nb_pixel_total : 234904 time to create 1 rle with new method : 0.010388851165771484 length of segment : 941 time for calcul the mask position with numpy : 0.004274845123291016 nb_pixel_total : 333807 time to create 1 rle with new method : 0.012365102767944336 length of segment : 1041 time for calcul the mask position with numpy : 0.0009419918060302734 nb_pixel_total : 32378 time to create 1 rle with old method : 0.03504180908203125 length of segment : 554 time for calcul the mask position with numpy : 0.026816606521606445 nb_pixel_total : 1511564 time to create 1 rle with new method : 0.0387420654296875 length of segment : 1255 time for calcul the mask position with numpy : 0.0004734992980957031 nb_pixel_total : 37056 time to create 1 rle with old method : 0.039008378982543945 length of segment : 139 time for calcul the mask position with numpy : 0.003676891326904297 nb_pixel_total : 322650 time to create 1 rle with new method : 0.00850987434387207 length of segment : 995 time for calcul the mask position with numpy : 0.0006594657897949219 nb_pixel_total : 18688 time to create 1 rle with old method : 0.01971602439880371 length of segment : 305 time for calcul the mask position with numpy : 0.0030226707458496094 nb_pixel_total : 195258 time to create 1 rle with new method : 0.00501704216003418 length of segment : 443 time for calcul the mask position with numpy : 0.014134645462036133 nb_pixel_total : 700734 time to create 1 rle with new method : 0.030519485473632812 length of segment : 1580 time for calcul the mask position with numpy : 0.0009441375732421875 nb_pixel_total : 35808 time to create 1 rle with old method : 0.04521441459655762 length of segment : 233 time for calcul the mask position with numpy : 0.0004978179931640625 nb_pixel_total : 21931 time to create 1 rle with old method : 0.023980140686035156 length of segment : 147 time for calcul the mask position with numpy : 0.004144906997680664 nb_pixel_total : 223869 time to create 1 rle with new method : 0.007952690124511719 length of segment : 944 time for calcul the mask position with numpy : 0.00013065338134765625 nb_pixel_total : 1327 time to create 1 rle with old method : 0.0016443729400634766 length of segment : 54 time for calcul the mask position with numpy : 0.012796878814697266 nb_pixel_total : 854855 time to create 1 rle with new method : 0.03190135955810547 length of segment : 1398 time for calcul the mask position with numpy : 0.003916263580322266 nb_pixel_total : 292469 time to create 1 rle with new method : 0.011145353317260742 length of segment : 1382 time for calcul the mask position with numpy : 0.012266159057617188 nb_pixel_total : 734433 time to create 1 rle with new method : 0.028723478317260742 length of segment : 1311 time for calcul the mask position with numpy : 0.002852201461791992 nb_pixel_total : 123765 time to create 1 rle with old method : 0.1302635669708252 length of segment : 856 time for calcul the mask position with numpy : 0.0025649070739746094 nb_pixel_total : 169502 time to create 1 rle with new method : 0.00648045539855957 length of segment : 682 time for calcul the mask position with numpy : 0.0031785964965820312 nb_pixel_total : 220360 time to create 1 rle with new method : 0.009048938751220703 length of segment : 902 time for calcul the mask position with numpy : 0.022112607955932617 nb_pixel_total : 1706324 time to create 1 rle with new method : 0.03067803382873535 length of segment : 1456 time for calcul the mask position with numpy : 0.005153656005859375 nb_pixel_total : 310229 time to create 1 rle with new method : 0.011350393295288086 length of segment : 1029 time for calcul the mask position with numpy : 0.0007421970367431641 nb_pixel_total : 30444 time to create 1 rle with old method : 0.03282952308654785 length of segment : 298 time for calcul the mask position with numpy : 0.009276151657104492 nb_pixel_total : 490557 time to create 1 rle with new method : 0.020920515060424805 length of segment : 1731 time for calcul the mask position with numpy : 0.00031185150146484375 nb_pixel_total : 20078 time to create 1 rle with old method : 0.023895263671875 length of segment : 116 time for calcul the mask position with numpy : 0.00054168701171875 nb_pixel_total : 33041 time to create 1 rle with old method : 0.05322122573852539 length of segment : 333 time for calcul the mask position with numpy : 0.0003190040588378906 nb_pixel_total : 3373 time to create 1 rle with old method : 0.005919933319091797 length of segment : 69 time for calcul the mask position with numpy : 0.031192302703857422 nb_pixel_total : 1300642 time to create 1 rle with new method : 0.04188680648803711 length of segment : 1830 time for calcul the mask position with numpy : 0.003802061080932617 nb_pixel_total : 311948 time to create 1 rle with new method : 0.00882720947265625 length of segment : 703 time for calcul the mask position with numpy : 0.008539438247680664 nb_pixel_total : 321879 time to create 1 rle with new method : 0.011159181594848633 length of segment : 1201 time for calcul the mask position with numpy : 0.001865386962890625 nb_pixel_total : 95525 time to create 1 rle with old method : 0.11927652359008789 length of segment : 357 time for calcul the mask position with numpy : 0.001978158950805664 nb_pixel_total : 118419 time to create 1 rle with old method : 0.1278364658355713 length of segment : 448 time for calcul the mask position with numpy : 0.001378774642944336 nb_pixel_total : 80690 time to create 1 rle with old method : 0.10367226600646973 length of segment : 280 time for calcul the mask position with numpy : 0.0014514923095703125 nb_pixel_total : 72458 time to create 1 rle with old method : 0.08425569534301758 length of segment : 184 time for calcul the mask position with numpy : 0.0003616809844970703 nb_pixel_total : 5858 time to create 1 rle with old method : 0.007861614227294922 length of segment : 88 time for calcul the mask position with numpy : 0.0035004615783691406 nb_pixel_total : 164148 time to create 1 rle with new method : 0.008178949356079102 length of segment : 1041 time for calcul the mask position with numpy : 0.005511283874511719 nb_pixel_total : 298160 time to create 1 rle with new method : 0.012419462203979492 length of segment : 1116 time for calcul the mask position with numpy : 0.008830785751342773 nb_pixel_total : 512535 time to create 1 rle with new method : 0.02578258514404297 length of segment : 2073 time for calcul the mask position with numpy : 0.003821134567260742 nb_pixel_total : 307290 time to create 1 rle with new method : 0.011814355850219727 length of segment : 1386 time for calcul the mask position with numpy : 0.018042325973510742 nb_pixel_total : 1448273 time to create 1 rle with new method : 0.029847145080566406 length of segment : 1524 time for calcul the mask position with numpy : 0.003908395767211914 nb_pixel_total : 337606 time to create 1 rle with new method : 0.00916147232055664 length of segment : 1001 time for calcul the mask position with numpy : 0.0002872943878173828 nb_pixel_total : 13009 time to create 1 rle with old method : 0.014436483383178711 length of segment : 443 time for calcul the mask position with numpy : 0.014598369598388672 nb_pixel_total : 841165 time to create 1 rle with new method : 0.036600351333618164 length of segment : 1163 time for calcul the mask position with numpy : 0.0030930042266845703 nb_pixel_total : 212813 time to create 1 rle with new method : 0.008272409439086914 length of segment : 614 time for calcul the mask position with numpy : 0.00424647331237793 nb_pixel_total : 338604 time to create 1 rle with new method : 0.01111745834350586 length of segment : 1554 time for calcul the mask position with numpy : 0.0005359649658203125 nb_pixel_total : 37348 time to create 1 rle with old method : 0.0423123836517334 length of segment : 206 time for calcul the mask position with numpy : 0.009423017501831055 nb_pixel_total : 317268 time to create 1 rle with new method : 0.017276525497436523 length of segment : 1306 time for calcul the mask position with numpy : 0.0021681785583496094 nb_pixel_total : 88459 time to create 1 rle with old method : 0.09596776962280273 length of segment : 319 time for calcul the mask position with numpy : 0.01661229133605957 nb_pixel_total : 882424 time to create 1 rle with new method : 0.030941009521484375 length of segment : 1603 time for calcul the mask position with numpy : 0.01481008529663086 nb_pixel_total : 957575 time to create 1 rle with new method : 0.027276277542114258 length of segment : 2374 time for calcul the mask position with numpy : 0.00022029876708984375 nb_pixel_total : 9306 time to create 1 rle with old method : 0.01091146469116211 length of segment : 223 time for calcul the mask position with numpy : 0.0006422996520996094 nb_pixel_total : 36747 time to create 1 rle with old method : 0.04212141036987305 length of segment : 313 time for calcul the mask position with numpy : 0.004859447479248047 nb_pixel_total : 305313 time to create 1 rle with new method : 0.010586261749267578 length of segment : 1379 time for calcul the mask position with numpy : 0.0014717578887939453 nb_pixel_total : 51891 time to create 1 rle with old method : 0.06527018547058105 length of segment : 360 time for calcul the mask position with numpy : 0.004940509796142578 nb_pixel_total : 233433 time to create 1 rle with new method : 0.012861490249633789 length of segment : 1084 time for calcul the mask position with numpy : 0.013314008712768555 nb_pixel_total : 940109 time to create 1 rle with new method : 0.02648639678955078 length of segment : 2151 time for calcul the mask position with numpy : 0.0004725456237792969 nb_pixel_total : 20886 time to create 1 rle with old method : 0.022958993911743164 length of segment : 265 time for calcul the mask position with numpy : 0.001062154769897461 nb_pixel_total : 49320 time to create 1 rle with old method : 0.05385327339172363 length of segment : 193 time for calcul the mask position with numpy : 0.009108304977416992 nb_pixel_total : 248833 time to create 1 rle with new method : 0.02000880241394043 length of segment : 1107 time for calcul the mask position with numpy : 0.0009343624114990234 nb_pixel_total : 44958 time to create 1 rle with old method : 0.056488990783691406 length of segment : 339 time for calcul the mask position with numpy : 0.0004482269287109375 nb_pixel_total : 24844 time to create 1 rle with old method : 0.028825044631958008 length of segment : 193 time for calcul the mask position with numpy : 0.005518674850463867 nb_pixel_total : 329264 time to create 1 rle with new method : 0.012265443801879883 length of segment : 1477 time for calcul the mask position with numpy : 0.0005791187286376953 nb_pixel_total : 24217 time to create 1 rle with old method : 0.027112483978271484 length of segment : 217 time for calcul the mask position with numpy : 0.0016930103302001953 nb_pixel_total : 114344 time to create 1 rle with old method : 0.11970686912536621 length of segment : 366 time for calcul the mask position with numpy : 0.0031943321228027344 nb_pixel_total : 151275 time to create 1 rle with new method : 0.009473800659179688 length of segment : 610 time for calcul the mask position with numpy : 0.003998279571533203 nb_pixel_total : 145476 time to create 1 rle with old method : 0.16115736961364746 length of segment : 720 time for calcul the mask position with numpy : 0.0015864372253417969 nb_pixel_total : 101440 time to create 1 rle with old method : 0.11011123657226562 length of segment : 780 time for calcul the mask position with numpy : 0.006676912307739258 nb_pixel_total : 289077 time to create 1 rle with new method : 0.0169832706451416 length of segment : 1458 time for calcul the mask position with numpy : 0.0007719993591308594 nb_pixel_total : 51069 time to create 1 rle with old method : 0.05560779571533203 length of segment : 319 time for calcul the mask position with numpy : 0.015733003616333008 nb_pixel_total : 1119206 time to create 1 rle with new method : 0.030132055282592773 length of segment : 1308 time for calcul the mask position with numpy : 0.0035200119018554688 nb_pixel_total : 308257 time to create 1 rle with new method : 0.009414434432983398 length of segment : 1042 time for calcul the mask position with numpy : 0.00030803680419921875 nb_pixel_total : 17516 time to create 1 rle with old method : 0.05684995651245117 length of segment : 131 time spent for convertir_results : 14.324965238571167 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 84 chid ids of type : 3663 Number RLEs to save : 72564 save missing photos in datou_result : time spend for datou_step_exec : 35.68547511100769 time spend to save output : 4.3334434032440186 total time spend for step 1 : 40.01891851425171 step2:crop_condition Wed Feb 5 09:06:52 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 84 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 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 ! 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 : 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 ! 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 : 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 ! 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 : 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 [1330520328, 1330520289, 1330520287, 1330520286, 1330520281, 1330519950, 1330519944, 1330519899, 1330519896, 1330519893, 1330519892, 1330519891, 1330519890, 1330519541, 1330519482, 1330519344, 1330519166, 1330519157, 1330519097, 1330519094] Looping around the photos to save general results len do output : 20 /-3655554638Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655554645Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655554651Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655554657Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655554660Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655554693Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655554632Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655554620Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655554646Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655554683Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655554687Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655554686Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655554689Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655554698Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655554695Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655554637Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655554696Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655554661Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655554674Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655554678Didn'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, '2501424') ('3459', '19804581', '1330520328', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520289', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520287', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520286', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520281', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519950', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519944', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519899', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519896', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519893', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519892', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519891', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519890', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519541', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519482', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519344', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519166', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519157', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519097', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519094', None, None, None, None, None, '2501424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 80 time used for this insertion : 0.028685808181762695 save_final save missing photos in datou_result : time spend for datou_step_exec : 15.691245794296265 time spend to save output : 0.02945733070373535 total time spend for step 2 : 15.720703125 step3:thcl Wed Feb 5 09:07:07 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.005253791809082031 time to convert the images to numpy array : 0.016785860061645508 time to import caffe and check if the image exist : 0.00970768928527832 time to convert the images to numpy array : 0.014886617660522461 time to import caffe and check if the image exist : 0.004317760467529297 time to convert the images to numpy array : 0.02330470085144043 time to import caffe and check if the image exist : 0.0071599483489990234 time to convert the images to numpy array : 0.022140979766845703 time to import caffe and check if the image exist : 0.0049207210540771484 time to convert the images to numpy array : 0.027640342712402344 time to import caffe and check if the image exist : 0.0076580047607421875 time to convert the images to numpy array : 0.030452966690063477 time to import caffe and check if the image exist : 0.0056552886962890625 time to convert the images to numpy array : 0.03714585304260254 time to import caffe and check if the image exist : 0.004409074783325195 time to convert the images to numpy array : 0.03925323486328125 time to import caffe and check if the image exist : 0.007512331008911133 time to convert the images to numpy array : 0.043590545654296875 time to import caffe and check if the image exist : 0.008397817611694336 time to convert the images to numpy array : 0.08996367454528809 total time to convert the images to numpy array : 0.3721468448638916 list photo_ids error: [] list photo_ids correct : [-3655554689, -3655554698, -3655554632, -3655554620, -3655554695, -3655554637, -3655554687, -3655554686, -3655554651, -3655554657, -3655554674, -3655554678, -3655554660, -3655554693, -3655554638, -3655554645, -3655554646, -3655554683, -3655554696, -3655554661] number of photos to traite : 20 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 : 10334 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 : 10113 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.3597726821899414 time used to do the prediction : 0.08203387260437012 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 : 10111 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 : 10111 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.38198018074035645 time used to do the prediction : 0.04879450798034668 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 : 2.1696090698242188e-05 save missing photos in datou_result : time spend for datou_step_exec : 7.815496444702148 time spend to save output : 0.00041604042053222656 total time spend for step 3 : 7.815912485122681 step4:merge_mask_thcl_custom Wed Feb 5 09:07:15 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 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 84 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 [1330520328, 1330520289, 1330520287, 1330520286, 1330520281, 1330519950, 1330519944, 1330519899, 1330519896, 1330519893, 1330519892, 1330519891, 1330519890, 1330519541, 1330519482, 1330519344, 1330519166, 1330519157, 1330519097, 1330519094] Looping around the photos to save general results len do output : 20 /1330520328Didn't retrieve data .Didn't retrieve data . /1330520289Didn't retrieve data .Didn't retrieve data . /1330520287Didn't retrieve data .Didn't retrieve data . /1330520286Didn't retrieve data .Didn't retrieve data . /1330520281Didn't retrieve data .Didn't retrieve data . /1330519950Didn't retrieve data .Didn't retrieve data . /1330519944Didn't retrieve data .Didn't retrieve data . /1330519899Didn't retrieve data .Didn't retrieve data . /1330519896Didn't retrieve data .Didn't retrieve data . /1330519893Didn't retrieve data .Didn't retrieve data . /1330519892Didn't retrieve data .Didn't retrieve data . /1330519891Didn't retrieve data .Didn't retrieve data . /1330519890Didn't retrieve data .Didn't retrieve data . /1330519541Didn't retrieve data .Didn't retrieve data . /1330519482Didn't retrieve data .Didn't retrieve data . /1330519344Didn't retrieve data .Didn't retrieve data . /1330519166Didn't retrieve data .Didn't retrieve data . /1330519157Didn't retrieve data .Didn't retrieve data . /1330519097Didn't retrieve data .Didn't retrieve data . /1330519094Didn'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, '2501424') ('3459', '19804581', '1330520328', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520289', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520287', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520286', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520281', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519950', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519944', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519899', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519896', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519893', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519892', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519891', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519890', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519541', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519482', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519344', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519166', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519157', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519097', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519094', None, None, None, None, None, '2501424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.5858974456787109 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06260228157043457 time spend to save output : 0.5868251323699951 total time spend for step 4 : 0.6494274139404297 step5:rle_unique_nms_with_priority Wed Feb 5 09:07:16 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 : 1 time to prepare the origin masks : 0.35329174995422363 time for calcul the mask position with numpy : 0.01688385009765625 nb_pixel_total : 1199603 time to create 1 rle with new method : 0.045124053955078125 time for calcul the mask position with numpy : 0.0061893463134765625 nb_pixel_total : 8235 time to create 1 rle with old method : 0.009367704391479492 time for calcul the mask position with numpy : 0.012864112854003906 nb_pixel_total : 652988 time to create 1 rle with new method : 0.044007062911987305 time for calcul the mask position with numpy : 0.007485389709472656 nb_pixel_total : 212774 time to create 1 rle with new method : 0.04293084144592285 create new chi : 0.1985335350036621 time to delete rle : 0.015483856201171875 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 5871 TO DO : save crop sub photo not yet done ! save time : 0.34502530097961426 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.39791321754455566 time for calcul the mask position with numpy : 0.014230489730834961 nb_pixel_total : 919921 time to create 1 rle with new method : 0.04070234298706055 time for calcul the mask position with numpy : 0.006549835205078125 nb_pixel_total : 130517 time to create 1 rle with old method : 0.13562393188476562 time for calcul the mask position with numpy : 0.00661921501159668 nb_pixel_total : 17595 time to create 1 rle with old method : 0.01807999610900879 time for calcul the mask position with numpy : 0.01081228256225586 nb_pixel_total : 767774 time to create 1 rle with new method : 0.034150123596191406 time for calcul the mask position with numpy : 0.00783848762512207 nb_pixel_total : 237793 time to create 1 rle with new method : 0.026415348052978516 create new chi : 0.3057742118835449 time to delete rle : 0.0005042552947998047 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 5846 TO DO : save crop sub photo not yet done ! save time : 0.5571467876434326 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.5671720504760742 time for calcul the mask position with numpy : 0.012535572052001953 nb_pixel_total : 875866 time to create 1 rle with new method : 0.0316777229309082 time for calcul the mask position with numpy : 0.0061299800872802734 nb_pixel_total : 7210 time to create 1 rle with old method : 0.008157491683959961 time for calcul the mask position with numpy : 0.006123065948486328 nb_pixel_total : 77610 time to create 1 rle with old method : 0.08473539352416992 time for calcul the mask position with numpy : 0.006182193756103516 nb_pixel_total : 27417 time to create 1 rle with old method : 0.02866840362548828 time for calcul the mask position with numpy : 0.0175325870513916 nb_pixel_total : 1085497 time to create 1 rle with new method : 0.03587198257446289 create new chi : 0.24309182167053223 time to delete rle : 0.0005948543548583984 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 6896 TO DO : save crop sub photo not yet done ! save time : 0.47273683547973633 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.4852159023284912 time for calcul the mask position with numpy : 0.013608217239379883 nb_pixel_total : 855238 time to create 1 rle with new method : 0.04197549819946289 time for calcul the mask position with numpy : 0.006220340728759766 nb_pixel_total : 14163 time to create 1 rle with old method : 0.01513218879699707 time for calcul the mask position with numpy : 0.006682634353637695 nb_pixel_total : 161628 time to create 1 rle with new method : 0.036023855209350586 time for calcul the mask position with numpy : 0.006511211395263672 nb_pixel_total : 131016 time to create 1 rle with old method : 0.14046716690063477 time for calcul the mask position with numpy : 0.01191568374633789 nb_pixel_total : 911555 time to create 1 rle with new method : 0.03134584426879883 create new chi : 0.3181777000427246 time to delete rle : 0.0012738704681396484 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 6863 TO DO : save crop sub photo not yet done ! save time : 5.835098505020142 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.3566100597381592 time for calcul the mask position with numpy : 0.00845026969909668 nb_pixel_total : 407945 time to create 1 rle with new method : 0.04214787483215332 time for calcul the mask position with numpy : 0.007530689239501953 nb_pixel_total : 103691 time to create 1 rle with old method : 0.11328244209289551 time for calcul the mask position with numpy : 0.00669407844543457 nb_pixel_total : 36892 time to create 1 rle with old method : 0.03882193565368652 time for calcul the mask position with numpy : 0.017733335494995117 nb_pixel_total : 1525072 time to create 1 rle with new method : 0.04095911979675293 create new chi : 0.28382134437561035 time to delete rle : 0.0004551410675048828 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 4372 TO DO : save crop sub photo not yet done ! save time : 0.5744376182556152 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.3813948631286621 time for calcul the mask position with numpy : 0.017283201217651367 nb_pixel_total : 1281817 time to create 1 rle with new method : 0.0417637825012207 time for calcul the mask position with numpy : 0.006536722183227539 nb_pixel_total : 35602 time to create 1 rle with old method : 0.03875088691711426 time for calcul the mask position with numpy : 0.009638547897338867 nb_pixel_total : 542574 time to create 1 rle with new method : 0.037847042083740234 time for calcul the mask position with numpy : 0.007273197174072266 nb_pixel_total : 194932 time to create 1 rle with new method : 0.02795553207397461 time for calcul the mask position with numpy : 0.006024837493896484 nb_pixel_total : 18675 time to create 1 rle with old method : 0.01980304718017578 create new chi : 0.21746611595153809 time to delete rle : 0.0005393028259277344 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 5393 TO DO : save crop sub photo not yet done ! save time : 3.2321150302886963 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.4661085605621338 time for calcul the mask position with numpy : 0.012465238571166992 nb_pixel_total : 983555 time to create 1 rle with new method : 0.03872394561767578 time for calcul the mask position with numpy : 0.0069122314453125 nb_pixel_total : 123984 time to create 1 rle with old method : 0.13486242294311523 time for calcul the mask position with numpy : 0.014812469482421875 nb_pixel_total : 719049 time to create 1 rle with new method : 0.04002046585083008 time for calcul the mask position with numpy : 0.006415843963623047 nb_pixel_total : 1323 time to create 1 rle with old method : 0.0015270709991455078 time for calcul the mask position with numpy : 0.008087396621704102 nb_pixel_total : 223862 time to create 1 rle with new method : 0.031086206436157227 time for calcul the mask position with numpy : 0.0067174434661865234 nb_pixel_total : 21827 time to create 1 rle with old method : 0.031484127044677734 create new chi : 0.33666563034057617 time to delete rle : 0.0008974075317382812 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 6844 TO DO : save crop sub photo not yet done ! save time : 0.5289199352264404 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.5643506050109863 time for calcul the mask position with numpy : 0.019966840744018555 nb_pixel_total : 1021391 time to create 1 rle with new method : 0.05378532409667969 time for calcul the mask position with numpy : 0.007134437561035156 nb_pixel_total : 7690 time to create 1 rle with old method : 0.008685827255249023 time for calcul the mask position with numpy : 0.007999658584594727 nb_pixel_total : 177078 time to create 1 rle with new method : 0.04992413520812988 time for calcul the mask position with numpy : 0.00750279426574707 nb_pixel_total : 123618 time to create 1 rle with old method : 0.1287388801574707 time for calcul the mask position with numpy : 0.014190912246704102 nb_pixel_total : 743823 time to create 1 rle with new method : 0.039061784744262695 create new chi : 0.34387636184692383 time to delete rle : 0.0009751319885253906 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 6647 TO DO : save crop sub photo not yet done ! save time : 0.5301303863525391 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.2187047004699707 time for calcul the mask position with numpy : 0.009316444396972656 nb_pixel_total : 308413 time to create 1 rle with new method : 0.03331589698791504 time for calcul the mask position with numpy : 0.006509065628051758 nb_pixel_total : 49369 time to create 1 rle with old method : 0.054384708404541016 time for calcul the mask position with numpy : 0.0176541805267334 nb_pixel_total : 1715818 time to create 1 rle with new method : 0.03366994857788086 create new chi : 0.1580665111541748 time to delete rle : 0.0004723072052001953 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 4698 TO DO : save crop sub photo not yet done ! save time : 0.2933797836303711 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.42106175422668457 time for calcul the mask position with numpy : 0.02337479591369629 nb_pixel_total : 1365524 time to create 1 rle with new method : 0.04612445831298828 time for calcul the mask position with numpy : 0.007025480270385742 nb_pixel_total : 19981 time to create 1 rle with old method : 0.020424604415893555 time for calcul the mask position with numpy : 0.006726503372192383 nb_pixel_total : 32921 time to create 1 rle with old method : 0.033190250396728516 time for calcul the mask position with numpy : 0.01178431510925293 nb_pixel_total : 624861 time to create 1 rle with new method : 0.03950071334838867 time for calcul the mask position with numpy : 0.006772279739379883 nb_pixel_total : 30313 time to create 1 rle with old method : 0.03118753433227539 create new chi : 0.2299327850341797 time to delete rle : 0.0005307197570800781 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 4624 TO DO : save crop sub photo not yet done ! save time : 0.9844038486480713 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.5253632068634033 time for calcul the mask position with numpy : 0.01842474937438965 nb_pixel_total : 631990 time to create 1 rle with new method : 0.045774221420288086 time for calcul the mask position with numpy : 0.008025169372558594 nb_pixel_total : 80202 time to create 1 rle with old method : 0.1212759017944336 time for calcul the mask position with numpy : 0.007606029510498047 nb_pixel_total : 56524 time to create 1 rle with old method : 0.07754397392272949 time for calcul the mask position with numpy : 0.023130178451538086 nb_pixel_total : 1301521 time to create 1 rle with new method : 0.04207897186279297 time for calcul the mask position with numpy : 0.006531715393066406 nb_pixel_total : 3363 time to create 1 rle with old method : 0.003847837448120117 create new chi : 0.35877442359924316 time to delete rle : 0.0005640983581542969 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 6318 TO DO : save crop sub photo not yet done ! save time : 0.524298906326294 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.5470588207244873 time for calcul the mask position with numpy : 0.036345481872558594 nb_pixel_total : 1538256 time to create 1 rle with new method : 0.05807852745056152 time for calcul the mask position with numpy : 0.010835647583007812 nb_pixel_total : 163834 time to create 1 rle with new method : 0.047885894775390625 time for calcul the mask position with numpy : 0.007627010345458984 nb_pixel_total : 95299 time to create 1 rle with old method : 0.10026001930236816 time for calcul the mask position with numpy : 0.0074040889739990234 nb_pixel_total : 5801 time to create 1 rle with old method : 0.006554841995239258 time for calcul the mask position with numpy : 0.007590532302856445 nb_pixel_total : 72140 time to create 1 rle with old method : 0.0771186351776123 time for calcul the mask position with numpy : 0.007905960083007812 nb_pixel_total : 80403 time to create 1 rle with old method : 0.08431386947631836 time for calcul the mask position with numpy : 0.008193016052246094 nb_pixel_total : 117867 time to create 1 rle with old method : 0.12347841262817383 create new chi : 0.588087797164917 time to delete rle : 0.0009884834289550781 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 5849 TO DO : save crop sub photo not yet done ! save time : 3.0266730785369873 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.4733550548553467 time for calcul the mask position with numpy : 0.014853954315185547 nb_pixel_total : 1103605 time to create 1 rle with new method : 0.03233075141906738 time for calcul the mask position with numpy : 0.00743556022644043 nb_pixel_total : 272532 time to create 1 rle with new method : 0.03144335746765137 time for calcul the mask position with numpy : 0.009933948516845703 nb_pixel_total : 400093 time to create 1 rle with new method : 0.035251617431640625 time for calcul the mask position with numpy : 0.008035421371459961 nb_pixel_total : 297370 time to create 1 rle with new method : 0.03297686576843262 create new chi : 0.17349767684936523 time to delete rle : 0.0007369518280029297 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 8682 TO DO : save crop sub photo not yet done ! save time : 3.0175185203552246 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.36351919174194336 time for calcul the mask position with numpy : 0.021279335021972656 nb_pixel_total : 525895 time to create 1 rle with new method : 0.03729248046875 time for calcul the mask position with numpy : 0.008848190307617188 nb_pixel_total : 80955 time to create 1 rle with old method : 0.09650158882141113 time for calcul the mask position with numpy : 0.024924278259277344 nb_pixel_total : 1466750 time to create 1 rle with new method : 0.04648900032043457 create new chi : 0.24219584465026855 time to delete rle : 0.0005199909210205078 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 4733 TO DO : save crop sub photo not yet done ! save time : 0.29424595832824707 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.6138656139373779 time for calcul the mask position with numpy : 0.023430824279785156 nb_pixel_total : 1166525 time to create 1 rle with new method : 0.0566403865814209 time for calcul the mask position with numpy : 0.008435726165771484 nb_pixel_total : 15349 time to create 1 rle with old method : 0.017000198364257812 time for calcul the mask position with numpy : 0.007243156433105469 nb_pixel_total : 48666 time to create 1 rle with old method : 0.05109715461730957 time for calcul the mask position with numpy : 0.006961345672607422 nb_pixel_total : 3941 time to create 1 rle with old method : 0.0055048465728759766 time for calcul the mask position with numpy : 0.015429258346557617 nb_pixel_total : 839119 time to create 1 rle with new method : 0.04540824890136719 create new chi : 0.24272394180297852 time to delete rle : 0.0005609989166259766 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 5292 TO DO : save crop sub photo not yet done ! save time : 0.6434545516967773 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.34889698028564453 time for calcul the mask position with numpy : 0.016657352447509766 nb_pixel_total : 874115 time to create 1 rle with new method : 0.05056357383728027 time for calcul the mask position with numpy : 0.007505178451538086 nb_pixel_total : 67645 time to create 1 rle with old method : 0.06988739967346191 time for calcul the mask position with numpy : 0.01461338996887207 nb_pixel_total : 815876 time to create 1 rle with new method : 0.04595065116882324 time for calcul the mask position with numpy : 0.00892949104309082 nb_pixel_total : 315964 time to create 1 rle with new method : 0.049105167388916016 create new chi : 0.2769443988800049 time to delete rle : 0.0007421970367431641 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 6570 TO DO : save crop sub photo not yet done ! save time : 4.290841817855835 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.5446312427520752 time for calcul the mask position with numpy : 0.017160415649414062 nb_pixel_total : 928435 time to create 1 rle with new method : 0.05454874038696289 time for calcul the mask position with numpy : 0.00790715217590332 nb_pixel_total : 150294 time to create 1 rle with new method : 0.04315614700317383 time for calcul the mask position with numpy : 0.009119749069213867 nb_pixel_total : 29772 time to create 1 rle with old method : 0.044152259826660156 time for calcul the mask position with numpy : 0.007538795471191406 nb_pixel_total : 9250 time to create 1 rle with old method : 0.014217853546142578 time for calcul the mask position with numpy : 0.019909381866455078 nb_pixel_total : 955849 time to create 1 rle with new method : 0.04452681541442871 create new chi : 0.267902135848999 time to delete rle : 0.001397848129272461 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 8467 TO DO : save crop sub photo not yet done ! save time : 0.6101090908050537 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.35134267807006836 time for calcul the mask position with numpy : 0.016690492630004883 nb_pixel_total : 1012371 time to create 1 rle with new method : 0.04089784622192383 time for calcul the mask position with numpy : 0.00871896743774414 nb_pixel_total : 16531 time to create 1 rle with old method : 0.01839280128479004 time for calcul the mask position with numpy : 0.013964176177978516 nb_pixel_total : 759842 time to create 1 rle with new method : 0.04500412940979004 time for calcul the mask position with numpy : 0.009984016418457031 nb_pixel_total : 233176 time to create 1 rle with new method : 0.049243927001953125 time for calcul the mask position with numpy : 0.0077953338623046875 nb_pixel_total : 51680 time to create 1 rle with old method : 0.06326746940612793 create new chi : 0.2839677333831787 time to delete rle : 0.0009822845458984375 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 7541 TO DO : save crop sub photo not yet done ! save time : 0.6173050403594971 nb_obj : 8 nb_hashtags : 4 time to prepare the origin masks : 0.8708038330078125 time for calcul the mask position with numpy : 0.020861387252807617 nb_pixel_total : 1257095 time to create 1 rle with new method : 0.044266700744628906 time for calcul the mask position with numpy : 0.006726980209350586 nb_pixel_total : 16554 time to create 1 rle with old method : 0.01724982261657715 time for calcul the mask position with numpy : 0.007364749908447266 nb_pixel_total : 151044 time to create 1 rle with new method : 0.03937029838562012 time for calcul the mask position with numpy : 0.011519670486450195 nb_pixel_total : 43325 time to create 1 rle with old method : 0.04564404487609863 time for calcul the mask position with numpy : 0.009083271026611328 nb_pixel_total : 239116 time to create 1 rle with new method : 0.035749197006225586 time for calcul the mask position with numpy : 0.006762027740478516 nb_pixel_total : 23724 time to create 1 rle with old method : 0.02368307113647461 time for calcul the mask position with numpy : 0.007766008377075195 nb_pixel_total : 248735 time to create 1 rle with new method : 0.038001298904418945 time for calcul the mask position with numpy : 0.007049560546875 nb_pixel_total : 44874 time to create 1 rle with old method : 0.0479283332824707 time for calcul the mask position with numpy : 0.011185169219970703 nb_pixel_total : 49133 time to create 1 rle with old method : 0.055722951889038086 create new chi : 0.43987464904785156 time to delete rle : 0.0013153553009033203 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 8877 TO DO : save crop sub photo not yet done ! save time : 0.4919929504394531 nb_obj : 7 nb_hashtags : 4 time to prepare the origin masks : 0.7096405029296875 time for calcul the mask position with numpy : 0.013085365295410156 nb_pixel_total : 569914 time to create 1 rle with new method : 0.048957109451293945 time for calcul the mask position with numpy : 0.020776033401489258 nb_pixel_total : 691128 time to create 1 rle with new method : 0.0495600700378418 time for calcul the mask position with numpy : 0.007226467132568359 nb_pixel_total : 5026 time to create 1 rle with old method : 0.00525355339050293 time for calcul the mask position with numpy : 0.009148120880126953 nb_pixel_total : 308010 time to create 1 rle with new method : 0.041249990463256836 time for calcul the mask position with numpy : 0.0071413516998291016 nb_pixel_total : 50828 time to create 1 rle with old method : 0.06515789031982422 time for calcul the mask position with numpy : 0.00727081298828125 nb_pixel_total : 17587 time to create 1 rle with old method : 0.01855015754699707 time for calcul the mask position with numpy : 0.008223533630371094 nb_pixel_total : 285970 time to create 1 rle with new method : 0.04134511947631836 time for calcul the mask position with numpy : 0.007309436798095703 nb_pixel_total : 145137 time to create 1 rle with old method : 0.1490790843963623 create new chi : 0.5031313896179199 time to delete rle : 0.001499176025390625 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 9663 TO DO : save crop sub photo not yet done ! save time : 0.6461429595947266 map_output_result : {1330520328: (0.0, 'Should be the crop_list due to order', 0.0), 1330520289: (0.0, 'Should be the crop_list due to order', 0.0), 1330520287: (0.0, 'Should be the crop_list due to order', 0.0), 1330520286: (0.0, 'Should be the crop_list due to order', 0.0), 1330520281: (0.0, 'Should be the crop_list due to order', 0.0), 1330519950: (0.0, 'Should be the crop_list due to order', 0.0), 1330519944: (0.0, 'Should be the crop_list due to order', 0.0), 1330519899: (0.0, 'Should be the crop_list due to order', 0.0), 1330519896: (0.0, 'Should be the crop_list due to order', 0.0), 1330519893: (0.0, 'Should be the crop_list due to order', 0.0), 1330519892: (0.0, 'Should be the crop_list due to order', 0.0), 1330519891: (0.0, 'Should be the crop_list due to order', 0.0), 1330519890: (0.0, 'Should be the crop_list due to order', 0.0), 1330519541: (0.0, 'Should be the crop_list due to order', 0.0), 1330519482: (0.0, 'Should be the crop_list due to order', 0.0), 1330519344: (0.0, 'Should be the crop_list due to order', 0.0), 1330519166: (0.0, 'Should be the crop_list due to order', 0.0), 1330519157: (0.0, 'Should be the crop_list due to order', 0.0), 1330519097: (0.0, 'Should be the crop_list due to order', 0.0), 1330519094: (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 [1330520328, 1330520289, 1330520287, 1330520286, 1330520281, 1330519950, 1330519944, 1330519899, 1330519896, 1330519893, 1330519892, 1330519891, 1330519890, 1330519541, 1330519482, 1330519344, 1330519166, 1330519157, 1330519097, 1330519094] Looping around the photos to save general results len do output : 20 /1330520328.Didn't retrieve data . /1330520289.Didn't retrieve data . /1330520287.Didn't retrieve data . /1330520286.Didn't retrieve data . /1330520281.Didn't retrieve data . /1330519950.Didn't retrieve data . /1330519944.Didn't retrieve data . /1330519899.Didn't retrieve data . /1330519896.Didn't retrieve data . /1330519893.Didn't retrieve data . /1330519892.Didn't retrieve data . /1330519891.Didn't retrieve data . /1330519890.Didn't retrieve data . /1330519541.Didn't retrieve data . /1330519482.Didn't retrieve data . /1330519344.Didn't retrieve data . /1330519166.Didn't retrieve data . /1330519157.Didn't retrieve data . /1330519097.Didn't retrieve data . /1330519094.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, '2501424') ('3459', '19804581', '1330520328', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520289', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520287', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520286', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520281', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519950', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519944', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519899', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519896', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519893', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519892', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519891', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519890', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519541', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519482', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519344', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519166', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519157', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519097', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519094', None, None, None, None, None, '2501424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.013976335525512695 save_final save missing photos in datou_result : time spend for datou_step_exec : 43.986029386520386 time spend to save output : 0.014723062515258789 total time spend for step 5 : 44.000752449035645 step6:crop_condition Wed Feb 5 09:08:00 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 102 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! 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/1738742881_3088178 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7101292610168457 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 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/1738742883_3088178 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5575075149536133 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 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/1738742884_3088178 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6761138439178467 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738742886_3088178 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.6461067199707031 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/1738742888_3088178 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.3550612926483154 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 ! 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/1738742891_3088178 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.868370771408081 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 [1330520328, 1330520289, 1330520287, 1330520286, 1330520281, 1330519950, 1330519944, 1330519899, 1330519896, 1330519893, 1330519892, 1330519891, 1330519890, 1330519541, 1330519482, 1330519344, 1330519166, 1330519157, 1330519097, 1330519094] Looping around the photos to save general results len do output : 8 /1334855792Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334855796Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334855806Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334855835Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334855855Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334855859Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334855914Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334855920Didn'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, '2501424') ('3459', '19804581', '1330520328', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520289', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520287', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520286', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520281', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519950', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519944', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519899', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519896', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519893', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519892', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519891', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519890', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519541', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519482', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519344', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519166', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519157', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519097', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519094', None, None, None, None, None, '2501424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 44 time used for this insertion : 0.03127741813659668 save_final save missing photos in datou_result : time spend for datou_step_exec : 16.398921966552734 time spend to save output : 0.08478021621704102 total time spend for step 6 : 16.483702182769775 step7:ventilate_hashtags_in_portfolio Wed Feb 5 09:08:16 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 : 19804581 get user id for portfolio 19804581 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 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_brun','cartonnette','mal_croppe','Carton_gris','plastique','kraft','flou','metal','environnement','autre_refus','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19804581 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_brun','cartonnette','mal_croppe','Carton_gris','plastique','kraft','flou','metal','environnement','autre_refus','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19804581 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_brun','cartonnette','mal_croppe','Carton_gris','plastique','kraft','flou','metal','environnement','autre_refus','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20248630,20248631,20248632,20248633,20248634,20248635,20248636,20248637,20248638,20248639,20248640,20248641?tags=papier,Carton_brun,cartonnette,mal_croppe,Carton_gris,plastique,kraft,flou,metal,environnement,autre_refus,Teint_Dans_La_Masse Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1330520328, 1330520289, 1330520287, 1330520286, 1330520281, 1330519950, 1330519944, 1330519899, 1330519896, 1330519893, 1330519892, 1330519891, 1330519890, 1330519541, 1330519482, 1330519344, 1330519166, 1330519157, 1330519097, 1330519094] Looping around the photos to save general results len do output : 1 /19804581. 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, '2501424') ('3459', '19804581', '1330520328', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520289', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520287', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520286', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520281', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519950', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519944', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519899', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519896', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519893', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519892', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519891', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519890', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519541', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519482', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519344', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519166', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519157', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519097', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519094', None, None, None, None, None, '2501424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.014537811279296875 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.2295210361480713 time spend to save output : 0.01495671272277832 total time spend for step 7 : 2.2444777488708496 step8:final Wed Feb 5 09:08:19 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Catched exception ! Connect or reconnect ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1330520328: ('0.06531314347098334',), 1330520289: ('0.06531314347098334',), 1330520287: ('0.06531314347098334',), 1330520286: ('0.06531314347098334',), 1330520281: ('0.06531314347098334',), 1330519950: ('0.06531314347098334',), 1330519944: ('0.06531314347098334',), 1330519899: ('0.06531314347098334',), 1330519896: ('0.06531314347098334',), 1330519893: ('0.06531314347098334',), 1330519892: ('0.06531314347098334',), 1330519891: ('0.06531314347098334',), 1330519890: ('0.06531314347098334',), 1330519541: ('0.06531314347098334',), 1330519482: ('0.06531314347098334',), 1330519344: ('0.06531314347098334',), 1330519166: ('0.06531314347098334',), 1330519157: ('0.06531314347098334',), 1330519097: ('0.06531314347098334',), 1330519094: ('0.06531314347098334',)} new output for save of step final : {1330520328: ('0.06531314347098334',), 1330520289: ('0.06531314347098334',), 1330520287: ('0.06531314347098334',), 1330520286: ('0.06531314347098334',), 1330520281: ('0.06531314347098334',), 1330519950: ('0.06531314347098334',), 1330519944: ('0.06531314347098334',), 1330519899: ('0.06531314347098334',), 1330519896: ('0.06531314347098334',), 1330519893: ('0.06531314347098334',), 1330519892: ('0.06531314347098334',), 1330519891: ('0.06531314347098334',), 1330519890: ('0.06531314347098334',), 1330519541: ('0.06531314347098334',), 1330519482: ('0.06531314347098334',), 1330519344: ('0.06531314347098334',), 1330519166: ('0.06531314347098334',), 1330519157: ('0.06531314347098334',), 1330519097: ('0.06531314347098334',), 1330519094: ('0.06531314347098334',)} [1330520328, 1330520289, 1330520287, 1330520286, 1330520281, 1330519950, 1330519944, 1330519899, 1330519896, 1330519893, 1330519892, 1330519891, 1330519890, 1330519541, 1330519482, 1330519344, 1330519166, 1330519157, 1330519097, 1330519094] Looping around the photos to save general results len do output : 20 /1330520328.Didn't retrieve data . /1330520289.Didn't retrieve data . /1330520287.Didn't retrieve data . /1330520286.Didn't retrieve data . /1330520281.Didn't retrieve data . /1330519950.Didn't retrieve data . /1330519944.Didn't retrieve data . /1330519899.Didn't retrieve data . /1330519896.Didn't retrieve data . /1330519893.Didn't retrieve data . /1330519892.Didn't retrieve data . /1330519891.Didn't retrieve data . /1330519890.Didn't retrieve data . /1330519541.Didn't retrieve data . /1330519482.Didn't retrieve data . /1330519344.Didn't retrieve data . /1330519166.Didn't retrieve data . /1330519157.Didn't retrieve data . /1330519097.Didn't retrieve data . /1330519094.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, '2501424') ('3459', '19804581', '1330520328', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520289', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520287', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520286', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520281', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519950', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519944', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519899', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519896', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519893', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519892', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519891', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519890', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519541', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519482', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519344', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519166', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519157', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519097', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519094', None, None, None, None, None, '2501424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.016499996185302734 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.15322351455688477 time spend to save output : 0.017481088638305664 total time spend for step 8 : 0.17070460319519043 step9:velours_tree Wed Feb 5 09:08:19 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.03587198257446289 time spend to save output : 4.887580871582031e-05 total time spend for step 9 : 0.03592085838317871 step10:send_mail_cod Wed Feb 5 09:08:19 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 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_P19804581_05-02-2025_09_08_19.pdf 20248632 change filename to text .change filename to text .imagette202486321738742899 20248633 imagette202486331738742899 20248635 change filename to text .imagette202486351738742899 20248636 imagette202486361738742899 20248637 imagette202486371738742899 20248638 imagette202486381738742899 20248640 change filename to text .imagette202486401738742899 20248631 change filename to text .imagette202486311738742899 20248634 change filename to text .imagette202486341738742899 20248641 change filename to text .change filename to text .imagette202486411738742899 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=19804581 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20248630,20248631,20248632,20248633,20248634,20248635,20248636,20248637,20248638,20248639,20248640,20248641?tags=papier,Carton_brun,cartonnette,mal_croppe,Carton_gris,plastique,kraft,flou,metal,environnement,autre_refus,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1330520328] : ('0.06531314347098334',) no score found for photo 1330520328 We are sending mail with results at report@fotonower.com args[1330520289] : ('0.06531314347098334',) no score found for photo 1330520289 We are sending mail with results at report@fotonower.com args[1330520287] : ('0.06531314347098334',) no score found for photo 1330520287 We are sending mail with results at report@fotonower.com args[1330520286] : ('0.06531314347098334',) no score found for photo 1330520286 We are sending mail with results at report@fotonower.com args[1330520281] : ('0.06531314347098334',) no score found for photo 1330520281 We are sending mail with results at report@fotonower.com args[1330519950] : ('0.06531314347098334',) no score found for photo 1330519950 We are sending mail with results at report@fotonower.com args[1330519944] : ('0.06531314347098334',) no score found for photo 1330519944 We are sending mail with results at report@fotonower.com args[1330519899] : ('0.06531314347098334',) no score found for photo 1330519899 We are sending mail with results at report@fotonower.com args[1330519896] : ('0.06531314347098334',) no score found for photo 1330519896 We are sending mail with results at report@fotonower.com args[1330519893] : ('0.06531314347098334',) no score found for photo 1330519893 We are sending mail with results at report@fotonower.com args[1330519892] : ('0.06531314347098334',) no score found for photo 1330519892 We are sending mail with results at report@fotonower.com args[1330519891] : ('0.06531314347098334',) no score found for photo 1330519891 We are sending mail with results at report@fotonower.com args[1330519890] : ('0.06531314347098334',) no score found for photo 1330519890 We are sending mail with results at report@fotonower.com args[1330519541] : ('0.06531314347098334',) no score found for photo 1330519541 We are sending mail with results at report@fotonower.com args[1330519482] : ('0.06531314347098334',) no score found for photo 1330519482 We are sending mail with results at report@fotonower.com args[1330519344] : ('0.06531314347098334',) no score found for photo 1330519344 We are sending mail with results at report@fotonower.com args[1330519166] : ('0.06531314347098334',) no score found for photo 1330519166 We are sending mail with results at report@fotonower.com args[1330519157] : ('0.06531314347098334',) no score found for photo 1330519157 We are sending mail with results at report@fotonower.com args[1330519097] : ('0.06531314347098334',) no score found for photo 1330519097 We are sending mail with results at report@fotonower.com args[1330519094] : ('0.06531314347098334',) no score found for photo 1330519094 We are sending mail with results at report@fotonower.com refus_total : 0.06531314347098334 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=19804581 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1330519891,1330519541,1330520328,1330520289,1330520287,1330520286,1330520281,1330519950,1330519944,1330519899,1330519896,1330519893,1330519892,1330519890,1330517403,1330519482,1330519344,1330519166,1330519157,1330519097) Found this number of photos: 20 begin to download photo : 1330519891 begin to download photo : 1330520286 begin to download photo : 1330519896 begin to download photo : 1330519482 download finish for photo 1330520286 begin to download photo : 1330520281 download finish for photo 1330519891 begin to download photo : 1330519541 download finish for photo 1330519482 begin to download photo : 1330519344 download finish for photo 1330519896 begin to download photo : 1330519893 download finish for photo 1330519344 begin to download photo : 1330519166 download finish for photo 1330520281 begin to download photo : 1330519950 download finish for photo 1330519541 begin to download photo : 1330520328 download finish for photo 1330519893 begin to download photo : 1330519892 download finish for photo 1330519166 begin to download photo : 1330519157 download finish for photo 1330519950 begin to download photo : 1330519944 download finish for photo 1330519157 begin to download photo : 1330519097 download finish for photo 1330519892 begin to download photo : 1330519890 download finish for photo 1330520328 begin to download photo : 1330520289 download finish for photo 1330519944 begin to download photo : 1330519899 download finish for photo 1330519097 download finish for photo 1330519890 begin to download photo : 1330517403 download finish for photo 1330519899 download finish for photo 1330520289 begin to download photo : 1330520287 download finish for photo 1330517403 download finish for photo 1330520287 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19804581_05-02-2025_09_08_19.pdf results_Auto_P19804581_05-02-2025_09_08_19.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19804581_05-02-2025_09_08_19.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','19804581','results_Auto_P19804581_05-02-2025_09_08_19.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19804581_05-02-2025_09_08_19.pdf','pdf','','0.22','0.06531314347098334') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1330520328, 1330520289, 1330520287, 1330520286, 1330520281, 1330519950, 1330519944, 1330519899, 1330519896, 1330519893, 1330519892, 1330519891, 1330519890, 1330519541, 1330519482, 1330519344, 1330519166, 1330519157, 1330519097, 1330519094] 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, '2501424') ('3459', '19804581', '1330520328', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520289', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520287', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520286', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520281', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519950', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519944', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519899', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519896', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519893', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519892', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519891', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519890', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519541', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519482', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519344', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519166', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519157', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519097', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519094', None, None, None, None, None, '2501424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.5273759365081787 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.8359501361846924 time spend to save output : 0.527702808380127 total time spend for step 10 : 4.363652944564819 step11:split_time_score Wed Feb 5 09:08:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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'}] (('14', 28),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 21012025 19804581 Nombre de photos uploadées : 28 / 23040 (0%) 21012025 19804581 Nombre de photos taguées (types de déchets): 0 / 28 (0%) 21012025 19804581 Nombre de photos taguées (volume) : 0 / 28 (0%) elapsed_time : load_data_split_time_score 4.291534423828125e-06 elapsed_time : order_list_meta_photo_and_scores 2.8848648071289062e-05 ???????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0016255378723144531 elapsed_time : insert_dashboard_record_day_entry 0.023037433624267578 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 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19795840 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19795842 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19795857 order by id desc limit 1 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_00_39.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_04_20.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_08_19.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 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19806031 order by id desc limit 1 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': 28, '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 [1330520328, 1330520289, 1330520287, 1330520286, 1330520281, 1330519950, 1330519944, 1330519899, 1330519896, 1330519893, 1330519892, 1330519891, 1330519890, 1330519541, 1330519482, 1330519344, 1330519166, 1330519157, 1330519097, 1330519094] Looping around the photos to save general results len do output : 1 /19804581Didn'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, '2501424') ('3459', '19804581', '1330520328', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520289', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520287', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520286', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330520281', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519950', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519944', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519899', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519896', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519893', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519892', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519891', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519890', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519541', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519482', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519344', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519166', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519157', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519097', None, None, None, None, None, '2501424') ('3459', None, None, None, None, None, None, None, '2501424') ('3459', '19804581', '1330519094', None, None, None, None, None, '2501424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.015717267990112305 save_final save missing photos in datou_result : time spend for datou_step_exec : 23.890458583831787 time spend to save output : 0.016110658645629883 total time spend for step 11 : 23.906569242477417 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 68.57user 24.41system 2:45.18elapsed 56%CPU (0avgtext+0avgdata 2980712maxresident)k 176inputs+43760outputs (17major+2102254minor)pagefaults 0swaps