python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 10 -a ' -a 4234 -l 5 ' -s datou_current_4234 -M 0 -S 0 -U 95,95,80 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 1440897 load datou : 4234 # 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? output optionnel thcl was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5561, 'learn_rubbia_refus_2500', 2048, 2048, 'learn_rubbia_refus_2500', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2021, 12, 2, 19, 10, 8), datetime.datetime(2021, 12, 2, 19, 10, 8)) load thcls load THCL from format json or kwargs add thcl : 2847 in CacheModelConfig load THCL from format json or kwargs add thcl : 3237 in CacheModelConfig load pdts add pdt : 5275 in CacheModelConfig add pdt : 5561 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 list_input_json: [] Current got : datou_id : 4234, datou_cur_ids : ['2591131'] with mtr_portfolio_ids : ['20588022'] and first list_photo_ids : [] new path : /proc/1440897/ 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, brightness, blur_detection, rle_unique_nms_with_priority, crop_condition, thcl, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , BFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 2 ; length of list_pids : 2 ; length of list_args : 2 time to download the photos : 0.21164870262145996 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 Sat Feb 15 16:20:27 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-15 16:20:30.222496: 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-15 16:20:30.230835: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-15 16:20:30.232546: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f1424000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-15 16:20:30.232600: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-15 16:20:30.235321: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-15 16:20:30.519736: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3cb49ce0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-15 16:20:30.519799: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-15 16:20:30.521046: 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-15 16:20:30.521501: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-15 16:20:30.524815: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-15 16:20:30.527873: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-15 16:20:30.528393: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-15 16:20:30.531908: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-15 16:20:30.532951: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-15 16:20:30.541102: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-15 16:20:30.542971: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-15 16:20:30.543059: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-15 16:20:30.544027: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-15 16:20:30.544046: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-15 16:20:30.544057: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-15 16:20:30.545754: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-02-15 16:20:30.805140: 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-15 16:20:30.805235: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-15 16:20:30.805258: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-15 16:20:30.805280: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-15 16:20:30.805299: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-15 16:20:30.805320: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-15 16:20:30.805340: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-15 16:20:30.805360: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-15 16:20:30.806992: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-15 16:20:30.808288: 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-15 16:20:30.808329: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-15 16:20:30.808348: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-15 16:20:30.808365: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-15 16:20:30.808381: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-15 16:20:30.808398: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-15 16:20:30.808416: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-15 16:20:30.808433: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-15 16:20:30.809999: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-15 16:20:30.810030: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-15 16:20:30.810040: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-15 16:20:30.810049: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-15 16:20:30.811702: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-02-15 16:20:37.145005: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-15 16:20:37.352625: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 2 NEW PHOTO pour l'instant on ne peut pas sauvegarder la photo dans les tile Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -117.82891 max: 147.84609 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 7 time for calcul the mask position with numpy : 8.392333984375e-05 nb_pixel_total : 704 time to create 1 rle with old method : 0.001379251480102539 length of segment : 43 time for calcul the mask position with numpy : 8.463859558105469e-05 nb_pixel_total : 785 time to create 1 rle with old method : 0.0011360645294189453 length of segment : 37 time for calcul the mask position with numpy : 3.552436828613281e-05 nb_pixel_total : 123 time to create 1 rle with old method : 0.00016736984252929688 length of segment : 31 time for calcul the mask position with numpy : 3.123283386230469e-05 nb_pixel_total : 3 time to create 1 rle with old method : 2.574920654296875e-05 length of segment : 1 time for calcul the mask position with numpy : 3.3855438232421875e-05 nb_pixel_total : 65 time to create 1 rle with old method : 0.00015807151794433594 length of segment : 15 time for calcul the mask position with numpy : 3.981590270996094e-05 nb_pixel_total : 30 time to create 1 rle with old method : 8.535385131835938e-05 length of segment : 16 time for calcul the mask position with numpy : 7.510185241699219e-05 nb_pixel_total : 1831 time to create 1 rle with old method : 0.003421783447265625 length of segment : 47 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -117.37578 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 3 time for calcul the mask position with numpy : 4.744529724121094e-05 nb_pixel_total : 80 time to create 1 rle with old method : 0.00016570091247558594 length of segment : 28 time for calcul the mask position with numpy : 3.790855407714844e-05 nb_pixel_total : 15 time to create 1 rle with old method : 4.744529724121094e-05 length of segment : 8 time for calcul the mask position with numpy : 5.650520324707031e-05 nb_pixel_total : 2330 time to create 1 rle with old method : 0.0026340484619140625 length of segment : 52 Processing 1 images image shape: (400, 400, 3) min: 6.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -111.76641 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 3 time for calcul the mask position with numpy : 0.00018548965454101562 nb_pixel_total : 6869 time to create 1 rle with old method : 0.007600069046020508 length of segment : 92 time for calcul the mask position with numpy : 8.869171142578125e-05 nb_pixel_total : 1231 time to create 1 rle with old method : 0.0017399787902832031 length of segment : 49 time for calcul the mask position with numpy : 7.200241088867188e-05 nb_pixel_total : 1810 time to create 1 rle with old method : 0.0022461414337158203 length of segment : 75 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -122.58281 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 4 time for calcul the mask position with numpy : 4.482269287109375e-05 nb_pixel_total : 562 time to create 1 rle with old method : 0.0006577968597412109 length of segment : 56 time for calcul the mask position with numpy : 4.315376281738281e-05 nb_pixel_total : 482 time to create 1 rle with old method : 0.0007588863372802734 length of segment : 27 time for calcul the mask position with numpy : 5.984306335449219e-05 nb_pixel_total : 1428 time to create 1 rle with old method : 0.0016472339630126953 length of segment : 76 time for calcul the mask position with numpy : 5.793571472167969e-05 nb_pixel_total : 1289 time to create 1 rle with old method : 0.0015218257904052734 length of segment : 72 Processing 1 images image shape: (400, 320, 3) min: 0.00000 max: 201.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 74.44766 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 5 time for calcul the mask position with numpy : 4.1484832763671875e-05 nb_pixel_total : 483 time to create 1 rle with old method : 0.0006246566772460938 length of segment : 17 time for calcul the mask position with numpy : 2.7894973754882812e-05 nb_pixel_total : 120 time to create 1 rle with old method : 0.00018143653869628906 length of segment : 10 time for calcul the mask position with numpy : 3.552436828613281e-05 nb_pixel_total : 584 time to create 1 rle with old method : 0.0006377696990966797 length of segment : 76 time for calcul the mask position with numpy : 5.1021575927734375e-05 nb_pixel_total : 1810 time to create 1 rle with old method : 0.002112150192260742 length of segment : 115 time for calcul the mask position with numpy : 0.0006794929504394531 nb_pixel_total : 70580 time to create 1 rle with old method : 0.07476472854614258 length of segment : 319 Processing 1 images image shape: (400, 400, 3) min: 13.00000 max: 187.00000 molded_images shape: (1, 640, 640, 3) min: -91.76641 max: 67.84219 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 0 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -116.86406 max: 137.91484 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 10 time for calcul the mask position with numpy : 6.890296936035156e-05 nb_pixel_total : 1170 time to create 1 rle with old method : 0.001468658447265625 length of segment : 27 time for calcul the mask position with numpy : 6.413459777832031e-05 nb_pixel_total : 2433 time to create 1 rle with old method : 0.002784252166748047 length of segment : 51 time for calcul the mask position with numpy : 3.361701965332031e-05 nb_pixel_total : 188 time to create 1 rle with old method : 0.00025963783264160156 length of segment : 19 time for calcul the mask position with numpy : 5.1021575927734375e-05 nb_pixel_total : 945 time to create 1 rle with old method : 0.00113677978515625 length of segment : 37 time for calcul the mask position with numpy : 4.506111145019531e-05 nb_pixel_total : 723 time to create 1 rle with old method : 0.0009233951568603516 length of segment : 46 time for calcul the mask position with numpy : 9.036064147949219e-05 nb_pixel_total : 1161 time to create 1 rle with old method : 0.0013806819915771484 length of segment : 91 time for calcul the mask position with numpy : 3.361701965332031e-05 nb_pixel_total : 317 time to create 1 rle with old method : 0.00046944618225097656 length of segment : 18 time for calcul the mask position with numpy : 4.792213439941406e-05 nb_pixel_total : 1015 time to create 1 rle with old method : 0.0012969970703125 length of segment : 32 time for calcul the mask position with numpy : 2.8848648071289062e-05 nb_pixel_total : 168 time to create 1 rle with old method : 0.00021958351135253906 length of segment : 16 time for calcul the mask position with numpy : 4.482269287109375e-05 nb_pixel_total : 1174 time to create 1 rle with old method : 0.001399993896484375 length of segment : 29 Processing 1 images image shape: (400, 400, 3) min: 12.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -109.22734 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 7 time for calcul the mask position with numpy : 0.00018548965454101562 nb_pixel_total : 14684 time to create 1 rle with old method : 0.01722550392150879 length of segment : 148 time for calcul the mask position with numpy : 3.814697265625e-05 nb_pixel_total : 540 time to create 1 rle with old method : 0.0006918907165527344 length of segment : 18 time for calcul the mask position with numpy : 4.7206878662109375e-05 nb_pixel_total : 1224 time to create 1 rle with old method : 0.00139617919921875 length of segment : 49 time for calcul the mask position with numpy : 3.457069396972656e-05 nb_pixel_total : 409 time to create 1 rle with old method : 0.0004734992980957031 length of segment : 32 time for calcul the mask position with numpy : 2.8133392333984375e-05 nb_pixel_total : 177 time to create 1 rle with old method : 0.00022482872009277344 length of segment : 21 time for calcul the mask position with numpy : 9.34600830078125e-05 nb_pixel_total : 1608 time to create 1 rle with old method : 0.0017702579498291016 length of segment : 152 time for calcul the mask position with numpy : 4.982948303222656e-05 nb_pixel_total : 1308 time to create 1 rle with old method : 0.0014908313751220703 length of segment : 45 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -120.95000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 8 time for calcul the mask position with numpy : 8.20159912109375e-05 nb_pixel_total : 1639 time to create 1 rle with old method : 0.0019040107727050781 length of segment : 121 time for calcul the mask position with numpy : 4.315376281738281e-05 nb_pixel_total : 1238 time to create 1 rle with old method : 0.0013904571533203125 length of segment : 37 time for calcul the mask position with numpy : 2.9802322387695312e-05 nb_pixel_total : 220 time to create 1 rle with old method : 0.0002903938293457031 length of segment : 23 time for calcul the mask position with numpy : 4.410743713378906e-05 nb_pixel_total : 1138 time to create 1 rle with old method : 0.0014903545379638672 length of segment : 29 time for calcul the mask position with numpy : 3.600120544433594e-05 nb_pixel_total : 802 time to create 1 rle with old method : 0.0008931159973144531 length of segment : 36 time for calcul the mask position with numpy : 0.0001957416534423828 nb_pixel_total : 9036 time to create 1 rle with old method : 0.009701013565063477 length of segment : 260 time for calcul the mask position with numpy : 0.0003108978271484375 nb_pixel_total : 11053 time to create 1 rle with old method : 0.011806726455688477 length of segment : 213 time for calcul the mask position with numpy : 0.0003364086151123047 nb_pixel_total : 23177 time to create 1 rle with old method : 0.024618148803710938 length of segment : 326 Processing 1 images image shape: (400, 320, 3) min: 0.00000 max: 199.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 80.05312 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 8 time for calcul the mask position with numpy : 6.318092346191406e-05 nb_pixel_total : 1741 time to create 1 rle with old method : 0.0020329952239990234 length of segment : 48 time for calcul the mask position with numpy : 3.123283386230469e-05 nb_pixel_total : 192 time to create 1 rle with old method : 0.0002491474151611328 length of segment : 27 time for calcul the mask position with numpy : 8.797645568847656e-05 nb_pixel_total : 1883 time to create 1 rle with old method : 0.0021326541900634766 length of segment : 177 time for calcul the mask position with numpy : 4.1484832763671875e-05 nb_pixel_total : 250 time to create 1 rle with old method : 0.00045228004455566406 length of segment : 35 time for calcul the mask position with numpy : 9.5367431640625e-05 nb_pixel_total : 2191 time to create 1 rle with old method : 0.0024917125701904297 length of segment : 149 time for calcul the mask position with numpy : 0.00014901161193847656 nb_pixel_total : 3371 time to create 1 rle with old method : 0.003840923309326172 length of segment : 176 time for calcul the mask position with numpy : 0.00016045570373535156 nb_pixel_total : 3825 time to create 1 rle with old method : 0.004348039627075195 length of segment : 209 time for calcul the mask position with numpy : 5.8650970458984375e-05 nb_pixel_total : 1188 time to create 1 rle with old method : 0.0013403892517089844 length of segment : 83 Processing 1 images image shape: (280, 400, 3) min: 14.00000 max: 175.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 54.22109 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 1 time for calcul the mask position with numpy : 0.0008692741394042969 nb_pixel_total : 103503 time to create 1 rle with old method : 0.10936594009399414 length of segment : 278 Processing 1 images image shape: (280, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 150.53750 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 15 time for calcul the mask position with numpy : 6.4849853515625e-05 nb_pixel_total : 1823 time to create 1 rle with old method : 0.002347230911254883 length of segment : 45 time for calcul the mask position with numpy : 4.458427429199219e-05 nb_pixel_total : 805 time to create 1 rle with old method : 0.0010209083557128906 length of segment : 25 time for calcul the mask position with numpy : 0.0001461505889892578 nb_pixel_total : 3585 time to create 1 rle with old method : 0.00510406494140625 length of segment : 79 time for calcul the mask position with numpy : 3.6716461181640625e-05 nb_pixel_total : 242 time to create 1 rle with old method : 0.0003058910369873047 length of segment : 32 time for calcul the mask position with numpy : 4.363059997558594e-05 nb_pixel_total : 396 time to create 1 rle with old method : 0.0005612373352050781 length of segment : 32 time for calcul the mask position with numpy : 4.1484832763671875e-05 nb_pixel_total : 361 time to create 1 rle with old method : 0.0004868507385253906 length of segment : 29 time for calcul the mask position with numpy : 3.5762786865234375e-05 nb_pixel_total : 276 time to create 1 rle with old method : 0.00035309791564941406 length of segment : 22 time for calcul the mask position with numpy : 6.437301635742188e-05 nb_pixel_total : 1213 time to create 1 rle with old method : 0.0014812946319580078 length of segment : 64 time for calcul the mask position with numpy : 3.933906555175781e-05 nb_pixel_total : 304 time to create 1 rle with old method : 0.0003886222839355469 length of segment : 33 time for calcul the mask position with numpy : 9.226799011230469e-05 nb_pixel_total : 1208 time to create 1 rle with old method : 0.001543283462524414 length of segment : 54 time for calcul the mask position with numpy : 4.76837158203125e-05 nb_pixel_total : 992 time to create 1 rle with old method : 0.0011723041534423828 length of segment : 36 time for calcul the mask position with numpy : 3.62396240234375e-05 nb_pixel_total : 325 time to create 1 rle with old method : 0.0004162788391113281 length of segment : 56 time for calcul the mask position with numpy : 3.719329833984375e-05 nb_pixel_total : 367 time to create 1 rle with old method : 0.0004820823669433594 length of segment : 20 time for calcul the mask position with numpy : 3.24249267578125e-05 nb_pixel_total : 380 time to create 1 rle with old method : 0.00047397613525390625 length of segment : 20 time for calcul the mask position with numpy : 4.506111145019531e-05 nb_pixel_total : 785 time to create 1 rle with old method : 0.0010390281677246094 length of segment : 46 Processing 1 images image shape: (280, 400, 3) min: 0.00000 max: 238.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 120.83828 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 16 time for calcul the mask position with numpy : 5.507469177246094e-05 nb_pixel_total : 368 time to create 1 rle with old method : 0.00047469139099121094 length of segment : 22 time for calcul the mask position with numpy : 3.62396240234375e-05 nb_pixel_total : 366 time to create 1 rle with old method : 0.00048422813415527344 length of segment : 24 time for calcul the mask position with numpy : 4.482269287109375e-05 nb_pixel_total : 603 time to create 1 rle with old method : 0.0007200241088867188 length of segment : 40 time for calcul the mask position with numpy : 3.9577484130859375e-05 nb_pixel_total : 498 time to create 1 rle with old method : 0.000583648681640625 length of segment : 30 time for calcul the mask position with numpy : 3.266334533691406e-05 nb_pixel_total : 243 time to create 1 rle with old method : 0.00033092498779296875 length of segment : 21 time for calcul the mask position with numpy : 4.291534423828125e-05 nb_pixel_total : 577 time to create 1 rle with old method : 0.0007245540618896484 length of segment : 37 time for calcul the mask position with numpy : 2.9087066650390625e-05 nb_pixel_total : 101 time to create 1 rle with old method : 0.00015997886657714844 length of segment : 9 time for calcul the mask position with numpy : 3.695487976074219e-05 nb_pixel_total : 448 time to create 1 rle with old method : 0.0005548000335693359 length of segment : 23 time for calcul the mask position with numpy : 4.863739013671875e-05 nb_pixel_total : 1105 time to create 1 rle with old method : 0.001415252685546875 length of segment : 43 time for calcul the mask position with numpy : 3.719329833984375e-05 nb_pixel_total : 497 time to create 1 rle with old method : 0.0006453990936279297 length of segment : 28 time for calcul the mask position with numpy : 3.075599670410156e-05 nb_pixel_total : 195 time to create 1 rle with old method : 0.00025916099548339844 length of segment : 17 time for calcul the mask position with numpy : 4.673004150390625e-05 nb_pixel_total : 928 time to create 1 rle with old method : 0.0012066364288330078 length of segment : 41 time for calcul the mask position with numpy : 6.246566772460938e-05 nb_pixel_total : 1985 time to create 1 rle with old method : 0.0023758411407470703 length of segment : 40 time for calcul the mask position with numpy : 2.765655517578125e-05 nb_pixel_total : 80 time to create 1 rle with old method : 0.00012946128845214844 length of segment : 8 time for calcul the mask position with numpy : 3.0517578125e-05 nb_pixel_total : 241 time to create 1 rle with old method : 0.0003266334533691406 length of segment : 15 time for calcul the mask position with numpy : 3.647804260253906e-05 nb_pixel_total : 475 time to create 1 rle with old method : 0.0006489753723144531 length of segment : 27 Processing 1 images image shape: (280, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 148.78359 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 4 time for calcul the mask position with numpy : 4.482269287109375e-05 nb_pixel_total : 604 time to create 1 rle with old method : 0.0007472038269042969 length of segment : 21 time for calcul the mask position with numpy : 3.814697265625e-05 nb_pixel_total : 375 time to create 1 rle with old method : 0.0004932880401611328 length of segment : 34 time for calcul the mask position with numpy : 6.794929504394531e-05 nb_pixel_total : 849 time to create 1 rle with old method : 0.0011680126190185547 length of segment : 92 time for calcul the mask position with numpy : 3.933906555175781e-05 nb_pixel_total : 392 time to create 1 rle with old method : 0.0004773139953613281 length of segment : 36 Processing 1 images image shape: (280, 320, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 135.41250 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 4 time for calcul the mask position with numpy : 4.5299530029296875e-05 nb_pixel_total : 366 time to create 1 rle with old method : 0.0004987716674804688 length of segment : 30 time for calcul the mask position with numpy : 0.00023508071899414062 nb_pixel_total : 11674 time to create 1 rle with old method : 0.013355493545532227 length of segment : 335 time for calcul the mask position with numpy : 4.2438507080078125e-05 nb_pixel_total : 15 time to create 1 rle with old method : 5.14984130859375e-05 length of segment : 3 time for calcul the mask position with numpy : 0.0004627704620361328 nb_pixel_total : 37962 time to create 1 rle with old method : 0.04049324989318848 length of segment : 300 NEW PHOTO pour l'instant on ne peut pas sauvegarder la photo dans les tile Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -116.91875 max: 147.33047 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 10 time for calcul the mask position with numpy : 6.175041198730469e-05 nb_pixel_total : 818 time to create 1 rle with old method : 0.0014579296112060547 length of segment : 36 time for calcul the mask position with numpy : 4.0531158447265625e-05 nb_pixel_total : 86 time to create 1 rle with old method : 0.00017833709716796875 length of segment : 27 time for calcul the mask position with numpy : 4.9591064453125e-05 nb_pixel_total : 802 time to create 1 rle with old method : 0.0014755725860595703 length of segment : 32 time for calcul the mask position with numpy : 6.389617919921875e-05 nb_pixel_total : 413 time to create 1 rle with old method : 0.0009551048278808594 length of segment : 26 time for calcul the mask position with numpy : 7.319450378417969e-05 nb_pixel_total : 875 time to create 1 rle with old method : 0.0019021034240722656 length of segment : 36 time for calcul the mask position with numpy : 4.553794860839844e-05 nb_pixel_total : 77 time to create 1 rle with old method : 0.00026607513427734375 length of segment : 13 time for calcul the mask position with numpy : 6.651878356933594e-05 nb_pixel_total : 2072 time to create 1 rle with old method : 0.002797365188598633 length of segment : 38 time for calcul the mask position with numpy : 3.0517578125e-05 nb_pixel_total : 45 time to create 1 rle with old method : 7.414817810058594e-05 length of segment : 24 time for calcul the mask position with numpy : 4.935264587402344e-05 nb_pixel_total : 862 time to create 1 rle with old method : 0.001592397689819336 length of segment : 35 time for calcul the mask position with numpy : 5.125999450683594e-05 nb_pixel_total : 838 time to create 1 rle with old method : 0.00152587890625 length of segment : 40 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -119.07891 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 2 time for calcul the mask position with numpy : 7.939338684082031e-05 nb_pixel_total : 2404 time to create 1 rle with old method : 0.0032324790954589844 length of segment : 50 time for calcul the mask position with numpy : 4.2438507080078125e-05 nb_pixel_total : 61 time to create 1 rle with old method : 0.00010633468627929688 length of segment : 26 Processing 1 images image shape: (400, 400, 3) min: 6.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -106.55156 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 3 time for calcul the mask position with numpy : 9.918212890625e-05 nb_pixel_total : 3816 time to create 1 rle with old method : 0.004497051239013672 length of segment : 62 time for calcul the mask position with numpy : 7.43865966796875e-05 nb_pixel_total : 3561 time to create 1 rle with old method : 0.004324436187744141 length of segment : 53 time for calcul the mask position with numpy : 0.00018334388732910156 nb_pixel_total : 711 time to create 1 rle with old method : 0.0010349750518798828 length of segment : 38 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.09063 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 4 time for calcul the mask position with numpy : 5.364418029785156e-05 nb_pixel_total : 548 time to create 1 rle with old method : 0.0017004013061523438 length of segment : 73 time for calcul the mask position with numpy : 6.270408630371094e-05 nb_pixel_total : 1431 time to create 1 rle with old method : 0.0017006397247314453 length of segment : 75 time for calcul the mask position with numpy : 5.507469177246094e-05 nb_pixel_total : 1303 time to create 1 rle with old method : 0.00200653076171875 length of segment : 72 time for calcul the mask position with numpy : 4.1961669921875e-05 nb_pixel_total : 465 time to create 1 rle with old method : 0.0007376670837402344 length of segment : 26 Processing 1 images image shape: (400, 320, 3) min: 0.00000 max: 220.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 90.78750 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 7 time for calcul the mask position with numpy : 5.3882598876953125e-05 nb_pixel_total : 485 time to create 1 rle with old method : 0.0009944438934326172 length of segment : 17 time for calcul the mask position with numpy : 6.961822509765625e-05 nb_pixel_total : 1866 time to create 1 rle with old method : 0.0033223628997802734 length of segment : 65 time for calcul the mask position with numpy : 4.863739013671875e-05 nb_pixel_total : 156 time to create 1 rle with old method : 0.0003306865692138672 length of segment : 13 time for calcul the mask position with numpy : 0.00015354156494140625 nb_pixel_total : 1494 time to create 1 rle with old method : 0.003096342086791992 length of segment : 41 time for calcul the mask position with numpy : 5.91278076171875e-05 nb_pixel_total : 1376 time to create 1 rle with old method : 0.0016672611236572266 length of segment : 58 time for calcul the mask position with numpy : 0.0006496906280517578 nb_pixel_total : 57063 time to create 1 rle with old method : 0.06150507926940918 length of segment : 280 time for calcul the mask position with numpy : 0.0007026195526123047 nb_pixel_total : 64274 time to create 1 rle with old method : 0.06725335121154785 length of segment : 299 Processing 1 images image shape: (400, 400, 3) min: 19.00000 max: 186.00000 molded_images shape: (1, 640, 640, 3) min: -91.55547 max: 65.58437 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 1 time for calcul the mask position with numpy : 0.0013244152069091797 nb_pixel_total : 151498 time to create 1 rle with new method : 0.0019245147705078125 length of segment : 400 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -118.25859 max: 138.20000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 9 time for calcul the mask position with numpy : 4.363059997558594e-05 nb_pixel_total : 461 time to create 1 rle with old method : 0.0006389617919921875 length of segment : 22 time for calcul the mask position with numpy : 6.580352783203125e-05 nb_pixel_total : 2458 time to create 1 rle with old method : 0.002964496612548828 length of segment : 53 time for calcul the mask position with numpy : 4.5299530029296875e-05 nb_pixel_total : 1182 time to create 1 rle with old method : 0.0015001296997070312 length of segment : 27 time for calcul the mask position with numpy : 3.0517578125e-05 nb_pixel_total : 156 time to create 1 rle with old method : 0.00022459030151367188 length of segment : 19 time for calcul the mask position with numpy : 3.337860107421875e-05 nb_pixel_total : 332 time to create 1 rle with old method : 0.00048089027404785156 length of segment : 19 time for calcul the mask position with numpy : 4.57763671875e-05 nb_pixel_total : 1000 time to create 1 rle with old method : 0.001377105712890625 length of segment : 33 time for calcul the mask position with numpy : 4.291534423828125e-05 nb_pixel_total : 1153 time to create 1 rle with old method : 0.0014891624450683594 length of segment : 27 time for calcul the mask position with numpy : 3.0517578125e-05 nb_pixel_total : 113 time to create 1 rle with old method : 0.00018072128295898438 length of segment : 15 time for calcul the mask position with numpy : 4.00543212890625e-05 nb_pixel_total : 772 time to create 1 rle with old method : 0.001024007797241211 length of segment : 34 Processing 1 images image shape: (400, 400, 3) min: 7.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -112.07891 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 6 time for calcul the mask position with numpy : 0.0002243518829345703 nb_pixel_total : 17004 time to create 1 rle with old method : 0.01921367645263672 length of segment : 120 time for calcul the mask position with numpy : 5.841255187988281e-05 nb_pixel_total : 505 time to create 1 rle with old method : 0.0007834434509277344 length of segment : 18 time for calcul the mask position with numpy : 4.291534423828125e-05 nb_pixel_total : 417 time to create 1 rle with old method : 0.0005283355712890625 length of segment : 31 time for calcul the mask position with numpy : 0.00010466575622558594 nb_pixel_total : 1633 time to create 1 rle with old method : 0.0019807815551757812 length of segment : 155 time for calcul the mask position with numpy : 0.0002465248107910156 nb_pixel_total : 14984 time to create 1 rle with old method : 0.017176389694213867 length of segment : 112 time for calcul the mask position with numpy : 4.839897155761719e-05 nb_pixel_total : 327 time to create 1 rle with old method : 0.00046825408935546875 length of segment : 21 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -120.62578 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 10 time for calcul the mask position with numpy : 4.458427429199219e-05 nb_pixel_total : 208 time to create 1 rle with old method : 0.00031256675720214844 length of segment : 20 time for calcul the mask position with numpy : 4.363059997558594e-05 nb_pixel_total : 670 time to create 1 rle with old method : 0.0009081363677978516 length of segment : 30 time for calcul the mask position with numpy : 5.91278076171875e-05 nb_pixel_total : 1207 time to create 1 rle with old method : 0.0015647411346435547 length of segment : 38 time for calcul the mask position with numpy : 7.104873657226562e-05 nb_pixel_total : 661 time to create 1 rle with old method : 0.0009884834289550781 length of segment : 28 time for calcul the mask position with numpy : 5.4836273193359375e-05 nb_pixel_total : 780 time to create 1 rle with old method : 0.0009970664978027344 length of segment : 38 time for calcul the mask position with numpy : 4.220008850097656e-05 nb_pixel_total : 133 time to create 1 rle with old method : 0.0002734661102294922 length of segment : 27 time for calcul the mask position with numpy : 3.504753112792969e-05 nb_pixel_total : 100 time to create 1 rle with old method : 0.0001735687255859375 length of segment : 10 time for calcul the mask position with numpy : 5.888938903808594e-05 nb_pixel_total : 879 time to create 1 rle with old method : 0.001249551773071289 length of segment : 40 time for calcul the mask position with numpy : 5.054473876953125e-05 nb_pixel_total : 587 time to create 1 rle with old method : 0.0008378028869628906 length of segment : 27 time for calcul the mask position with numpy : 0.00025844573974609375 nb_pixel_total : 9022 time to create 1 rle with old method : 0.010490655899047852 length of segment : 236 Processing 1 images image shape: (400, 320, 3) min: 0.00000 max: 192.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 73.42812 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 8 time for calcul the mask position with numpy : 0.00010514259338378906 nb_pixel_total : 1931 time to create 1 rle with old method : 0.0035660266876220703 length of segment : 67 time for calcul the mask position with numpy : 4.291534423828125e-05 nb_pixel_total : 179 time to create 1 rle with old method : 0.0002701282501220703 length of segment : 25 time for calcul the mask position with numpy : 0.00010514259338378906 nb_pixel_total : 3041 time to create 1 rle with old method : 0.004008769989013672 length of segment : 140 time for calcul the mask position with numpy : 0.00011444091796875 nb_pixel_total : 3315 time to create 1 rle with old method : 0.003882884979248047 length of segment : 171 time for calcul the mask position with numpy : 0.00019288063049316406 nb_pixel_total : 3618 time to create 1 rle with old method : 0.0042400360107421875 length of segment : 183 time for calcul the mask position with numpy : 6.508827209472656e-05 nb_pixel_total : 610 time to create 1 rle with old method : 0.0009424686431884766 length of segment : 62 time for calcul the mask position with numpy : 6.818771362304688e-05 nb_pixel_total : 1344 time to create 1 rle with old method : 0.00164031982421875 length of segment : 86 time for calcul the mask position with numpy : 0.00017499923706054688 nb_pixel_total : 3603 time to create 1 rle with old method : 0.004348278045654297 length of segment : 187 Processing 1 images image shape: (280, 400, 3) min: 20.00000 max: 181.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 58.52578 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 1 time for calcul the mask position with numpy : 0.0017266273498535156 nb_pixel_total : 105845 time to create 1 rle with old method : 0.12221479415893555 length of segment : 280 Processing 1 images image shape: (280, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 149.34219 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 11 time for calcul the mask position with numpy : 7.367134094238281e-05 nb_pixel_total : 2516 time to create 1 rle with old method : 0.0031223297119140625 length of segment : 72 time for calcul the mask position with numpy : 4.8160552978515625e-05 nb_pixel_total : 389 time to create 1 rle with old method : 0.0005304813385009766 length of segment : 30 time for calcul the mask position with numpy : 4.792213439941406e-05 nb_pixel_total : 568 time to create 1 rle with old method : 0.0007915496826171875 length of segment : 27 time for calcul the mask position with numpy : 4.601478576660156e-05 nb_pixel_total : 324 time to create 1 rle with old method : 0.00045943260192871094 length of segment : 29 time for calcul the mask position with numpy : 4.553794860839844e-05 nb_pixel_total : 371 time to create 1 rle with old method : 0.000507354736328125 length of segment : 34 time for calcul the mask position with numpy : 6.937980651855469e-05 nb_pixel_total : 1502 time to create 1 rle with old method : 0.0019156932830810547 length of segment : 42 time for calcul the mask position with numpy : 4.267692565917969e-05 nb_pixel_total : 242 time to create 1 rle with old method : 0.00033092498779296875 length of segment : 34 time for calcul the mask position with numpy : 4.553794860839844e-05 nb_pixel_total : 710 time to create 1 rle with old method : 0.0008797645568847656 length of segment : 46 time for calcul the mask position with numpy : 4.792213439941406e-05 nb_pixel_total : 688 time to create 1 rle with old method : 0.0008924007415771484 length of segment : 32 time for calcul the mask position with numpy : 5.5789947509765625e-05 nb_pixel_total : 800 time to create 1 rle with old method : 0.0010516643524169922 length of segment : 51 time for calcul the mask position with numpy : 5.2928924560546875e-05 nb_pixel_total : 738 time to create 1 rle with old method : 0.0009942054748535156 length of segment : 31 Processing 1 images image shape: (280, 400, 3) min: 0.00000 max: 239.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 112.43984 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 18 time for calcul the mask position with numpy : 8.440017700195312e-05 nb_pixel_total : 378 time to create 1 rle with old method : 0.0006504058837890625 length of segment : 20 time for calcul the mask position with numpy : 4.863739013671875e-05 nb_pixel_total : 497 time to create 1 rle with old method : 0.0006628036499023438 length of segment : 31 time for calcul the mask position with numpy : 4.744529724121094e-05 nb_pixel_total : 504 time to create 1 rle with old method : 0.0006830692291259766 length of segment : 34 time for calcul the mask position with numpy : 4.220008850097656e-05 nb_pixel_total : 297 time to create 1 rle with old method : 0.0004420280456542969 length of segment : 21 time for calcul the mask position with numpy : 3.4809112548828125e-05 nb_pixel_total : 111 time to create 1 rle with old method : 0.00020003318786621094 length of segment : 10 time for calcul the mask position with numpy : 4.00543212890625e-05 nb_pixel_total : 354 time to create 1 rle with old method : 0.0004839897155761719 length of segment : 35 time for calcul the mask position with numpy : 4.8160552978515625e-05 nb_pixel_total : 577 time to create 1 rle with old method : 0.00075531005859375 length of segment : 34 time for calcul the mask position with numpy : 3.647804260253906e-05 nb_pixel_total : 179 time to create 1 rle with old method : 0.0002551078796386719 length of segment : 17 time for calcul the mask position with numpy : 4.029273986816406e-05 nb_pixel_total : 452 time to create 1 rle with old method : 0.0005919933319091797 length of segment : 24 time for calcul the mask position with numpy : 4.5299530029296875e-05 nb_pixel_total : 660 time to create 1 rle with old method : 0.0008690357208251953 length of segment : 39 time for calcul the mask position with numpy : 3.981590270996094e-05 nb_pixel_total : 196 time to create 1 rle with old method : 0.00029754638671875 length of segment : 21 time for calcul the mask position with numpy : 4.410743713378906e-05 nb_pixel_total : 460 time to create 1 rle with old method : 0.0006177425384521484 length of segment : 35 time for calcul the mask position with numpy : 3.886222839355469e-05 nb_pixel_total : 461 time to create 1 rle with old method : 0.0006091594696044922 length of segment : 25 time for calcul the mask position with numpy : 4.482269287109375e-05 nb_pixel_total : 462 time to create 1 rle with old method : 0.000640869140625 length of segment : 31 time for calcul the mask position with numpy : 3.600120544433594e-05 nb_pixel_total : 202 time to create 1 rle with old method : 0.0002875328063964844 length of segment : 17 time for calcul the mask position with numpy : 4.9114227294921875e-05 nb_pixel_total : 1066 time to create 1 rle with old method : 0.0013325214385986328 length of segment : 45 time for calcul the mask position with numpy : 8.678436279296875e-05 nb_pixel_total : 85 time to create 1 rle with old method : 0.00015926361083984375 length of segment : 8 time for calcul the mask position with numpy : 3.647804260253906e-05 nb_pixel_total : 260 time to create 1 rle with old method : 0.00038313865661621094 length of segment : 16 Processing 1 images image shape: (280, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 148.95547 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 4 time for calcul the mask position with numpy : 3.62396240234375e-05 nb_pixel_total : 150 time to create 1 rle with old method : 0.00021457672119140625 length of segment : 22 time for calcul the mask position with numpy : 7.2479248046875e-05 nb_pixel_total : 1305 time to create 1 rle with old method : 0.001998424530029297 length of segment : 65 time for calcul the mask position with numpy : 4.482269287109375e-05 nb_pixel_total : 115 time to create 1 rle with old method : 0.00016570091247558594 length of segment : 23 time for calcul the mask position with numpy : 4.649162292480469e-05 nb_pixel_total : 365 time to create 1 rle with old method : 0.0004863739013671875 length of segment : 34 Processing 1 images image shape: (280, 320, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 133.22500 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 2 time for calcul the mask position with numpy : 0.0004210472106933594 nb_pixel_total : 31945 time to create 1 rle with old method : 0.03527569770812988 length of segment : 372 time for calcul the mask position with numpy : 5.1021575927734375e-05 nb_pixel_total : 381 time to create 1 rle with old method : 0.0005099773406982422 length of segment : 27 Detection mask done ! Trying to reset tf kernel 1441164 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5291 tf kernel not reseted sub process len(results) : 191 len(list_Values) 191 None max_time_sub_proc : 3600 parent process len(results) : 0 len(list_Values) 191 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 : 10196 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Catched exception ! Connect or reconnect ! Number saved : None batch 1 Loaded 191 chid ids of type : 4228 Number RLEs to save : 11979 save missing photos in datou_result : time spend for datou_step_exec : 21.521340131759644 time spend to save output : 0.8870944976806641 total time spend for step 1 : 22.408434629440308 step2:brightness Sat Feb 15 16:20:49 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 inside step calcul brightness treat image : temp/1739632827_1440897_1337911201_059a99eff6208f2f965586f7112d738e.jpg treat image : temp/1739632827_1440897_1337911199_0e89a4c7f3c3378ba63750d491d05647.jpg Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 2 time used for this insertion : 0.011696815490722656 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 2 time used for this insertion : 0.011586427688598633 save missing photos in datou_result : time spend for datou_step_exec : 0.5239417552947998 time spend to save output : 0.028141260147094727 total time spend for step 2 : 0.5520830154418945 step3:blur_detection Sat Feb 15 16:20:50 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1739632827_1440897_1337911201_059a99eff6208f2f965586f7112d738e.jpg resize: (1080, 1920) 1337911201 -7.1312216707951555 treat image : temp/1739632827_1440897_1337911199_0e89a4c7f3c3378ba63750d491d05647.jpg resize: (1080, 1920) 1337911199 -7.111181452841304 Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 2 time used for this insertion : 0.013573646545410156 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 2 time used for this insertion : 0.012624740600585938 save missing photos in datou_result : time spend for datou_step_exec : 1.6284749507904053 time spend to save output : 0.03229546546936035 total time spend for step 3 : 1.6607704162597656 step4:rle_unique_nms_with_priority Sat Feb 15 16:20: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 Begin step rle-unique-nms batch 1 Loaded 191 chid ids of type : 4228 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 95 nb_hashtags : 5 time to prepare the origin masks : 1.0161447525024414 time for calcul the mask position with numpy : 0.022304296493530273 nb_pixel_total : 1741964 time to create 1 rle with new method : 0.0778355598449707 time for calcul the mask position with numpy : 0.007906913757324219 nb_pixel_total : 70580 time to create 1 rle with old method : 0.07348871231079102 time for calcul the mask position with numpy : 0.008109092712402344 nb_pixel_total : 6869 time to create 1 rle with old method : 0.007511138916015625 time for calcul the mask position with numpy : 0.008139848709106445 nb_pixel_total : 1831 time to create 1 rle with old method : 0.0019693374633789062 time for calcul the mask position with numpy : 0.007900238037109375 nb_pixel_total : 785 time to create 1 rle with old method : 0.0008380413055419922 time for calcul the mask position with numpy : 0.007879495620727539 nb_pixel_total : 123 time to create 1 rle with old method : 0.00013375282287597656 time for calcul the mask position with numpy : 0.007957696914672852 nb_pixel_total : 80 time to create 1 rle with old method : 9.012222290039062e-05 time for calcul the mask position with numpy : 0.008078813552856445 nb_pixel_total : 704 time to create 1 rle with old method : 0.0007634162902832031 time for calcul the mask position with numpy : 0.008044242858886719 nb_pixel_total : 30 time to create 1 rle with old method : 4.1484832763671875e-05 time for calcul the mask position with numpy : 0.008063793182373047 nb_pixel_total : 2330 time to create 1 rle with old method : 0.0025491714477539062 time for calcul the mask position with numpy : 0.007950782775878906 nb_pixel_total : 33 time to create 1 rle with old method : 5.14984130859375e-05 time for calcul the mask position with numpy : 0.007741689682006836 nb_pixel_total : 3 time to create 1 rle with old method : 8.821487426757812e-06 time for calcul the mask position with numpy : 0.008008241653442383 nb_pixel_total : 1231 time to create 1 rle with old method : 0.001295328140258789 time for calcul the mask position with numpy : 0.007837295532226562 nb_pixel_total : 15 time to create 1 rle with old method : 2.384185791015625e-05 time for calcul the mask position with numpy : 0.007696866989135742 nb_pixel_total : 584 time to create 1 rle with old method : 0.0005791187286376953 time for calcul the mask position with numpy : 0.007776975631713867 nb_pixel_total : 562 time to create 1 rle with old method : 0.0006144046783447266 time for calcul the mask position with numpy : 0.007928133010864258 nb_pixel_total : 482 time to create 1 rle with old method : 0.0005350112915039062 time for calcul the mask position with numpy : 0.00788736343383789 nb_pixel_total : 1810 time to create 1 rle with old method : 0.0018544197082519531 time for calcul the mask position with numpy : 0.007781267166137695 nb_pixel_total : 1428 time to create 1 rle with old method : 0.0014247894287109375 time for calcul the mask position with numpy : 0.008049964904785156 nb_pixel_total : 47 time to create 1 rle with old method : 7.677078247070312e-05 time for calcul the mask position with numpy : 0.007775545120239258 nb_pixel_total : 120 time to create 1 rle with old method : 0.0001385211944580078 time for calcul the mask position with numpy : 0.00776219367980957 nb_pixel_total : 1485 time to create 1 rle with old method : 0.001523733139038086 time for calcul the mask position with numpy : 0.007987499237060547 nb_pixel_total : 483 time to create 1 rle with old method : 0.0005786418914794922 time for calcul the mask position with numpy : 0.007971525192260742 nb_pixel_total : 9036 time to create 1 rle with old method : 0.00963592529296875 time for calcul the mask position with numpy : 0.008063316345214844 nb_pixel_total : 1161 time to create 1 rle with old method : 0.0012943744659423828 time for calcul the mask position with numpy : 0.007842302322387695 nb_pixel_total : 1608 time to create 1 rle with old method : 0.0018451213836669922 time for calcul the mask position with numpy : 0.008051156997680664 nb_pixel_total : 802 time to create 1 rle with old method : 0.0009191036224365234 time for calcul the mask position with numpy : 0.008005380630493164 nb_pixel_total : 192 time to create 1 rle with old method : 0.00021529197692871094 time for calcul the mask position with numpy : 0.007902145385742188 nb_pixel_total : 1238 time to create 1 rle with old method : 0.0012843608856201172 time for calcul the mask position with numpy : 0.007958412170410156 nb_pixel_total : 1741 time to create 1 rle with old method : 0.0018999576568603516 time for calcul the mask position with numpy : 0.008314847946166992 nb_pixel_total : 220 time to create 1 rle with old method : 0.0002624988555908203 time for calcul the mask position with numpy : 0.009518861770629883 nb_pixel_total : 225 time to create 1 rle with old method : 0.00043845176696777344 time for calcul the mask position with numpy : 0.009624481201171875 nb_pixel_total : 1138 time to create 1 rle with old method : 0.0019905567169189453 time for calcul the mask position with numpy : 0.00950169563293457 nb_pixel_total : 831 time to create 1 rle with old method : 0.0014410018920898438 time for calcul the mask position with numpy : 0.009510993957519531 nb_pixel_total : 12058 time to create 1 rle with old method : 0.020011425018310547 time for calcul the mask position with numpy : 0.009592294692993164 nb_pixel_total : 672 time to create 1 rle with old method : 0.0011761188507080078 time for calcul the mask position with numpy : 0.009236335754394531 nb_pixel_total : 1883 time to create 1 rle with old method : 0.002299785614013672 time for calcul the mask position with numpy : 0.008532524108886719 nb_pixel_total : 11053 time to create 1 rle with old method : 0.012109041213989258 time for calcul the mask position with numpy : 0.008342981338500977 nb_pixel_total : 3371 time to create 1 rle with old method : 0.003759145736694336 time for calcul the mask position with numpy : 0.009619474411010742 nb_pixel_total : 1639 time to create 1 rle with old method : 0.002165079116821289 time for calcul the mask position with numpy : 0.008367538452148438 nb_pixel_total : 1224 time to create 1 rle with old method : 0.0014019012451171875 time for calcul the mask position with numpy : 0.00803995132446289 nb_pixel_total : 177 time to create 1 rle with old method : 0.00020599365234375 time for calcul the mask position with numpy : 0.007869720458984375 nb_pixel_total : 409 time to create 1 rle with old method : 0.0004343986511230469 time for calcul the mask position with numpy : 0.007779598236083984 nb_pixel_total : 1015 time to create 1 rle with old method : 0.0011858940124511719 time for calcul the mask position with numpy : 0.00822305679321289 nb_pixel_total : 2433 time to create 1 rle with old method : 0.0027570724487304688 time for calcul the mask position with numpy : 0.007914304733276367 nb_pixel_total : 376 time to create 1 rle with old method : 0.0004677772521972656 time for calcul the mask position with numpy : 0.008393526077270508 nb_pixel_total : 14684 time to create 1 rle with old method : 0.016422510147094727 time for calcul the mask position with numpy : 0.008433341979980469 nb_pixel_total : 159 time to create 1 rle with old method : 0.00020766258239746094 time for calcul the mask position with numpy : 0.0083770751953125 nb_pixel_total : 1188 time to create 1 rle with old method : 0.002311229705810547 time for calcul the mask position with numpy : 0.008903264999389648 nb_pixel_total : 317 time to create 1 rle with old method : 0.00037741661071777344 time for calcul the mask position with numpy : 0.008394479751586914 nb_pixel_total : 188 time to create 1 rle with old method : 0.00021219253540039062 time for calcul the mask position with numpy : 0.008505582809448242 nb_pixel_total : 723 time to create 1 rle with old method : 0.0008668899536132812 time for calcul the mask position with numpy : 0.008448600769042969 nb_pixel_total : 945 time to create 1 rle with old method : 0.0010683536529541016 time for calcul the mask position with numpy : 0.008383989334106445 nb_pixel_total : 1170 time to create 1 rle with old method : 0.0013768672943115234 time for calcul the mask position with numpy : 0.008405447006225586 nb_pixel_total : 75 time to create 1 rle with old method : 0.0001552104949951172 time for calcul the mask position with numpy : 0.008338212966918945 nb_pixel_total : 168 time to create 1 rle with old method : 0.0001990795135498047 time for calcul the mask position with numpy : 0.008778095245361328 nb_pixel_total : 103503 time to create 1 rle with old method : 0.10841512680053711 time for calcul the mask position with numpy : 0.007878541946411133 nb_pixel_total : 1985 time to create 1 rle with old method : 0.0021796226501464844 time for calcul the mask position with numpy : 0.007847309112548828 nb_pixel_total : 242 time to create 1 rle with old method : 0.00027441978454589844 time for calcul the mask position with numpy : 0.008071184158325195 nb_pixel_total : 11674 time to create 1 rle with old method : 0.012984275817871094 time for calcul the mask position with numpy : 0.009557723999023438 nb_pixel_total : 1208 time to create 1 rle with old method : 0.0020084381103515625 time for calcul the mask position with numpy : 0.00950479507446289 nb_pixel_total : 27433 time to create 1 rle with old method : 0.0425412654876709 time for calcul the mask position with numpy : 0.010387182235717773 nb_pixel_total : 325 time to create 1 rle with old method : 0.000614166259765625 time for calcul the mask position with numpy : 0.010589122772216797 nb_pixel_total : 243 time to create 1 rle with old method : 0.0004775524139404297 time for calcul the mask position with numpy : 0.010891199111938477 nb_pixel_total : 101 time to create 1 rle with old method : 0.0001926422119140625 time for calcul the mask position with numpy : 0.010080814361572266 nb_pixel_total : 1213 time to create 1 rle with old method : 0.0014524459838867188 time for calcul the mask position with numpy : 0.008910179138183594 nb_pixel_total : 368 time to create 1 rle with old method : 0.00047659873962402344 time for calcul the mask position with numpy : 0.008753776550292969 nb_pixel_total : 1105 time to create 1 rle with old method : 0.0020225048065185547 time for calcul the mask position with numpy : 0.008733510971069336 nb_pixel_total : 241 time to create 1 rle with old method : 0.0003247261047363281 time for calcul the mask position with numpy : 0.008682489395141602 nb_pixel_total : 105 time to create 1 rle with old method : 0.00017523765563964844 time for calcul the mask position with numpy : 0.008801460266113281 nb_pixel_total : 360 time to create 1 rle with old method : 0.0004680156707763672 time for calcul the mask position with numpy : 0.008821249008178711 nb_pixel_total : 497 time to create 1 rle with old method : 0.0006546974182128906 time for calcul the mask position with numpy : 0.008596658706665039 nb_pixel_total : 928 time to create 1 rle with old method : 0.0011639595031738281 time for calcul the mask position with numpy : 0.008609771728515625 nb_pixel_total : 396 time to create 1 rle with old method : 0.0004982948303222656 time for calcul the mask position with numpy : 0.008464336395263672 nb_pixel_total : 1823 time to create 1 rle with old method : 0.002241373062133789 time for calcul the mask position with numpy : 0.008686542510986328 nb_pixel_total : 7 time to create 1 rle with old method : 4.673004150390625e-05 time for calcul the mask position with numpy : 0.010341882705688477 nb_pixel_total : 498 time to create 1 rle with old method : 0.000885009765625 time for calcul the mask position with numpy : 0.010304450988769531 nb_pixel_total : 392 time to create 1 rle with old method : 0.0007684230804443359 time for calcul the mask position with numpy : 0.010089397430419922 nb_pixel_total : 603 time to create 1 rle with old method : 0.0010483264923095703 time for calcul the mask position with numpy : 0.010197162628173828 nb_pixel_total : 780 time to create 1 rle with old method : 0.0012788772583007812 time for calcul the mask position with numpy : 0.010495662689208984 nb_pixel_total : 554 time to create 1 rle with old method : 0.0009286403656005859 time for calcul the mask position with numpy : 0.010362625122070312 nb_pixel_total : 3585 time to create 1 rle with old method : 0.005828857421875 time for calcul the mask position with numpy : 0.01227879524230957 nb_pixel_total : 367 time to create 1 rle with old method : 0.0004553794860839844 time for calcul the mask position with numpy : 0.008510112762451172 nb_pixel_total : 15 time to create 1 rle with old method : 5.054473876953125e-05 time for calcul the mask position with numpy : 0.008404016494750977 nb_pixel_total : 448 time to create 1 rle with old method : 0.0005273818969726562 time for calcul the mask position with numpy : 0.008361101150512695 nb_pixel_total : 992 time to create 1 rle with old method : 0.0011546611785888672 time for calcul the mask position with numpy : 0.00809168815612793 nb_pixel_total : 375 time to create 1 rle with old method : 0.0004203319549560547 time for calcul the mask position with numpy : 0.008234500885009766 nb_pixel_total : 80 time to create 1 rle with old method : 9.512901306152344e-05 time for calcul the mask position with numpy : 0.008107662200927734 nb_pixel_total : 366 time to create 1 rle with old method : 0.0003871917724609375 time for calcul the mask position with numpy : 0.008415460586547852 nb_pixel_total : 15 time to create 1 rle with old method : 2.5033950805664062e-05 time for calcul the mask position with numpy : 0.009296417236328125 nb_pixel_total : 849 time to create 1 rle with old method : 0.001615762710571289 time for calcul the mask position with numpy : 0.01094675064086914 nb_pixel_total : 604 time to create 1 rle with old method : 0.0009982585906982422 time for calcul the mask position with numpy : 0.010700464248657227 nb_pixel_total : 276 time to create 1 rle with old method : 0.00048351287841796875 time for calcul the mask position with numpy : 0.009931802749633789 nb_pixel_total : 785 time to create 1 rle with old method : 0.0009951591491699219 time for calcul the mask position with numpy : 0.008738517761230469 nb_pixel_total : 195 time to create 1 rle with old method : 0.0002455711364746094 time for calcul the mask position with numpy : 0.008835792541503906 nb_pixel_total : 366 time to create 1 rle with old method : 0.00047659873962402344 create new chi : 1.320913553237915 after preparing all the mask , begin to delete the rle from the crop_hashtag_id => VR 28-11-20 : il faut déplacer cela apres le save_crop_hashtag_ids_obj de la ligne 9514 ! we have 0 chi objets contains the rles time to delete rle : 0.015098094940185547 batch 1 Loaded 96 chid ids of type : 4230 Number RLEs to save : 12245 TO DO : save crop sub photo not yet done ! save time : 0.6852316856384277 nb_obj : 95 nb_hashtags : 6 time to prepare the origin masks : 2.1805334091186523 time for calcul the mask position with numpy : 0.24404668807983398 nb_pixel_total : 1626639 time to create 1 rle with new method : 0.09409737586975098 time for calcul the mask position with numpy : 0.00707554817199707 nb_pixel_total : 11213 time to create 1 rle with old method : 0.013007640838623047 time for calcul the mask position with numpy : 0.0067789554595947266 nb_pixel_total : 3816 time to create 1 rle with old method : 0.004380941390991211 time for calcul the mask position with numpy : 0.007067203521728516 nb_pixel_total : 56989 time to create 1 rle with old method : 0.06444454193115234 time for calcul the mask position with numpy : 0.007109403610229492 nb_pixel_total : 2072 time to create 1 rle with old method : 0.0028433799743652344 time for calcul the mask position with numpy : 0.0069653987884521484 nb_pixel_total : 802 time to create 1 rle with old method : 0.0009644031524658203 time for calcul the mask position with numpy : 0.007153034210205078 nb_pixel_total : 86 time to create 1 rle with old method : 0.00011277198791503906 time for calcul the mask position with numpy : 0.006705045700073242 nb_pixel_total : 61 time to create 1 rle with old method : 9.059906005859375e-05 time for calcul the mask position with numpy : 0.0069043636322021484 nb_pixel_total : 14 time to create 1 rle with old method : 7.343292236328125e-05 time for calcul the mask position with numpy : 0.008854389190673828 nb_pixel_total : 106 time to create 1 rle with old method : 0.00018644332885742188 time for calcul the mask position with numpy : 0.007984161376953125 nb_pixel_total : 117 time to create 1 rle with old method : 0.0001766681671142578 time for calcul the mask position with numpy : 0.00846409797668457 nb_pixel_total : 818 time to create 1 rle with old method : 0.0009324550628662109 time for calcul the mask position with numpy : 0.010004520416259766 nb_pixel_total : 43 time to create 1 rle with old method : 7.677078247070312e-05 time for calcul the mask position with numpy : 0.00878000259399414 nb_pixel_total : 77 time to create 1 rle with old method : 0.00014209747314453125 time for calcul the mask position with numpy : 0.008868694305419922 nb_pixel_total : 2404 time to create 1 rle with old method : 0.002850055694580078 time for calcul the mask position with numpy : 0.007693290710449219 nb_pixel_total : 413 time to create 1 rle with old method : 0.0005807876586914062 time for calcul the mask position with numpy : 0.01178598403930664 nb_pixel_total : 548 time to create 1 rle with old method : 0.0006692409515380859 time for calcul the mask position with numpy : 0.0123443603515625 nb_pixel_total : 3561 time to create 1 rle with old method : 0.0042455196380615234 time for calcul the mask position with numpy : 0.011075735092163086 nb_pixel_total : 465 time to create 1 rle with old method : 0.0005958080291748047 time for calcul the mask position with numpy : 0.011605262756347656 nb_pixel_total : 1431 time to create 1 rle with old method : 0.0015130043029785156 time for calcul the mask position with numpy : 0.010299921035766602 nb_pixel_total : 23 time to create 1 rle with old method : 0.00011420249938964844 time for calcul the mask position with numpy : 0.010448455810546875 nb_pixel_total : 1494 time to create 1 rle with old method : 0.0017170906066894531 time for calcul the mask position with numpy : 0.010146379470825195 nb_pixel_total : 156 time to create 1 rle with old method : 0.00019431114196777344 time for calcul the mask position with numpy : 0.00956273078918457 nb_pixel_total : 1866 time to create 1 rle with old method : 0.002160787582397461 time for calcul the mask position with numpy : 0.009780645370483398 nb_pixel_total : 1366 time to create 1 rle with old method : 0.0015020370483398438 time for calcul the mask position with numpy : 0.009801626205444336 nb_pixel_total : 485 time to create 1 rle with old method : 0.0006034374237060547 time for calcul the mask position with numpy : 0.011711597442626953 nb_pixel_total : 151498 time to create 1 rle with new method : 0.06834912300109863 time for calcul the mask position with numpy : 0.009660959243774414 nb_pixel_total : 9022 time to create 1 rle with old method : 0.01051950454711914 time for calcul the mask position with numpy : 0.009750127792358398 nb_pixel_total : 1633 time to create 1 rle with old method : 0.0018389225006103516 time for calcul the mask position with numpy : 0.009583234786987305 nb_pixel_total : 780 time to create 1 rle with old method : 0.0008537769317626953 time for calcul the mask position with numpy : 0.009563684463500977 nb_pixel_total : 179 time to create 1 rle with old method : 0.0002307891845703125 time for calcul the mask position with numpy : 0.00964498519897461 nb_pixel_total : 1207 time to create 1 rle with old method : 0.0014133453369140625 time for calcul the mask position with numpy : 0.009827852249145508 nb_pixel_total : 609 time to create 1 rle with old method : 0.0007615089416503906 time for calcul the mask position with numpy : 0.005887746810913086 nb_pixel_total : 8 time to create 1 rle with old method : 5.555152893066406e-05 time for calcul the mask position with numpy : 0.006890535354614258 nb_pixel_total : 1931 time to create 1 rle with old method : 0.002134561538696289 time for calcul the mask position with numpy : 0.006695747375488281 nb_pixel_total : 208 time to create 1 rle with old method : 0.0002734661102294922 time for calcul the mask position with numpy : 0.005791902542114258 nb_pixel_total : 133 time to create 1 rle with old method : 0.00017571449279785156 time for calcul the mask position with numpy : 0.0059661865234375 nb_pixel_total : 235 time to create 1 rle with old method : 0.0003056526184082031 time for calcul the mask position with numpy : 0.006317615509033203 nb_pixel_total : 3041 time to create 1 rle with old method : 0.00353240966796875 time for calcul the mask position with numpy : 0.0060656070709228516 nb_pixel_total : 975 time to create 1 rle with old method : 0.0010895729064941406 time for calcul the mask position with numpy : 0.006219625473022461 nb_pixel_total : 168 time to create 1 rle with old method : 0.00042128562927246094 time for calcul the mask position with numpy : 0.00688481330871582 nb_pixel_total : 3618 time to create 1 rle with old method : 0.004032135009765625 time for calcul the mask position with numpy : 0.007352113723754883 nb_pixel_total : 417 time to create 1 rle with old method : 0.0006091594696044922 time for calcul the mask position with numpy : 0.006731986999511719 nb_pixel_total : 1000 time to create 1 rle with old method : 0.0012171268463134766 time for calcul the mask position with numpy : 0.005987644195556641 nb_pixel_total : 2458 time to create 1 rle with old method : 0.002665996551513672 time for calcul the mask position with numpy : 0.005746603012084961 nb_pixel_total : 114 time to create 1 rle with old method : 0.00015497207641601562 time for calcul the mask position with numpy : 0.006438255310058594 nb_pixel_total : 17004 time to create 1 rle with old method : 0.01877140998840332 time for calcul the mask position with numpy : 0.007058143615722656 nb_pixel_total : 135 time to create 1 rle with old method : 0.0003399848937988281 time for calcul the mask position with numpy : 0.006161689758300781 nb_pixel_total : 661 time to create 1 rle with old method : 0.000762939453125 time for calcul the mask position with numpy : 0.0059926509857177734 nb_pixel_total : 772 time to create 1 rle with old method : 0.0008783340454101562 time for calcul the mask position with numpy : 0.005998373031616211 nb_pixel_total : 1344 time to create 1 rle with old method : 0.0015707015991210938 time for calcul the mask position with numpy : 0.006120443344116211 nb_pixel_total : 879 time to create 1 rle with old method : 0.0010390281677246094 time for calcul the mask position with numpy : 0.005897998809814453 nb_pixel_total : 332 time to create 1 rle with old method : 0.00041604042053222656 time for calcul the mask position with numpy : 0.005873203277587891 nb_pixel_total : 156 time to create 1 rle with old method : 0.0002429485321044922 time for calcul the mask position with numpy : 0.0058290958404541016 nb_pixel_total : 100 time to create 1 rle with old method : 0.00012874603271484375 time for calcul the mask position with numpy : 0.005800962448120117 nb_pixel_total : 1182 time to create 1 rle with old method : 0.0012965202331542969 time for calcul the mask position with numpy : 0.0058329105377197266 nb_pixel_total : 461 time to create 1 rle with old method : 0.000553131103515625 time for calcul the mask position with numpy : 0.005832672119140625 nb_pixel_total : 60 time to create 1 rle with old method : 0.00012159347534179688 time for calcul the mask position with numpy : 0.0060460567474365234 nb_pixel_total : 113 time to create 1 rle with old method : 0.00015473365783691406 time for calcul the mask position with numpy : 0.00598454475402832 nb_pixel_total : 2 time to create 1 rle with old method : 2.3603439331054688e-05 time for calcul the mask position with numpy : 0.00647735595703125 nb_pixel_total : 105845 time to create 1 rle with old method : 0.11789059638977051 time for calcul the mask position with numpy : 0.006482601165771484 nb_pixel_total : 324 time to create 1 rle with old method : 0.00037288665771484375 time for calcul the mask position with numpy : 0.006768226623535156 nb_pixel_total : 196 time to create 1 rle with old method : 0.00024056434631347656 time for calcul the mask position with numpy : 0.005766630172729492 nb_pixel_total : 111 time to create 1 rle with old method : 0.00013518333435058594 time for calcul the mask position with numpy : 0.0058629512786865234 nb_pixel_total : 1066 time to create 1 rle with old method : 0.0011911392211914062 time for calcul the mask position with numpy : 0.005929231643676758 nb_pixel_total : 378 time to create 1 rle with old method : 0.0004527568817138672 time for calcul the mask position with numpy : 0.0056955814361572266 nb_pixel_total : 260 time to create 1 rle with old method : 0.00029921531677246094 time for calcul the mask position with numpy : 0.005749940872192383 nb_pixel_total : 238 time to create 1 rle with old method : 0.000335693359375 time for calcul the mask position with numpy : 0.005696296691894531 nb_pixel_total : 568 time to create 1 rle with old method : 0.0006062984466552734 time for calcul the mask position with numpy : 0.005782604217529297 nb_pixel_total : 242 time to create 1 rle with old method : 0.0002944469451904297 time for calcul the mask position with numpy : 0.005930662155151367 nb_pixel_total : 31945 time to create 1 rle with old method : 0.03425168991088867 time for calcul the mask position with numpy : 0.006191730499267578 nb_pixel_total : 389 time to create 1 rle with old method : 0.0004661083221435547 time for calcul the mask position with numpy : 0.00595402717590332 nb_pixel_total : 461 time to create 1 rle with old method : 0.0005626678466796875 time for calcul the mask position with numpy : 0.005951881408691406 nb_pixel_total : 370 time to create 1 rle with old method : 0.00045490264892578125 time for calcul the mask position with numpy : 0.0060253143310546875 nb_pixel_total : 297 time to create 1 rle with old method : 0.00037670135498046875 time for calcul the mask position with numpy : 0.006356239318847656 nb_pixel_total : 658 time to create 1 rle with old method : 0.0007634162902832031 time for calcul the mask position with numpy : 0.006237983703613281 nb_pixel_total : 2516 time to create 1 rle with old method : 0.0029566287994384766 time for calcul the mask position with numpy : 0.005980968475341797 nb_pixel_total : 497 time to create 1 rle with old method : 0.0006113052368164062 time for calcul the mask position with numpy : 0.005990028381347656 nb_pixel_total : 365 time to create 1 rle with old method : 0.0004177093505859375 time for calcul the mask position with numpy : 0.0059435367584228516 nb_pixel_total : 504 time to create 1 rle with old method : 0.0005748271942138672 time for calcul the mask position with numpy : 0.005967378616333008 nb_pixel_total : 3 time to create 1 rle with old method : 2.9802322387695312e-05 time for calcul the mask position with numpy : 0.005944013595581055 nb_pixel_total : 577 time to create 1 rle with old method : 0.00067901611328125 time for calcul the mask position with numpy : 0.005933046340942383 nb_pixel_total : 115 time to create 1 rle with old method : 0.0001518726348876953 time for calcul the mask position with numpy : 0.006131887435913086 nb_pixel_total : 1502 time to create 1 rle with old method : 0.0017905235290527344 time for calcul the mask position with numpy : 0.0066225528717041016 nb_pixel_total : 452 time to create 1 rle with old method : 0.0005311965942382812 time for calcul the mask position with numpy : 0.0063440799713134766 nb_pixel_total : 688 time to create 1 rle with old method : 0.0008237361907958984 time for calcul the mask position with numpy : 0.006299018859863281 nb_pixel_total : 62 time to create 1 rle with old method : 0.000125885009765625 time for calcul the mask position with numpy : 0.006029367446899414 nb_pixel_total : 150 time to create 1 rle with old method : 0.00018405914306640625 time for calcul the mask position with numpy : 0.0058252811431884766 nb_pixel_total : 85 time to create 1 rle with old method : 0.00010919570922851562 time for calcul the mask position with numpy : 0.005821943283081055 nb_pixel_total : 1305 time to create 1 rle with old method : 0.0014388561248779297 time for calcul the mask position with numpy : 0.005927324295043945 nb_pixel_total : 26 time to create 1 rle with old method : 5.14984130859375e-05 time for calcul the mask position with numpy : 0.006350994110107422 nb_pixel_total : 179 time to create 1 rle with old method : 0.00020933151245117188 time for calcul the mask position with numpy : 0.0059967041015625 nb_pixel_total : 710 time to create 1 rle with old method : 0.0007731914520263672 time for calcul the mask position with numpy : 0.005769014358520508 nb_pixel_total : 460 time to create 1 rle with old method : 0.0005426406860351562 time for calcul the mask position with numpy : 0.005676984786987305 nb_pixel_total : 202 time to create 1 rle with old method : 0.0002357959747314453 time for calcul the mask position with numpy : 0.00799560546875 nb_pixel_total : 354 time to create 1 rle with old method : 0.00037598609924316406 create new chi : 1.4317104816436768 after preparing all the mask , begin to delete the rle from the crop_hashtag_id => VR 28-11-20 : il faut déplacer cela apres le save_crop_hashtag_ids_obj de la ligne 9514 ! we have 0 chi objets contains the rles time to delete rle : 0.001237630844116211 batch 1 Loaded 96 chid ids of type : 4230 Number RLEs to save : 11092 TO DO : save crop sub photo not yet done ! save time : 0.6422619819641113 map_output_result : {1337911201: (0.0, 'Should be the crop_list due to order', 0.0), 1337911199: (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 [1337911201, 1337911199] Looping around the photos to save general results len do output : 2 /1337911201.Didn't retrieve data . /1337911199.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 ('4234', None, None, None, None, None, None, None, '2591131') ('4234', '20588022', '1337911201', None, None, None, None, None, '2591131') ('4234', None, None, None, None, None, None, None, '2591131') ('4234', '20588022', '1337911199', None, None, None, None, None, '2591131') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.012737035751342773 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.65782356262207 time spend to save output : 0.012990236282348633 total time spend for step 4 : 7.670813798904419 step5:crop_condition Sat Feb 15 16:20:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 4230 Loading chi in step crop for list_pids : 2 ! batch 1 Loaded 192 chid ids of type : 4230 begin to crop the class : papier param for this class : {'min_score': 0.6} filtre for class : papier hashtag_id of this class : 492668766 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 69 About to insert : list_path_to_insert length 69 new photo from crops ! About to upload 69 photos upload in portfolio : 4869462 init cache_photo without model_param we have 69 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739632861_1440897 we have uploaded 69 photos in the portfolio 4869462 time of upload the photos Elapsed time : 17.04179072380066 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.6} filtre for class : carton hashtag_id of this class : 492774966 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 28 About to insert : list_path_to_insert length 28 new photo from crops ! About to upload 28 photos upload in portfolio : 4869462 init cache_photo without model_param we have 28 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739632878_1440897 we have uploaded 28 photos in the portfolio 4869462 time of upload the photos Elapsed time : 6.385450839996338 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.6} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.6} filtre for class : pet_clair hashtag_id of this class : 2107755846 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 4869462 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739632885_1440897 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.338953733444214 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.6} filtre for class : autre hashtag_id of this class : 494826614 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 23 About to insert : list_path_to_insert length 23 new photo from crops ! About to upload 23 photos upload in portfolio : 4869462 init cache_photo without model_param we have 23 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739632888_1440897 we have uploaded 23 photos in the portfolio 4869462 time of upload the photos Elapsed time : 6.290887117385864 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.6} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.6} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1337911201, 1337911199] Looping around the photos to save general results len do output : 126 /1337919934Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919936Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919938Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919940Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919942Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919944Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919946Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919948Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919950Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919952Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919954Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919956Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919958Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919960Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919962Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919964Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919966Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919968Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919970Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919972Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919974Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919976Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919978Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919980Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919982Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919984Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919986Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919988Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919990Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919992Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919994Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919996Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337919998Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920000Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920002Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920004Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920006Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920008Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920010Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920012Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920014Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920016Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920018Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920020Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920022Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920024Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920026Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920028Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920030Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920032Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920034Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920036Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920038Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920040Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920042Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920044Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920046Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920048Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920050Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920052Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920054Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920056Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920058Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920060Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920062Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920064Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920066Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920068Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920070Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920151Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920153Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920155Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920157Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920158Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920159Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920160Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920161Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920162Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920163Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920164Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920165Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920166Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920167Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920168Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920169Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920170Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920171Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920172Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920173Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920174Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920175Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920176Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920177Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920178Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920179Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920180Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920181Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920182Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920183Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920184Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920185Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920186Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920187Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920190Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920191Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920192Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920193Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920194Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920195Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920196Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920197Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920198Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920199Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920200Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920201Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920202Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920203Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920204Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920205Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920206Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920207Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920208Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920209Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920210Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920211Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337920212Didn'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 ('4234', None, None, None, None, None, None, None, '2591131') ('4234', '20588022', '1337911201', None, None, None, None, None, '2591131') ('4234', None, None, None, None, None, None, None, '2591131') ('4234', '20588022', '1337911199', None, None, None, None, None, '2591131') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 380 time used for this insertion : 0.03127861022949219 save_final save missing photos in datou_result : time spend for datou_step_exec : 34.628907442092896 time spend to save output : 0.03640627861022949 total time spend for step 5 : 34.665313720703125 step6:thcl Sat Feb 15 16:21:34 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 ! we are using the classfication for only one thcl 3237 time to import caffe and check if the image exist : 0.00782322883605957 time to convert the images to numpy array : 0.03847908973693848 time to import caffe and check if the image exist : 0.01851034164428711 time to convert the images to numpy array : 0.02946329116821289 time to import caffe and check if the image exist : 0.012958765029907227 time to convert the images to numpy array : 0.04006361961364746 time to import caffe and check if the image exist : 0.016025304794311523 time to convert the images to numpy array : 0.041259765625 time to import caffe and check if the image exist : 0.014381647109985352 time to convert the images to numpy array : 0.04447460174560547 time to import caffe and check if the image exist : 0.02085566520690918 time to convert the images to numpy array : 0.03915667533874512 time to import caffe and check if the image exist : 0.00737452507019043 time to convert the images to numpy array : 0.052636146545410156 time to import caffe and check if the image exist : 0.019642114639282227 time to convert the images to numpy array : 0.04230451583862305 time to import caffe and check if the image exist : 0.019261598587036133 time to convert the images to numpy array : 0.043471574783325195 time to import caffe and check if the image exist : 0.028157472610473633 time to convert the images to numpy array : 0.0362086296081543 total time to convert the images to numpy array : 0.3213686943054199 list photo_ids error: [] list photo_ids correct : [1337919934, 1337919936, 1337919938, 1337919940, 1337919942, 1337919944, 1337919946, 1337919948, 1337919950, 1337919952, 1337919954, 1337919956, 1337919958, 1337920012, 1337920014, 1337920016, 1337920018, 1337920020, 1337920022, 1337920024, 1337920026, 1337920028, 1337920030, 1337920032, 1337920034, 1337920036, 1337919986, 1337919988, 1337919990, 1337919992, 1337919994, 1337919996, 1337919998, 1337920000, 1337920002, 1337920004, 1337920006, 1337920008, 1337920010, 1337920191, 1337920192, 1337920193, 1337920194, 1337920195, 1337920196, 1337920197, 1337920198, 1337920199, 1337920200, 1337920201, 1337920202, 1337920203, 1337920163, 1337920164, 1337920165, 1337920166, 1337920167, 1337920168, 1337920169, 1337920170, 1337920171, 1337920172, 1337920173, 1337920174, 1337920175, 1337920064, 1337920066, 1337920068, 1337920070, 1337920151, 1337920153, 1337920155, 1337920157, 1337920158, 1337920159, 1337920160, 1337920161, 1337920162, 1337920204, 1337920205, 1337920206, 1337920207, 1337920208, 1337920209, 1337920210, 1337920211, 1337920212, 1337920038, 1337920040, 1337920042, 1337920044, 1337920046, 1337920048, 1337920050, 1337920052, 1337920054, 1337920056, 1337920058, 1337920060, 1337920062, 1337919960, 1337919962, 1337919964, 1337919966, 1337919968, 1337919970, 1337919972, 1337919974, 1337919976, 1337919978, 1337919980, 1337919982, 1337919984, 1337920176, 1337920177, 1337920178, 1337920179, 1337920180, 1337920181, 1337920182, 1337920183, 1337920184, 1337920185, 1337920186, 1337920187, 1337920190] number of photos to traite : 126 try to delete the photos incorrect in DB tagging for thcl : 3237 To do loadFromThcl(), then load ParamDescType : thcl3237 thcls : [{'id': 3237, 'mtr_user_id': 31, 'name': 'learn_rubbia_refus_2500', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton,Film_plastique,PEHD,PET_clair,PET_fonce,Papier,Tetrapak,flou,mal_croppe,metal,refus', 'svm_portfolios_learning': '4865689,4865690,4865686,4865684,4865685,4865688,4865691,4865693,4865692,4865687,4865683', 'photo_hashtag_type': 4158, 'photo_desc_type': 5561, 'type_classification': 'caffe', 'hashtag_id_list': '492774966,2107756122,628944319,2107755846,2107755900,492668766,609991870,492777938,2107755527,492628673,538914404'}] thcl {'id': 3237, 'mtr_user_id': 31, 'name': 'learn_rubbia_refus_2500', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton,Film_plastique,PEHD,PET_clair,PET_fonce,Papier,Tetrapak,flou,mal_croppe,metal,refus', 'svm_portfolios_learning': '4865689,4865690,4865686,4865684,4865685,4865688,4865691,4865693,4865692,4865687,4865683', 'photo_hashtag_type': 4158, 'photo_desc_type': 5561, 'type_classification': 'caffe', 'hashtag_id_list': '492774966,2107756122,628944319,2107755846,2107755900,492668766,609991870,492777938,2107755527,492628673,538914404'} Update svm_hashtag_type_desc : 5561 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5561, 'learn_rubbia_refus_2500', 2048, 2048, 'learn_rubbia_refus_2500', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2021, 12, 2, 19, 10, 8), datetime.datetime(2021, 12, 2, 19, 10, 8)) To loadFromThcl() : net_5561 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5487 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5561, 'learn_rubbia_refus_2500', 2048, 2048, 'learn_rubbia_refus_2500', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2021, 12, 2, 19, 10, 8), datetime.datetime(2021, 12, 2, 19, 10, 8)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_rubbia_refus_2500 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_rubbia_refus_2500 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_rubbia_refus_2500 /data/models_weight/learn_rubbia_refus_2500/caffemodel size_local : 94358479 size in s3 : 94358479 create time local : 2021-12-03 18:29:39 create time in s3 : 2021-12-02 17:49:16 caffemodel already exist and didn't need to update /data/models_weight/learn_rubbia_refus_2500/deploy.prototxt size_local : 32544 size in s3 : 32544 create time local : 2021-12-03 18:29:39 create time in s3 : 2021-12-02 17:49:15 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_rubbia_refus_2500/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-12-03 18:29:40 create time in s3 : 2021-12-02 18:09:52 mean.npy already exist and didn't need to update /data/models_weight/learn_rubbia_refus_2500/synset_words.txt size_local : 334 size in s3 : 334 create time local : 2021-12-03 18:29:40 create time in s3 : 2021-12-02 18:10:06 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/caffe_cuda8_python3/python/:/home/admin/workarea/install/darknet/:/home/admin/workarea/git/Velours/python:/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python:/home/admin/mtr/.credentials:/home/admin/workarea/install/caffe/python:/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools/:/home/admin/workarea/git/fotonowerpip/:/home/admin/workarea/install/segment-anything:/home/admin//workarea/git/pyfvs/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_rubbia_refus_2500/deploy.prototxt caffemodel_filename : /data/models_weight/learn_rubbia_refus_2500/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 : 5268 max_wait_temp : 1 max_wait : 0 dict_keys(['prob', 'pool5']) time used to do the prepocess of the images : 0.5736560821533203 time used to do the prediction : 1.7674658298492432 save descriptor for thcl : 3237 time to traite the descriptors : 0.7504696846008301 Catched exception ! Connect or reconnect ! storage_type for insertDescriptorsMulti : 3 To insert : 1337919934 To insert : 1337919936 To insert : 1337919938 To insert : 1337919940 To insert : 1337919942 To insert : 1337919944 To insert : 1337919946 To insert : 1337919948 To insert : 1337919950 To insert : 1337919952 To insert : 1337919954 To insert : 1337919956 To insert : 1337919958 To insert : 1337920012 To insert : 1337920014 To insert : 1337920016 To insert : 1337920018 To insert : 1337920020 To insert : 1337920022 To insert : 1337920024 To insert : 1337920026 To insert : 1337920028 To insert : 1337920030 To insert : 1337920032 To insert : 1337920034 To insert : 1337920036 To insert : 1337919986 To insert : 1337919988 To insert : 1337919990 To insert : 1337919992 To insert : 1337919994 To insert : 1337919996 To insert : 1337919998 To insert : 1337920000 To insert : 1337920002 To insert : 1337920004 To insert : 1337920006 To insert : 1337920008 To insert : 1337920010 To insert : 1337920191 To insert : 1337920192 To insert : 1337920193 To insert : 1337920194 To insert : 1337920195 To insert : 1337920196 To insert : 1337920197 To insert : 1337920198 To insert : 1337920199 To insert : 1337920200 To insert : 1337920201 To insert : 1337920202 To insert : 1337920203 To insert : 1337920163 To insert : 1337920164 To insert : 1337920165 To insert : 1337920166 To insert : 1337920167 To insert : 1337920168 To insert : 1337920169 To insert : 1337920170 To insert : 1337920171 To insert : 1337920172 To insert : 1337920173 To insert : 1337920174 To insert : 1337920175 To insert : 1337920064 To insert : 1337920066 To insert : 1337920068 To insert : 1337920070 To insert : 1337920151 To insert : 1337920153 To insert : 1337920155 To insert : 1337920157 To insert : 1337920158 To insert : 1337920159 To insert : 1337920160 To insert : 1337920161 To insert : 1337920162 To insert : 1337920204 To insert : 1337920205 To insert : 1337920206 To insert : 1337920207 To insert : 1337920208 To insert : 1337920209 To insert : 1337920210 To insert : 1337920211 To insert : 1337920212 To insert : 1337920038 To insert : 1337920040 To insert : 1337920042 To insert : 1337920044 To insert : 1337920046 To insert : 1337920048 To insert : 1337920050 To insert : 1337920052 To insert : 1337920054 To insert : 1337920056 To insert : 1337920058 To insert : 1337920060 To insert : 1337920062 To insert : 1337919960 To insert : 1337919962 To insert : 1337919964 To insert : 1337919966 To insert : 1337919968 To insert : 1337919970 To insert : 1337919972 To insert : 1337919974 To insert : 1337919976 To insert : 1337919978 To insert : 1337919980 To insert : 1337919982 To insert : 1337919984 To insert : 1337920176 To insert : 1337920177 To insert : 1337920178 To insert : 1337920179 To insert : 1337920180 To insert : 1337920181 To insert : 1337920182 To insert : 1337920183 To insert : 1337920184 To insert : 1337920185 To insert : 1337920186 To insert : 1337920187 To insert : 1337920190 time to insert the descriptors : 22.95908284187317 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos SAVE THCL : begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 194 time used for this insertion : 0.02069377899169922 save missing photos in datou_result : time spend for datou_step_exec : 30.167402029037476 time spend to save output : 0.06389474868774414 total time spend for step 6 : 30.23129677772522 step7:ventilate_hashtags_in_portfolio Sat Feb 15 16:22: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 Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 20588022 get user id for portfolio 20588022 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`=20588022 AND mptpi.`type`=4230 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','PET_fonce','papier','pet_clair','Carton','mal_croppe','pehd','Film_plastique','metal','flou','refus','PET_clair','environnement','PEHD','Tetrapak','carton','Papier','pet_fonce')) AND mptpi.`min_score`=0.6 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`=20588022 AND mptpi.`type`=4230 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','PET_fonce','papier','pet_clair','Carton','mal_croppe','pehd','Film_plastique','metal','flou','refus','PET_clair','environnement','PEHD','Tetrapak','carton','Papier','pet_fonce')) AND mptpi.`min_score`=0.6 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") 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`=20588022 AND mptpi.`type`=4231 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','PET_fonce','papier','pet_clair','Carton','mal_croppe','pehd','Film_plastique','metal','flou','refus','PET_clair','environnement','PEHD','Tetrapak','carton','Papier','pet_fonce')) AND mptpi.`min_score`=0.6 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`=20588022 AND mptpi.`type`=4231 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','PET_fonce','papier','pet_clair','Carton','mal_croppe','pehd','Film_plastique','metal','flou','refus','PET_clair','environnement','PEHD','Tetrapak','carton','Papier','pet_fonce')) AND mptpi.`min_score`=0.6 To do lien utilise dans velours : https://www.fotonower.com/velours/20588235,20588252,20588251,20588246,20588250,20588240,20588248,20588242,20588243,20588244,20588245,20588247,20588249?tags=autre,pet_fonce,papier,pet_clair,carton,mal_croppe,pehd,film_plastique,metal,flou,refus,environnement,tetrapak&datou_id_consolidate=4235&port_consolidate=20588022 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1337911201, 1337911199] Looping around the photos to save general results len do output : 1 /20588022. 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 ('4234', None, None, None, None, None, None, None, '2591131') ('4234', '20588022', '1337911201', None, None, None, None, None, '2591131') ('4234', None, None, None, None, None, None, None, '2591131') ('4234', '20588022', '1337911199', None, None, None, None, None, '2591131') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.012054920196533203 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.2729947566986084 time spend to save output : 0.012246370315551758 total time spend for step 7 : 2.28524112701416 step8:final Sat Feb 15 16:22:06 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 : {1337911201: ('0.2621999938673687',), 1337911199: ('0.2621999938673687',)} new output for save of step final : {1337911201: ('0.2621999938673687',), 1337911199: ('0.2621999938673687',)} [1337911201, 1337911199] Looping around the photos to save general results len do output : 2 /1337911201.Didn't retrieve data . /1337911199.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 ('4234', None, None, None, None, None, None, None, '2591131') ('4234', '20588022', '1337911201', None, None, None, None, None, '2591131') ('4234', None, None, None, None, None, None, None, '2591131') ('4234', '20588022', '1337911199', None, None, None, None, None, '2591131') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.0125885009765625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11487436294555664 time spend to save output : 0.012802600860595703 total time spend for step 8 : 0.12767696380615234 step9:velours_tree Sat Feb 15 16:22:07 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure list_portfolios : 20588235,20588252,20588251,20588246,20588250,20588240,20588248,20588242,20588243,20588244,20588245,20588247,20588249 photo desc type : 5561 - Retrieving photos to tag... query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20588235 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20588252 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20588251 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20588246 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20588250 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20588240 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20588248 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20588242 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20588243 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20588244 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20588245 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20588247 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20588249 ORDER BY ph.size desc - Loading descriptors... Size : 2048 len(descriptors) : 126 Compute structured hierarchical clustering... ward : AgglomerativeClustering(n_clusters=6) ward.labels_ : [5 2 2 2 1 2 2 2 2 0 0 1 1 2 1 0 0 0 0 0 1 1 0 0 2 3 0 3 1 2 1 0 0 3 5 2 0 2 5 2 0 0 0 1 0 1 1 0 1 0 0 0 0 0 1 0 0 3 0 3 3 3 1 1 0 2 0 0 0 4 2 0 0 0 0 1 1 1 3 0 2 0 5 4 0 2 0 5 0 0 1 1 3 0 2 3 2 1 0 3 3 1 2 4 3 5 2 0 1 0 0 3 3 1 3 4 0 2 1 0 2 1 0 3 3 3] Elapsed time: 0.016120433807373047 graph_id used : 78923 - Beta version, working pretty good on 11-5-16 ! https://www.fotonower.com/velours/20588235,20588252,20588251,20588246,20588250,20588240,20588248,20588242,20588243,20588244,20588245,20588247,20588249?tags=autre,pet_fonce,papier,pet_clair,carton,mal_croppe,pehd,film_plastique,metal,flou,refus,environnement,tetrapak&datou_id_consolidate=4235&port_consolidate=20588022&tree_id=78923 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : velours_tree we use saveGeneral [1337911201, 1337911199] Looping around the photos to save general results len do output : 1 /20588022Didn'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 ('4234', None, None, None, None, None, None, None, '2591131') ('4234', '20588022', '1337911201', None, None, None, None, None, '2591131') ('4234', None, None, None, None, None, None, None, '2591131') ('4234', '20588022', '1337911199', None, None, None, None, None, '2591131') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.01259469985961914 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.496325492858887 time spend to save output : 0.012780904769897461 total time spend for step 9 : 7.509106397628784 step10:send_mail_cod Sat Feb 15 16:22:14 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_Qualipapia_P20588022_15-02-2025_16_22_14.pdf 20588217 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette205882171739632934 20588234 imagette205882341739632935 20588233 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette205882331739632935 20588228 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette205882281739632936 20588232 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette205882321739632936 20588222 imagette205882221739632937 20588230 imagette205882301739632937 20588224 imagette205882241739632937 20588225 imagette205882251739632937 20588226 imagette205882261739632937 20588227 imagette205882271739632937 20588231 imagette205882311739632937 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20588022 and hashtag_type = 4230 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20588235,20588252,20588251,20588246,20588250,20588240,20588248,20588242,20588243,20588244,20588245,20588247,20588249?tags=autre,pet_fonce,papier,pet_clair,carton,mal_croppe,pehd,film_plastique,metal,flou,refus,environnement,tetrapak&datou_id_consolidate=4235&port_consolidate=20588022&tree_id=78923 your option no_mail is active, we will not send the real mail to your client args[1337911201] : ((1337911201, -7.1312216707951555, 492609224), (1337911201, -0.6722601108024907, 501862349), '0.2621999938673687') apple ((1337911201, -7.1312216707951555, 492609224), (1337911201, -0.6722601108024907, 501862349), '0.2621999938673687') We are sending mail with results at cod@fotonower.com args[1337911199] : ((1337911199, -7.111181452841304, 492609224), (1337911199, -0.6758692360476335, 501862349), '0.2621999938673687') apple ((1337911199, -7.111181452841304, 492609224), (1337911199, -0.6758692360476335, 501862349), '0.2621999938673687') We are sending mail with results at cod@fotonower.com refus_total : 0.2621999938673687 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=20588022 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20588022_15-02-2025_16_22_14.pdf results_Qualipapia_P20588022_15-02-2025_16_22_14.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20588022_15-02-2025_16_22_14.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4234','20588022','results_Qualipapia_P20588022_15-02-2025_16_22_14.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20588022_15-02-2025_16_22_14.pdf','pdf','','0.14','0.2621999938673687') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1337911201, 1337911199] 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 ('4234', None, None, None, None, None, None, None, '2591131') ('4234', '20588022', '1337911201', None, None, None, None, None, '2591131') ('4234', None, None, None, None, None, None, None, '2591131') ('4234', '20588022', '1337911199', None, None, None, None, None, '2591131') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 time used for this insertion : 0.11914324760437012 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.531930208206177 time spend to save output : 0.11934995651245117 total time spend for step 10 : 4.651280164718628 step11:split_time_score Sat Feb 15 16:22:19 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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 begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3442, 'mtr_user_id': 31, 'name': 'classifieur_2camions_valcor_021122_v1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'deux_camions,camion_droite,camion_gauche,pas_de_camion', 'svm_portfolios_learning': '7659379,7659034,7657685,7657114', 'photo_hashtag_type': 4458, 'photo_desc_type': 5723, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107760533,2107760534,2107760535,2107760536'}] 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'}] (('15', 2),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 15022025 20588022 Nombre de photos uploadées : 2 / 23040 (0%) 15022025 20588022 Nombre de photos taguées (types de déchets): 2 / 2 (100%) 15022025 20588022 Nombre de photos taguées (volume) : 0 / 2 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ?? elapsed_time : fill_and_build_computed_from_old_data 0.0002105236053466797 elapsed_time : insert_dashboard_record_day_entry 0.0330355167388916 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20587589 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20587590 order by id desc limit 1 Qualite : 0.24208895078954654 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20587591_15-02-2025_15_16_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20587591 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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`=20587591 AND mptpi.`type`=4230 To do Qualite : 0.2264213403816684 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20587592_15-02-2025_15_31_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20587592 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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`=20587592 AND mptpi.`type`=4230 To do Qualite : 0.22063934371361915 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20587593_15-02-2025_15_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20587593 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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`=20587593 AND mptpi.`type`=4230 To do Qualite : 0.23614686311479277 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20587594_15-02-2025_15_10_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20587594 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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`=20587594 AND mptpi.`type`=4230 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20587829 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20587830 order by id desc limit 1 Qualite : 0.23185081615812542 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20587831_15-02-2025_15_56_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20587831 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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`=20587831 AND mptpi.`type`=4230 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20587832 order by id desc limit 1 Qualite : 0.19132518832464887 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20587833_15-02-2025_15_34_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20587833 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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`=20587833 AND mptpi.`type`=4230 To do Qualite : 0.21976665625005454 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20588020_15-02-2025_16_02_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20588020 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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`=20588020 AND mptpi.`type`=4230 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20588021 order by id desc limit 1 Qualite : 0.2621999938673687 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20588022_15-02-2025_16_22_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20588022 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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`=20588022 AND mptpi.`type`=4230 To do Qualite : 0.24246208844052905 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20588023_15-02-2025_16_11_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20588023 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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`=20588023 AND mptpi.`type`=4230 To do Qualite : 0.23837118901784263 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20588024_15-02-2025_16_16_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20588024 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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`=20588024 AND mptpi.`type`=4230 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'15022025': {'nb_upload': 2, 'nb_taggue_class': 2, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1337911201, 1337911199] Looping around the photos to save general results len do output : 1 /20588022Didn'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 ('4234', None, None, None, None, None, None, None, '2591131') ('4234', '20588022', '1337911201', None, None, None, None, None, '2591131') ('4234', None, None, None, None, None, None, None, '2591131') ('4234', '20588022', '1337911199', None, None, None, None, None, '2591131') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.018559932708740234 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.339732646942139 time spend to save output : 0.01874995231628418 total time spend for step 11 : 5.358482599258423 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 1 len(input) + len(total_photo_id_missing) : 2 set_done_treatment 32.15user 20.97system 1:59.76elapsed 44%CPU (0avgtext+0avgdata 2477260maxresident)k 1360inputs+10208outputs (37major+1941037minor)pagefaults 0swaps