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 2501422' -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 : 3072708 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 : ['2501422'] with mtr_portfolio_ids : ['19804579'] and first list_photo_ids : [] new path : /proc/3072708/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 20 list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 3.305126190185547 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 08:59:04 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 : 6997 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-05 08:59:06.886892: 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 08:59:06.911229: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-05 08:59:06.913106: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f70b0000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-05 08:59:06.913165: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-05 08:59:06.917293: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-05 08:59:07.057648: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x284eeb70 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-05 08:59:07.057695: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-05 08:59:07.058974: 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 08:59:07.059381: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-05 08:59:07.062637: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-05 08:59:07.065950: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-05 08:59:07.066468: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-05 08:59:07.069174: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-05 08:59:07.070197: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-05 08:59:07.074753: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-05 08:59:07.076113: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-05 08:59:07.076191: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-05 08:59:07.076860: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-05 08:59:07.076876: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-05 08:59:07.076901: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-05 08:59:07.077978: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6435 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 08:59:07.341648: 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 08:59:07.341737: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-05 08:59:07.341758: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-05 08:59:07.341777: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-05 08:59:07.341794: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-05 08:59:07.341812: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-05 08:59:07.341830: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-05 08:59:07.341848: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-05 08:59:07.343178: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-05 08:59:07.344330: 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 08:59:07.344368: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-05 08:59:07.344387: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-05 08:59:07.344404: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-05 08:59:07.344422: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-05 08:59:07.344439: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-05 08:59:07.344456: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-05 08:59:07.344473: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-05 08:59:07.345741: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-05 08:59:07.345772: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-05 08:59:07.345783: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-05 08:59:07.345793: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-05 08:59:07.347166: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6435 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 08:59:14.670934: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-05 08:59:14.879085: 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 : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 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 : 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 : 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 : 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 : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 Detection mask done ! Trying to reset tf kernel 3073656 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 : 10774 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.021285295486450195 nb_pixel_total : 1277685 time to create 1 rle with new method : 0.03745841979980469 length of segment : 1766 time for calcul the mask position with numpy : 0.0037546157836914062 nb_pixel_total : 339653 time to create 1 rle with new method : 0.009683847427368164 length of segment : 1174 time for calcul the mask position with numpy : 0.0033028125762939453 nb_pixel_total : 324529 time to create 1 rle with new method : 0.007185935974121094 length of segment : 986 time for calcul the mask position with numpy : 0.011360883712768555 nb_pixel_total : 781684 time to create 1 rle with new method : 0.03375124931335449 length of segment : 1382 time for calcul the mask position with numpy : 0.0021963119506835938 nb_pixel_total : 170973 time to create 1 rle with new method : 0.005645275115966797 length of segment : 583 time for calcul the mask position with numpy : 0.003823518753051758 nb_pixel_total : 336184 time to create 1 rle with new method : 0.00943136215209961 length of segment : 1079 time for calcul the mask position with numpy : 0.0033025741577148438 nb_pixel_total : 189715 time to create 1 rle with new method : 0.010019302368164062 length of segment : 1022 time for calcul the mask position with numpy : 0.0012862682342529297 nb_pixel_total : 74441 time to create 1 rle with old method : 0.08461380004882812 length of segment : 532 time for calcul the mask position with numpy : 0.0017745494842529297 nb_pixel_total : 139565 time to create 1 rle with old method : 0.14447784423828125 length of segment : 507 time for calcul the mask position with numpy : 0.017331600189208984 nb_pixel_total : 615848 time to create 1 rle with new method : 0.02902984619140625 length of segment : 1400 time for calcul the mask position with numpy : 0.004128217697143555 nb_pixel_total : 331225 time to create 1 rle with new method : 0.014841318130493164 length of segment : 1341 time for calcul the mask position with numpy : 0.018479108810424805 nb_pixel_total : 1322602 time to create 1 rle with new method : 0.04267263412475586 length of segment : 2232 time for calcul the mask position with numpy : 0.0006186962127685547 nb_pixel_total : 38592 time to create 1 rle with old method : 0.04306936264038086 length of segment : 174 time for calcul the mask position with numpy : 0.0038118362426757812 nb_pixel_total : 309496 time to create 1 rle with new method : 0.010202646255493164 length of segment : 1185 time for calcul the mask position with numpy : 0.00035381317138671875 nb_pixel_total : 16258 time to create 1 rle with old method : 0.017102956771850586 length of segment : 193 time for calcul the mask position with numpy : 5.745887756347656e-05 nb_pixel_total : 1754 time to create 1 rle with old method : 0.002070903778076172 length of segment : 30 time for calcul the mask position with numpy : 0.0001456737518310547 nb_pixel_total : 7984 time to create 1 rle with old method : 0.00917959213256836 length of segment : 74 time for calcul the mask position with numpy : 0.0005903244018554688 nb_pixel_total : 15788 time to create 1 rle with old method : 0.017597436904907227 length of segment : 258 time for calcul the mask position with numpy : 0.003066539764404297 nb_pixel_total : 106354 time to create 1 rle with old method : 0.11932229995727539 length of segment : 621 time for calcul the mask position with numpy : 0.0030570030212402344 nb_pixel_total : 186482 time to create 1 rle with new method : 0.008414745330810547 length of segment : 809 time for calcul the mask position with numpy : 0.0029726028442382812 nb_pixel_total : 213985 time to create 1 rle with new method : 0.006397724151611328 length of segment : 1138 time for calcul the mask position with numpy : 0.00037980079650878906 nb_pixel_total : 17989 time to create 1 rle with old method : 0.01955723762512207 length of segment : 206 time for calcul the mask position with numpy : 6.270408630371094e-05 nb_pixel_total : 925 time to create 1 rle with old method : 0.0011408329010009766 length of segment : 47 time for calcul the mask position with numpy : 0.0005214214324951172 nb_pixel_total : 15381 time to create 1 rle with old method : 0.017161846160888672 length of segment : 226 time for calcul the mask position with numpy : 0.0006253719329833984 nb_pixel_total : 20550 time to create 1 rle with old method : 0.022648334503173828 length of segment : 167 time for calcul the mask position with numpy : 0.00035119056701660156 nb_pixel_total : 8751 time to create 1 rle with old method : 0.009955406188964844 length of segment : 176 time for calcul the mask position with numpy : 0.00017976760864257812 nb_pixel_total : 6631 time to create 1 rle with old method : 0.007376194000244141 length of segment : 152 time for calcul the mask position with numpy : 0.002300739288330078 nb_pixel_total : 107350 time to create 1 rle with old method : 0.11516308784484863 length of segment : 717 time for calcul the mask position with numpy : 0.0018379688262939453 nb_pixel_total : 62732 time to create 1 rle with old method : 0.06872439384460449 length of segment : 452 time for calcul the mask position with numpy : 0.00824594497680664 nb_pixel_total : 458987 time to create 1 rle with new method : 0.01892542839050293 length of segment : 1883 time for calcul the mask position with numpy : 0.0020754337310791016 nb_pixel_total : 150530 time to create 1 rle with new method : 0.00478672981262207 length of segment : 649 time for calcul the mask position with numpy : 0.000385284423828125 nb_pixel_total : 18725 time to create 1 rle with old method : 0.020704984664916992 length of segment : 197 time for calcul the mask position with numpy : 0.012645483016967773 nb_pixel_total : 659778 time to create 1 rle with new method : 0.026433229446411133 length of segment : 2005 time for calcul the mask position with numpy : 0.0025713443756103516 nb_pixel_total : 187495 time to create 1 rle with new method : 0.006010770797729492 length of segment : 626 time for calcul the mask position with numpy : 0.0010418891906738281 nb_pixel_total : 79254 time to create 1 rle with old method : 0.0878593921661377 length of segment : 354 time for calcul the mask position with numpy : 0.0022652149200439453 nb_pixel_total : 189198 time to create 1 rle with new method : 0.005288839340209961 length of segment : 860 time for calcul the mask position with numpy : 0.012601375579833984 nb_pixel_total : 1017306 time to create 1 rle with new method : 0.035404205322265625 length of segment : 1600 time for calcul the mask position with numpy : 0.01438760757446289 nb_pixel_total : 723875 time to create 1 rle with new method : 0.030391216278076172 length of segment : 2738 time for calcul the mask position with numpy : 0.0003058910369873047 nb_pixel_total : 17629 time to create 1 rle with old method : 0.020025968551635742 length of segment : 157 time for calcul the mask position with numpy : 6.508827209472656e-05 nb_pixel_total : 1343 time to create 1 rle with old method : 0.0016896724700927734 length of segment : 94 time for calcul the mask position with numpy : 0.0032608509063720703 nb_pixel_total : 241788 time to create 1 rle with new method : 0.009454727172851562 length of segment : 1115 time for calcul the mask position with numpy : 0.003943920135498047 nb_pixel_total : 309476 time to create 1 rle with new method : 0.01134800910949707 length of segment : 1310 time for calcul the mask position with numpy : 0.013579130172729492 nb_pixel_total : 775611 time to create 1 rle with new method : 0.028415918350219727 length of segment : 1882 time for calcul the mask position with numpy : 0.0016050338745117188 nb_pixel_total : 121695 time to create 1 rle with old method : 0.12731218338012695 length of segment : 784 time for calcul the mask position with numpy : 0.0011734962463378906 nb_pixel_total : 103669 time to create 1 rle with old method : 0.11327934265136719 length of segment : 249 time for calcul the mask position with numpy : 0.00026607513427734375 nb_pixel_total : 11193 time to create 1 rle with old method : 0.012788534164428711 length of segment : 162 time for calcul the mask position with numpy : 0.0034818649291992188 nb_pixel_total : 313326 time to create 1 rle with new method : 0.009955167770385742 length of segment : 1175 time for calcul the mask position with numpy : 0.00013327598571777344 nb_pixel_total : 1378 time to create 1 rle with old method : 0.0015707015991210938 length of segment : 60 time for calcul the mask position with numpy : 0.0043370723724365234 nb_pixel_total : 308496 time to create 1 rle with new method : 0.007221698760986328 length of segment : 763 time for calcul the mask position with numpy : 0.013124465942382812 nb_pixel_total : 896222 time to create 1 rle with new method : 0.03275918960571289 length of segment : 1276 time for calcul the mask position with numpy : 0.003052234649658203 nb_pixel_total : 286523 time to create 1 rle with new method : 0.007668018341064453 length of segment : 1267 time for calcul the mask position with numpy : 0.00012683868408203125 nb_pixel_total : 2855 time to create 1 rle with old method : 0.0031790733337402344 length of segment : 78 time for calcul the mask position with numpy : 0.014042377471923828 nb_pixel_total : 969795 time to create 1 rle with new method : 0.030937671661376953 length of segment : 2116 time for calcul the mask position with numpy : 0.0015456676483154297 nb_pixel_total : 93719 time to create 1 rle with old method : 0.09824228286743164 length of segment : 378 time for calcul the mask position with numpy : 0.0027387142181396484 nb_pixel_total : 225075 time to create 1 rle with new method : 0.006658792495727539 length of segment : 1018 time for calcul the mask position with numpy : 0.003608226776123047 nb_pixel_total : 305277 time to create 1 rle with new method : 0.010065555572509766 length of segment : 1063 time for calcul the mask position with numpy : 0.0001480579376220703 nb_pixel_total : 6947 time to create 1 rle with old method : 0.007866382598876953 length of segment : 123 time for calcul the mask position with numpy : 0.00030040740966796875 nb_pixel_total : 10783 time to create 1 rle with old method : 0.011505603790283203 length of segment : 91 time for calcul the mask position with numpy : 0.0031595230102539062 nb_pixel_total : 196980 time to create 1 rle with new method : 0.005159854888916016 length of segment : 885 time for calcul the mask position with numpy : 0.007594108581542969 nb_pixel_total : 440460 time to create 1 rle with new method : 0.02083563804626465 length of segment : 1682 time for calcul the mask position with numpy : 0.00018644332885742188 nb_pixel_total : 970 time to create 1 rle with old method : 0.001146078109741211 length of segment : 42 time for calcul the mask position with numpy : 0.0019867420196533203 nb_pixel_total : 99841 time to create 1 rle with old method : 0.10986781120300293 length of segment : 233 time for calcul the mask position with numpy : 0.00016069412231445312 nb_pixel_total : 2428 time to create 1 rle with old method : 0.0028562545776367188 length of segment : 92 time for calcul the mask position with numpy : 0.016756772994995117 nb_pixel_total : 794241 time to create 1 rle with new method : 0.038622140884399414 length of segment : 1459 time for calcul the mask position with numpy : 0.001073598861694336 nb_pixel_total : 86830 time to create 1 rle with old method : 0.09401845932006836 length of segment : 402 time for calcul the mask position with numpy : 0.0005462169647216797 nb_pixel_total : 27051 time to create 1 rle with old method : 0.03034043312072754 length of segment : 361 time for calcul the mask position with numpy : 0.0034172534942626953 nb_pixel_total : 312351 time to create 1 rle with new method : 0.0075817108154296875 length of segment : 960 time for calcul the mask position with numpy : 0.00093841552734375 nb_pixel_total : 45643 time to create 1 rle with old method : 0.04954648017883301 length of segment : 248 time for calcul the mask position with numpy : 0.010456085205078125 nb_pixel_total : 685068 time to create 1 rle with new method : 0.026546955108642578 length of segment : 1327 time for calcul the mask position with numpy : 0.0032858848571777344 nb_pixel_total : 315469 time to create 1 rle with new method : 0.007595539093017578 length of segment : 1089 time for calcul the mask position with numpy : 0.004029989242553711 nb_pixel_total : 271094 time to create 1 rle with new method : 0.006635427474975586 length of segment : 850 time for calcul the mask position with numpy : 0.012918710708618164 nb_pixel_total : 1037333 time to create 1 rle with new method : 0.03333783149719238 length of segment : 1753 time for calcul the mask position with numpy : 0.0002856254577636719 nb_pixel_total : 21245 time to create 1 rle with old method : 0.022355318069458008 length of segment : 137 time for calcul the mask position with numpy : 0.003348112106323242 nb_pixel_total : 291615 time to create 1 rle with new method : 0.009652137756347656 length of segment : 1391 time for calcul the mask position with numpy : 0.009079456329345703 nb_pixel_total : 602872 time to create 1 rle with new method : 0.022556304931640625 length of segment : 1201 time for calcul the mask position with numpy : 0.00010418891906738281 nb_pixel_total : 756 time to create 1 rle with old method : 0.0008959770202636719 length of segment : 80 time for calcul the mask position with numpy : 0.001500844955444336 nb_pixel_total : 56052 time to create 1 rle with old method : 0.061191558837890625 length of segment : 455 time for calcul the mask position with numpy : 0.0006148815155029297 nb_pixel_total : 30070 time to create 1 rle with old method : 0.03350949287414551 length of segment : 174 time for calcul the mask position with numpy : 0.0016863346099853516 nb_pixel_total : 58885 time to create 1 rle with old method : 0.06394743919372559 length of segment : 569 time for calcul the mask position with numpy : 0.00014019012451171875 nb_pixel_total : 6219 time to create 1 rle with old method : 0.0069446563720703125 length of segment : 110 time for calcul the mask position with numpy : 0.0001380443572998047 nb_pixel_total : 2560 time to create 1 rle with old method : 0.003034353256225586 length of segment : 56 time for calcul the mask position with numpy : 0.006891727447509766 nb_pixel_total : 144307 time to create 1 rle with old method : 0.15577220916748047 length of segment : 1151 time for calcul the mask position with numpy : 0.0022819042205810547 nb_pixel_total : 140869 time to create 1 rle with old method : 0.15167784690856934 length of segment : 820 time for calcul the mask position with numpy : 0.0007631778717041016 nb_pixel_total : 27580 time to create 1 rle with old method : 0.03137969970703125 length of segment : 287 time for calcul the mask position with numpy : 9.179115295410156e-05 nb_pixel_total : 3263 time to create 1 rle with old method : 0.003912210464477539 length of segment : 84 time for calcul the mask position with numpy : 0.0007970333099365234 nb_pixel_total : 35646 time to create 1 rle with old method : 0.03927278518676758 length of segment : 366 time for calcul the mask position with numpy : 0.004494428634643555 nb_pixel_total : 268013 time to create 1 rle with new method : 0.011849641799926758 length of segment : 833 time for calcul the mask position with numpy : 0.01307535171508789 nb_pixel_total : 1076745 time to create 1 rle with new method : 0.03403449058532715 length of segment : 1897 time for calcul the mask position with numpy : 0.0035295486450195312 nb_pixel_total : 298726 time to create 1 rle with new method : 0.008492708206176758 length of segment : 1305 time for calcul the mask position with numpy : 0.014968633651733398 nb_pixel_total : 1173812 time to create 1 rle with new method : 0.03649115562438965 length of segment : 1583 time for calcul the mask position with numpy : 0.0006113052368164062 nb_pixel_total : 53590 time to create 1 rle with old method : 0.0573277473449707 length of segment : 201 time for calcul the mask position with numpy : 0.003479480743408203 nb_pixel_total : 316586 time to create 1 rle with new method : 0.008964300155639648 length of segment : 1178 time spent for convertir_results : 13.046700954437256 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 92 chid ids of type : 3663 Number RLEs to save : 71963 save missing photos in datou_result : time spend for datou_step_exec : 34.276012897491455 time spend to save output : 6.725270509719849 total time spend for step 1 : 41.001283407211304 step2:crop_condition Wed Feb 5 08:59:45 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 92 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 ! 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_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 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 ! 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_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1330514559, 1330514484, 1330514482, 1330514394, 1330514392, 1330512384, 1330512381, 1330512379, 1330512376, 1330512288, 1330512285, 1330512283, 1330512281, 1330512168, 1330512166, 1330512155, 1330512152, 1330512010, 1330512007, 1330511962] Looping around the photos to save general results len do output : 21 /-3655541922Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655541926Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655541923Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655541925Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655541966Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655541913Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655541914Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655541971Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655541915Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655541918Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655541930Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655541929Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655541933Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655541937Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655541943Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655541955Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655541963Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655541976Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655541982Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655541911Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655541924Didn'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, '2501422') ('3459', '19804579', '1330514559', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514484', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514482', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514394', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514392', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512384', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512381', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512379', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512376', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512288', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512285', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512283', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512281', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512168', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512166', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512155', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512152', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512010', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512007', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330511962', None, None, None, None, None, '2501422') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 83 time used for this insertion : 0.24184298515319824 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.053744316101074 time spend to save output : 0.2426164150238037 total time spend for step 2 : 7.296360731124878 step3:thcl Wed Feb 5 08:59: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 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.0031769275665283203 time to convert the images to numpy array : 2.384185791015625e-06 time to import caffe and check if the image exist : 0.0030303001403808594 time to convert the images to numpy array : 4.0531158447265625e-06 time to import caffe and check if the image exist : 0.003995180130004883 time to convert the images to numpy array : 3.814697265625e-06 time to import caffe and check if the image exist : 0.00574183464050293 time to convert the images to numpy array : 0.006826162338256836 time to import caffe and check if the image exist : 0.007479429244995117 time to convert the images to numpy array : 0.010360240936279297 time to import caffe and check if the image exist : 0.004455089569091797 time to convert the images to numpy array : 0.013962984085083008 time to import caffe and check if the image exist : 0.005358457565307617 time to convert the images to numpy array : 0.014788150787353516 time to import caffe and check if the image exist : 0.004213571548461914 time to convert the images to numpy array : 0.02222585678100586 time to import caffe and check if the image exist : 0.00492405891418457 time to convert the images to numpy array : 0.022116422653198242 time to import caffe and check if the image exist : 0.005791187286376953 time to convert the images to numpy array : 0.032822608947753906 total time to convert the images to numpy array : 0.21412158012390137 list photo_ids error: [] list photo_ids correct : [-3655541914, -3655541971, -3655541915, -3655541982, -3655541911, -3655541924, -3655541925, -3655541966, -3655541913, -3655541955, -3655541963, -3655541976, -3655541922, -3655541926, -3655541923, -3655541933, -3655541937, -3655541943, -3655541918, -3655541930, -3655541929] number of photos to traite : 21 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 thcls : [{'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'}] thcl {'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'} Update svm_hashtag_type_desc : 4999 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) To loadFromThcl() : net_4999 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10774 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_qualipapia_papier_refus_from_vlg_data_aug Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_qualipapia_papier_refus_from_vlg_data_aug model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel size_local : 44972172 size in s3 : 44972172 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 caffemodel already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt size_local : 17311 size in s3 : 17311 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:51 mean.npy already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/synset_words.txt size_local : 57 size in s3 : 57 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/darknet/:/home/admin/workarea/git/Velours/python:/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python:/home/admin/mtr/.credentials:/home/admin/workarea/install/caffe/python:/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools/:/home/admin/workarea/git/fotonowerpip/:/home/admin/workarea/install/segment-anything:/home/admin//workarea/git/pyfvs/:/home/admin/workarea/git/apy/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt caffemodel_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10555 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.17548608779907227 time used to do the prediction : 0.08632373809814453 we don't save the descriptors for this thcl 2456 tagging for thcl : 2868 To do loadFromThcl(), then load ParamDescType : thcl2868 thcls : [{'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5288 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) To loadFromThcl() : net_5288 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10553 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_papier_nantes_300421 Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_papier_nantes_300421 model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_papier_nantes_300421 /data/models_weight/learn_papier_nantes_300421/caffemodel size_local : 44791983 size in s3 : 44791983 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:13 caffemodel already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/deploy.prototxt size_local : 17255 size in s3 : 17255 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:12 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:14 mean.npy already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/synset_words.txt size_local : 331 size in s3 : 331 create time local : 2021-08-09 05:56:00 create time in s3 : 2021-08-06 19:22:12 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/darknet/:/home/admin/workarea/git/Velours/python:/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python:/home/admin/mtr/.credentials:/home/admin/workarea/install/caffe/python:/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools/:/home/admin/workarea/git/fotonowerpip/:/home/admin/workarea/install/segment-anything:/home/admin//workarea/git/pyfvs/:/home/admin/workarea/git/apy/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_papier_nantes_300421/deploy.prototxt caffemodel_filename : /data/models_weight/learn_papier_nantes_300421/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10553 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.19316577911376953 time used to do the prediction : 0.06883430480957031 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 1.9311904907226562e-05 save missing photos in datou_result : time spend for datou_step_exec : 7.5606818199157715 time spend to save output : 0.0003209114074707031 total time spend for step 3 : 7.561002731323242 step4:merge_mask_thcl_custom Wed Feb 5 09:00: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 ! complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step merge_mask_thcl_custom batch 1 Loaded 92 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 [1330514559, 1330514484, 1330514482, 1330514394, 1330514392, 1330512384, 1330512381, 1330512379, 1330512376, 1330512288, 1330512285, 1330512283, 1330512281, 1330512168, 1330512166, 1330512155, 1330512152, 1330512010, 1330512007, 1330511962] Looping around the photos to save general results len do output : 20 /1330514559Didn't retrieve data .Didn't retrieve data . /1330514484Didn't retrieve data .Didn't retrieve data . /1330514482Didn't retrieve data .Didn't retrieve data . /1330514394Didn't retrieve data .Didn't retrieve data . /1330514392Didn't retrieve data .Didn't retrieve data . /1330512384Didn't retrieve data .Didn't retrieve data . /1330512381Didn't retrieve data .Didn't retrieve data . /1330512379Didn't retrieve data .Didn't retrieve data . /1330512376Didn't retrieve data .Didn't retrieve data . /1330512288Didn't retrieve data .Didn't retrieve data . /1330512285Didn't retrieve data .Didn't retrieve data . /1330512283Didn't retrieve data .Didn't retrieve data . /1330512281Didn't retrieve data .Didn't retrieve data . /1330512168Didn't retrieve data .Didn't retrieve data . /1330512166Didn't retrieve data .Didn't retrieve data . /1330512155Didn't retrieve data .Didn't retrieve data . /1330512152Didn't retrieve data .Didn't retrieve data . /1330512010Didn't retrieve data .Didn't retrieve data . /1330512007Didn't retrieve data .Didn't retrieve data . /1330511962Didn'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, '2501422') ('3459', '19804579', '1330514559', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514484', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514482', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514394', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514392', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512384', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512381', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512379', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512376', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512288', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512285', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512283', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512281', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512168', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512166', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512155', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512152', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512010', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512007', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330511962', None, None, None, None, None, '2501422') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.014914989471435547 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.05820155143737793 time spend to save output : 0.01575446128845215 total time spend for step 4 : 0.07395601272583008 step5:rle_unique_nms_with_priority Wed Feb 5 09:00: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 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.8746626377105713 time for calcul the mask position with numpy : 0.018559932708740234 nb_pixel_total : 600615 time to create 1 rle with new method : 0.07041597366333008 time for calcul the mask position with numpy : 0.015799999237060547 nb_pixel_total : 84240 time to create 1 rle with old method : 0.10716962814331055 time for calcul the mask position with numpy : 0.006376743316650391 nb_pixel_total : 93619 time to create 1 rle with old method : 0.10286998748779297 time for calcul the mask position with numpy : 0.017161846160888672 nb_pixel_total : 1295126 time to create 1 rle with new method : 0.04426908493041992 create new chi : 0.39667439460754395 time to delete rle : 0.013925313949584961 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 6130 TO DO : save crop sub photo not yet done ! save time : 0.47678446769714355 nb_obj : 5 nb_hashtags : 1 time to prepare the origin masks : 0.6047420501708984 time for calcul the mask position with numpy : 0.015818357467651367 nb_pixel_total : 1104693 time to create 1 rle with new method : 0.040609121322631836 time for calcul the mask position with numpy : 0.0065326690673828125 nb_pixel_total : 47434 time to create 1 rle with old method : 0.050047874450683594 time for calcul the mask position with numpy : 0.0059969425201416016 nb_pixel_total : 61393 time to create 1 rle with old method : 0.06688714027404785 time for calcul the mask position with numpy : 0.006082057952880859 nb_pixel_total : 59741 time to create 1 rle with old method : 0.06458163261413574 time for calcul the mask position with numpy : 0.005846977233886719 nb_pixel_total : 16084 time to create 1 rle with old method : 0.01825571060180664 time for calcul the mask position with numpy : 0.015012264251708984 nb_pixel_total : 784255 time to create 1 rle with new method : 0.03636956214904785 create new chi : 0.3389313220977783 time to delete rle : 0.0008411407470703125 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 7245 TO DO : save crop sub photo not yet done ! save time : 0.42635536193847656 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.3657243251800537 time for calcul the mask position with numpy : 0.015673160552978516 nb_pixel_total : 1123776 time to create 1 rle with new method : 0.04222536087036133 time for calcul the mask position with numpy : 0.007577419281005859 nb_pixel_total : 331689 time to create 1 rle with new method : 0.029700517654418945 time for calcul the mask position with numpy : 0.00932931900024414 nb_pixel_total : 478783 time to create 1 rle with new method : 0.028908729553222656 time for calcul the mask position with numpy : 0.006976127624511719 nb_pixel_total : 139352 time to create 1 rle with old method : 0.14911532402038574 create new chi : 0.2939333915710449 time to delete rle : 0.0006756782531738281 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 7148 TO DO : save crop sub photo not yet done ! save time : 0.40446901321411133 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.6881265640258789 time for calcul the mask position with numpy : 0.009638071060180664 nb_pixel_total : 544331 time to create 1 rle with new method : 0.038141489028930664 time for calcul the mask position with numpy : 0.00633692741394043 nb_pixel_total : 7779 time to create 1 rle with old method : 0.009229898452758789 time for calcul the mask position with numpy : 0.006357431411743164 nb_pixel_total : 1749 time to create 1 rle with old method : 0.002107858657836914 time for calcul the mask position with numpy : 0.00672149658203125 nb_pixel_total : 50534 time to create 1 rle with old method : 0.06371426582336426 time for calcul the mask position with numpy : 0.0074920654296875 nb_pixel_total : 38432 time to create 1 rle with old method : 0.043350934982299805 time for calcul the mask position with numpy : 0.021202564239501953 nb_pixel_total : 1430775 time to create 1 rle with new method : 0.03487825393676758 create new chi : 0.2525348663330078 time to delete rle : 0.0005574226379394531 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 6114 TO DO : save crop sub photo not yet done ! save time : 0.3718278408050537 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.41131114959716797 time for calcul the mask position with numpy : 0.016926050186157227 nb_pixel_total : 1586771 time to create 1 rle with new method : 0.03855133056640625 time for calcul the mask position with numpy : 0.007234334945678711 nb_pixel_total : 133348 time to create 1 rle with old method : 0.17820000648498535 time for calcul the mask position with numpy : 0.006452083587646484 nb_pixel_total : 17972 time to create 1 rle with old method : 0.02060985565185547 time for calcul the mask position with numpy : 0.0073430538177490234 nb_pixel_total : 213497 time to create 1 rle with new method : 0.030834674835205078 time for calcul the mask position with numpy : 0.008143186569213867 nb_pixel_total : 106251 time to create 1 rle with old method : 0.11847996711730957 time for calcul the mask position with numpy : 0.006342887878417969 nb_pixel_total : 15761 time to create 1 rle with old method : 0.017870664596557617 create new chi : 0.45905494689941406 time to delete rle : 0.0009338855743408203 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 6453 TO DO : save crop sub photo not yet done ! save time : 0.37583422660827637 nb_obj : 9 nb_hashtags : 3 time to prepare the origin masks : 1.3307595252990723 time for calcul the mask position with numpy : 0.017019033432006836 nb_pixel_total : 1285161 time to create 1 rle with new method : 0.03903341293334961 time for calcul the mask position with numpy : 0.006514072418212891 nb_pixel_total : 34449 time to create 1 rle with old method : 0.03840160369873047 time for calcul the mask position with numpy : 0.00923299789428711 nb_pixel_total : 542316 time to create 1 rle with new method : 0.03733348846435547 time for calcul the mask position with numpy : 0.0057849884033203125 nb_pixel_total : 6624 time to create 1 rle with old method : 0.010532855987548828 time for calcul the mask position with numpy : 0.006838560104370117 nb_pixel_total : 49418 time to create 1 rle with old method : 0.07613086700439453 time for calcul the mask position with numpy : 0.006371259689331055 nb_pixel_total : 107045 time to create 1 rle with old method : 0.11722874641418457 time for calcul the mask position with numpy : 0.006236553192138672 nb_pixel_total : 20407 time to create 1 rle with old method : 0.02289295196533203 time for calcul the mask position with numpy : 0.005887031555175781 nb_pixel_total : 9401 time to create 1 rle with old method : 0.010717153549194336 time for calcul the mask position with numpy : 0.005827426910400391 nb_pixel_total : 155 time to create 1 rle with old method : 0.0002968311309814453 time for calcul the mask position with numpy : 0.006132364273071289 nb_pixel_total : 18624 time to create 1 rle with old method : 0.02126908302307129 create new chi : 0.4530355930328369 time to delete rle : 0.0008208751678466797 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 7745 TO DO : save crop sub photo not yet done ! save time : 0.63088059425354 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.3870389461517334 time for calcul the mask position with numpy : 0.01572275161743164 nb_pixel_total : 1308741 time to create 1 rle with new method : 0.03068232536315918 time for calcul the mask position with numpy : 0.006726503372192383 nb_pixel_total : 72980 time to create 1 rle with old method : 0.08047890663146973 time for calcul the mask position with numpy : 0.00623011589050293 nb_pixel_total : 23441 time to create 1 rle with old method : 0.026546478271484375 time for calcul the mask position with numpy : 0.0062062740325927734 nb_pixel_total : 9224 time to create 1 rle with old method : 0.011239767074584961 time for calcul the mask position with numpy : 0.011234045028686523 nb_pixel_total : 659214 time to create 1 rle with new method : 0.04496288299560547 create new chi : 0.2465815544128418 time to delete rle : 0.0006227493286132812 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 7294 TO DO : save crop sub photo not yet done ! save time : 0.41211485862731934 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.13703227043151855 time for calcul the mask position with numpy : 0.012931585311889648 nb_pixel_total : 1048211 time to create 1 rle with new method : 0.03420543670654297 time for calcul the mask position with numpy : 0.013267993927001953 nb_pixel_total : 1025389 time to create 1 rle with new method : 0.031110286712646484 create new chi : 0.09201240539550781 time to delete rle : 0.0004088878631591797 batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 3790 TO DO : save crop sub photo not yet done ! save time : 0.22507166862487793 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.6511762142181396 time for calcul the mask position with numpy : 0.01593470573425293 nb_pixel_total : 972128 time to create 1 rle with new method : 0.05157947540283203 time for calcul the mask position with numpy : 0.0071790218353271484 nb_pixel_total : 17595 time to create 1 rle with old method : 0.027227163314819336 time for calcul the mask position with numpy : 0.008219003677368164 nb_pixel_total : 196223 time to create 1 rle with new method : 0.06937193870544434 time for calcul the mask position with numpy : 0.006902456283569336 nb_pixel_total : 162684 time to create 1 rle with new method : 0.03573942184448242 time for calcul the mask position with numpy : 0.005916595458984375 nb_pixel_total : 1336 time to create 1 rle with old method : 0.0014917850494384766 time for calcul the mask position with numpy : 0.011202812194824219 nb_pixel_total : 723634 time to create 1 rle with new method : 0.03814530372619629 create new chi : 0.29034852981567383 time to delete rle : 0.0014691352844238281 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 9863 TO DO : save crop sub photo not yet done ! save time : 0.6079230308532715 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.8049218654632568 time for calcul the mask position with numpy : 0.015439987182617188 nb_pixel_total : 842268 time to create 1 rle with new method : 0.04594588279724121 time for calcul the mask position with numpy : 0.006563425064086914 nb_pixel_total : 101067 time to create 1 rle with old method : 0.1104733943939209 time for calcul the mask position with numpy : 0.007415771484375 nb_pixel_total : 270271 time to create 1 rle with new method : 0.03553915023803711 time for calcul the mask position with numpy : 0.006265878677368164 nb_pixel_total : 11169 time to create 1 rle with old method : 0.012914419174194336 time for calcul the mask position with numpy : 0.006616353988647461 nb_pixel_total : 79576 time to create 1 rle with old method : 0.11479997634887695 time for calcul the mask position with numpy : 0.01323699951171875 nb_pixel_total : 769249 time to create 1 rle with new method : 0.041281938552856445 create new chi : 0.42676234245300293 time to delete rle : 0.0007817745208740234 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 8268 TO DO : save crop sub photo not yet done ! save time : 2.1324594020843506 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.27934885025024414 time for calcul the mask position with numpy : 0.01502227783203125 nb_pixel_total : 895717 time to create 1 rle with new method : 0.039621829986572266 time for calcul the mask position with numpy : 0.006499767303466797 nb_pixel_total : 2846 time to create 1 rle with old method : 0.003127574920654297 time for calcul the mask position with numpy : 0.007903099060058594 nb_pixel_total : 279053 time to create 1 rle with new method : 0.033451080322265625 time for calcul the mask position with numpy : 0.011222362518310547 nb_pixel_total : 587740 time to create 1 rle with new method : 0.034238576889038086 time for calcul the mask position with numpy : 0.007881402969360352 nb_pixel_total : 308244 time to create 1 rle with new method : 0.03375244140625 create new chi : 0.19381141662597656 time to delete rle : 0.0006971359252929688 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 7511 TO DO : save crop sub photo not yet done ! save time : 0.45552587509155273 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.35643434524536133 time for calcul the mask position with numpy : 0.013759613037109375 nb_pixel_total : 735115 time to create 1 rle with new method : 0.053072214126586914 time for calcul the mask position with numpy : 0.008405923843383789 nb_pixel_total : 271759 time to create 1 rle with new method : 0.04346323013305664 time for calcul the mask position with numpy : 0.007227659225463867 nb_pixel_total : 84516 time to create 1 rle with old method : 0.09087371826171875 time for calcul the mask position with numpy : 0.00719141960144043 nb_pixel_total : 6913 time to create 1 rle with old method : 0.011638402938842773 time for calcul the mask position with numpy : 0.007260322570800781 nb_pixel_total : 12392 time to create 1 rle with old method : 0.020847797393798828 time for calcul the mask position with numpy : 0.01755809783935547 nb_pixel_total : 962905 time to create 1 rle with new method : 0.05065274238586426 create new chi : 0.3442203998565674 time to delete rle : 0.0007970333099365234 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 8332 TO DO : save crop sub photo not yet done ! save time : 0.43886828422546387 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.33849072456359863 time for calcul the mask position with numpy : 0.01641559600830078 nb_pixel_total : 1314394 time to create 1 rle with new method : 0.04198813438415527 time for calcul the mask position with numpy : 0.0062863826751708984 nb_pixel_total : 961 time to create 1 rle with old method : 0.0011637210845947266 time for calcul the mask position with numpy : 0.009524345397949219 nb_pixel_total : 551142 time to create 1 rle with new method : 0.029990196228027344 time for calcul the mask position with numpy : 0.00700688362121582 nb_pixel_total : 196361 time to create 1 rle with new method : 0.027682065963745117 time for calcul the mask position with numpy : 0.006257295608520508 nb_pixel_total : 10742 time to create 1 rle with old method : 0.012091875076293945 create new chi : 0.16131854057312012 time to delete rle : 0.0005540847778320312 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 5184 TO DO : save crop sub photo not yet done ! save time : 0.3164553642272949 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.48244690895080566 time for calcul the mask position with numpy : 0.015695571899414062 nb_pixel_total : 1072744 time to create 1 rle with new method : 0.04128432273864746 time for calcul the mask position with numpy : 0.006853818893432617 nb_pixel_total : 49135 time to create 1 rle with old method : 0.054937124252319336 time for calcul the mask position with numpy : 0.007173776626586914 nb_pixel_total : 118095 time to create 1 rle with old method : 0.1757802963256836 time for calcul the mask position with numpy : 0.0078277587890625 nb_pixel_total : 27039 time to create 1 rle with old method : 0.039528608322143555 time for calcul the mask position with numpy : 0.01600337028503418 nb_pixel_total : 804162 time to create 1 rle with new method : 0.03678464889526367 time for calcul the mask position with numpy : 0.006494283676147461 nb_pixel_total : 2425 time to create 1 rle with old method : 0.002789020538330078 create new chi : 0.41475868225097656 time to delete rle : 0.0006837844848632812 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 6348 TO DO : save crop sub photo not yet done ! save time : 0.34543561935424805 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.4324967861175537 time for calcul the mask position with numpy : 0.013804197311401367 nb_pixel_total : 1228544 time to create 1 rle with new method : 0.0328364372253418 time for calcul the mask position with numpy : 0.007204771041870117 nb_pixel_total : 107984 time to create 1 rle with old method : 0.12183117866516113 time for calcul the mask position with numpy : 0.012741565704345703 nb_pixel_total : 691620 time to create 1 rle with new method : 0.04256319999694824 time for calcul the mask position with numpy : 0.007384538650512695 nb_pixel_total : 45452 time to create 1 rle with old method : 0.05081939697265625 create new chi : 0.2961149215698242 time to delete rle : 0.0004715919494628906 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 4851 TO DO : save crop sub photo not yet done ! save time : 0.4102621078491211 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.33916282653808594 time for calcul the mask position with numpy : 0.011821746826171875 nb_pixel_total : 730261 time to create 1 rle with new method : 0.04642653465270996 time for calcul the mask position with numpy : 0.007501125335693359 nb_pixel_total : 274689 time to create 1 rle with new method : 0.035948753356933594 time for calcul the mask position with numpy : 0.013951301574707031 nb_pixel_total : 778535 time to create 1 rle with new method : 0.0360713005065918 time for calcul the mask position with numpy : 0.007123470306396484 nb_pixel_total : 268966 time to create 1 rle with new method : 0.03513145446777344 time for calcul the mask position with numpy : 0.006211757659912109 nb_pixel_total : 21149 time to create 1 rle with old method : 0.024085521697998047 create new chi : 0.23609590530395508 time to delete rle : 0.0006997585296630859 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 7264 TO DO : save crop sub photo not yet done ! save time : 0.5425009727478027 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.2564578056335449 time for calcul the mask position with numpy : 0.02191615104675293 nb_pixel_total : 1470957 time to create 1 rle with new method : 0.04672598838806152 time for calcul the mask position with numpy : 0.0064427852630615234 nb_pixel_total : 755 time to create 1 rle with old method : 0.0008804798126220703 time for calcul the mask position with numpy : 0.01059269905090332 nb_pixel_total : 601888 time to create 1 rle with new method : 0.04060721397399902 create new chi : 0.13431167602539062 time to delete rle : 0.00035309791564941406 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 3670 TO DO : save crop sub photo not yet done ! save time : 0.3939845561981201 nb_obj : 9 nb_hashtags : 2 time to prepare the origin masks : 0.7825608253479004 time for calcul the mask position with numpy : 0.020775556564331055 nb_pixel_total : 1707743 time to create 1 rle with new method : 0.043666839599609375 time for calcul the mask position with numpy : 0.006244182586669922 nb_pixel_total : 3257 time to create 1 rle with old method : 0.003912210464477539 time for calcul the mask position with numpy : 0.0065479278564453125 nb_pixel_total : 50706 time to create 1 rle with old method : 0.056498050689697266 time for calcul the mask position with numpy : 0.006768226623535156 nb_pixel_total : 130793 time to create 1 rle with old method : 0.1672055721282959 time for calcul the mask position with numpy : 0.006049156188964844 nb_pixel_total : 2552 time to create 1 rle with old method : 0.0029449462890625 time for calcul the mask position with numpy : 0.0060977935791015625 nb_pixel_total : 6201 time to create 1 rle with old method : 0.00738835334777832 time for calcul the mask position with numpy : 0.0063571929931640625 nb_pixel_total : 58780 time to create 1 rle with old method : 0.06553196907043457 time for calcul the mask position with numpy : 0.0066645145416259766 nb_pixel_total : 27518 time to create 1 rle with old method : 0.030965328216552734 time for calcul the mask position with numpy : 0.0067462921142578125 nb_pixel_total : 30032 time to create 1 rle with old method : 0.03415060043334961 time for calcul the mask position with numpy : 0.0070362091064453125 nb_pixel_total : 56018 time to create 1 rle with old method : 0.0634455680847168 create new chi : 0.5602612495422363 time to delete rle : 0.0007524490356445312 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 7808 TO DO : save crop sub photo not yet done ! save time : 0.5921916961669922 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.9426183700561523 time for calcul the mask position with numpy : 0.017102956771850586 nb_pixel_total : 744746 time to create 1 rle with new method : 0.04222249984741211 time for calcul the mask position with numpy : 0.00896596908569336 nb_pixel_total : 73325 time to create 1 rle with old method : 0.1267082691192627 time for calcul the mask position with numpy : 0.02333998680114746 nb_pixel_total : 988074 time to create 1 rle with new method : 0.041866302490234375 time for calcul the mask position with numpy : 0.009313583374023438 nb_pixel_total : 267455 time to create 1 rle with new method : 0.03690600395202637 create new chi : 0.30776143074035645 time to delete rle : 0.0006577968597412109 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 5886 TO DO : save crop sub photo not yet done ! save time : 0.4811899662017822 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.32951807975769043 time for calcul the mask position with numpy : 0.015879392623901367 nb_pixel_total : 805259 time to create 1 rle with new method : 0.04721832275390625 time for calcul the mask position with numpy : 0.0067713260650634766 nb_pixel_total : 41771 time to create 1 rle with old method : 0.051650285720825195 time for calcul the mask position with numpy : 0.007175922393798828 nb_pixel_total : 53492 time to create 1 rle with old method : 0.06194591522216797 time for calcul the mask position with numpy : 0.022194385528564453 nb_pixel_total : 1173078 time to create 1 rle with new method : 0.04828763008117676 create new chi : 0.2697408199310303 time to delete rle : 0.00072479248046875 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 5358 TO DO : save crop sub photo not yet done ! save time : 0.3246781826019287 map_output_result : {1330514559: (0.0, 'Should be the crop_list due to order', 0.0), 1330514484: (0.0, 'Should be the crop_list due to order', 0.0), 1330514482: (0.0, 'Should be the crop_list due to order', 0.0), 1330514394: (0.0, 'Should be the crop_list due to order', 0.0), 1330514392: (0.0, 'Should be the crop_list due to order', 0.0), 1330512384: (0.0, 'Should be the crop_list due to order', 0.0), 1330512381: (0.0, 'Should be the crop_list due to order', 0.0), 1330512379: (0.0, 'Should be the crop_list due to order', 0.0), 1330512376: (0.0, 'Should be the crop_list due to order', 0.0), 1330512288: (0.0, 'Should be the crop_list due to order', 0.0), 1330512285: (0.0, 'Should be the crop_list due to order', 0.0), 1330512283: (0.0, 'Should be the crop_list due to order', 0.0), 1330512281: (0.0, 'Should be the crop_list due to order', 0.0), 1330512168: (0.0, 'Should be the crop_list due to order', 0.0), 1330512166: (0.0, 'Should be the crop_list due to order', 0.0), 1330512155: (0.0, 'Should be the crop_list due to order', 0.0), 1330512152: (0.0, 'Should be the crop_list due to order', 0.0), 1330512010: (0.0, 'Should be the crop_list due to order', 0.0), 1330512007: (0.0, 'Should be the crop_list due to order', 0.0), 1330511962: (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 [1330514559, 1330514484, 1330514482, 1330514394, 1330514392, 1330512384, 1330512381, 1330512379, 1330512376, 1330512288, 1330512285, 1330512283, 1330512281, 1330512168, 1330512166, 1330512155, 1330512152, 1330512010, 1330512007, 1330511962] Looping around the photos to save general results len do output : 20 /1330514559.Didn't retrieve data . /1330514484.Didn't retrieve data . /1330514482.Didn't retrieve data . /1330514394.Didn't retrieve data . /1330514392.Didn't retrieve data . /1330512384.Didn't retrieve data . /1330512381.Didn't retrieve data . /1330512379.Didn't retrieve data . /1330512376.Didn't retrieve data . /1330512288.Didn't retrieve data . /1330512285.Didn't retrieve data . /1330512283.Didn't retrieve data . /1330512281.Didn't retrieve data . /1330512168.Didn't retrieve data . /1330512166.Didn't retrieve data . /1330512155.Didn't retrieve data . /1330512152.Didn't retrieve data . /1330512010.Didn't retrieve data . /1330512007.Didn't retrieve data . /1330511962.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, '2501422') ('3459', '19804579', '1330514559', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514484', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514482', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514394', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514392', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512384', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512381', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512379', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512376', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512288', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512285', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512283', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512281', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512168', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512166', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512155', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512152', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512010', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512007', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330511962', None, None, None, None, None, '2501422') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.015388250350952148 save_final save missing photos in datou_result : time spend for datou_step_exec : 28.076313734054565 time spend to save output : 0.016044139862060547 total time spend for step 5 : 28.092357873916626 step6:crop_condition Wed Feb 5 09:00:28 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 107 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738742429_3072708 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.1101758480072021 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/1738742432_3072708 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.8833184242248535 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/1738742433_3072708 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.70601487159729 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738742434_3072708 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5887670516967773 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/1738742435_3072708 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.676807165145874 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 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 [1330514559, 1330514484, 1330514482, 1330514394, 1330514392, 1330512384, 1330512381, 1330512379, 1330512376, 1330512288, 1330512285, 1330512283, 1330512281, 1330512168, 1330512166, 1330512155, 1330512152, 1330512010, 1330512007, 1330511962] Looping around the photos to save general results len do output : 8 /1334852864Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334852865Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334852866Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334852867Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334852872Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334852873Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334852878Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334852880Didn'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, '2501422') ('3459', '19804579', '1330514559', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514484', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514482', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514394', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514392', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512384', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512381', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512379', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512376', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512288', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512285', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512283', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512281', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512168', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512166', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512155', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512152', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512010', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512007', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330511962', None, None, None, None, None, '2501422') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 44 time used for this insertion : 0.050325870513916016 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.00502896308899 time spend to save output : 0.051360368728637695 total time spend for step 6 : 9.056389331817627 step7:ventilate_hashtags_in_portfolio Wed Feb 5 09:00:37 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 : 19804579 get user id for portfolio 19804579 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 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','metal','Carton_brun','plastique','environnement','flou','Carton_gris','mal_croppe','autre_refus','cartonnette','Teint_Dans_La_Masse','papier')) 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`=19804579 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','metal','Carton_brun','plastique','environnement','flou','Carton_gris','mal_croppe','autre_refus','cartonnette','Teint_Dans_La_Masse','papier')) 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`=19804579 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','metal','Carton_brun','plastique','environnement','flou','Carton_gris','mal_croppe','autre_refus','cartonnette','Teint_Dans_La_Masse','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20248377,20248378,20248379,20248380,20248381,20248382,20248383,20248384,20248385,20248386,20248387,20248388?tags=kraft,metal,Carton_brun,plastique,environnement,flou,Carton_gris,mal_croppe,autre_refus,cartonnette,Teint_Dans_La_Masse,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1330514559, 1330514484, 1330514482, 1330514394, 1330514392, 1330512384, 1330512381, 1330512379, 1330512376, 1330512288, 1330512285, 1330512283, 1330512281, 1330512168, 1330512166, 1330512155, 1330512152, 1330512010, 1330512007, 1330511962] Looping around the photos to save general results len do output : 1 /19804579. 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, '2501422') ('3459', '19804579', '1330514559', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514484', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514482', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514394', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514392', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512384', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512381', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512379', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512376', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512288', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512285', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512283', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512281', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512168', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512166', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512155', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512152', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512010', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512007', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330511962', None, None, None, None, None, '2501422') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.015564203262329102 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8523385524749756 time spend to save output : 0.015810251235961914 total time spend for step 7 : 1.8681488037109375 step8:final Wed Feb 5 09:00:39 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 : {1330514559: ('0.019499774534156192',), 1330514484: ('0.019499774534156192',), 1330514482: ('0.019499774534156192',), 1330514394: ('0.019499774534156192',), 1330514392: ('0.019499774534156192',), 1330512384: ('0.019499774534156192',), 1330512381: ('0.019499774534156192',), 1330512379: ('0.019499774534156192',), 1330512376: ('0.019499774534156192',), 1330512288: ('0.019499774534156192',), 1330512285: ('0.019499774534156192',), 1330512283: ('0.019499774534156192',), 1330512281: ('0.019499774534156192',), 1330512168: ('0.019499774534156192',), 1330512166: ('0.019499774534156192',), 1330512155: ('0.019499774534156192',), 1330512152: ('0.019499774534156192',), 1330512010: ('0.019499774534156192',), 1330512007: ('0.019499774534156192',), 1330511962: ('0.019499774534156192',)} new output for save of step final : {1330514559: ('0.019499774534156192',), 1330514484: ('0.019499774534156192',), 1330514482: ('0.019499774534156192',), 1330514394: ('0.019499774534156192',), 1330514392: ('0.019499774534156192',), 1330512384: ('0.019499774534156192',), 1330512381: ('0.019499774534156192',), 1330512379: ('0.019499774534156192',), 1330512376: ('0.019499774534156192',), 1330512288: ('0.019499774534156192',), 1330512285: ('0.019499774534156192',), 1330512283: ('0.019499774534156192',), 1330512281: ('0.019499774534156192',), 1330512168: ('0.019499774534156192',), 1330512166: ('0.019499774534156192',), 1330512155: ('0.019499774534156192',), 1330512152: ('0.019499774534156192',), 1330512010: ('0.019499774534156192',), 1330512007: ('0.019499774534156192',), 1330511962: ('0.019499774534156192',)} [1330514559, 1330514484, 1330514482, 1330514394, 1330514392, 1330512384, 1330512381, 1330512379, 1330512376, 1330512288, 1330512285, 1330512283, 1330512281, 1330512168, 1330512166, 1330512155, 1330512152, 1330512010, 1330512007, 1330511962] Looping around the photos to save general results len do output : 20 /1330514559.Didn't retrieve data . /1330514484.Didn't retrieve data . /1330514482.Didn't retrieve data . /1330514394.Didn't retrieve data . /1330514392.Didn't retrieve data . /1330512384.Didn't retrieve data . /1330512381.Didn't retrieve data . /1330512379.Didn't retrieve data . /1330512376.Didn't retrieve data . /1330512288.Didn't retrieve data . /1330512285.Didn't retrieve data . /1330512283.Didn't retrieve data . /1330512281.Didn't retrieve data . /1330512168.Didn't retrieve data . /1330512166.Didn't retrieve data . /1330512155.Didn't retrieve data . /1330512152.Didn't retrieve data . /1330512010.Didn't retrieve data . /1330512007.Didn't retrieve data . /1330511962.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, '2501422') ('3459', '19804579', '1330514559', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514484', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514482', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514394', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514392', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512384', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512381', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512379', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512376', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512288', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512285', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512283', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512281', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512168', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512166', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512155', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512152', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512010', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512007', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330511962', None, None, None, None, None, '2501422') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.32947373390197754 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.09996151924133301 time spend to save output : 0.3302185535430908 total time spend for step 8 : 0.43018007278442383 step9:velours_tree Wed Feb 5 09:00:39 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.032799482345581055 time spend to save output : 4.744529724121094e-05 total time spend for step 9 : 0.032846927642822266 step10:send_mail_cod Wed Feb 5 09:00:39 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_P19804579_05-02-2025_09_00_39.pdf 20248377 imagette202483771738742439 20248378 imagette202483781738742439 20248380 imagette202483801738742439 20248382 imagette202483821738742439 20248384 imagette202483841738742439 20248385 change filename to text .imagette202483851738742439 20248386 change filename to text .imagette202483861738742439 20248379 change filename to text .imagette202483791738742439 20248383 change filename to text .imagette202483831738742439 20248387 change filename to text .change filename to text .change filename to text .change filename to text .imagette202483871738742439 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=19804579 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20248377,20248378,20248379,20248380,20248381,20248382,20248383,20248384,20248385,20248386,20248387,20248388?tags=kraft,metal,Carton_brun,plastique,environnement,flou,Carton_gris,mal_croppe,autre_refus,cartonnette,Teint_Dans_La_Masse,papier your option no_mail is active, we will not send the real mail to your client args[1330514559] : ('0.019499774534156192',) no score found for photo 1330514559 We are sending mail with results at report@fotonower.com args[1330514484] : ('0.019499774534156192',) no score found for photo 1330514484 We are sending mail with results at report@fotonower.com args[1330514482] : ('0.019499774534156192',) no score found for photo 1330514482 We are sending mail with results at report@fotonower.com args[1330514394] : ('0.019499774534156192',) no score found for photo 1330514394 We are sending mail with results at report@fotonower.com args[1330514392] : ('0.019499774534156192',) no score found for photo 1330514392 We are sending mail with results at report@fotonower.com args[1330512384] : ('0.019499774534156192',) no score found for photo 1330512384 We are sending mail with results at report@fotonower.com args[1330512381] : ('0.019499774534156192',) no score found for photo 1330512381 We are sending mail with results at report@fotonower.com args[1330512379] : ('0.019499774534156192',) no score found for photo 1330512379 We are sending mail with results at report@fotonower.com args[1330512376] : ('0.019499774534156192',) no score found for photo 1330512376 We are sending mail with results at report@fotonower.com args[1330512288] : ('0.019499774534156192',) no score found for photo 1330512288 We are sending mail with results at report@fotonower.com args[1330512285] : ('0.019499774534156192',) no score found for photo 1330512285 We are sending mail with results at report@fotonower.com args[1330512283] : ('0.019499774534156192',) no score found for photo 1330512283 We are sending mail with results at report@fotonower.com args[1330512281] : ('0.019499774534156192',) no score found for photo 1330512281 We are sending mail with results at report@fotonower.com args[1330512168] : ('0.019499774534156192',) no score found for photo 1330512168 We are sending mail with results at report@fotonower.com args[1330512166] : ('0.019499774534156192',) no score found for photo 1330512166 We are sending mail with results at report@fotonower.com args[1330512155] : ('0.019499774534156192',) no score found for photo 1330512155 We are sending mail with results at report@fotonower.com args[1330512152] : ('0.019499774534156192',) no score found for photo 1330512152 We are sending mail with results at report@fotonower.com args[1330512010] : ('0.019499774534156192',) no score found for photo 1330512010 We are sending mail with results at report@fotonower.com args[1330512007] : ('0.019499774534156192',) no score found for photo 1330512007 We are sending mail with results at report@fotonower.com args[1330511962] : ('0.019499774534156192',) no score found for photo 1330511962 We are sending mail with results at report@fotonower.com refus_total : 0.019499774534156192 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=19804579 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1330514484,1330512166,1330514559,1330514482,1330514394,1330514392,1330512384,1330512381,1330512379,1330512376,1330512288,1330512285,1330512283,1330512281,1330512168,1330511601,1330512155,1330512152,1330512010,1330512007) Found this number of photos: 20 begin to download photo : 1330514484 begin to download photo : 1330514392 begin to download photo : 1330512288 begin to download photo : 1330511601 download finish for photo 1330514392 begin to download photo : 1330512384 download finish for photo 1330512288 begin to download photo : 1330512285 download finish for photo 1330514484 begin to download photo : 1330512166 download finish for photo 1330511601 begin to download photo : 1330512155 download finish for photo 1330512285 begin to download photo : 1330512283 download finish for photo 1330512166 begin to download photo : 1330514559 download finish for photo 1330512384 begin to download photo : 1330512381 download finish for photo 1330512155 begin to download photo : 1330512152 download finish for photo 1330512283 begin to download photo : 1330512281 download finish for photo 1330512152 begin to download photo : 1330512010 download finish for photo 1330512381 begin to download photo : 1330512379 download finish for photo 1330514559 begin to download photo : 1330514482 download finish for photo 1330512379 begin to download photo : 1330512376 download finish for photo 1330512281 begin to download photo : 1330512168 download finish for photo 1330514482 begin to download photo : 1330514394 download finish for photo 1330512010 begin to download photo : 1330512007 download finish for photo 1330512376 download finish for photo 1330514394 download finish for photo 1330512007 download finish for photo 1330512168 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19804579_05-02-2025_09_00_39.pdf results_Auto_P19804579_05-02-2025_09_00_39.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19804579_05-02-2025_09_00_39.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','19804579','results_Auto_P19804579_05-02-2025_09_00_39.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19804579_05-02-2025_09_00_39.pdf','pdf','','0.2','0.019499774534156192') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1330514559, 1330514484, 1330514482, 1330514394, 1330514392, 1330512384, 1330512381, 1330512379, 1330512376, 1330512288, 1330512285, 1330512283, 1330512281, 1330512168, 1330512166, 1330512155, 1330512152, 1330512010, 1330512007, 1330511962] 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, '2501422') ('3459', '19804579', '1330514559', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514484', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514482', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514394', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514392', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512384', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512381', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512379', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512376', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512288', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512285', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512283', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512281', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512168', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512166', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512155', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512152', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512010', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512007', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330511962', None, None, None, None, None, '2501422') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013567686080932617 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.8733813762664795 time spend to save output : 0.013802528381347656 total time spend for step 10 : 4.887183904647827 step11:split_time_score Wed Feb 5 09:00:44 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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', 30),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 21012025 19804579 Nombre de photos uploadées : 30 / 23040 (0%) 21012025 19804579 Nombre de photos taguées (types de déchets): 0 / 30 (0%) 21012025 19804579 Nombre de photos taguées (volume) : 0 / 30 (0%) elapsed_time : load_data_split_time_score 4.291534423828125e-06 elapsed_time : order_list_meta_photo_and_scores 8.821487426757812e-06 ?????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001031637191772461 elapsed_time : insert_dashboard_record_day_entry 0.021595478057861328 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_08_59_45.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 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19804580 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19804581 order by id desc limit 1 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': 30, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1330514559, 1330514484, 1330514482, 1330514394, 1330514392, 1330512384, 1330512381, 1330512379, 1330512376, 1330512288, 1330512285, 1330512283, 1330512281, 1330512168, 1330512166, 1330512155, 1330512152, 1330512010, 1330512007, 1330511962] Looping around the photos to save general results len do output : 1 /19804579Didn'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, '2501422') ('3459', '19804579', '1330514559', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514484', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514482', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514394', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330514392', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512384', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512381', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512379', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512376', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512288', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512285', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512283', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512281', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512168', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512166', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512155', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512152', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512010', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330512007', None, None, None, None, None, '2501422') ('3459', None, None, None, None, None, None, None, '2501422') ('3459', '19804579', '1330511962', None, None, None, None, None, '2501422') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.13174819946289062 save_final save missing photos in datou_result : time spend for datou_step_exec : 25.735571146011353 time spend to save output : 0.13208627700805664 total time spend for step 11 : 25.86765742301941 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 61.15user 24.14system 2:12.34elapsed 64%CPU (0avgtext+0avgdata 3007016maxresident)k 568inputs+35672outputs (15major+2106942minor)pagefaults 0swaps