python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 3318 ' -s datou_3318 -M 0 -S 0 -U 95,95,120 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 : 3635308 load datou : 3318 # 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 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 : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( 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 ? [ (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 ? 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 ? 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 ? 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 ? 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)) load thcls load THCL from format json or kwargs add thcl : 2847 in CacheModelConfig load pdts add pdt : 5275 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 : 3318, datou_cur_ids : ['2746901'] with mtr_portfolio_ids : ['22307367'] and first list_photo_ids : [] new path : /proc/3635308/ 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 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 : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 40 ; length of list_pids : 40 ; length of list_args : 40 time to download the photos : 11.02871298789978 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 : 10 step1:mask_detect Sat Apr 12 02:40:42 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 : 3031 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-04-12 02:40:46.698532: 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-04-12 02:40:46.727138: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-04-12 02:40:46.729434: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fd07c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-04-12 02:40:46.729496: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-04-12 02:40:46.732743: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-04-12 02:40:46.975484: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3595a9c0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-04-12 02:40:46.975524: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-04-12 02:40:46.976237: 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-04-12 02:40:46.977062: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-04-12 02:40:46.980408: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-04-12 02:40:46.991961: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-04-12 02:40:46.992464: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-04-12 02:40:47.013842: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-04-12 02:40:47.016567: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-04-12 02:40:47.046753: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-04-12 02:40:47.047796: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-04-12 02:40:47.048148: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-04-12 02:40:47.048679: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-04-12 02:40:47.0Using 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-04-12 02:41:01.158767: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-04-12 02:41:01.477960: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-04-12 02:41:03.250021: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-04-12 02:41:03.250094: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-04-12 02:41:03.256584: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-04-12 02:41:03.256608: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-04-12 02:41:03.308571: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-04-12 02:41:03.308639: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-04-12 02:41:03.350291: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-04-12 02:41:03.350317: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-04-12 02:41:03.401194: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-04-12 02:41:03.401222: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-04-12 02:41:03.403579: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.52G (1632501760 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.404135: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.37G (1469251584 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.726298: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-04-12 02:41:03.769377: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.770499: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.771975: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.772991: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.783188: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.783751: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.784327: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.784884: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.785454: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.786051: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.800460: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.801028: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.853558: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.854155: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.861968: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.862531: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.882594: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.883381: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.884155: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.884894: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.889133: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.889876: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.890613: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.891483: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.893093: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.893110: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-04-12 02:41:03.902573: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.903153: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.912000: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.912564: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.913131: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.913690: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.914256: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-04-12 02:41:03.914814: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 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 : 40 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 53 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 29 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 29 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 79 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 100 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 98 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 86 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 90 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 77 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 71 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 81 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 85 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 100 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 73 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 88 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 74 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 76 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 38 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 97 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 93 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 100 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 78 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 44 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 28 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 37 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 89 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 100 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 75 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 22 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 71 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 63 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 80 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 100 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 87 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 97 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 100 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 100 Detection mask done ! Trying to reset tf kernel 3636420 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1838 tf kernel not reseted sub process len(results) : 40 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 40 len(list_Values) 0 process is alive process is alive process is alive 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 : 6810 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! 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 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] time for calcul the mask position with numpy : 2.485672950744629 nb_pixel_total : 170267 time to create 1 rle with new method : 0.017997026443481445 length of segment : 654 time for calcul the mask position with numpy : 0.17822527885437012 nb_pixel_total : 14466 time to create 1 rle with old method : 0.021994352340698242 length of segment : 123 time for calcul the mask position with numpy : 0.32646727561950684 nb_pixel_total : 20245 time to create 1 rle with old method : 0.026660680770874023 length of segment : 194 time for calcul the mask position with numpy : 0.23274564743041992 nb_pixel_total : 22359 time to create 1 rle with old method : 0.029402732849121094 length of segment : 183 time for calcul the mask position with numpy : 0.43422627449035645 nb_pixel_total : 46524 time to create 1 rle with old method : 0.0553436279296875 length of segment : 353 time for calcul the mask position with numpy : 0.955094575881958 nb_pixel_total : 159357 time to create 1 rle with new method : 0.010422229766845703 length of segment : 375 time for calcul the mask position with numpy : 0.7678248882293701 nb_pixel_total : 84971 time to create 1 rle with old method : 0.09426450729370117 length of segment : 316 time for calcul the mask position with numpy : 0.4560353755950928 nb_pixel_total : 41592 time to create 1 rle with old method : 0.04898810386657715 length of segment : 240 time for calcul the mask position with numpy : 0.5465052127838135 nb_pixel_total : 111003 time to create 1 rle with old method : 0.12876343727111816 length of segment : 537 time for calcul the mask position with numpy : 0.16362524032592773 nb_pixel_total : 62514 time to create 1 rle with old method : 0.08202648162841797 length of segment : 306 time for calcul the mask position with numpy : 0.041290998458862305 nb_pixel_total : 22504 time to create 1 rle with old method : 0.02984619140625 length of segment : 207 time for calcul the mask position with numpy : 0.051726579666137695 nb_pixel_total : 110103 time to create 1 rle with old method : 0.16060996055603027 length of segment : 414 time for calcul the mask position with numpy : 0.12708783149719238 nb_pixel_total : 38233 time to create 1 rle with old method : 0.047905921936035156 length of segment : 249 time for calcul the mask position with numpy : 0.09960532188415527 nb_pixel_total : 27831 time to create 1 rle with old method : 0.03689861297607422 length of segment : 289 time for calcul the mask position with numpy : 0.29381251335144043 nb_pixel_total : 164863 time to create 1 rle with new method : 0.018167734146118164 length of segment : 546 time for calcul the mask position with numpy : 0.18412160873413086 nb_pixel_total : 69459 time to create 1 rle with old method : 0.08561015129089355 length of segment : 392 time for calcul the mask position with numpy : 0.08018946647644043 nb_pixel_total : 26304 time to create 1 rle with old method : 0.04089069366455078 length of segment : 251 time for calcul the mask position with numpy : 0.05549955368041992 nb_pixel_total : 22471 time to create 1 rle with old method : 0.034635066986083984 length of segment : 273 time for calcul the mask position with numpy : 0.15250706672668457 nb_pixel_total : 73639 time to create 1 rle with old method : 0.08727884292602539 length of segment : 501 time for calcul the mask position with numpy : 0.018358230590820312 nb_pixel_total : 13952 time to create 1 rle with old method : 0.01971292495727539 length of segment : 84 time for calcul the mask position with numpy : 0.012018442153930664 nb_pixel_total : 19171 time to create 1 rle with old method : 0.02987504005432129 length of segment : 203 time for calcul the mask position with numpy : 0.052999019622802734 nb_pixel_total : 53499 time to create 1 rle with old method : 0.06490802764892578 length of segment : 436 time for calcul the mask position with numpy : 0.0029897689819335938 nb_pixel_total : 5025 time to create 1 rle with old method : 0.005980968475341797 length of segment : 102 time for calcul the mask position with numpy : 0.016347885131835938 nb_pixel_total : 7078 time to create 1 rle with old method : 0.012735605239868164 length of segment : 100 time for calcul the mask position with numpy : 0.02071857452392578 nb_pixel_total : 30097 time to create 1 rle with old method : 0.04107165336608887 length of segment : 288 time for calcul the mask position with numpy : 0.046723365783691406 nb_pixel_total : 57429 time to create 1 rle with old method : 0.06898331642150879 length of segment : 246 time for calcul the mask position with numpy : 0.037125587463378906 nb_pixel_total : 20265 time to create 1 rle with old method : 0.04040050506591797 length of segment : 164 time for calcul the mask position with numpy : 0.36972689628601074 nb_pixel_total : 232956 time to create 1 rle with new method : 0.02414226531982422 length of segment : 525 time for calcul the mask position with numpy : 0.08449578285217285 nb_pixel_total : 92528 time to create 1 rle with old method : 0.11997485160827637 length of segment : 360 time for calcul the mask position with numpy : 0.23991179466247559 nb_pixel_total : 157214 time to create 1 rle with new method : 0.010530471801757812 length of segment : 551 time for calcul the mask position with numpy : 0.4437549114227295 nb_pixel_total : 473722 time to create 1 rle with new method : 0.2518618106842041 length of segment : 549 time for calcul the mask position with numpy : 0.006448268890380859 nb_pixel_total : 83209 time to create 1 rle with old method : 0.10268020629882812 length of segment : 414 time for calcul the mask position with numpy : 0.014726877212524414 nb_pixel_total : 7512 time to create 1 rle with old method : 0.014703989028930664 length of segment : 73 time for calcul the mask position with numpy : 0.265195369720459 nb_pixel_total : 248331 time to create 1 rle with new method : 0.016687870025634766 length of segment : 539 time for calcul the mask position with numpy : 0.02203822135925293 nb_pixel_total : 30283 time to create 1 rle with old method : 0.055908918380737305 length of segment : 293 time for calcul the mask position with numpy : 0.007241249084472656 nb_pixel_total : 14369 time to create 1 rle with old method : 0.016803503036499023 length of segment : 184 time for calcul the mask position with numpy : 0.022925376892089844 nb_pixel_total : 11240 time to create 1 rle with old method : 0.013314247131347656 length of segment : 127 time for calcul the mask position with numpy : 0.03367257118225098 nb_pixel_total : 16414 time to create 1 rle with old method : 0.02576470375061035 length of segment : 162 time for calcul the mask position with numpy : 0.07187604904174805 nb_pixel_total : 40292 time to create 1 rle with old method : 0.0509181022644043 length of segment : 199 time for calcul the mask position with numpy : 0.051023244857788086 nb_pixel_total : 22281 time to create 1 rle with old method : 0.028893470764160156 length of segment : 191 time for calcul the mask position with numpy : 0.15625977516174316 nb_pixel_total : 58402 time to create 1 rle with old method : 0.0689246654510498 length of segment : 382 time for calcul the mask position with numpy : 0.5028142929077148 nb_pixel_total : 433021 time to create 1 rle with new method : 0.0457768440246582 length of segment : 1033 time for calcul the mask position with numpy : 0.06328630447387695 nb_pixel_total : 38313 time to create 1 rle with old method : 0.05178475379943848 length of segment : 316 time for calcul the mask position with numpy : 0.1284949779510498 nb_pixel_total : 94499 time to create 1 rle with old method : 0.13285374641418457 length of segment : 363 time for calcul the mask position with numpy : 0.604264497756958 nb_pixel_total : 461679 time to create 1 rle with new method : 0.05081677436828613 length of segment : 947 time for calcul the mask position with numpy : 0.06946325302124023 nb_pixel_total : 33572 time to create 1 rle with old method : 0.04222893714904785 length of segment : 187 time for calcul the mask position with numpy : 0.0005128383636474609 nb_pixel_total : 23692 time to create 1 rle with old method : 0.02734971046447754 length of segment : 179 time for calcul the mask position with numpy : 0.16680908203125 nb_pixel_total : 86345 time to create 1 rle with old method : 0.10348773002624512 length of segment : 302 time for calcul the mask position with numpy : 0.11324167251586914 nb_pixel_total : 61476 time to create 1 rle with old method : 0.07957839965820312 length of segment : 391 time for calcul the mask position with numpy : 0.03287672996520996 nb_pixel_total : 15244 time to create 1 rle with old method : 0.02217864990234375 length of segment : 163 time for calcul the mask position with numpy : 0.19210410118103027 nb_pixel_total : 182281 time to create 1 rle with new method : 0.015609979629516602 length of segment : 778 time for calcul the mask position with numpy : 0.0028693675994873047 nb_pixel_total : 6735 time to create 1 rle with old method : 0.008012056350708008 length of segment : 86 time for calcul the mask position with numpy : 0.0328218936920166 nb_pixel_total : 43128 time to create 1 rle with old method : 0.0564730167388916 length of segment : 255 time for calcul the mask position with numpy : 0.08696770668029785 nb_pixel_total : 34881 time to create 1 rle with old method : 0.04280257225036621 length of segment : 405 time for calcul the mask position with numpy : 0.14370274543762207 nb_pixel_total : 74687 time to create 1 rle with old method : 0.09365057945251465 length of segment : 472 time for calcul the mask position with numpy : 0.0004131793975830078 nb_pixel_total : 11612 time to create 1 rle with old method : 0.013632774353027344 length of segment : 247 time for calcul the mask position with numpy : 0.3430173397064209 nb_pixel_total : 86187 time to create 1 rle with old method : 0.10686874389648438 length of segment : 401 time for calcul the mask position with numpy : 0.042029619216918945 nb_pixel_total : 8144 time to create 1 rle with old method : 0.013886213302612305 length of segment : 98 time for calcul the mask position with numpy : 0.0959782600402832 nb_pixel_total : 19607 time to create 1 rle with old method : 0.026720523834228516 length of segment : 217 time for calcul the mask position with numpy : 0.03767561912536621 nb_pixel_total : 8551 time to create 1 rle with old method : 0.010458230972290039 length of segment : 102 time for calcul the mask position with numpy : 0.30570244789123535 nb_pixel_total : 111578 time to create 1 rle with old method : 0.13175439834594727 length of segment : 407 time for calcul the mask position with numpy : 0.12651300430297852 nb_pixel_total : 48060 time to create 1 rle with old method : 0.0561678409576416 length of segment : 301 time for calcul the mask position with numpy : 0.10404014587402344 nb_pixel_total : 26787 time to create 1 rle with old method : 0.03451943397521973 length of segment : 213 time for calcul the mask position with numpy : 0.1280961036682129 nb_pixel_total : 31858 time to create 1 rle with old method : 0.0471041202545166 length of segment : 273 time for calcul the mask position with numpy : 0.05347013473510742 nb_pixel_total : 20558 time to create 1 rle with old method : 0.024204015731811523 length of segment : 172 time for calcul the mask position with numpy : 0.04539155960083008 nb_pixel_total : 14654 time to create 1 rle with old method : 0.023205280303955078 length of segment : 119 time for calcul the mask position with numpy : 0.0006532669067382812 nb_pixel_total : 21976 time to create 1 rle with old method : 0.02465987205505371 length of segment : 187 time for calcul the mask position with numpy : 0.026494979858398438 nb_pixel_total : 22110 time to create 1 rle with old method : 0.03926539421081543 length of segment : 165 time for calcul the mask position with numpy : 0.14355993270874023 nb_pixel_total : 40914 time to create 1 rle with old method : 0.05789351463317871 length of segment : 313 time for calcul the mask position with numpy : 0.09130525588989258 nb_pixel_total : 37108 time to create 1 rle with old method : 0.04276442527770996 length of segment : 204 time for calcul the mask position with numpy : 0.02329730987548828 nb_pixel_total : 17372 time to create 1 rle with old method : 0.02460622787475586 length of segment : 126 time for calcul the mask position with numpy : 0.0520176887512207 nb_pixel_total : 20455 time to create 1 rle with old method : 0.02899003028869629 length of segment : 208 time for calcul the mask position with numpy : 0.037982940673828125 nb_pixel_total : 17433 time to create 1 rle with old method : 0.024834871292114258 length of segment : 211 time for calcul the mask position with numpy : 0.04904770851135254 nb_pixel_total : 23066 time to create 1 rle with old method : 0.03151297569274902 length of segment : 257 time for calcul the mask position with numpy : 0.03503584861755371 nb_pixel_total : 16562 time to create 1 rle with old method : 0.022758007049560547 length of segment : 102 time for calcul the mask position with numpy : 0.19561123847961426 nb_pixel_total : 43551 time to create 1 rle with old method : 0.0532991886138916 length of segment : 379 time for calcul the mask position with numpy : 0.11408591270446777 nb_pixel_total : 29133 time to create 1 rle with old method : 0.05144858360290527 length of segment : 328 time for calcul the mask position with numpy : 0.07543015480041504 nb_pixel_total : 19713 time to create 1 rle with old method : 0.02931070327758789 length of segment : 303 time for calcul the mask position with numpy : 0.011499643325805664 nb_pixel_total : 5379 time to create 1 rle with old method : 0.0079498291015625 length of segment : 95 time for calcul the mask position with numpy : 0.02825450897216797 nb_pixel_total : 5592 time to create 1 rle with old method : 0.011867046356201172 length of segment : 80 time for calcul the mask position with numpy : 0.026749610900878906 nb_pixel_total : 4667 time to create 1 rle with old method : 0.00907754898071289 length of segment : 75 time for calcul the mask position with numpy : 0.07109880447387695 nb_pixel_total : 24449 time to create 1 rle with old method : 0.03193402290344238 length of segment : 130 time for calcul the mask position with numpy : 0.015321016311645508 nb_pixel_total : 5765 time to create 1 rle with old method : 0.006673097610473633 length of segment : 89 time for calcul the mask position with numpy : 0.03175854682922363 nb_pixel_total : 8477 time to create 1 rle with old method : 0.01443791389465332 length of segment : 76 time for calcul the mask position with numpy : 0.06495833396911621 nb_pixel_total : 14166 time to create 1 rle with old method : 0.019301176071166992 length of segment : 140 time for calcul the mask position with numpy : 0.07278084754943848 nb_pixel_total : 21511 time to create 1 rle with old method : 0.029763221740722656 length of segment : 230 time for calcul the mask position with numpy : 0.06433892250061035 nb_pixel_total : 28247 time to create 1 rle with old method : 0.036757707595825195 length of segment : 323 time for calcul the mask position with numpy : 0.037427663803100586 nb_pixel_total : 8214 time to create 1 rle with old method : 0.013834476470947266 length of segment : 129 time for calcul the mask position with numpy : 0.04640817642211914 nb_pixel_total : 15684 time to create 1 rle with old method : 0.020995378494262695 length of segment : 191 time for calcul the mask position with numpy : 0.1715531349182129 nb_pixel_total : 55404 time to create 1 rle with old method : 0.06480574607849121 length of segment : 463 time for calcul the mask position with numpy : 0.027405500411987305 nb_pixel_total : 4828 time to create 1 rle with old method : 0.008423566818237305 length of segment : 142 time for calcul the mask position with numpy : 0.11707925796508789 nb_pixel_total : 37828 time to create 1 rle with old method : 0.05352163314819336 length of segment : 225 time for calcul the mask position with numpy : 0.21256566047668457 nb_pixel_total : 45937 time to create 1 rle with old method : 0.055399179458618164 length of segment : 346 time for calcul the mask position with numpy : 0.3101499080657959 nb_pixel_total : 121977 time to create 1 rle with old method : 0.1381990909576416 length of segment : 464 time for calcul the mask position with numpy : 0.02370142936706543 nb_pixel_total : 9152 time to create 1 rle with old method : 0.02353978157043457 length of segment : 180 time for calcul the mask position with numpy : 0.011458873748779297 nb_pixel_total : 7286 time to create 1 rle with old method : 0.01636481285095215 length of segment : 94 time for calcul the mask position with numpy : 0.05963325500488281 nb_pixel_total : 19034 time to create 1 rle with old method : 0.02689194679260254 length of segment : 137 time for calcul the mask position with numpy : 0.021398544311523438 nb_pixel_total : 2702 time to create 1 rle with old method : 0.00537872314453125 length of segment : 60 time for calcul the mask position with numpy : 0.14822769165039062 nb_pixel_total : 27728 time to create 1 rle with old method : 0.03669619560241699 length of segment : 202 time for calcul the mask position with numpy : 0.08236479759216309 nb_pixel_total : 23373 time to create 1 rle with old method : 0.02986884117126465 length of segment : 267 time for calcul the mask position with numpy : 0.026529312133789062 nb_pixel_total : 4726 time to create 1 rle with old method : 0.008722543716430664 length of segment : 75 time for calcul the mask position with numpy : 0.29491448402404785 nb_pixel_total : 62345 time to create 1 rle with old method : 0.07532310485839844 length of segment : 295 time for calcul the mask position with numpy : 0.06465363502502441 nb_pixel_total : 10649 time to create 1 rle with old method : 0.01802659034729004 length of segment : 111 time for calcul the mask position with numpy : 0.0800018310546875 nb_pixel_total : 13153 time to create 1 rle with old method : 0.01735997200012207 length of segment : 144 time for calcul the mask position with numpy : 0.25455760955810547 nb_pixel_total : 38357 time to create 1 rle with old method : 0.06807494163513184 length of segment : 502 time for calcul the mask position with numpy : 0.1351008415222168 nb_pixel_total : 22396 time to create 1 rle with old method : 0.033838748931884766 length of segment : 278 time for calcul the mask position with numpy : 0.10851287841796875 nb_pixel_total : 31104 time to create 1 rle with old method : 0.04223990440368652 length of segment : 225 time for calcul the mask position with numpy : 0.5256936550140381 nb_pixel_total : 153753 time to create 1 rle with new method : 0.013167858123779297 length of segment : 512 time for calcul the mask position with numpy : 0.14741039276123047 nb_pixel_total : 39356 time to create 1 rle with old method : 0.047919273376464844 length of segment : 246 time for calcul the mask position with numpy : 0.20407938957214355 nb_pixel_total : 41979 time to create 1 rle with old method : 0.04754018783569336 length of segment : 326 time for calcul the mask position with numpy : 0.022211074829101562 nb_pixel_total : 5192 time to create 1 rle with old method : 0.0116424560546875 length of segment : 91 time for calcul the mask position with numpy : 0.031296491622924805 nb_pixel_total : 12023 time to create 1 rle with old method : 0.016759395599365234 length of segment : 107 time for calcul the mask position with numpy : 0.061964988708496094 nb_pixel_total : 13547 time to create 1 rle with old method : 0.018520355224609375 length of segment : 146 time for calcul the mask position with numpy : 0.1832890510559082 nb_pixel_total : 35566 time to create 1 rle with old method : 0.04288625717163086 length of segment : 398 time for calcul the mask position with numpy : 0.04232287406921387 nb_pixel_total : 28098 time to create 1 rle with old method : 0.032540082931518555 length of segment : 296 time for calcul the mask position with numpy : 0.5433623790740967 nb_pixel_total : 201922 time to create 1 rle with new method : 0.01967024803161621 length of segment : 875 time for calcul the mask position with numpy : 0.4416513442993164 nb_pixel_total : 139276 time to create 1 rle with old method : 0.1524646282196045 length of segment : 798 time for calcul the mask position with numpy : 0.0010366439819335938 nb_pixel_total : 45168 time to create 1 rle with old method : 0.05036425590515137 length of segment : 319 time for calcul the mask position with numpy : 0.0627131462097168 nb_pixel_total : 15478 time to create 1 rle with old method : 0.0223081111907959 length of segment : 107 time for calcul the mask position with numpy : 0.06168484687805176 nb_pixel_total : 11098 time to create 1 rle with old method : 0.01808309555053711 length of segment : 151 time for calcul the mask position with numpy : 0.12120604515075684 nb_pixel_total : 28257 time to create 1 rle with old method : 0.041944026947021484 length of segment : 241 time for calcul the mask position with numpy : 0.006241321563720703 nb_pixel_total : 21035 time to create 1 rle with old method : 0.027051210403442383 length of segment : 191 time for calcul the mask position with numpy : 0.20284318923950195 nb_pixel_total : 34521 time to create 1 rle with old method : 0.04021811485290527 length of segment : 476 time for calcul the mask position with numpy : 0.21268701553344727 nb_pixel_total : 30591 time to create 1 rle with old method : 0.0405731201171875 length of segment : 267 time for calcul the mask position with numpy : 0.035573482513427734 nb_pixel_total : 6578 time to create 1 rle with old method : 0.013005495071411133 length of segment : 106 time for calcul the mask position with numpy : 0.037979841232299805 nb_pixel_total : 22412 time to create 1 rle with old method : 0.03322458267211914 length of segment : 151 time for calcul the mask position with numpy : 0.0771791934967041 nb_pixel_total : 12748 time to create 1 rle with old method : 0.018996000289916992 length of segment : 135 time for calcul the mask position with numpy : 0.054024457931518555 nb_pixel_total : 10667 time to create 1 rle with old method : 0.017372846603393555 length of segment : 109 time for calcul the mask position with numpy : 0.0012524127960205078 nb_pixel_total : 13561 time to create 1 rle with old method : 0.015622138977050781 length of segment : 143 time for calcul the mask position with numpy : 0.024399757385253906 nb_pixel_total : 27157 time to create 1 rle with old method : 0.03622841835021973 length of segment : 195 time for calcul the mask position with numpy : 0.026014089584350586 nb_pixel_total : 4359 time to create 1 rle with old method : 0.008059263229370117 length of segment : 62 time for calcul the mask position with numpy : 0.08420443534851074 nb_pixel_total : 27520 time to create 1 rle with old method : 0.032296180725097656 length of segment : 134 time for calcul the mask position with numpy : 0.2213904857635498 nb_pixel_total : 53163 time to create 1 rle with old method : 0.07106566429138184 length of segment : 308 time for calcul the mask position with numpy : 0.0030670166015625 nb_pixel_total : 5034 time to create 1 rle with old method : 0.007794380187988281 length of segment : 102 time for calcul the mask position with numpy : 0.056920766830444336 nb_pixel_total : 16002 time to create 1 rle with old method : 0.024498462677001953 length of segment : 189 time for calcul the mask position with numpy : 0.04168200492858887 nb_pixel_total : 14959 time to create 1 rle with old method : 0.02379631996154785 length of segment : 188 time for calcul the mask position with numpy : 0.06807732582092285 nb_pixel_total : 27847 time to create 1 rle with old method : 0.04656672477722168 length of segment : 218 time for calcul the mask position with numpy : 0.11685299873352051 nb_pixel_total : 30652 time to create 1 rle with old method : 0.0393376350402832 length of segment : 133 time for calcul the mask position with numpy : 0.12045812606811523 nb_pixel_total : 28780 time to create 1 rle with old method : 0.046323299407958984 length of segment : 255 time for calcul the mask position with numpy : 0.053716182708740234 nb_pixel_total : 5691 time to create 1 rle with old method : 0.010231256484985352 length of segment : 118 time for calcul the mask position with numpy : 0.03684401512145996 nb_pixel_total : 12678 time to create 1 rle with old method : 0.021311044692993164 length of segment : 179 time for calcul the mask position with numpy : 0.1164102554321289 nb_pixel_total : 32641 time to create 1 rle with old method : 0.036847829818725586 length of segment : 223 time for calcul the mask position with numpy : 0.5586481094360352 nb_pixel_total : 238670 time to create 1 rle with new method : 0.027545690536499023 length of segment : 656 time for calcul the mask position with numpy : 0.0862581729888916 nb_pixel_total : 47223 time to create 1 rle with old method : 0.05698704719543457 length of segment : 301 time for calcul the mask position with numpy : 0.013909339904785156 nb_pixel_total : 12555 time to create 1 rle with old method : 0.018508195877075195 length of segment : 207 time for calcul the mask position with numpy : 0.19931983947753906 nb_pixel_total : 91033 time to create 1 rle with old method : 0.10586166381835938 length of segment : 437 time for calcul the mask position with numpy : 0.0667877197265625 nb_pixel_total : 27041 time to create 1 rle with old method : 0.03549361228942871 length of segment : 232 time for calcul the mask position with numpy : 0.05440020561218262 nb_pixel_total : 17314 time to create 1 rle with old method : 0.022589445114135742 length of segment : 244 time for calcul the mask position with numpy : 0.0019240379333496094 nb_pixel_total : 42703 time to create 1 rle with old method : 0.047775983810424805 length of segment : 225 time for calcul the mask position with numpy : 0.11271882057189941 nb_pixel_total : 92739 time to create 1 rle with old method : 0.1425631046295166 length of segment : 441 time for calcul the mask position with numpy : 0.07885241508483887 nb_pixel_total : 22551 time to create 1 rle with old method : 0.029182910919189453 length of segment : 183 time for calcul the mask position with numpy : 0.01716470718383789 nb_pixel_total : 32130 time to create 1 rle with old method : 0.04370403289794922 length of segment : 486 time for calcul the mask position with numpy : 0.29764270782470703 nb_pixel_total : 73890 time to create 1 rle with old method : 0.10500311851501465 length of segment : 313 time for calcul the mask position with numpy : 0.21451854705810547 nb_pixel_total : 40500 time to create 1 rle with old method : 0.08181095123291016 length of segment : 316 time for calcul the mask position with numpy : 0.13773298263549805 nb_pixel_total : 19340 time to create 1 rle with old method : 0.03174018859863281 length of segment : 256 time for calcul the mask position with numpy : 0.18811392784118652 nb_pixel_total : 22606 time to create 1 rle with old method : 0.0299985408782959 length of segment : 296 time for calcul the mask position with numpy : 0.11958527565002441 nb_pixel_total : 23804 time to create 1 rle with old method : 0.031177997589111328 length of segment : 207 time for calcul the mask position with numpy : 0.027635812759399414 nb_pixel_total : 3811 time to create 1 rle with old method : 0.0072901248931884766 length of segment : 65 time for calcul the mask position with numpy : 0.3076753616333008 nb_pixel_total : 65468 time to create 1 rle with old method : 0.07366323471069336 length of segment : 445 time for calcul the mask position with numpy : 0.3016321659088135 nb_pixel_total : 48849 time to create 1 rle with old method : 0.05569863319396973 length of segment : 353 time for calcul the mask position with numpy : 0.06926369667053223 nb_pixel_total : 24691 time to create 1 rle with old method : 0.03807711601257324 length of segment : 191 time for calcul the mask position with numpy : 0.13587093353271484 nb_pixel_total : 19127 time to create 1 rle with old method : 0.02532649040222168 length of segment : 214 time for calcul the mask position with numpy : 0.35535573959350586 nb_pixel_total : 39754 time to create 1 rle with old method : 0.08052659034729004 length of segment : 251 time for calcul the mask position with numpy : 0.2726893424987793 nb_pixel_total : 65237 time to create 1 rle with old method : 0.08282017707824707 length of segment : 379 time for calcul the mask position with numpy : 0.11416220664978027 nb_pixel_total : 28226 time to create 1 rle with old method : 0.04172110557556152 length of segment : 230 time for calcul the mask position with numpy : 0.052220821380615234 nb_pixel_total : 11328 time to create 1 rle with old method : 0.016588449478149414 length of segment : 222 time for calcul the mask position with numpy : 0.08338069915771484 nb_pixel_total : 13850 time to create 1 rle with old method : 0.023538589477539062 length of segment : 130 time for calcul the mask position with numpy : 0.08919382095336914 nb_pixel_total : 16446 time to create 1 rle with old method : 0.02867579460144043 length of segment : 101 time for calcul the mask position with numpy : 0.16286206245422363 nb_pixel_total : 56707 time to create 1 rle with old method : 0.07387566566467285 length of segment : 408 time for calcul the mask position with numpy : 0.11152458190917969 nb_pixel_total : 20052 time to create 1 rle with old method : 0.027658462524414062 length of segment : 222 time for calcul the mask position with numpy : 0.1486968994140625 nb_pixel_total : 29356 time to create 1 rle with old method : 0.035834312438964844 length of segment : 235 time for calcul the mask position with numpy : 0.09827685356140137 nb_pixel_total : 25283 time to create 1 rle with old method : 0.032485246658325195 length of segment : 179 time for calcul the mask position with numpy : 0.12002086639404297 nb_pixel_total : 21412 time to create 1 rle with old method : 0.028460264205932617 length of segment : 171 time for calcul the mask position with numpy : 0.23140597343444824 nb_pixel_total : 72600 time to create 1 rle with old method : 0.10277724266052246 length of segment : 502 time for calcul the mask position with numpy : 0.06833505630493164 nb_pixel_total : 16266 time to create 1 rle with old method : 0.023814916610717773 length of segment : 244 time for calcul the mask position with numpy : 0.07002949714660645 nb_pixel_total : 25490 time to create 1 rle with old method : 0.033629655838012695 length of segment : 129 time for calcul the mask position with numpy : 0.0605623722076416 nb_pixel_total : 13013 time to create 1 rle with old method : 0.02194952964782715 length of segment : 143 time for calcul the mask position with numpy : 0.3285408020019531 nb_pixel_total : 91005 time to create 1 rle with old method : 0.11593413352966309 length of segment : 361 time for calcul the mask position with numpy : 0.04565238952636719 nb_pixel_total : 14788 time to create 1 rle with old method : 0.025394916534423828 length of segment : 150 time for calcul the mask position with numpy : 0.34088778495788574 nb_pixel_total : 86181 time to create 1 rle with old method : 0.09888863563537598 length of segment : 659 time for calcul the mask position with numpy : 0.23590970039367676 nb_pixel_total : 48135 time to create 1 rle with old method : 0.0704355239868164 length of segment : 319 time for calcul the mask position with numpy : 0.15221309661865234 nb_pixel_total : 40157 time to create 1 rle with old method : 0.04983949661254883 length of segment : 396 time for calcul the mask position with numpy : 0.06961297988891602 nb_pixel_total : 23323 time to create 1 rle with old method : 0.03088855743408203 length of segment : 262 time for calcul the mask position with numpy : 0.047307491302490234 nb_pixel_total : 12463 time to create 1 rle with old method : 0.019527912139892578 length of segment : 189 time for calcul the mask position with numpy : 0.12441492080688477 nb_pixel_total : 28364 time to create 1 rle with old method : 0.03402566909790039 length of segment : 402 time for calcul the mask position with numpy : 0.06870722770690918 nb_pixel_total : 24635 time to create 1 rle with old method : 0.03176450729370117 length of segment : 191 time for calcul the mask position with numpy : 0.06333804130554199 nb_pixel_total : 10758 time to create 1 rle with old method : 0.018318891525268555 length of segment : 329 time for calcul the mask position with numpy : 0.15068292617797852 nb_pixel_total : 29626 time to create 1 rle with old method : 0.046256303787231445 length of segment : 374 time for calcul the mask position with numpy : 0.1235818862915039 nb_pixel_total : 30635 time to create 1 rle with old method : 0.0415949821472168 length of segment : 229 time for calcul the mask position with numpy : 0.016224145889282227 nb_pixel_total : 4511 time to create 1 rle with old method : 0.007785320281982422 length of segment : 70 time for calcul the mask position with numpy : 0.13562369346618652 nb_pixel_total : 17492 time to create 1 rle with old method : 0.025295734405517578 length of segment : 201 time for calcul the mask position with numpy : 0.06876063346862793 nb_pixel_total : 12493 time to create 1 rle with old method : 0.017812013626098633 length of segment : 111 time for calcul the mask position with numpy : 0.04578232765197754 nb_pixel_total : 8986 time to create 1 rle with old method : 0.015300989151000977 length of segment : 148 time for calcul the mask position with numpy : 0.01279592514038086 nb_pixel_total : 5690 time to create 1 rle with old method : 0.0099639892578125 length of segment : 77 time for calcul the mask position with numpy : 0.002300262451171875 nb_pixel_total : 9519 time to create 1 rle with old method : 0.011071205139160156 length of segment : 135 time for calcul the mask position with numpy : 0.009802103042602539 nb_pixel_total : 14279 time to create 1 rle with old method : 0.020901918411254883 length of segment : 185 time for calcul the mask position with numpy : 0.01265096664428711 nb_pixel_total : 12514 time to create 1 rle with old method : 0.01446676254272461 length of segment : 123 time for calcul the mask position with numpy : 0.058502912521362305 nb_pixel_total : 34319 time to create 1 rle with old method : 0.044559478759765625 length of segment : 290 time for calcul the mask position with numpy : 0.03869128227233887 nb_pixel_total : 11710 time to create 1 rle with old method : 0.01805901527404785 length of segment : 150 time for calcul the mask position with numpy : 0.36482691764831543 nb_pixel_total : 80667 time to create 1 rle with old method : 0.09519076347351074 length of segment : 363 time for calcul the mask position with numpy : 0.06688094139099121 nb_pixel_total : 36376 time to create 1 rle with old method : 0.04480266571044922 length of segment : 341 time for calcul the mask position with numpy : 0.055497169494628906 nb_pixel_total : 24186 time to create 1 rle with old method : 0.032961130142211914 length of segment : 204 time for calcul the mask position with numpy : 0.00035643577575683594 nb_pixel_total : 14210 time to create 1 rle with old method : 0.023611783981323242 length of segment : 155 time for calcul the mask position with numpy : 0.000629425048828125 nb_pixel_total : 19339 time to create 1 rle with old method : 0.023235321044921875 length of segment : 157 time for calcul the mask position with numpy : 0.05317091941833496 nb_pixel_total : 21422 time to create 1 rle with old method : 0.02803778648376465 length of segment : 204 time for calcul the mask position with numpy : 0.12624382972717285 nb_pixel_total : 16594 time to create 1 rle with old method : 0.024535655975341797 length of segment : 143 time for calcul the mask position with numpy : 0.018869400024414062 nb_pixel_total : 10596 time to create 1 rle with old method : 0.017877817153930664 length of segment : 108 time for calcul the mask position with numpy : 0.35759973526000977 nb_pixel_total : 130598 time to create 1 rle with old method : 0.17643952369689941 length of segment : 638 time for calcul the mask position with numpy : 0.19057750701904297 nb_pixel_total : 77764 time to create 1 rle with old method : 0.1181480884552002 length of segment : 442 time for calcul the mask position with numpy : 0.0540766716003418 nb_pixel_total : 16155 time to create 1 rle with old method : 0.02740621566772461 length of segment : 204 time for calcul the mask position with numpy : 0.03665924072265625 nb_pixel_total : 25369 time to create 1 rle with old method : 0.04053020477294922 length of segment : 246 time for calcul the mask position with numpy : 0.09116387367248535 nb_pixel_total : 27826 time to create 1 rle with old method : 0.03658437728881836 length of segment : 224 time for calcul the mask position with numpy : 0.19046616554260254 nb_pixel_total : 24508 time to create 1 rle with old method : 0.030692338943481445 length of segment : 197 time for calcul the mask position with numpy : 0.12439322471618652 nb_pixel_total : 38200 time to create 1 rle with old method : 0.04886889457702637 length of segment : 242 time for calcul the mask position with numpy : 0.11270689964294434 nb_pixel_total : 22665 time to create 1 rle with old method : 0.039537906646728516 length of segment : 296 time for calcul the mask position with numpy : 0.33532118797302246 nb_pixel_total : 89719 time to create 1 rle with old method : 0.10286569595336914 length of segment : 335 time for calcul the mask position with numpy : 0.019738197326660156 nb_pixel_total : 4000 time to create 1 rle with old method : 0.008807182312011719 length of segment : 64 time for calcul the mask position with numpy : 0.27860283851623535 nb_pixel_total : 85230 time to create 1 rle with old method : 0.10625672340393066 length of segment : 620 time for calcul the mask position with numpy : 0.07094478607177734 nb_pixel_total : 14341 time to create 1 rle with old method : 0.019890785217285156 length of segment : 225 time for calcul the mask position with numpy : 0.21695303916931152 nb_pixel_total : 41799 time to create 1 rle with old method : 0.04927563667297363 length of segment : 428 time for calcul the mask position with numpy : 0.2343158721923828 nb_pixel_total : 46732 time to create 1 rle with old method : 0.05786323547363281 length of segment : 323 time for calcul the mask position with numpy : 0.1727442741394043 nb_pixel_total : 33601 time to create 1 rle with old method : 0.04629683494567871 length of segment : 209 time for calcul the mask position with numpy : 0.018871307373046875 nb_pixel_total : 21507 time to create 1 rle with old method : 0.027899742126464844 length of segment : 181 time for calcul the mask position with numpy : 0.07240104675292969 nb_pixel_total : 15980 time to create 1 rle with old method : 0.023227214813232422 length of segment : 213 time for calcul the mask position with numpy : 0.06760096549987793 nb_pixel_total : 28918 time to create 1 rle with old method : 0.03660988807678223 length of segment : 141 time for calcul the mask position with numpy : 0.09395551681518555 nb_pixel_total : 30829 time to create 1 rle with old method : 0.03790688514709473 length of segment : 222 time for calcul the mask position with numpy : 0.07713890075683594 nb_pixel_total : 17451 time to create 1 rle with old method : 0.03577828407287598 length of segment : 165 time for calcul the mask position with numpy : 0.12993097305297852 nb_pixel_total : 44648 time to create 1 rle with old method : 0.05997824668884277 length of segment : 286 time for calcul the mask position with numpy : 0.6907169818878174 nb_pixel_total : 165891 time to create 1 rle with new method : 0.03144240379333496 length of segment : 853 time for calcul the mask position with numpy : 0.4226677417755127 nb_pixel_total : 149987 time to create 1 rle with old method : 0.16869330406188965 length of segment : 802 time for calcul the mask position with numpy : 0.16565299034118652 nb_pixel_total : 55907 time to create 1 rle with old method : 0.06499576568603516 length of segment : 356 time for calcul the mask position with numpy : 0.02807927131652832 nb_pixel_total : 11100 time to create 1 rle with old method : 0.016412973403930664 length of segment : 100 time for calcul the mask position with numpy : 0.11147832870483398 nb_pixel_total : 73481 time to create 1 rle with old method : 0.08524870872497559 length of segment : 471 time for calcul the mask position with numpy : 0.11215734481811523 nb_pixel_total : 58419 time to create 1 rle with old method : 0.08266162872314453 length of segment : 457 time for calcul the mask position with numpy : 0.07468557357788086 nb_pixel_total : 13684 time to create 1 rle with old method : 0.022505998611450195 length of segment : 173 time for calcul the mask position with numpy : 0.07597231864929199 nb_pixel_total : 16688 time to create 1 rle with old method : 0.021004676818847656 length of segment : 155 time for calcul the mask position with numpy : 0.07738518714904785 nb_pixel_total : 13330 time to create 1 rle with old method : 0.01773810386657715 length of segment : 146 time for calcul the mask position with numpy : 0.043967485427856445 nb_pixel_total : 29310 time to create 1 rle with old method : 0.03289484977722168 length of segment : 235 time for calcul the mask position with numpy : 0.0663604736328125 nb_pixel_total : 20565 time to create 1 rle with old method : 0.024083852767944336 length of segment : 178 time for calcul the mask position with numpy : 0.07454156875610352 nb_pixel_total : 17270 time to create 1 rle with old method : 0.023140668869018555 length of segment : 106 time for calcul the mask position with numpy : 0.11093497276306152 nb_pixel_total : 32888 time to create 1 rle with old method : 0.04104900360107422 length of segment : 194 time for calcul the mask position with numpy : 0.03154349327087402 nb_pixel_total : 8328 time to create 1 rle with old method : 0.01328134536743164 length of segment : 159 time for calcul the mask position with numpy : 0.0003662109375 nb_pixel_total : 12883 time to create 1 rle with old method : 0.014627695083618164 length of segment : 147 time for calcul the mask position with numpy : 0.0028498172760009766 nb_pixel_total : 104179 time to create 1 rle with old method : 0.11370968818664551 length of segment : 480 time for calcul the mask position with numpy : 0.002679109573364258 nb_pixel_total : 10808 time to create 1 rle with old method : 0.015153884887695312 length of segment : 140 time for calcul the mask position with numpy : 0.005196332931518555 nb_pixel_total : 5223 time to create 1 rle with old method : 0.0076045989990234375 length of segment : 93 time for calcul the mask position with numpy : 0.015553474426269531 nb_pixel_total : 6614 time to create 1 rle with old method : 0.012207746505737305 length of segment : 88 time for calcul the mask position with numpy : 0.06011843681335449 nb_pixel_total : 16459 time to create 1 rle with old method : 0.025969266891479492 length of segment : 156 time for calcul the mask position with numpy : 0.10619020462036133 nb_pixel_total : 28426 time to create 1 rle with old method : 0.03508925437927246 length of segment : 171 time for calcul the mask position with numpy : 0.007864952087402344 nb_pixel_total : 4668 time to create 1 rle with old method : 0.007211208343505859 length of segment : 70 time for calcul the mask position with numpy : 0.03785872459411621 nb_pixel_total : 55936 time to create 1 rle with old method : 0.06402873992919922 length of segment : 415 time for calcul the mask position with numpy : 0.039243221282958984 nb_pixel_total : 14656 time to create 1 rle with old method : 0.019848346710205078 length of segment : 199 time for calcul the mask position with numpy : 0.17859148979187012 nb_pixel_total : 111242 time to create 1 rle with old method : 0.12149906158447266 length of segment : 575 time for calcul the mask position with numpy : 0.08080315589904785 nb_pixel_total : 32872 time to create 1 rle with old method : 0.03469538688659668 length of segment : 500 time for calcul the mask position with numpy : 0.127899169921875 nb_pixel_total : 37545 time to create 1 rle with old method : 0.04442429542541504 length of segment : 243 time for calcul the mask position with numpy : 0.1611804962158203 nb_pixel_total : 24242 time to create 1 rle with old method : 0.02717447280883789 length of segment : 297 time for calcul the mask position with numpy : 0.3426642417907715 nb_pixel_total : 76022 time to create 1 rle with old method : 0.08218264579772949 length of segment : 317 time for calcul the mask position with numpy : 0.14098072052001953 nb_pixel_total : 31567 time to create 1 rle with old method : 0.039469003677368164 length of segment : 224 time for calcul the mask position with numpy : 0.519965410232544 nb_pixel_total : 208412 time to create 1 rle with new method : 0.01913285255432129 length of segment : 867 time for calcul the mask position with numpy : 0.04828143119812012 nb_pixel_total : 23459 time to create 1 rle with old method : 0.02940225601196289 length of segment : 197 time for calcul the mask position with numpy : 0.05804276466369629 nb_pixel_total : 9384 time to create 1 rle with old method : 0.012619733810424805 length of segment : 133 time for calcul the mask position with numpy : 0.10464215278625488 nb_pixel_total : 19444 time to create 1 rle with old method : 0.02654290199279785 length of segment : 156 time for calcul the mask position with numpy : 0.17414522171020508 nb_pixel_total : 44185 time to create 1 rle with old method : 0.06046009063720703 length of segment : 258 time for calcul the mask position with numpy : 0.025470733642578125 nb_pixel_total : 4359 time to create 1 rle with old method : 0.008510589599609375 length of segment : 70 time for calcul the mask position with numpy : 0.23555517196655273 nb_pixel_total : 38607 time to create 1 rle with old method : 0.04703569412231445 length of segment : 513 time for calcul the mask position with numpy : 0.21313738822937012 nb_pixel_total : 48202 time to create 1 rle with old method : 0.055325984954833984 length of segment : 337 time for calcul the mask position with numpy : 0.13579535484313965 nb_pixel_total : 36759 time to create 1 rle with old method : 0.04224348068237305 length of segment : 320 time for calcul the mask position with numpy : 0.08511137962341309 nb_pixel_total : 30191 time to create 1 rle with old method : 0.03584790229797363 length of segment : 139 time for calcul the mask position with numpy : 0.11702418327331543 nb_pixel_total : 26440 time to create 1 rle with old method : 0.03160834312438965 length of segment : 239 time for calcul the mask position with numpy : 0.07700753211975098 nb_pixel_total : 15376 time to create 1 rle with old method : 0.020743846893310547 length of segment : 197 time for calcul the mask position with numpy : 0.14431357383728027 nb_pixel_total : 76550 time to create 1 rle with old method : 0.08591842651367188 length of segment : 470 time for calcul the mask position with numpy : 0.06409716606140137 nb_pixel_total : 14330 time to create 1 rle with old method : 0.01922321319580078 length of segment : 148 time for calcul the mask position with numpy : 0.07470226287841797 nb_pixel_total : 20240 time to create 1 rle with old method : 0.02842855453491211 length of segment : 169 time for calcul the mask position with numpy : 0.02166152000427246 nb_pixel_total : 11268 time to create 1 rle with old method : 0.017561674118041992 length of segment : 142 time for calcul the mask position with numpy : 0.2301943302154541 nb_pixel_total : 34839 time to create 1 rle with old method : 0.042838096618652344 length of segment : 335 time for calcul the mask position with numpy : 0.07520055770874023 nb_pixel_total : 26200 time to create 1 rle with old method : 0.03322601318359375 length of segment : 193 time for calcul the mask position with numpy : 0.07744812965393066 nb_pixel_total : 15582 time to create 1 rle with old method : 0.022066831588745117 length of segment : 227 time for calcul the mask position with numpy : 0.22857427597045898 nb_pixel_total : 55549 time to create 1 rle with old method : 0.06339740753173828 length of segment : 369 time for calcul the mask position with numpy : 0.08222246170043945 nb_pixel_total : 24170 time to create 1 rle with old method : 0.0435032844543457 length of segment : 178 time for calcul the mask position with numpy : 0.07902812957763672 nb_pixel_total : 17424 time to create 1 rle with old method : 0.03191065788269043 length of segment : 98 time for calcul the mask position with numpy : 0.07988977432250977 nb_pixel_total : 29483 time to create 1 rle with old method : 0.036670684814453125 length of segment : 411 time for calcul the mask position with numpy : 0.1385209560394287 nb_pixel_total : 28623 time to create 1 rle with old method : 0.035750627517700195 length of segment : 184 time for calcul the mask position with numpy : 0.12396693229675293 nb_pixel_total : 26856 time to create 1 rle with old method : 0.047211647033691406 length of segment : 210 time for calcul the mask position with numpy : 0.09249520301818848 nb_pixel_total : 30220 time to create 1 rle with old method : 0.038051605224609375 length of segment : 268 time for calcul the mask position with numpy : 0.05464959144592285 nb_pixel_total : 23540 time to create 1 rle with old method : 0.0299074649810791 length of segment : 124 time for calcul the mask position with numpy : 0.0013175010681152344 nb_pixel_total : 16691 time to create 1 rle with old method : 0.018090486526489258 length of segment : 182 time for calcul the mask position with numpy : 0.07732152938842773 nb_pixel_total : 15224 time to create 1 rle with old method : 0.02249598503112793 length of segment : 175 time for calcul the mask position with numpy : 0.01963329315185547 nb_pixel_total : 4294 time to create 1 rle with old method : 0.008422613143920898 length of segment : 80 time for calcul the mask position with numpy : 0.04398632049560547 nb_pixel_total : 12512 time to create 1 rle with old method : 0.01657247543334961 length of segment : 122 time for calcul the mask position with numpy : 0.010575532913208008 nb_pixel_total : 9974 time to create 1 rle with old method : 0.01440739631652832 length of segment : 87 time for calcul the mask position with numpy : 0.11531925201416016 nb_pixel_total : 28231 time to create 1 rle with old method : 0.037577152252197266 length of segment : 284 time for calcul the mask position with numpy : 0.15033650398254395 nb_pixel_total : 80544 time to create 1 rle with old method : 0.1405336856842041 length of segment : 538 time for calcul the mask position with numpy : 0.008545160293579102 nb_pixel_total : 5947 time to create 1 rle with old method : 0.008685111999511719 length of segment : 81 time for calcul the mask position with numpy : 0.15877580642700195 nb_pixel_total : 34106 time to create 1 rle with old method : 0.06918644905090332 length of segment : 273 time for calcul the mask position with numpy : 0.07857394218444824 nb_pixel_total : 17047 time to create 1 rle with old method : 0.0312957763671875 length of segment : 240 time for calcul the mask position with numpy : 0.07653379440307617 nb_pixel_total : 22506 time to create 1 rle with old method : 0.04183650016784668 length of segment : 386 time for calcul the mask position with numpy : 0.16103816032409668 nb_pixel_total : 44317 time to create 1 rle with old method : 0.05304384231567383 length of segment : 228 time for calcul the mask position with numpy : 0.15728187561035156 nb_pixel_total : 29226 time to create 1 rle with old method : 0.03592061996459961 length of segment : 281 time for calcul the mask position with numpy : 0.12295269966125488 nb_pixel_total : 28150 time to create 1 rle with old method : 0.03733706474304199 length of segment : 211 time for calcul the mask position with numpy : 0.03081035614013672 nb_pixel_total : 6431 time to create 1 rle with old method : 0.010962724685668945 length of segment : 78 time for calcul the mask position with numpy : 0.13291382789611816 nb_pixel_total : 35438 time to create 1 rle with old method : 0.043503761291503906 length of segment : 217 time for calcul the mask position with numpy : 0.28387451171875 nb_pixel_total : 58612 time to create 1 rle with old method : 0.07471823692321777 length of segment : 322 time for calcul the mask position with numpy : 0.08758068084716797 nb_pixel_total : 23843 time to create 1 rle with old method : 0.03105020523071289 length of segment : 136 time for calcul the mask position with numpy : 0.06133913993835449 nb_pixel_total : 12643 time to create 1 rle with old method : 0.02696847915649414 length of segment : 168 time for calcul the mask position with numpy : 0.18212318420410156 nb_pixel_total : 33547 time to create 1 rle with old method : 0.039945125579833984 length of segment : 383 time for calcul the mask position with numpy : 0.3650319576263428 nb_pixel_total : 57681 time to create 1 rle with old method : 0.07479429244995117 length of segment : 600 time for calcul the mask position with numpy : 0.04830622673034668 nb_pixel_total : 12174 time to create 1 rle with old method : 0.016210079193115234 length of segment : 103 time for calcul the mask position with numpy : 0.31363940238952637 nb_pixel_total : 67996 time to create 1 rle with old method : 0.0780496597290039 length of segment : 503 time for calcul the mask position with numpy : 0.0843651294708252 nb_pixel_total : 15629 time to create 1 rle with old method : 0.02167820930480957 length of segment : 157 time for calcul the mask position with numpy : 0.10988330841064453 nb_pixel_total : 24557 time to create 1 rle with old method : 0.031469106674194336 length of segment : 256 time for calcul the mask position with numpy : 0.04958462715148926 nb_pixel_total : 15967 time to create 1 rle with old method : 0.02637314796447754 length of segment : 112 time for calcul the mask position with numpy : 0.04397439956665039 nb_pixel_total : 11156 time to create 1 rle with old method : 0.01787567138671875 length of segment : 112 time for calcul the mask position with numpy : 0.18295955657958984 nb_pixel_total : 77939 time to create 1 rle with old method : 0.09369230270385742 length of segment : 281 time for calcul the mask position with numpy : 0.06529927253723145 nb_pixel_total : 3839 time to create 1 rle with old method : 0.0073089599609375 length of segment : 228 time for calcul the mask position with numpy : 0.09868955612182617 nb_pixel_total : 22792 time to create 1 rle with old method : 0.030855655670166016 length of segment : 126 time for calcul the mask position with numpy : 0.17443370819091797 nb_pixel_total : 49400 time to create 1 rle with old method : 0.061239004135131836 length of segment : 458 time for calcul the mask position with numpy : 0.01269221305847168 nb_pixel_total : 21278 time to create 1 rle with old method : 0.027925729751586914 length of segment : 234 time for calcul the mask position with numpy : 0.09694123268127441 nb_pixel_total : 24772 time to create 1 rle with old method : 0.02927875518798828 length of segment : 297 time for calcul the mask position with numpy : 0.08414244651794434 nb_pixel_total : 51378 time to create 1 rle with old method : 0.06415009498596191 length of segment : 306 time for calcul the mask position with numpy : 0.024984121322631836 nb_pixel_total : 10600 time to create 1 rle with old method : 0.019072771072387695 length of segment : 144 time for calcul the mask position with numpy : 0.06014084815979004 nb_pixel_total : 17321 time to create 1 rle with old method : 0.03133440017700195 length of segment : 154 time for calcul the mask position with numpy : 0.02328014373779297 nb_pixel_total : 18213 time to create 1 rle with old method : 0.02463817596435547 length of segment : 111 time for calcul the mask position with numpy : 0.03632307052612305 nb_pixel_total : 5470 time to create 1 rle with old method : 0.010174274444580078 length of segment : 91 time for calcul the mask position with numpy : 0.36475563049316406 nb_pixel_total : 186414 time to create 1 rle with new method : 0.0184781551361084 length of segment : 757 time for calcul the mask position with numpy : 0.0306699275970459 nb_pixel_total : 21068 time to create 1 rle with old method : 0.024388551712036133 length of segment : 173 time for calcul the mask position with numpy : 0.0005419254302978516 nb_pixel_total : 9043 time to create 1 rle with old method : 0.010803461074829102 length of segment : 192 time for calcul the mask position with numpy : 0.046613216400146484 nb_pixel_total : 22235 time to create 1 rle with old method : 0.035661935806274414 length of segment : 202 time for calcul the mask position with numpy : 0.0017371177673339844 nb_pixel_total : 24100 time to create 1 rle with old method : 0.030612468719482422 length of segment : 220 time for calcul the mask position with numpy : 0.15662693977355957 nb_pixel_total : 54396 time to create 1 rle with old method : 0.0732567310333252 length of segment : 297 time for calcul the mask position with numpy : 0.05148148536682129 nb_pixel_total : 14309 time to create 1 rle with old method : 0.022097349166870117 length of segment : 154 time for calcul the mask position with numpy : 0.07778167724609375 nb_pixel_total : 13954 time to create 1 rle with old method : 0.020125150680541992 length of segment : 168 time for calcul the mask position with numpy : 0.11456942558288574 nb_pixel_total : 61436 time to create 1 rle with old method : 0.09332799911499023 length of segment : 222 time for calcul the mask position with numpy : 0.0697488784790039 nb_pixel_total : 26176 time to create 1 rle with old method : 0.03597092628479004 length of segment : 211 time for calcul the mask position with numpy : 0.025487184524536133 nb_pixel_total : 14991 time to create 1 rle with old method : 0.02213144302368164 length of segment : 158 time for calcul the mask position with numpy : 0.0251162052154541 nb_pixel_total : 7784 time to create 1 rle with old method : 0.016021728515625 length of segment : 67 time for calcul the mask position with numpy : 0.006685733795166016 nb_pixel_total : 13092 time to create 1 rle with old method : 0.01668262481689453 length of segment : 140 time for calcul the mask position with numpy : 0.033452749252319336 nb_pixel_total : 14174 time to create 1 rle with old method : 0.019600629806518555 length of segment : 169 time for calcul the mask position with numpy : 0.013207197189331055 nb_pixel_total : 12982 time to create 1 rle with old method : 0.02199554443359375 length of segment : 99 time for calcul the mask position with numpy : 0.08893990516662598 nb_pixel_total : 23071 time to create 1 rle with old method : 0.030298948287963867 length of segment : 221 time for calcul the mask position with numpy : 0.09803104400634766 nb_pixel_total : 38497 time to create 1 rle with old method : 0.04631400108337402 length of segment : 292 time for calcul the mask position with numpy : 0.044448137283325195 nb_pixel_total : 36699 time to create 1 rle with old method : 0.050858259201049805 length of segment : 297 time for calcul the mask position with numpy : 0.11399221420288086 nb_pixel_total : 56115 time to create 1 rle with old method : 0.06949996948242188 length of segment : 337 time for calcul the mask position with numpy : 0.02292943000793457 nb_pixel_total : 5021 time to create 1 rle with old method : 0.00993037223815918 length of segment : 85 time for calcul the mask position with numpy : 0.22770047187805176 nb_pixel_total : 72555 time to create 1 rle with old method : 0.09331440925598145 length of segment : 413 time for calcul the mask position with numpy : 0.07472848892211914 nb_pixel_total : 17927 time to create 1 rle with old method : 0.024678707122802734 length of segment : 208 time for calcul the mask position with numpy : 0.08883547782897949 nb_pixel_total : 15767 time to create 1 rle with old method : 0.0217287540435791 length of segment : 207 time for calcul the mask position with numpy : 0.23712706565856934 nb_pixel_total : 61512 time to create 1 rle with old method : 0.07628393173217773 length of segment : 713 time for calcul the mask position with numpy : 0.08051896095275879 nb_pixel_total : 19859 time to create 1 rle with old method : 0.02954554557800293 length of segment : 162 time for calcul the mask position with numpy : 0.03923964500427246 nb_pixel_total : 6573 time to create 1 rle with old method : 0.012454032897949219 length of segment : 99 time for calcul the mask position with numpy : 0.06092953681945801 nb_pixel_total : 19667 time to create 1 rle with old method : 0.024699926376342773 length of segment : 127 time for calcul the mask position with numpy : 0.08715319633483887 nb_pixel_total : 20083 time to create 1 rle with old method : 0.039266347885131836 length of segment : 178 time for calcul the mask position with numpy : 0.16411662101745605 nb_pixel_total : 48505 time to create 1 rle with old method : 0.0731348991394043 length of segment : 270 time for calcul the mask position with numpy : 0.09159398078918457 nb_pixel_total : 24745 time to create 1 rle with old method : 0.03438830375671387 length of segment : 171 time for calcul the mask position with numpy : 0.17515134811401367 nb_pixel_total : 36054 time to create 1 rle with old method : 0.05480551719665527 length of segment : 294 time for calcul the mask position with numpy : 0.06892156600952148 nb_pixel_total : 21468 time to create 1 rle with old method : 0.026852130889892578 length of segment : 155 time for calcul the mask position with numpy : 0.06967329978942871 nb_pixel_total : 14592 time to create 1 rle with old method : 0.021962642669677734 length of segment : 147 time for calcul the mask position with numpy : 0.12429285049438477 nb_pixel_total : 41544 time to create 1 rle with old method : 0.055530548095703125 length of segment : 363 time for calcul the mask position with numpy : 0.1257772445678711 nb_pixel_total : 42059 time to create 1 rle with old method : 0.04608893394470215 length of segment : 299 time for calcul the mask position with numpy : 0.10351681709289551 nb_pixel_total : 30847 time to create 1 rle with old method : 0.03894615173339844 length of segment : 152 time for calcul the mask position with numpy : 0.26596641540527344 nb_pixel_total : 108736 time to create 1 rle with old method : 0.14893531799316406 length of segment : 379 time for calcul the mask position with numpy : 0.08554434776306152 nb_pixel_total : 17086 time to create 1 rle with old method : 0.02400374412536621 length of segment : 142 time for calcul the mask position with numpy : 0.035703420639038086 nb_pixel_total : 8246 time to create 1 rle with old method : 0.012397527694702148 length of segment : 133 time for calcul the mask position with numpy : 0.07376456260681152 nb_pixel_total : 17124 time to create 1 rle with old method : 0.02818155288696289 length of segment : 145 time for calcul the mask position with numpy : 0.05889391899108887 nb_pixel_total : 14650 time to create 1 rle with old method : 0.022446632385253906 length of segment : 130 time for calcul the mask position with numpy : 0.0007832050323486328 nb_pixel_total : 15610 time to create 1 rle with old method : 0.01923537254333496 length of segment : 123 time for calcul the mask position with numpy : 0.08708667755126953 nb_pixel_total : 12376 time to create 1 rle with old method : 0.02076125144958496 length of segment : 223 time for calcul the mask position with numpy : 0.03081798553466797 nb_pixel_total : 5556 time to create 1 rle with old method : 0.010817766189575195 length of segment : 57 time for calcul the mask position with numpy : 0.12354350090026855 nb_pixel_total : 31897 time to create 1 rle with old method : 0.0469975471496582 length of segment : 288 time for calcul the mask position with numpy : 0.027069091796875 nb_pixel_total : 13979 time to create 1 rle with old method : 0.023325443267822266 length of segment : 182 time for calcul the mask position with numpy : 0.10128974914550781 nb_pixel_total : 24893 time to create 1 rle with old method : 0.031307220458984375 length of segment : 259 time for calcul the mask position with numpy : 0.03834271430969238 nb_pixel_total : 12036 time to create 1 rle with old method : 0.03149294853210449 length of segment : 172 time for calcul the mask position with numpy : 0.025441646575927734 nb_pixel_total : 5553 time to create 1 rle with old method : 0.014838695526123047 length of segment : 92 time for calcul the mask position with numpy : 0.06888556480407715 nb_pixel_total : 23172 time to create 1 rle with old method : 0.03175926208496094 length of segment : 165 time for calcul the mask position with numpy : 0.2415938377380371 nb_pixel_total : 78470 time to create 1 rle with old method : 0.12730956077575684 length of segment : 373 time for calcul the mask position with numpy : 0.0002732276916503906 nb_pixel_total : 5659 time to create 1 rle with old method : 0.006841182708740234 length of segment : 87 time for calcul the mask position with numpy : 0.04252219200134277 nb_pixel_total : 10950 time to create 1 rle with old method : 0.018466472625732422 length of segment : 144 time for calcul the mask position with numpy : 0.05028247833251953 nb_pixel_total : 34619 time to create 1 rle with old method : 0.04532003402709961 length of segment : 222 time for calcul the mask position with numpy : 0.08064675331115723 nb_pixel_total : 16794 time to create 1 rle with old method : 0.02417469024658203 length of segment : 280 time for calcul the mask position with numpy : 0.07180523872375488 nb_pixel_total : 23870 time to create 1 rle with old method : 0.034546613693237305 length of segment : 213 time for calcul the mask position with numpy : 0.019156455993652344 nb_pixel_total : 7987 time to create 1 rle with old method : 0.011415481567382812 length of segment : 99 time for calcul the mask position with numpy : 0.05183672904968262 nb_pixel_total : 104302 time to create 1 rle with old method : 0.149444580078125 length of segment : 421 time for calcul the mask position with numpy : 0.10042262077331543 nb_pixel_total : 46417 time to create 1 rle with old method : 0.05436277389526367 length of segment : 217 time for calcul the mask position with numpy : 0.17591023445129395 nb_pixel_total : 105628 time to create 1 rle with old method : 0.13665032386779785 length of segment : 367 time for calcul the mask position with numpy : 0.07544875144958496 nb_pixel_total : 18720 time to create 1 rle with old method : 0.023952960968017578 length of segment : 177 time for calcul the mask position with numpy : 0.10550594329833984 nb_pixel_total : 17960 time to create 1 rle with old method : 0.027419328689575195 length of segment : 195 time for calcul the mask position with numpy : 0.06342411041259766 nb_pixel_total : 15991 time to create 1 rle with old method : 0.03187203407287598 length of segment : 161 time for calcul the mask position with numpy : 0.06813573837280273 nb_pixel_total : 12917 time to create 1 rle with old method : 0.019158124923706055 length of segment : 164 time for calcul the mask position with numpy : 0.0972898006439209 nb_pixel_total : 22167 time to create 1 rle with old method : 0.030411958694458008 length of segment : 156 time for calcul the mask position with numpy : 0.0901024341583252 nb_pixel_total : 26680 time to create 1 rle with old method : 0.035433053970336914 length of segment : 147 time for calcul the mask position with numpy : 0.17681336402893066 nb_pixel_total : 40513 time to create 1 rle with old method : 0.052709341049194336 length of segment : 189 time for calcul the mask position with numpy : 0.14371991157531738 nb_pixel_total : 30447 time to create 1 rle with old method : 0.03904891014099121 length of segment : 221 time for calcul the mask position with numpy : 0.15861916542053223 nb_pixel_total : 34142 time to create 1 rle with old method : 0.04996514320373535 length of segment : 386 time for calcul the mask position with numpy : 0.13517069816589355 nb_pixel_total : 48652 time to create 1 rle with old method : 0.06029200553894043 length of segment : 159 time for calcul the mask position with numpy : 0.01686882972717285 nb_pixel_total : 2801 time to create 1 rle with old method : 0.0060961246490478516 length of segment : 65 time for calcul the mask position with numpy : 0.12409353256225586 nb_pixel_total : 26168 time to create 1 rle with old method : 0.034044504165649414 length of segment : 186 time for calcul the mask position with numpy : 0.047883033752441406 nb_pixel_total : 8106 time to create 1 rle with old method : 0.014401674270629883 length of segment : 103 time for calcul the mask position with numpy : 0.07518458366394043 nb_pixel_total : 16523 time to create 1 rle with old method : 0.030357837677001953 length of segment : 206 time for calcul the mask position with numpy : 0.28429508209228516 nb_pixel_total : 62107 time to create 1 rle with old method : 0.07526731491088867 length of segment : 406 time for calcul the mask position with numpy : 0.23553776741027832 nb_pixel_total : 40434 time to create 1 rle with old method : 0.05149984359741211 length of segment : 264 time for calcul the mask position with numpy : 0.061110734939575195 nb_pixel_total : 13513 time to create 1 rle with old method : 0.025346755981445312 length of segment : 163 time for calcul the mask position with numpy : 0.13396120071411133 nb_pixel_total : 26921 time to create 1 rle with old method : 0.037969112396240234 length of segment : 274 time for calcul the mask position with numpy : 0.18032598495483398 nb_pixel_total : 47881 time to create 1 rle with old method : 0.057755231857299805 length of segment : 300 time for calcul the mask position with numpy : 0.08588361740112305 nb_pixel_total : 17164 time to create 1 rle with old method : 0.026591062545776367 length of segment : 175 time for calcul the mask position with numpy : 0.0815122127532959 nb_pixel_total : 23210 time to create 1 rle with old method : 0.03580737113952637 length of segment : 160 time for calcul the mask position with numpy : 0.05283951759338379 nb_pixel_total : 12134 time to create 1 rle with old method : 0.018062829971313477 length of segment : 108 time for calcul the mask position with numpy : 0.24233651161193848 nb_pixel_total : 113722 time to create 1 rle with old method : 0.1315455436706543 length of segment : 486 time for calcul the mask position with numpy : 0.017500638961791992 nb_pixel_total : 8520 time to create 1 rle with old method : 0.015037298202514648 length of segment : 137 time for calcul the mask position with numpy : 0.057509422302246094 nb_pixel_total : 14825 time to create 1 rle with old method : 0.022257328033447266 length of segment : 156 time for calcul the mask position with numpy : 0.19330525398254395 nb_pixel_total : 38767 time to create 1 rle with old method : 0.04980587959289551 length of segment : 254 time for calcul the mask position with numpy : 0.0269777774810791 nb_pixel_total : 9840 time to create 1 rle with old method : 0.01715707778930664 length of segment : 312 time for calcul the mask position with numpy : 0.028832197189331055 nb_pixel_total : 8572 time to create 1 rle with old method : 0.012172698974609375 length of segment : 79 time for calcul the mask position with numpy : 0.19471096992492676 nb_pixel_total : 55795 time to create 1 rle with old method : 0.07835555076599121 length of segment : 251 time for calcul the mask position with numpy : 0.09583497047424316 nb_pixel_total : 52860 time to create 1 rle with old method : 0.06339883804321289 length of segment : 269 time for calcul the mask position with numpy : 0.16213345527648926 nb_pixel_total : 61477 time to create 1 rle with old method : 0.07058906555175781 length of segment : 371 time for calcul the mask position with numpy : 0.04484748840332031 nb_pixel_total : 19494 time to create 1 rle with old method : 0.025740623474121094 length of segment : 187 time for calcul the mask position with numpy : 0.03293347358703613 nb_pixel_total : 8432 time to create 1 rle with old method : 0.01712632179260254 length of segment : 112 time for calcul the mask position with numpy : 0.06588268280029297 nb_pixel_total : 29552 time to create 1 rle with old method : 0.038436174392700195 length of segment : 180 time for calcul the mask position with numpy : 0.21246743202209473 nb_pixel_total : 70774 time to create 1 rle with old method : 0.09358549118041992 length of segment : 552 time for calcul the mask position with numpy : 0.06314468383789062 nb_pixel_total : 19706 time to create 1 rle with old method : 0.026828765869140625 length of segment : 179 time for calcul the mask position with numpy : 0.10572600364685059 nb_pixel_total : 34869 time to create 1 rle with old method : 0.046857595443725586 length of segment : 388 time for calcul the mask position with numpy : 0.00996088981628418 nb_pixel_total : 31156 time to create 1 rle with old method : 0.03818058967590332 length of segment : 191 time for calcul the mask position with numpy : 0.06784653663635254 nb_pixel_total : 36440 time to create 1 rle with old method : 0.04469585418701172 length of segment : 171 time for calcul the mask position with numpy : 0.19213151931762695 nb_pixel_total : 76483 time to create 1 rle with old method : 0.142686128616333 length of segment : 363 time for calcul the mask position with numpy : 0.07384347915649414 nb_pixel_total : 21480 time to create 1 rle with old method : 0.031503915786743164 length of segment : 212 time for calcul the mask position with numpy : 0.22449302673339844 nb_pixel_total : 59020 time to create 1 rle with old method : 0.06741619110107422 length of segment : 375 time for calcul the mask position with numpy : 0.05457472801208496 nb_pixel_total : 15761 time to create 1 rle with old method : 0.022671937942504883 length of segment : 104 time for calcul the mask position with numpy : 0.13572478294372559 nb_pixel_total : 35330 time to create 1 rle with old method : 0.0428922176361084 length of segment : 236 time for calcul the mask position with numpy : 0.10904455184936523 nb_pixel_total : 32369 time to create 1 rle with old method : 0.05270242691040039 length of segment : 311 time for calcul the mask position with numpy : 0.07909989356994629 nb_pixel_total : 26412 time to create 1 rle with old method : 0.033808231353759766 length of segment : 229 time for calcul the mask position with numpy : 0.049150943756103516 nb_pixel_total : 12658 time to create 1 rle with old method : 0.01654195785522461 length of segment : 121 time for calcul the mask position with numpy : 0.11624908447265625 nb_pixel_total : 25795 time to create 1 rle with old method : 0.037123918533325195 length of segment : 225 time for calcul the mask position with numpy : 0.07510757446289062 nb_pixel_total : 18803 time to create 1 rle with old method : 0.02746438980102539 length of segment : 215 time for calcul the mask position with numpy : 0.16802287101745605 nb_pixel_total : 59702 time to create 1 rle with old method : 0.07054734230041504 length of segment : 342 time for calcul the mask position with numpy : 0.1293048858642578 nb_pixel_total : 28927 time to create 1 rle with old method : 0.05390596389770508 length of segment : 347 time for calcul the mask position with numpy : 0.0619046688079834 nb_pixel_total : 18487 time to create 1 rle with old method : 0.024141550064086914 length of segment : 156 time for calcul the mask position with numpy : 0.1306438446044922 nb_pixel_total : 40110 time to create 1 rle with old method : 0.06298971176147461 length of segment : 206 time for calcul the mask position with numpy : 0.08549189567565918 nb_pixel_total : 25548 time to create 1 rle with old method : 0.03224372863769531 length of segment : 163 time for calcul the mask position with numpy : 0.06630802154541016 nb_pixel_total : 12903 time to create 1 rle with old method : 0.017444849014282227 length of segment : 129 time for calcul the mask position with numpy : 0.017847299575805664 nb_pixel_total : 4774 time to create 1 rle with old method : 0.009407281875610352 length of segment : 65 time for calcul the mask position with numpy : 0.006246328353881836 nb_pixel_total : 10617 time to create 1 rle with old method : 0.014543294906616211 length of segment : 164 time for calcul the mask position with numpy : 0.04048895835876465 nb_pixel_total : 23069 time to create 1 rle with old method : 0.030176401138305664 length of segment : 210 time for calcul the mask position with numpy : 0.04076814651489258 nb_pixel_total : 10395 time to create 1 rle with old method : 0.016753435134887695 length of segment : 115 time for calcul the mask position with numpy : 0.043212890625 nb_pixel_total : 10319 time to create 1 rle with old method : 0.016443967819213867 length of segment : 125 time for calcul the mask position with numpy : 0.027951717376708984 nb_pixel_total : 16320 time to create 1 rle with old method : 0.024094343185424805 length of segment : 154 time for calcul the mask position with numpy : 0.05383896827697754 nb_pixel_total : 42737 time to create 1 rle with old method : 0.05854487419128418 length of segment : 257 time for calcul the mask position with numpy : 0.17029023170471191 nb_pixel_total : 43099 time to create 1 rle with old method : 0.05288386344909668 length of segment : 519 time for calcul the mask position with numpy : 0.4239461421966553 nb_pixel_total : 109963 time to create 1 rle with old method : 0.13369011878967285 length of segment : 428 time for calcul the mask position with numpy : 0.1149909496307373 nb_pixel_total : 38360 time to create 1 rle with old method : 0.0538477897644043 length of segment : 201 time for calcul the mask position with numpy : 0.0004870891571044922 nb_pixel_total : 5836 time to create 1 rle with old method : 0.008586645126342773 length of segment : 67 time for calcul the mask position with numpy : 0.008054971694946289 nb_pixel_total : 14301 time to create 1 rle with old method : 0.02016901969909668 length of segment : 107 time for calcul the mask position with numpy : 0.2570662498474121 nb_pixel_total : 102483 time to create 1 rle with old method : 0.12034749984741211 length of segment : 331 time for calcul the mask position with numpy : 0.010317087173461914 nb_pixel_total : 5178 time to create 1 rle with old method : 0.01033329963684082 length of segment : 73 time for calcul the mask position with numpy : 0.12297439575195312 nb_pixel_total : 34075 time to create 1 rle with old method : 0.04407215118408203 length of segment : 217 time for calcul the mask position with numpy : 0.022666454315185547 nb_pixel_total : 3329 time to create 1 rle with old method : 0.006777763366699219 length of segment : 117 time for calcul the mask position with numpy : 0.026357412338256836 nb_pixel_total : 3111 time to create 1 rle with old method : 0.00716710090637207 length of segment : 80 time for calcul the mask position with numpy : 0.1791374683380127 nb_pixel_total : 68955 time to create 1 rle with old method : 0.11258292198181152 length of segment : 236 time for calcul the mask position with numpy : 0.00021338462829589844 nb_pixel_total : 3572 time to create 1 rle with old method : 0.004494905471801758 length of segment : 89 time for calcul the mask position with numpy : 0.051926612854003906 nb_pixel_total : 14064 time to create 1 rle with old method : 0.028943777084350586 length of segment : 139 time for calcul the mask position with numpy : 0.05772089958190918 nb_pixel_total : 27905 time to create 1 rle with old method : 0.03767108917236328 length of segment : 281 time for calcul the mask position with numpy : 0.11721205711364746 nb_pixel_total : 53135 time to create 1 rle with old method : 0.06541275978088379 length of segment : 312 time for calcul the mask position with numpy : 0.09350419044494629 nb_pixel_total : 55042 time to create 1 rle with old method : 0.06914138793945312 length of segment : 409 time for calcul the mask position with numpy : 0.023543357849121094 nb_pixel_total : 6136 time to create 1 rle with old method : 0.012218713760375977 length of segment : 72 time for calcul the mask position with numpy : 0.3131861686706543 nb_pixel_total : 95495 time to create 1 rle with old method : 0.11378931999206543 length of segment : 418 time for calcul the mask position with numpy : 0.12126302719116211 nb_pixel_total : 37718 time to create 1 rle with old method : 0.0547490119934082 length of segment : 286 time for calcul the mask position with numpy : 0.05563497543334961 nb_pixel_total : 10779 time to create 1 rle with old method : 0.01558828353881836 length of segment : 112 time for calcul the mask position with numpy : 0.3304264545440674 nb_pixel_total : 81713 time to create 1 rle with old method : 0.11393451690673828 length of segment : 319 time for calcul the mask position with numpy : 0.13579010963439941 nb_pixel_total : 37713 time to create 1 rle with old method : 0.052675724029541016 length of segment : 305 time for calcul the mask position with numpy : 0.0687570571899414 nb_pixel_total : 11426 time to create 1 rle with old method : 0.024073362350463867 length of segment : 134 time for calcul the mask position with numpy : 0.1138620376586914 nb_pixel_total : 39109 time to create 1 rle with old method : 0.06029963493347168 length of segment : 200 time for calcul the mask position with numpy : 0.0338129997253418 nb_pixel_total : 8769 time to create 1 rle with old method : 0.016222476959228516 length of segment : 97 time for calcul the mask position with numpy : 0.1488180160522461 nb_pixel_total : 81587 time to create 1 rle with old method : 0.12610459327697754 length of segment : 348 time for calcul the mask position with numpy : 0.12301826477050781 nb_pixel_total : 24677 time to create 1 rle with old method : 0.03052663803100586 length of segment : 309 time for calcul the mask position with numpy : 0.06400609016418457 nb_pixel_total : 14104 time to create 1 rle with old method : 0.02132129669189453 length of segment : 168 time for calcul the mask position with numpy : 0.2960994243621826 nb_pixel_total : 75787 time to create 1 rle with old method : 0.11353754997253418 length of segment : 478 time for calcul the mask position with numpy : 0.21946978569030762 nb_pixel_total : 107801 time to create 1 rle with old method : 0.13269758224487305 length of segment : 368 time for calcul the mask position with numpy : 0.03687620162963867 nb_pixel_total : 8225 time to create 1 rle with old method : 0.013586997985839844 length of segment : 148 time for calcul the mask position with numpy : 0.04999732971191406 nb_pixel_total : 14439 time to create 1 rle with old method : 0.02305293083190918 length of segment : 137 time for calcul the mask position with numpy : 0.0339665412902832 nb_pixel_total : 9799 time to create 1 rle with old method : 0.016445636749267578 length of segment : 78 time for calcul the mask position with numpy : 0.18259453773498535 nb_pixel_total : 73105 time to create 1 rle with old method : 0.09391975402832031 length of segment : 322 time for calcul the mask position with numpy : 0.05159282684326172 nb_pixel_total : 14605 time to create 1 rle with old method : 0.01632380485534668 length of segment : 160 time for calcul the mask position with numpy : 0.027128934860229492 nb_pixel_total : 6327 time to create 1 rle with old method : 0.006955385208129883 length of segment : 70 time for calcul the mask position with numpy : 0.04394197463989258 nb_pixel_total : 12279 time to create 1 rle with old method : 0.01955270767211914 length of segment : 148 time for calcul the mask position with numpy : 0.05590653419494629 nb_pixel_total : 19146 time to create 1 rle with old method : 0.032012224197387695 length of segment : 130 time for calcul the mask position with numpy : 0.02708148956298828 nb_pixel_total : 5957 time to create 1 rle with old method : 0.010122299194335938 length of segment : 95 time for calcul the mask position with numpy : 0.07704854011535645 nb_pixel_total : 29124 time to create 1 rle with old method : 0.03913068771362305 length of segment : 309 time for calcul the mask position with numpy : 0.057514190673828125 nb_pixel_total : 37213 time to create 1 rle with old method : 0.043440818786621094 length of segment : 202 time for calcul the mask position with numpy : 0.03612661361694336 nb_pixel_total : 19532 time to create 1 rle with old method : 0.025748729705810547 length of segment : 157 time for calcul the mask position with numpy : 0.14467644691467285 nb_pixel_total : 41140 time to create 1 rle with old method : 0.05219388008117676 length of segment : 220 time for calcul the mask position with numpy : 0.03782081604003906 nb_pixel_total : 20005 time to create 1 rle with old method : 0.02598714828491211 length of segment : 209 time for calcul the mask position with numpy : 0.16614198684692383 nb_pixel_total : 42403 time to create 1 rle with old method : 0.048708200454711914 length of segment : 264 time for calcul the mask position with numpy : 0.0636131763458252 nb_pixel_total : 30051 time to create 1 rle with old method : 0.036371469497680664 length of segment : 161 time for calcul the mask position with numpy : 0.06821990013122559 nb_pixel_total : 13950 time to create 1 rle with old method : 0.01905679702758789 length of segment : 160 time for calcul the mask position with numpy : 0.020231008529663086 nb_pixel_total : 4338 time to create 1 rle with old method : 0.007389545440673828 length of segment : 54 time for calcul the mask position with numpy : 0.08886194229125977 nb_pixel_total : 30060 time to create 1 rle with old method : 0.036303043365478516 length of segment : 156 time for calcul the mask position with numpy : 0.029937028884887695 nb_pixel_total : 95674 time to create 1 rle with old method : 0.11467838287353516 length of segment : 419 time for calcul the mask position with numpy : 0.0037496089935302734 nb_pixel_total : 4417 time to create 1 rle with old method : 0.005156517028808594 length of segment : 82 time for calcul the mask position with numpy : 0.06998300552368164 nb_pixel_total : 11399 time to create 1 rle with old method : 0.018069982528686523 length of segment : 139 time for calcul the mask position with numpy : 0.011323213577270508 nb_pixel_total : 6300 time to create 1 rle with old method : 0.009011507034301758 length of segment : 71 time for calcul the mask position with numpy : 0.026546239852905273 nb_pixel_total : 13316 time to create 1 rle with old method : 0.019720792770385742 length of segment : 146 time for calcul the mask position with numpy : 0.04347515106201172 nb_pixel_total : 17209 time to create 1 rle with old method : 0.021311283111572266 length of segment : 172 time for calcul the mask position with numpy : 0.06691408157348633 nb_pixel_total : 21641 time to create 1 rle with old method : 0.02755904197692871 length of segment : 168 time for calcul the mask position with numpy : 0.04928898811340332 nb_pixel_total : 31543 time to create 1 rle with old method : 0.04136157035827637 length of segment : 315 time for calcul the mask position with numpy : 0.032402992248535156 nb_pixel_total : 6560 time to create 1 rle with old method : 0.012362957000732422 length of segment : 96 time for calcul the mask position with numpy : 0.05324435234069824 nb_pixel_total : 23423 time to create 1 rle with old method : 0.06434082984924316 length of segment : 166 time for calcul the mask position with numpy : 0.005484580993652344 nb_pixel_total : 19621 time to create 1 rle with old method : 0.03240656852722168 length of segment : 166 time for calcul the mask position with numpy : 0.11044192314147949 nb_pixel_total : 36265 time to create 1 rle with old method : 0.046012163162231445 length of segment : 175 time for calcul the mask position with numpy : 0.006555795669555664 nb_pixel_total : 3429 time to create 1 rle with old method : 0.004212617874145508 length of segment : 66 time for calcul the mask position with numpy : 0.034399986267089844 nb_pixel_total : 5022 time to create 1 rle with old method : 0.006211280822753906 length of segment : 140 time for calcul the mask position with numpy : 0.015541315078735352 nb_pixel_total : 11706 time to create 1 rle with old method : 0.013605833053588867 length of segment : 134 time for calcul the mask position with numpy : 0.13858532905578613 nb_pixel_total : 54409 time to create 1 rle with old method : 0.06439638137817383 length of segment : 291 time for calcul the mask position with numpy : 0.005124568939208984 nb_pixel_total : 20351 time to create 1 rle with old method : 0.02514791488647461 length of segment : 214 time for calcul the mask position with numpy : 0.11893796920776367 nb_pixel_total : 29760 time to create 1 rle with old method : 0.03853249549865723 length of segment : 282 time for calcul the mask position with numpy : 0.2800776958465576 nb_pixel_total : 58336 time to create 1 rle with old method : 0.06926846504211426 length of segment : 482 time for calcul the mask position with numpy : 0.023560285568237305 nb_pixel_total : 3845 time to create 1 rle with old method : 0.00683140754699707 length of segment : 70 time for calcul the mask position with numpy : 0.022574424743652344 nb_pixel_total : 10573 time to create 1 rle with old method : 0.0179440975189209 length of segment : 122 time for calcul the mask position with numpy : 0.04938507080078125 nb_pixel_total : 5818 time to create 1 rle with old method : 0.011132478713989258 length of segment : 93 time for calcul the mask position with numpy : 0.12151288986206055 nb_pixel_total : 32539 time to create 1 rle with old method : 0.0399322509765625 length of segment : 221 time for calcul the mask position with numpy : 0.012264728546142578 nb_pixel_total : 18368 time to create 1 rle with old method : 0.025537967681884766 length of segment : 186 time for calcul the mask position with numpy : 0.00013709068298339844 nb_pixel_total : 3155 time to create 1 rle with old method : 0.003633737564086914 length of segment : 76 time for calcul the mask position with numpy : 0.18418502807617188 nb_pixel_total : 56398 time to create 1 rle with old method : 0.06594586372375488 length of segment : 207 time for calcul the mask position with numpy : 0.06286072731018066 nb_pixel_total : 15417 time to create 1 rle with old method : 0.022081851959228516 length of segment : 147 time for calcul the mask position with numpy : 0.18959856033325195 nb_pixel_total : 46210 time to create 1 rle with old method : 0.05878758430480957 length of segment : 316 time for calcul the mask position with numpy : 0.03801393508911133 nb_pixel_total : 9200 time to create 1 rle with old method : 0.017649412155151367 length of segment : 101 time for calcul the mask position with numpy : 0.300800085067749 nb_pixel_total : 80863 time to create 1 rle with old method : 0.09991669654846191 length of segment : 307 time for calcul the mask position with numpy : 0.10679459571838379 nb_pixel_total : 18296 time to create 1 rle with old method : 0.024379968643188477 length of segment : 328 time for calcul the mask position with numpy : 0.06743216514587402 nb_pixel_total : 15165 time to create 1 rle with old method : 0.02169036865234375 length of segment : 173 time for calcul the mask position with numpy : 0.08861708641052246 nb_pixel_total : 37554 time to create 1 rle with old method : 0.04966592788696289 length of segment : 261 time for calcul the mask position with numpy : 0.10544061660766602 nb_pixel_total : 26751 time to create 1 rle with old method : 0.03462076187133789 length of segment : 283 time for calcul the mask position with numpy : 0.22781634330749512 nb_pixel_total : 77444 time to create 1 rle with old method : 0.08975076675415039 length of segment : 309 time for calcul the mask position with numpy : 0.06610703468322754 nb_pixel_total : 24798 time to create 1 rle with old method : 0.0320737361907959 length of segment : 175 time for calcul the mask position with numpy : 0.16217589378356934 nb_pixel_total : 78509 time to create 1 rle with old method : 0.12476158142089844 length of segment : 299 time for calcul the mask position with numpy : 0.11103010177612305 nb_pixel_total : 59414 time to create 1 rle with old method : 0.07351374626159668 length of segment : 268 time for calcul the mask position with numpy : 0.04175734519958496 nb_pixel_total : 16010 time to create 1 rle with old method : 0.022203683853149414 length of segment : 145 time for calcul the mask position with numpy : 0.056368350982666016 nb_pixel_total : 14592 time to create 1 rle with old method : 0.02095484733581543 length of segment : 150 time for calcul the mask position with numpy : 0.03139805793762207 nb_pixel_total : 9258 time to create 1 rle with old method : 0.01614069938659668 length of segment : 124 time for calcul the mask position with numpy : 0.15769290924072266 nb_pixel_total : 35021 time to create 1 rle with old method : 0.04387521743774414 length of segment : 250 time for calcul the mask position with numpy : 0.09704065322875977 nb_pixel_total : 46858 time to create 1 rle with old method : 0.05433988571166992 length of segment : 356 time for calcul the mask position with numpy : 0.018238306045532227 nb_pixel_total : 6184 time to create 1 rle with old method : 0.010235786437988281 length of segment : 67 time for calcul the mask position with numpy : 0.11369562149047852 nb_pixel_total : 65727 time to create 1 rle with old method : 0.0788428783416748 length of segment : 289 time for calcul the mask position with numpy : 0.24938321113586426 nb_pixel_total : 54295 time to create 1 rle with old method : 0.06578207015991211 length of segment : 238 time for calcul the mask position with numpy : 0.025060176849365234 nb_pixel_total : 11972 time to create 1 rle with old method : 0.0190732479095459 length of segment : 155 time for calcul the mask position with numpy : 0.12809181213378906 nb_pixel_total : 41963 time to create 1 rle with old method : 0.061316728591918945 length of segment : 281 time for calcul the mask position with numpy : 0.01711106300354004 nb_pixel_total : 6844 time to create 1 rle with old method : 0.012686729431152344 length of segment : 110 time for calcul the mask position with numpy : 0.03166961669921875 nb_pixel_total : 10494 time to create 1 rle with old method : 0.015515327453613281 length of segment : 108 time for calcul the mask position with numpy : 0.07712173461914062 nb_pixel_total : 25676 time to create 1 rle with old method : 0.035392045974731445 length of segment : 125 time for calcul the mask position with numpy : 0.07877063751220703 nb_pixel_total : 25757 time to create 1 rle with old method : 0.03241539001464844 length of segment : 237 time for calcul the mask position with numpy : 0.1597757339477539 nb_pixel_total : 53313 time to create 1 rle with old method : 0.08101320266723633 length of segment : 411 time for calcul the mask position with numpy : 0.10895109176635742 nb_pixel_total : 37572 time to create 1 rle with old method : 0.04485130310058594 length of segment : 197 time for calcul the mask position with numpy : 0.05922055244445801 nb_pixel_total : 16523 time to create 1 rle with old method : 0.03063488006591797 length of segment : 200 time for calcul the mask position with numpy : 0.036656856536865234 nb_pixel_total : 12957 time to create 1 rle with old method : 0.020615577697753906 length of segment : 103 time for calcul the mask position with numpy : 0.10555505752563477 nb_pixel_total : 29885 time to create 1 rle with old method : 0.034384965896606445 length of segment : 386 time for calcul the mask position with numpy : 0.05665302276611328 nb_pixel_total : 22575 time to create 1 rle with old method : 0.029914140701293945 length of segment : 161 time for calcul the mask position with numpy : 0.0073947906494140625 nb_pixel_total : 22149 time to create 1 rle with old method : 0.025229215621948242 length of segment : 180 time for calcul the mask position with numpy : 0.0001919269561767578 nb_pixel_total : 6904 time to create 1 rle with old method : 0.007322549819946289 length of segment : 138 time for calcul the mask position with numpy : 0.14369702339172363 nb_pixel_total : 46509 time to create 1 rle with old method : 0.0644223690032959 length of segment : 283 time for calcul the mask position with numpy : 0.05584836006164551 nb_pixel_total : 15567 time to create 1 rle with old method : 0.021009445190429688 length of segment : 149 time for calcul the mask position with numpy : 0.0431368350982666 nb_pixel_total : 9848 time to create 1 rle with old method : 0.01432347297668457 length of segment : 110 time for calcul the mask position with numpy : 0.08598875999450684 nb_pixel_total : 17529 time to create 1 rle with old method : 0.02280879020690918 length of segment : 315 time for calcul the mask position with numpy : 0.18378400802612305 nb_pixel_total : 87213 time to create 1 rle with old method : 0.10323619842529297 length of segment : 318 time for calcul the mask position with numpy : 0.11413812637329102 nb_pixel_total : 42869 time to create 1 rle with old method : 0.04923582077026367 length of segment : 294 time for calcul the mask position with numpy : 0.15316176414489746 nb_pixel_total : 41280 time to create 1 rle with old method : 0.04784035682678223 length of segment : 342 time for calcul the mask position with numpy : 0.09541153907775879 nb_pixel_total : 30708 time to create 1 rle with old method : 0.03561043739318848 length of segment : 195 time for calcul the mask position with numpy : 0.022912263870239258 nb_pixel_total : 6350 time to create 1 rle with old method : 0.012358665466308594 length of segment : 70 time for calcul the mask position with numpy : 0.2698991298675537 nb_pixel_total : 90936 time to create 1 rle with old method : 0.10180401802062988 length of segment : 384 time for calcul the mask position with numpy : 0.2725718021392822 nb_pixel_total : 101295 time to create 1 rle with old method : 0.10933518409729004 length of segment : 515 time for calcul the mask position with numpy : 0.09155488014221191 nb_pixel_total : 27893 time to create 1 rle with old method : 0.03422403335571289 length of segment : 268 time for calcul the mask position with numpy : 0.07654953002929688 nb_pixel_total : 13164 time to create 1 rle with old method : 0.019255399703979492 length of segment : 140 time for calcul the mask position with numpy : 0.03537631034851074 nb_pixel_total : 8043 time to create 1 rle with old method : 0.013055086135864258 length of segment : 177 time for calcul the mask position with numpy : 0.016689062118530273 nb_pixel_total : 4509 time to create 1 rle with old method : 0.009370088577270508 length of segment : 51 time for calcul the mask position with numpy : 0.024158954620361328 nb_pixel_total : 4962 time to create 1 rle with old method : 0.010197877883911133 length of segment : 51 time for calcul the mask position with numpy : 0.09218668937683105 nb_pixel_total : 26389 time to create 1 rle with old method : 0.03829598426818848 length of segment : 137 time for calcul the mask position with numpy : 0.26851987838745117 nb_pixel_total : 76611 time to create 1 rle with old method : 0.08505749702453613 length of segment : 307 time for calcul the mask position with numpy : 0.0638887882232666 nb_pixel_total : 14940 time to create 1 rle with old method : 0.020545005798339844 length of segment : 193 time for calcul the mask position with numpy : 0.036062002182006836 nb_pixel_total : 5164 time to create 1 rle with old method : 0.009988069534301758 length of segment : 107 time for calcul the mask position with numpy : 0.037801504135131836 nb_pixel_total : 15151 time to create 1 rle with old method : 0.02219247817993164 length of segment : 161 time for calcul the mask position with numpy : 0.09748148918151855 nb_pixel_total : 37002 time to create 1 rle with old method : 0.04486656188964844 length of segment : 191 time for calcul the mask position with numpy : 0.04021477699279785 nb_pixel_total : 9885 time to create 1 rle with old method : 0.015991687774658203 length of segment : 163 time for calcul the mask position with numpy : 0.014548778533935547 nb_pixel_total : 5249 time to create 1 rle with old method : 0.011361837387084961 length of segment : 73 time for calcul the mask position with numpy : 0.005644321441650391 nb_pixel_total : 17849 time to create 1 rle with old method : 0.0229337215423584 length of segment : 174 time for calcul the mask position with numpy : 0.19151639938354492 nb_pixel_total : 71933 time to create 1 rle with old method : 0.08626008033752441 length of segment : 312 time for calcul the mask position with numpy : 0.1793043613433838 nb_pixel_total : 41548 time to create 1 rle with old method : 0.07273316383361816 length of segment : 288 time for calcul the mask position with numpy : 0.41107964515686035 nb_pixel_total : 98930 time to create 1 rle with old method : 0.1377253532409668 length of segment : 586 time for calcul the mask position with numpy : 0.07944297790527344 nb_pixel_total : 24116 time to create 1 rle with old method : 0.03163337707519531 length of segment : 185 time for calcul the mask position with numpy : 0.08429980278015137 nb_pixel_total : 13335 time to create 1 rle with old method : 0.031064510345458984 length of segment : 157 time for calcul the mask position with numpy : 0.08827567100524902 nb_pixel_total : 36876 time to create 1 rle with old method : 0.06024360656738281 length of segment : 230 time for calcul the mask position with numpy : 0.17708635330200195 nb_pixel_total : 64389 time to create 1 rle with old method : 0.0991964340209961 length of segment : 300 time for calcul the mask position with numpy : 0.03357958793640137 nb_pixel_total : 76826 time to create 1 rle with old method : 0.10122847557067871 length of segment : 300 time for calcul the mask position with numpy : 0.1034700870513916 nb_pixel_total : 38691 time to create 1 rle with old method : 0.050150394439697266 length of segment : 202 time for calcul the mask position with numpy : 0.0011968612670898438 nb_pixel_total : 34986 time to create 1 rle with old method : 0.03904151916503906 length of segment : 188 time for calcul the mask position with numpy : 0.04596447944641113 nb_pixel_total : 10573 time to create 1 rle with old method : 0.016229867935180664 length of segment : 98 time for calcul the mask position with numpy : 0.042768001556396484 nb_pixel_total : 14197 time to create 1 rle with old method : 0.02267932891845703 length of segment : 179 time for calcul the mask position with numpy : 0.18503737449645996 nb_pixel_total : 57784 time to create 1 rle with old method : 0.07385921478271484 length of segment : 342 time for calcul the mask position with numpy : 0.1303253173828125 nb_pixel_total : 60595 time to create 1 rle with old method : 0.07497191429138184 length of segment : 236 time for calcul the mask position with numpy : 0.022807598114013672 nb_pixel_total : 21197 time to create 1 rle with old method : 0.02709364891052246 length of segment : 206 time for calcul the mask position with numpy : 0.06237077713012695 nb_pixel_total : 10847 time to create 1 rle with old method : 0.015150308609008789 length of segment : 136 time for calcul the mask position with numpy : 0.2740366458892822 nb_pixel_total : 57778 time to create 1 rle with old method : 0.0662233829498291 length of segment : 533 time for calcul the mask position with numpy : 0.09777259826660156 nb_pixel_total : 23541 time to create 1 rle with old method : 0.0330963134765625 length of segment : 128 time for calcul the mask position with numpy : 0.1764674186706543 nb_pixel_total : 40458 time to create 1 rle with old method : 0.04868721961975098 length of segment : 511 time for calcul the mask position with numpy : 0.07024002075195312 nb_pixel_total : 15078 time to create 1 rle with old method : 0.02280592918395996 length of segment : 129 time for calcul the mask position with numpy : 0.05238962173461914 nb_pixel_total : 12571 time to create 1 rle with old method : 0.018788576126098633 length of segment : 163 time for calcul the mask position with numpy : 0.044271230697631836 nb_pixel_total : 11879 time to create 1 rle with old method : 0.019397735595703125 length of segment : 145 time for calcul the mask position with numpy : 0.07927870750427246 nb_pixel_total : 24733 time to create 1 rle with old method : 0.03160667419433594 length of segment : 156 time for calcul the mask position with numpy : 0.07248973846435547 nb_pixel_total : 14456 time to create 1 rle with old method : 0.02257370948791504 length of segment : 245 time for calcul the mask position with numpy : 0.058817386627197266 nb_pixel_total : 19837 time to create 1 rle with old method : 0.026206254959106445 length of segment : 160 time for calcul the mask position with numpy : 0.1662306785583496 nb_pixel_total : 44777 time to create 1 rle with old method : 0.05842995643615723 length of segment : 407 time for calcul the mask position with numpy : 0.08074688911437988 nb_pixel_total : 33146 time to create 1 rle with old method : 0.04237008094787598 length of segment : 193 time for calcul the mask position with numpy : 0.09436655044555664 nb_pixel_total : 24870 time to create 1 rle with old method : 0.035050392150878906 length of segment : 233 time for calcul the mask position with numpy : 0.22721123695373535 nb_pixel_total : 79558 time to create 1 rle with old method : 0.09594130516052246 length of segment : 412 time for calcul the mask position with numpy : 0.001371622085571289 nb_pixel_total : 7287 time to create 1 rle with old method : 0.008310079574584961 length of segment : 83 time for calcul the mask position with numpy : 0.09804773330688477 nb_pixel_total : 35066 time to create 1 rle with old method : 0.041889190673828125 length of segment : 225 time for calcul the mask position with numpy : 0.22809672355651855 nb_pixel_total : 53092 time to create 1 rle with old method : 0.0626974105834961 length of segment : 320 time for calcul the mask position with numpy : 0.10119271278381348 nb_pixel_total : 33075 time to create 1 rle with old method : 0.04670071601867676 length of segment : 298 time for calcul the mask position with numpy : 0.09662032127380371 nb_pixel_total : 17928 time to create 1 rle with old method : 0.02469921112060547 length of segment : 257 time for calcul the mask position with numpy : 0.05088233947753906 nb_pixel_total : 12616 time to create 1 rle with old method : 0.01880621910095215 length of segment : 141 time for calcul the mask position with numpy : 0.06129598617553711 nb_pixel_total : 17124 time to create 1 rle with old method : 0.02453923225402832 length of segment : 195 time for calcul the mask position with numpy : 0.007014751434326172 nb_pixel_total : 12270 time to create 1 rle with old method : 0.01652693748474121 length of segment : 175 time for calcul the mask position with numpy : 0.014959096908569336 nb_pixel_total : 10625 time to create 1 rle with old method : 0.017761945724487305 length of segment : 100 time for calcul the mask position with numpy : 0.12327814102172852 nb_pixel_total : 66323 time to create 1 rle with old method : 0.08059406280517578 length of segment : 396 time for calcul the mask position with numpy : 0.05214977264404297 nb_pixel_total : 39349 time to create 1 rle with old method : 0.04743552207946777 length of segment : 242 time for calcul the mask position with numpy : 0.06061291694641113 nb_pixel_total : 14754 time to create 1 rle with old method : 0.018696308135986328 length of segment : 292 time for calcul the mask position with numpy : 0.10062527656555176 nb_pixel_total : 40547 time to create 1 rle with old method : 0.04806184768676758 length of segment : 209 time for calcul the mask position with numpy : 0.002587556838989258 nb_pixel_total : 9693 time to create 1 rle with old method : 0.013073921203613281 length of segment : 88 time for calcul the mask position with numpy : 0.06787681579589844 nb_pixel_total : 38866 time to create 1 rle with old method : 0.04595685005187988 length of segment : 332 time for calcul the mask position with numpy : 0.22234129905700684 nb_pixel_total : 63302 time to create 1 rle with old method : 0.0714564323425293 length of segment : 390 time for calcul the mask position with numpy : 0.056554555892944336 nb_pixel_total : 9869 time to create 1 rle with old method : 0.015010595321655273 length of segment : 189 time for calcul the mask position with numpy : 0.05182814598083496 nb_pixel_total : 14163 time to create 1 rle with old method : 0.020507335662841797 length of segment : 325 time for calcul the mask position with numpy : 0.04901885986328125 nb_pixel_total : 14086 time to create 1 rle with old method : 0.01994919776916504 length of segment : 154 time for calcul the mask position with numpy : 0.10834693908691406 nb_pixel_total : 50412 time to create 1 rle with old method : 0.056603431701660156 length of segment : 325 time for calcul the mask position with numpy : 0.06845211982727051 nb_pixel_total : 18408 time to create 1 rle with old method : 0.024407386779785156 length of segment : 157 time for calcul the mask position with numpy : 0.04673480987548828 nb_pixel_total : 23857 time to create 1 rle with old method : 0.029512643814086914 length of segment : 328 time for calcul the mask position with numpy : 0.061311960220336914 nb_pixel_total : 18336 time to create 1 rle with old method : 0.02519369125366211 length of segment : 142 time for calcul the mask position with numpy : 0.04351496696472168 nb_pixel_total : 16745 time to create 1 rle with old method : 0.018207550048828125 length of segment : 178 time for calcul the mask position with numpy : 0.03814840316772461 nb_pixel_total : 10056 time to create 1 rle with old method : 0.010891914367675781 length of segment : 130 time for calcul the mask position with numpy : 0.014969587326049805 nb_pixel_total : 10107 time to create 1 rle with old method : 0.01544809341430664 length of segment : 126 time for calcul the mask position with numpy : 0.035634517669677734 nb_pixel_total : 12980 time to create 1 rle with old method : 0.018243074417114258 length of segment : 116 time for calcul the mask position with numpy : 0.038600921630859375 nb_pixel_total : 11417 time to create 1 rle with old method : 0.018015623092651367 length of segment : 193 time for calcul the mask position with numpy : 0.06869316101074219 nb_pixel_total : 34581 time to create 1 rle with old method : 0.04031848907470703 length of segment : 161 time for calcul the mask position with numpy : 0.03758573532104492 nb_pixel_total : 22899 time to create 1 rle with old method : 0.029566526412963867 length of segment : 280 time for calcul the mask position with numpy : 0.09470868110656738 nb_pixel_total : 30589 time to create 1 rle with old method : 0.038495540618896484 length of segment : 220 time for calcul the mask position with numpy : 0.12113165855407715 nb_pixel_total : 32246 time to create 1 rle with old method : 0.037439584732055664 length of segment : 215 time for calcul the mask position with numpy : 0.930401086807251 nb_pixel_total : 503113 time to create 1 rle with new method : 0.02679157257080078 length of segment : 632 time for calcul the mask position with numpy : 0.4165198802947998 nb_pixel_total : 113682 time to create 1 rle with old method : 0.12258529663085938 length of segment : 568 time for calcul the mask position with numpy : 0.1718149185180664 nb_pixel_total : 87345 time to create 1 rle with old method : 0.09311842918395996 length of segment : 509 time for calcul the mask position with numpy : 0.0489346981048584 nb_pixel_total : 9511 time to create 1 rle with old method : 0.01805424690246582 length of segment : 121 time for calcul the mask position with numpy : 0.050573110580444336 nb_pixel_total : 10203 time to create 1 rle with old method : 0.01697683334350586 length of segment : 106 time for calcul the mask position with numpy : 0.07390713691711426 nb_pixel_total : 15027 time to create 1 rle with old method : 0.020658254623413086 length of segment : 250 time for calcul the mask position with numpy : 0.3314671516418457 nb_pixel_total : 90950 time to create 1 rle with old method : 0.10396766662597656 length of segment : 446 time for calcul the mask position with numpy : 0.29936742782592773 nb_pixel_total : 97889 time to create 1 rle with old method : 0.21101140975952148 length of segment : 368 time for calcul the mask position with numpy : 0.24361729621887207 nb_pixel_total : 69352 time to create 1 rle with old method : 0.08588099479675293 length of segment : 361 time for calcul the mask position with numpy : 0.0062639713287353516 nb_pixel_total : 29064 time to create 1 rle with old method : 0.03486514091491699 length of segment : 243 time for calcul the mask position with numpy : 0.1728653907775879 nb_pixel_total : 35968 time to create 1 rle with old method : 0.044657230377197266 length of segment : 327 time for calcul the mask position with numpy : 0.019228696823120117 nb_pixel_total : 6235 time to create 1 rle with old method : 0.012047767639160156 length of segment : 99 time for calcul the mask position with numpy : 0.0006403923034667969 nb_pixel_total : 17040 time to create 1 rle with old method : 0.03197216987609863 length of segment : 105 time for calcul the mask position with numpy : 0.058760881423950195 nb_pixel_total : 13869 time to create 1 rle with old method : 0.020095109939575195 length of segment : 167 time for calcul the mask position with numpy : 0.01174783706665039 nb_pixel_total : 8151 time to create 1 rle with old method : 0.014520406723022461 length of segment : 81 time for calcul the mask position with numpy : 0.19580864906311035 nb_pixel_total : 47838 time to create 1 rle with old method : 0.056520700454711914 length of segment : 244 time for calcul the mask position with numpy : 0.014907598495483398 nb_pixel_total : 6641 time to create 1 rle with old method : 0.01220560073852539 length of segment : 124 time for calcul the mask position with numpy : 0.1011512279510498 nb_pixel_total : 41938 time to create 1 rle with old method : 0.05163216590881348 length of segment : 258 time for calcul the mask position with numpy : 0.20884275436401367 nb_pixel_total : 47535 time to create 1 rle with old method : 0.0572659969329834 length of segment : 553 time for calcul the mask position with numpy : 0.02950596809387207 nb_pixel_total : 7206 time to create 1 rle with old method : 0.012882232666015625 length of segment : 92 time for calcul the mask position with numpy : 0.05872678756713867 nb_pixel_total : 35224 time to create 1 rle with old method : 0.042282819747924805 length of segment : 225 time for calcul the mask position with numpy : 0.043700218200683594 nb_pixel_total : 24849 time to create 1 rle with old method : 0.030879974365234375 length of segment : 236 time for calcul the mask position with numpy : 0.11599445343017578 nb_pixel_total : 18021 time to create 1 rle with old method : 0.022481203079223633 length of segment : 304 time for calcul the mask position with numpy : 0.029113292694091797 nb_pixel_total : 7346 time to create 1 rle with old method : 0.012477397918701172 length of segment : 91 time for calcul the mask position with numpy : 0.07353472709655762 nb_pixel_total : 55209 time to create 1 rle with old method : 0.06531333923339844 length of segment : 355 time for calcul the mask position with numpy : 0.06278824806213379 nb_pixel_total : 22017 time to create 1 rle with old method : 0.03165125846862793 length of segment : 140 time for calcul the mask position with numpy : 0.12382960319519043 nb_pixel_total : 54218 time to create 1 rle with old method : 0.061498403549194336 length of segment : 302 time for calcul the mask position with numpy : 0.15005826950073242 nb_pixel_total : 38097 time to create 1 rle with old method : 0.05137443542480469 length of segment : 278 time for calcul the mask position with numpy : 0.00509190559387207 nb_pixel_total : 26404 time to create 1 rle with old method : 0.02914285659790039 length of segment : 370 time for calcul the mask position with numpy : 0.0035812854766845703 nb_pixel_total : 7959 time to create 1 rle with old method : 0.008690834045410156 length of segment : 142 time for calcul the mask position with numpy : 0.048822879791259766 nb_pixel_total : 36093 time to create 1 rle with old method : 0.03766369819641113 length of segment : 232 time for calcul the mask position with numpy : 0.05519843101501465 nb_pixel_total : 22536 time to create 1 rle with old method : 0.027843952178955078 length of segment : 161 time for calcul the mask position with numpy : 0.0675811767578125 nb_pixel_total : 25701 time to create 1 rle with old method : 0.03172802925109863 length of segment : 180 time for calcul the mask position with numpy : 0.2074887752532959 nb_pixel_total : 64646 time to create 1 rle with old method : 0.06932592391967773 length of segment : 321 time for calcul the mask position with numpy : 0.0008070468902587891 nb_pixel_total : 16578 time to create 1 rle with old method : 0.017416954040527344 length of segment : 190 time for calcul the mask position with numpy : 0.02921772003173828 nb_pixel_total : 11611 time to create 1 rle with old method : 0.018874645233154297 length of segment : 169 time for calcul the mask position with numpy : 0.04396939277648926 nb_pixel_total : 33474 time to create 1 rle with old method : 0.047591447830200195 length of segment : 189 time for calcul the mask position with numpy : 0.018739700317382812 nb_pixel_total : 8142 time to create 1 rle with old method : 0.01340484619140625 length of segment : 129 time for calcul the mask position with numpy : 0.09015965461730957 nb_pixel_total : 30118 time to create 1 rle with old method : 0.038399457931518555 length of segment : 223 time for calcul the mask position with numpy : 0.04654264450073242 nb_pixel_total : 84053 time to create 1 rle with old method : 0.1059424877166748 length of segment : 389 time for calcul the mask position with numpy : 0.03014659881591797 nb_pixel_total : 11924 time to create 1 rle with old method : 0.019965171813964844 length of segment : 119 time for calcul the mask position with numpy : 0.03274178504943848 nb_pixel_total : 17018 time to create 1 rle with old method : 0.022925376892089844 length of segment : 132 time for calcul the mask position with numpy : 0.04097270965576172 nb_pixel_total : 25736 time to create 1 rle with old method : 0.03287649154663086 length of segment : 150 time for calcul the mask position with numpy : 0.2631649971008301 nb_pixel_total : 212183 time to create 1 rle with new method : 0.013822317123413086 length of segment : 678 time for calcul the mask position with numpy : 0.2503631114959717 nb_pixel_total : 232793 time to create 1 rle with new method : 0.014870405197143555 length of segment : 696 time for calcul the mask position with numpy : 0.11561942100524902 nb_pixel_total : 70636 time to create 1 rle with old method : 0.08110570907592773 length of segment : 366 time for calcul the mask position with numpy : 0.4999701976776123 nb_pixel_total : 355305 time to create 1 rle with new method : 0.03646206855773926 length of segment : 970 time for calcul the mask position with numpy : 0.028107166290283203 nb_pixel_total : 15403 time to create 1 rle with old method : 0.020941734313964844 length of segment : 169 time for calcul the mask position with numpy : 0.024785518646240234 nb_pixel_total : 10042 time to create 1 rle with old method : 0.015867948532104492 length of segment : 100 time for calcul the mask position with numpy : 0.030434131622314453 nb_pixel_total : 21018 time to create 1 rle with old method : 0.027939319610595703 length of segment : 266 time for calcul the mask position with numpy : 0.0751795768737793 nb_pixel_total : 54958 time to create 1 rle with old method : 0.062085628509521484 length of segment : 385 time for calcul the mask position with numpy : 0.060150861740112305 nb_pixel_total : 28231 time to create 1 rle with old method : 0.03538179397583008 length of segment : 314 time for calcul the mask position with numpy : 0.0007686614990234375 nb_pixel_total : 46934 time to create 1 rle with old method : 0.05231475830078125 length of segment : 208 time for calcul the mask position with numpy : 0.008702993392944336 nb_pixel_total : 16274 time to create 1 rle with old method : 0.0204315185546875 length of segment : 177 time for calcul the mask position with numpy : 0.018065214157104492 nb_pixel_total : 11787 time to create 1 rle with old method : 0.0189361572265625 length of segment : 101 time for calcul the mask position with numpy : 0.09059739112854004 nb_pixel_total : 59315 time to create 1 rle with old method : 0.06936359405517578 length of segment : 680 time for calcul the mask position with numpy : 0.031705617904663086 nb_pixel_total : 34193 time to create 1 rle with old method : 0.044370412826538086 length of segment : 196 time for calcul the mask position with numpy : 0.0499725341796875 nb_pixel_total : 58178 time to create 1 rle with old method : 0.06840729713439941 length of segment : 451 time for calcul the mask position with numpy : 0.03130507469177246 nb_pixel_total : 35225 time to create 1 rle with old method : 0.04727292060852051 length of segment : 139 time for calcul the mask position with numpy : 0.05382347106933594 nb_pixel_total : 20307 time to create 1 rle with old method : 0.027790307998657227 length of segment : 130 time for calcul the mask position with numpy : 0.07343649864196777 nb_pixel_total : 19372 time to create 1 rle with old method : 0.02520895004272461 length of segment : 159 time for calcul the mask position with numpy : 0.04139900207519531 nb_pixel_total : 8361 time to create 1 rle with old method : 0.01360177993774414 length of segment : 154 time for calcul the mask position with numpy : 0.05692887306213379 nb_pixel_total : 13671 time to create 1 rle with old method : 0.02071213722229004 length of segment : 141 time for calcul the mask position with numpy : 0.028595685958862305 nb_pixel_total : 7226 time to create 1 rle with old method : 0.012557268142700195 length of segment : 85 time for calcul the mask position with numpy : 0.10236263275146484 nb_pixel_total : 19810 time to create 1 rle with old method : 0.025732040405273438 length of segment : 265 time for calcul the mask position with numpy : 0.05632805824279785 nb_pixel_total : 10263 time to create 1 rle with old method : 0.018183469772338867 length of segment : 115 time for calcul the mask position with numpy : 0.1372241973876953 nb_pixel_total : 22866 time to create 1 rle with old method : 0.029001951217651367 length of segment : 258 time for calcul the mask position with numpy : 0.06979846954345703 nb_pixel_total : 18077 time to create 1 rle with old method : 0.03264498710632324 length of segment : 147 time for calcul the mask position with numpy : 0.0543522834777832 nb_pixel_total : 13703 time to create 1 rle with old method : 0.02174234390258789 length of segment : 133 time for calcul the mask position with numpy : 0.062117815017700195 nb_pixel_total : 17532 time to create 1 rle with old method : 0.023774385452270508 length of segment : 222 time for calcul the mask position with numpy : 0.051671743392944336 nb_pixel_total : 10703 time to create 1 rle with old method : 0.018101930618286133 length of segment : 107 time for calcul the mask position with numpy : 0.014383077621459961 nb_pixel_total : 1969 time to create 1 rle with old method : 0.0040874481201171875 length of segment : 48 time for calcul the mask position with numpy : 0.04655909538269043 nb_pixel_total : 16360 time to create 1 rle with old method : 0.02601766586303711 length of segment : 86 time for calcul the mask position with numpy : 0.04480934143066406 nb_pixel_total : 11354 time to create 1 rle with old method : 0.01792430877685547 length of segment : 98 time for calcul the mask position with numpy : 0.0898287296295166 nb_pixel_total : 24752 time to create 1 rle with old method : 0.03044915199279785 length of segment : 182 time for calcul the mask position with numpy : 0.011549234390258789 nb_pixel_total : 6055 time to create 1 rle with old method : 0.011270523071289062 length of segment : 114 time for calcul the mask position with numpy : 0.10382604598999023 nb_pixel_total : 21908 time to create 1 rle with old method : 0.05327153205871582 length of segment : 284 time for calcul the mask position with numpy : 0.05479001998901367 nb_pixel_total : 14836 time to create 1 rle with old method : 0.025618314743041992 length of segment : 180 time for calcul the mask position with numpy : 0.02904367446899414 nb_pixel_total : 7026 time to create 1 rle with old method : 0.008177518844604492 length of segment : 104 time for calcul the mask position with numpy : 0.1448824405670166 nb_pixel_total : 46375 time to create 1 rle with old method : 0.07142829895019531 length of segment : 256 time for calcul the mask position with numpy : 0.06396007537841797 nb_pixel_total : 13627 time to create 1 rle with old method : 0.019614219665527344 length of segment : 145 time for calcul the mask position with numpy : 0.023827552795410156 nb_pixel_total : 11291 time to create 1 rle with old method : 0.013089656829833984 length of segment : 140 time for calcul the mask position with numpy : 0.018134117126464844 nb_pixel_total : 5539 time to create 1 rle with old method : 0.011421442031860352 length of segment : 68 time for calcul the mask position with numpy : 0.040795087814331055 nb_pixel_total : 6310 time to create 1 rle with old method : 0.012454509735107422 length of segment : 177 time for calcul the mask position with numpy : 0.08123946189880371 nb_pixel_total : 20606 time to create 1 rle with old method : 0.027282238006591797 length of segment : 200 time for calcul the mask position with numpy : 0.08305931091308594 nb_pixel_total : 11512 time to create 1 rle with old method : 0.015740633010864258 length of segment : 220 time for calcul the mask position with numpy : 0.045508384704589844 nb_pixel_total : 21571 time to create 1 rle with old method : 0.030035018920898438 length of segment : 170 time for calcul the mask position with numpy : 0.07955360412597656 nb_pixel_total : 18534 time to create 1 rle with old method : 0.027300596237182617 length of segment : 245 time for calcul the mask position with numpy : 0.011886358261108398 nb_pixel_total : 3546 time to create 1 rle with old method : 0.006858110427856445 length of segment : 78 time for calcul the mask position with numpy : 0.0988459587097168 nb_pixel_total : 33725 time to create 1 rle with old method : 0.05047941207885742 length of segment : 209 time for calcul the mask position with numpy : 0.048401832580566406 nb_pixel_total : 9807 time to create 1 rle with old method : 0.016156911849975586 length of segment : 100 time for calcul the mask position with numpy : 0.45021820068359375 nb_pixel_total : 139612 time to create 1 rle with old method : 0.15640950202941895 length of segment : 700 time for calcul the mask position with numpy : 0.1195530891418457 nb_pixel_total : 18650 time to create 1 rle with old method : 0.02546072006225586 length of segment : 184 time for calcul the mask position with numpy : 0.0557246208190918 nb_pixel_total : 14396 time to create 1 rle with old method : 0.020534753799438477 length of segment : 189 time for calcul the mask position with numpy : 0.08579349517822266 nb_pixel_total : 21195 time to create 1 rle with old method : 0.0299222469329834 length of segment : 256 time for calcul the mask position with numpy : 0.009268522262573242 nb_pixel_total : 6721 time to create 1 rle with old method : 0.012694835662841797 length of segment : 121 time for calcul the mask position with numpy : 0.09103202819824219 nb_pixel_total : 21714 time to create 1 rle with old method : 0.028064727783203125 length of segment : 190 time for calcul the mask position with numpy : 0.01661849021911621 nb_pixel_total : 12821 time to create 1 rle with old method : 0.01945209503173828 length of segment : 131 time for calcul the mask position with numpy : 0.13641095161437988 nb_pixel_total : 44943 time to create 1 rle with old method : 0.051726341247558594 length of segment : 330 time for calcul the mask position with numpy : 0.057768821716308594 nb_pixel_total : 18248 time to create 1 rle with old method : 0.029105663299560547 length of segment : 120 time for calcul the mask position with numpy : 0.08209109306335449 nb_pixel_total : 33743 time to create 1 rle with old method : 0.03639721870422363 length of segment : 204 time for calcul the mask position with numpy : 0.03531384468078613 nb_pixel_total : 6576 time to create 1 rle with old method : 0.007266044616699219 length of segment : 122 time for calcul the mask position with numpy : 0.08109140396118164 nb_pixel_total : 34617 time to create 1 rle with old method : 0.04035162925720215 length of segment : 204 time for calcul the mask position with numpy : 0.04730343818664551 nb_pixel_total : 11110 time to create 1 rle with old method : 0.01704883575439453 length of segment : 125 time for calcul the mask position with numpy : 0.026276350021362305 nb_pixel_total : 5388 time to create 1 rle with old method : 0.010390043258666992 length of segment : 92 time for calcul the mask position with numpy : 0.052385807037353516 nb_pixel_total : 17713 time to create 1 rle with old method : 0.02456808090209961 length of segment : 163 time for calcul the mask position with numpy : 0.04223299026489258 nb_pixel_total : 11819 time to create 1 rle with old method : 0.018325328826904297 length of segment : 143 time for calcul the mask position with numpy : 0.030559778213500977 nb_pixel_total : 10193 time to create 1 rle with old method : 0.016846895217895508 length of segment : 71 time for calcul the mask position with numpy : 0.0519709587097168 nb_pixel_total : 11305 time to create 1 rle with old method : 0.018472671508789062 length of segment : 216 time for calcul the mask position with numpy : 0.07332086563110352 nb_pixel_total : 20381 time to create 1 rle with old method : 0.026829242706298828 length of segment : 137 time for calcul the mask position with numpy : 0.1248466968536377 nb_pixel_total : 58467 time to create 1 rle with old method : 0.06508278846740723 length of segment : 316 time for calcul the mask position with numpy : 0.07021760940551758 nb_pixel_total : 40361 time to create 1 rle with old method : 0.047028541564941406 length of segment : 355 time for calcul the mask position with numpy : 0.011307001113891602 nb_pixel_total : 5340 time to create 1 rle with old method : 0.009515762329101562 length of segment : 90 time for calcul the mask position with numpy : 0.05002284049987793 nb_pixel_total : 21818 time to create 1 rle with old method : 0.029844999313354492 length of segment : 158 time for calcul the mask position with numpy : 0.06304049491882324 nb_pixel_total : 13033 time to create 1 rle with old method : 0.01833343505859375 length of segment : 250 time for calcul the mask position with numpy : 0.08330297470092773 nb_pixel_total : 42108 time to create 1 rle with old method : 0.05423331260681152 length of segment : 232 time for calcul the mask position with numpy : 0.06407952308654785 nb_pixel_total : 18591 time to create 1 rle with old method : 0.025278806686401367 length of segment : 204 time for calcul the mask position with numpy : 0.028867244720458984 nb_pixel_total : 12217 time to create 1 rle with old method : 0.017317771911621094 length of segment : 135 time for calcul the mask position with numpy : 0.03387784957885742 nb_pixel_total : 13663 time to create 1 rle with old method : 0.018615007400512695 length of segment : 205 time for calcul the mask position with numpy : 0.04095458984375 nb_pixel_total : 17530 time to create 1 rle with old method : 0.019723892211914062 length of segment : 91 time for calcul the mask position with numpy : 0.06189322471618652 nb_pixel_total : 19615 time to create 1 rle with old method : 0.02174830436706543 length of segment : 159 time for calcul the mask position with numpy : 0.0547027587890625 nb_pixel_total : 12547 time to create 1 rle with old method : 0.01909923553466797 length of segment : 146 time for calcul the mask position with numpy : 0.04104495048522949 nb_pixel_total : 5923 time to create 1 rle with old method : 0.010228157043457031 length of segment : 188 time for calcul the mask position with numpy : 0.14563751220703125 nb_pixel_total : 22411 time to create 1 rle with old method : 0.027312278747558594 length of segment : 263 time for calcul the mask position with numpy : 0.08008122444152832 nb_pixel_total : 19193 time to create 1 rle with old method : 0.025435924530029297 length of segment : 207 time for calcul the mask position with numpy : 0.03594613075256348 nb_pixel_total : 7507 time to create 1 rle with old method : 0.013564348220825195 length of segment : 84 time for calcul the mask position with numpy : 0.03949928283691406 nb_pixel_total : 8079 time to create 1 rle with old method : 0.012165307998657227 length of segment : 159 time for calcul the mask position with numpy : 0.08832883834838867 nb_pixel_total : 18080 time to create 1 rle with old method : 0.023480892181396484 length of segment : 261 time for calcul the mask position with numpy : 0.04207658767700195 nb_pixel_total : 21684 time to create 1 rle with old method : 0.029535293579101562 length of segment : 157 time for calcul the mask position with numpy : 0.14107632637023926 nb_pixel_total : 10476 time to create 1 rle with old method : 0.016078948974609375 length of segment : 131 time for calcul the mask position with numpy : 0.1200408935546875 nb_pixel_total : 21835 time to create 1 rle with old method : 0.030838966369628906 length of segment : 215 time for calcul the mask position with numpy : 0.14216136932373047 nb_pixel_total : 11914 time to create 1 rle with old method : 0.018388748168945312 length of segment : 142 time for calcul the mask position with numpy : 0.03502821922302246 nb_pixel_total : 10021 time to create 1 rle with old method : 0.01885533332824707 length of segment : 119 time for calcul the mask position with numpy : 0.07977724075317383 nb_pixel_total : 17684 time to create 1 rle with old method : 0.025913476943969727 length of segment : 204 time for calcul the mask position with numpy : 0.027389049530029297 nb_pixel_total : 7102 time to create 1 rle with old method : 0.013268709182739258 length of segment : 101 time for calcul the mask position with numpy : 0.06352114677429199 nb_pixel_total : 19575 time to create 1 rle with old method : 0.027623891830444336 length of segment : 134 time for calcul the mask position with numpy : 0.03971695899963379 nb_pixel_total : 6310 time to create 1 rle with old method : 0.010501623153686523 length of segment : 115 time for calcul the mask position with numpy : 0.09429287910461426 nb_pixel_total : 20608 time to create 1 rle with old method : 0.02408432960510254 length of segment : 208 time for calcul the mask position with numpy : 0.13335895538330078 nb_pixel_total : 28230 time to create 1 rle with old method : 0.045342445373535156 length of segment : 158 time for calcul the mask position with numpy : 0.10317850112915039 nb_pixel_total : 14175 time to create 1 rle with old method : 0.02780771255493164 length of segment : 204 time for calcul the mask position with numpy : 0.07794666290283203 nb_pixel_total : 10173 time to create 1 rle with old method : 0.017614364624023438 length of segment : 121 time for calcul the mask position with numpy : 0.09487676620483398 nb_pixel_total : 22304 time to create 1 rle with old method : 0.03135514259338379 length of segment : 181 time for calcul the mask position with numpy : 0.044629573822021484 nb_pixel_total : 8890 time to create 1 rle with old method : 0.024813413619995117 length of segment : 112 time for calcul the mask position with numpy : 0.07245326042175293 nb_pixel_total : 11210 time to create 1 rle with old method : 0.01762676239013672 length of segment : 122 time for calcul the mask position with numpy : 0.06572699546813965 nb_pixel_total : 18259 time to create 1 rle with old method : 0.025176286697387695 length of segment : 216 time for calcul the mask position with numpy : 0.012604236602783203 nb_pixel_total : 12269 time to create 1 rle with old method : 0.01743173599243164 length of segment : 154 time for calcul the mask position with numpy : 0.04734992980957031 nb_pixel_total : 9413 time to create 1 rle with old method : 0.01491403579711914 length of segment : 104 time for calcul the mask position with numpy : 0.05336141586303711 nb_pixel_total : 17667 time to create 1 rle with old method : 0.024289369583129883 length of segment : 174 time for calcul the mask position with numpy : 0.023510456085205078 nb_pixel_total : 7421 time to create 1 rle with old method : 0.010679483413696289 length of segment : 118 time for calcul the mask position with numpy : 0.048462867736816406 nb_pixel_total : 11856 time to create 1 rle with old method : 0.023763179779052734 length of segment : 147 time for calcul the mask position with numpy : 0.027640342712402344 nb_pixel_total : 6444 time to create 1 rle with old method : 0.007429838180541992 length of segment : 76 time for calcul the mask position with numpy : 0.13197970390319824 nb_pixel_total : 9690 time to create 1 rle with old method : 0.015302896499633789 length of segment : 134 time for calcul the mask position with numpy : 0.07681918144226074 nb_pixel_total : 18169 time to create 1 rle with old method : 0.02612161636352539 length of segment : 121 time for calcul the mask position with numpy : 0.0397343635559082 nb_pixel_total : 9490 time to create 1 rle with old method : 0.01820087432861328 length of segment : 131 time for calcul the mask position with numpy : 0.1064291000366211 nb_pixel_total : 19820 time to create 1 rle with old method : 0.03264188766479492 length of segment : 179 time for calcul the mask position with numpy : 0.021608591079711914 nb_pixel_total : 4200 time to create 1 rle with old method : 0.008848428726196289 length of segment : 67 time for calcul the mask position with numpy : 0.017971277236938477 nb_pixel_total : 3872 time to create 1 rle with old method : 0.00572967529296875 length of segment : 78 time for calcul the mask position with numpy : 0.06839942932128906 nb_pixel_total : 18825 time to create 1 rle with old method : 0.02460455894470215 length of segment : 219 time for calcul the mask position with numpy : 0.015826702117919922 nb_pixel_total : 8784 time to create 1 rle with old method : 0.013095378875732422 length of segment : 174 time for calcul the mask position with numpy : 0.06410551071166992 nb_pixel_total : 18738 time to create 1 rle with old method : 0.026294946670532227 length of segment : 176 time for calcul the mask position with numpy : 0.06081128120422363 nb_pixel_total : 29796 time to create 1 rle with old method : 0.060793399810791016 length of segment : 187 time for calcul the mask position with numpy : 0.05313539505004883 nb_pixel_total : 28368 time to create 1 rle with old method : 0.03862595558166504 length of segment : 263 time for calcul the mask position with numpy : 0.10927510261535645 nb_pixel_total : 43414 time to create 1 rle with old method : 0.05788064002990723 length of segment : 300 time for calcul the mask position with numpy : 0.05726504325866699 nb_pixel_total : 2203 time to create 1 rle with old method : 0.004028797149658203 length of segment : 53 time for calcul the mask position with numpy : 0.022400856018066406 nb_pixel_total : 12206 time to create 1 rle with old method : 0.01859283447265625 length of segment : 140 time for calcul the mask position with numpy : 0.1653430461883545 nb_pixel_total : 21121 time to create 1 rle with old method : 0.0392608642578125 length of segment : 143 time for calcul the mask position with numpy : 0.06256651878356934 nb_pixel_total : 11756 time to create 1 rle with old method : 0.01827859878540039 length of segment : 240 time for calcul the mask position with numpy : 0.09357976913452148 nb_pixel_total : 12202 time to create 1 rle with old method : 0.017192840576171875 length of segment : 140 time for calcul the mask position with numpy : 0.058751583099365234 nb_pixel_total : 14483 time to create 1 rle with old method : 0.029040813446044922 length of segment : 233 time for calcul the mask position with numpy : 0.0493321418762207 nb_pixel_total : 15890 time to create 1 rle with old method : 0.0265958309173584 length of segment : 127 time for calcul the mask position with numpy : 0.0546259880065918 nb_pixel_total : 9781 time to create 1 rle with old method : 0.015334844589233398 length of segment : 134 time for calcul the mask position with numpy : 0.0432741641998291 nb_pixel_total : 13940 time to create 1 rle with old method : 0.01968240737915039 length of segment : 143 time for calcul the mask position with numpy : 0.06287693977355957 nb_pixel_total : 15509 time to create 1 rle with old method : 0.02528977394104004 length of segment : 135 time for calcul the mask position with numpy : 0.05629897117614746 nb_pixel_total : 7975 time to create 1 rle with old method : 0.012397527694702148 length of segment : 116 time for calcul the mask position with numpy : 0.0033659934997558594 nb_pixel_total : 4938 time to create 1 rle with old method : 0.005829811096191406 length of segment : 114 time for calcul the mask position with numpy : 0.16180634498596191 nb_pixel_total : 31168 time to create 1 rle with old method : 0.04903817176818848 length of segment : 458 time for calcul the mask position with numpy : 0.14140677452087402 nb_pixel_total : 28364 time to create 1 rle with old method : 0.04282855987548828 length of segment : 215 time for calcul the mask position with numpy : 0.27436184883117676 nb_pixel_total : 56039 time to create 1 rle with old method : 0.0817575454711914 length of segment : 344 time for calcul the mask position with numpy : 0.4847273826599121 nb_pixel_total : 25108 time to create 1 rle with old method : 0.030622005462646484 length of segment : 344 time for calcul the mask position with numpy : 0.053009033203125 nb_pixel_total : 18086 time to create 1 rle with old method : 0.025600194931030273 length of segment : 112 time for calcul the mask position with numpy : 0.0006256103515625 nb_pixel_total : 9449 time to create 1 rle with old method : 0.01091313362121582 length of segment : 118 time for calcul the mask position with numpy : 0.01979351043701172 nb_pixel_total : 4541 time to create 1 rle with old method : 0.017114877700805664 length of segment : 106 time for calcul the mask position with numpy : 0.03829550743103027 nb_pixel_total : 16919 time to create 1 rle with old method : 0.023907184600830078 length of segment : 186 time for calcul the mask position with numpy : 0.08616328239440918 nb_pixel_total : 13887 time to create 1 rle with old method : 0.015747785568237305 length of segment : 284 time for calcul the mask position with numpy : 0.32873988151550293 nb_pixel_total : 24588 time to create 1 rle with old method : 0.0325169563293457 length of segment : 263 time for calcul the mask position with numpy : 0.032439470291137695 nb_pixel_total : 6367 time to create 1 rle with old method : 0.011582612991333008 length of segment : 76 time for calcul the mask position with numpy : 0.08228945732116699 nb_pixel_total : 17240 time to create 1 rle with old method : 0.024342775344848633 length of segment : 120 time for calcul the mask position with numpy : 0.1771717071533203 nb_pixel_total : 18594 time to create 1 rle with old method : 0.028202533721923828 length of segment : 212 time for calcul the mask position with numpy : 0.14595317840576172 nb_pixel_total : 18528 time to create 1 rle with old method : 0.026192665100097656 length of segment : 258 time for calcul the mask position with numpy : 0.01207590103149414 nb_pixel_total : 10643 time to create 1 rle with old method : 0.01437687873840332 length of segment : 120 time for calcul the mask position with numpy : 0.11192059516906738 nb_pixel_total : 22098 time to create 1 rle with old method : 0.03020453453063965 length of segment : 255 time for calcul the mask position with numpy : 0.0629122257232666 nb_pixel_total : 17304 time to create 1 rle with old method : 0.025931119918823242 length of segment : 89 time for calcul the mask position with numpy : 0.08648538589477539 nb_pixel_total : 18595 time to create 1 rle with old method : 0.03714919090270996 length of segment : 208 time for calcul the mask position with numpy : 0.047495365142822266 nb_pixel_total : 5916 time to create 1 rle with old method : 0.013938665390014648 length of segment : 182 time for calcul the mask position with numpy : 0.06430196762084961 nb_pixel_total : 14263 time to create 1 rle with old method : 0.02123713493347168 length of segment : 191 time for calcul the mask position with numpy : 0.0439000129699707 nb_pixel_total : 9271 time to create 1 rle with old method : 0.014881610870361328 length of segment : 130 time for calcul the mask position with numpy : 0.0492250919342041 nb_pixel_total : 6924 time to create 1 rle with old method : 0.013081073760986328 length of segment : 125 time for calcul the mask position with numpy : 0.10901737213134766 nb_pixel_total : 16762 time to create 1 rle with old method : 0.0291140079498291 length of segment : 253 time for calcul the mask position with numpy : 0.05185556411743164 nb_pixel_total : 16307 time to create 1 rle with old method : 0.022419214248657227 length of segment : 164 time for calcul the mask position with numpy : 0.044786691665649414 nb_pixel_total : 7490 time to create 1 rle with old method : 0.012649059295654297 length of segment : 126 time for calcul the mask position with numpy : 0.0924689769744873 nb_pixel_total : 16112 time to create 1 rle with old method : 0.02349233627319336 length of segment : 210 time for calcul the mask position with numpy : 0.048753976821899414 nb_pixel_total : 12376 time to create 1 rle with old method : 0.02102828025817871 length of segment : 150 time for calcul the mask position with numpy : 0.0699763298034668 nb_pixel_total : 11690 time to create 1 rle with old method : 0.027324914932250977 length of segment : 132 time for calcul the mask position with numpy : 0.042481422424316406 nb_pixel_total : 8565 time to create 1 rle with old method : 0.016002178192138672 length of segment : 160 time for calcul the mask position with numpy : 0.18887019157409668 nb_pixel_total : 15251 time to create 1 rle with old method : 0.021790027618408203 length of segment : 150 time for calcul the mask position with numpy : 0.10226154327392578 nb_pixel_total : 22305 time to create 1 rle with old method : 0.03003549575805664 length of segment : 183 time for calcul the mask position with numpy : 0.07499885559082031 nb_pixel_total : 10570 time to create 1 rle with old method : 0.01681375503540039 length of segment : 106 time for calcul the mask position with numpy : 0.10311079025268555 nb_pixel_total : 18523 time to create 1 rle with old method : 0.024654865264892578 length of segment : 226 time for calcul the mask position with numpy : 0.05181598663330078 nb_pixel_total : 12635 time to create 1 rle with old method : 0.02042222023010254 length of segment : 149 time for calcul the mask position with numpy : 0.10715794563293457 nb_pixel_total : 19334 time to create 1 rle with old method : 0.026997804641723633 length of segment : 210 time for calcul the mask position with numpy : 0.0543060302734375 nb_pixel_total : 8167 time to create 1 rle with old method : 0.013549089431762695 length of segment : 128 time for calcul the mask position with numpy : 0.0373842716217041 nb_pixel_total : 6326 time to create 1 rle with old method : 0.009519577026367188 length of segment : 112 time for calcul the mask position with numpy : 0.07529568672180176 nb_pixel_total : 17962 time to create 1 rle with old method : 0.0266265869140625 length of segment : 155 time for calcul the mask position with numpy : 0.05212593078613281 nb_pixel_total : 10599 time to create 1 rle with old method : 0.014374732971191406 length of segment : 133 time for calcul the mask position with numpy : 0.18040084838867188 nb_pixel_total : 32164 time to create 1 rle with old method : 0.04968738555908203 length of segment : 261 time for calcul the mask position with numpy : 0.10809779167175293 nb_pixel_total : 18929 time to create 1 rle with old method : 0.0310366153717041 length of segment : 217 time for calcul the mask position with numpy : 0.025964021682739258 nb_pixel_total : 3887 time to create 1 rle with old method : 0.008070945739746094 length of segment : 82 time for calcul the mask position with numpy : 0.09647989273071289 nb_pixel_total : 21009 time to create 1 rle with old method : 0.028253555297851562 length of segment : 204 time for calcul the mask position with numpy : 0.0026514530181884766 nb_pixel_total : 4322 time to create 1 rle with old method : 0.008236169815063477 length of segment : 85 time for calcul the mask position with numpy : 0.3252072334289551 nb_pixel_total : 68222 time to create 1 rle with old method : 0.08294558525085449 length of segment : 304 time for calcul the mask position with numpy : 0.06339120864868164 nb_pixel_total : 11234 time to create 1 rle with old method : 0.015388011932373047 length of segment : 183 time for calcul the mask position with numpy : 0.030752897262573242 nb_pixel_total : 6134 time to create 1 rle with old method : 0.010016202926635742 length of segment : 76 time for calcul the mask position with numpy : 0.07493066787719727 nb_pixel_total : 18159 time to create 1 rle with old method : 0.034075260162353516 length of segment : 165 time for calcul the mask position with numpy : 0.08629989624023438 nb_pixel_total : 19599 time to create 1 rle with old method : 0.0554804801940918 length of segment : 158 time for calcul the mask position with numpy : 0.12934565544128418 nb_pixel_total : 15809 time to create 1 rle with old method : 0.0230712890625 length of segment : 325 time for calcul the mask position with numpy : 0.12571215629577637 nb_pixel_total : 24498 time to create 1 rle with old method : 0.04750800132751465 length of segment : 161 time for calcul the mask position with numpy : 0.010370731353759766 nb_pixel_total : 8987 time to create 1 rle with old method : 0.019025087356567383 length of segment : 120 time for calcul the mask position with numpy : 0.04356789588928223 nb_pixel_total : 4719 time to create 1 rle with old method : 0.006968975067138672 length of segment : 71 time for calcul the mask position with numpy : 0.07420492172241211 nb_pixel_total : 11430 time to create 1 rle with old method : 0.01709604263305664 length of segment : 238 time for calcul the mask position with numpy : 0.07913446426391602 nb_pixel_total : 11821 time to create 1 rle with old method : 0.01839303970336914 length of segment : 147 time for calcul the mask position with numpy : 0.10818815231323242 nb_pixel_total : 26733 time to create 1 rle with old method : 0.038213491439819336 length of segment : 149 time for calcul the mask position with numpy : 0.03334546089172363 nb_pixel_total : 12135 time to create 1 rle with old method : 0.0239408016204834 length of segment : 141 time for calcul the mask position with numpy : 0.07370567321777344 nb_pixel_total : 17662 time to create 1 rle with old method : 0.044373512268066406 length of segment : 181 time for calcul the mask position with numpy : 0.04014921188354492 nb_pixel_total : 7317 time to create 1 rle with old method : 0.012389421463012695 length of segment : 107 time for calcul the mask position with numpy : 0.09913897514343262 nb_pixel_total : 22180 time to create 1 rle with old method : 0.0444490909576416 length of segment : 222 time for calcul the mask position with numpy : 0.05482006072998047 nb_pixel_total : 8451 time to create 1 rle with old method : 0.013453483581542969 length of segment : 113 time for calcul the mask position with numpy : 0.20251083374023438 nb_pixel_total : 46837 time to create 1 rle with old method : 0.0892026424407959 length of segment : 207 time for calcul the mask position with numpy : 0.07281208038330078 nb_pixel_total : 17520 time to create 1 rle with old method : 0.029898405075073242 length of segment : 107 time for calcul the mask position with numpy : 0.007608652114868164 nb_pixel_total : 2347 time to create 1 rle with old method : 0.005098819732666016 length of segment : 60 time for calcul the mask position with numpy : 0.009773731231689453 nb_pixel_total : 5504 time to create 1 rle with old method : 0.009196996688842773 length of segment : 91 time for calcul the mask position with numpy : 0.028329849243164062 nb_pixel_total : 5956 time to create 1 rle with old method : 0.009929656982421875 length of segment : 113 time for calcul the mask position with numpy : 0.026775360107421875 nb_pixel_total : 22006 time to create 1 rle with old method : 0.03571820259094238 length of segment : 149 time for calcul the mask position with numpy : 0.04538083076477051 nb_pixel_total : 16845 time to create 1 rle with old method : 0.029287338256835938 length of segment : 161 time for calcul the mask position with numpy : 0.09653735160827637 nb_pixel_total : 31141 time to create 1 rle with old method : 0.047148942947387695 length of segment : 187 time for calcul the mask position with numpy : 0.0354616641998291 nb_pixel_total : 17086 time to create 1 rle with old method : 0.028403282165527344 length of segment : 111 time for calcul the mask position with numpy : 0.06180119514465332 nb_pixel_total : 12225 time to create 1 rle with old method : 0.01635909080505371 length of segment : 133 time for calcul the mask position with numpy : 0.03867959976196289 nb_pixel_total : 16050 time to create 1 rle with old method : 0.02819681167602539 length of segment : 194 time for calcul the mask position with numpy : 0.07181835174560547 nb_pixel_total : 20507 time to create 1 rle with old method : 0.028641462326049805 length of segment : 143 time for calcul the mask position with numpy : 0.0702216625213623 nb_pixel_total : 16124 time to create 1 rle with old method : 0.02275252342224121 length of segment : 111 time for calcul the mask position with numpy : 0.010442733764648438 nb_pixel_total : 5801 time to create 1 rle with old method : 0.00849294662475586 length of segment : 81 time for calcul the mask position with numpy : 0.06596064567565918 nb_pixel_total : 14055 time to create 1 rle with old method : 0.026901721954345703 length of segment : 227 time for calcul the mask position with numpy : 0.08422732353210449 nb_pixel_total : 15274 time to create 1 rle with old method : 0.027601003646850586 length of segment : 324 time for calcul the mask position with numpy : 0.005243062973022461 nb_pixel_total : 8841 time to create 1 rle with old method : 0.01087808609008789 length of segment : 132 time for calcul the mask position with numpy : 0.10522580146789551 nb_pixel_total : 41401 time to create 1 rle with old method : 0.05487966537475586 length of segment : 238 time for calcul the mask position with numpy : 0.09723472595214844 nb_pixel_total : 14740 time to create 1 rle with old method : 0.027339696884155273 length of segment : 169 time for calcul the mask position with numpy : 0.06916546821594238 nb_pixel_total : 22305 time to create 1 rle with old method : 0.04308962821960449 length of segment : 145 time for calcul the mask position with numpy : 0.08200573921203613 nb_pixel_total : 22189 time to create 1 rle with old method : 0.040639400482177734 length of segment : 181 time for calcul the mask position with numpy : 0.03740692138671875 nb_pixel_total : 13043 time to create 1 rle with old method : 0.024335384368896484 length of segment : 157 time for calcul the mask position with numpy : 0.03907632827758789 nb_pixel_total : 8022 time to create 1 rle with old method : 0.013398885726928711 length of segment : 133 time for calcul the mask position with numpy : 0.19404959678649902 nb_pixel_total : 47380 time to create 1 rle with old method : 0.09048628807067871 length of segment : 426 time for calcul the mask position with numpy : 0.15059185028076172 nb_pixel_total : 37088 time to create 1 rle with old method : 0.059601545333862305 length of segment : 278 time for calcul the mask position with numpy : 0.12185120582580566 nb_pixel_total : 37068 time to create 1 rle with old method : 0.05283164978027344 length of segment : 272 time for calcul the mask position with numpy : 0.16621065139770508 nb_pixel_total : 70357 time to create 1 rle with old method : 0.09942507743835449 length of segment : 339 time for calcul the mask position with numpy : 0.10092949867248535 nb_pixel_total : 23861 time to create 1 rle with old method : 0.045542001724243164 length of segment : 272 time for calcul the mask position with numpy : 0.016570091247558594 nb_pixel_total : 8182 time to create 1 rle with old method : 0.013960599899291992 length of segment : 134 time for calcul the mask position with numpy : 0.06404519081115723 nb_pixel_total : 15869 time to create 1 rle with old method : 0.022226810455322266 length of segment : 182 time for calcul the mask position with numpy : 0.014952659606933594 nb_pixel_total : 27193 time to create 1 rle with old method : 0.03354287147521973 length of segment : 183 time for calcul the mask position with numpy : 0.07221269607543945 nb_pixel_total : 17682 time to create 1 rle with old method : 0.0378570556640625 length of segment : 209 time for calcul the mask position with numpy : 0.10239768028259277 nb_pixel_total : 29542 time to create 1 rle with old method : 0.04035186767578125 length of segment : 195 time for calcul the mask position with numpy : 0.18650245666503906 nb_pixel_total : 58219 time to create 1 rle with old method : 0.07913589477539062 length of segment : 528 time for calcul the mask position with numpy : 0.012035131454467773 nb_pixel_total : 22601 time to create 1 rle with old method : 0.04158830642700195 length of segment : 191 time for calcul the mask position with numpy : 0.09650492668151855 nb_pixel_total : 21074 time to create 1 rle with old method : 0.041687726974487305 length of segment : 226 time for calcul the mask position with numpy : 0.08645820617675781 nb_pixel_total : 22723 time to create 1 rle with old method : 0.03429126739501953 length of segment : 365 time for calcul the mask position with numpy : 0.08604311943054199 nb_pixel_total : 22911 time to create 1 rle with old method : 0.032718658447265625 length of segment : 227 time for calcul the mask position with numpy : 0.01865100860595703 nb_pixel_total : 4291 time to create 1 rle with old method : 0.00959157943725586 length of segment : 74 time for calcul the mask position with numpy : 0.12983131408691406 nb_pixel_total : 28097 time to create 1 rle with old method : 0.03765726089477539 length of segment : 390 time for calcul the mask position with numpy : 0.07845902442932129 nb_pixel_total : 21785 time to create 1 rle with old method : 0.029866695404052734 length of segment : 181 time for calcul the mask position with numpy : 0.07170605659484863 nb_pixel_total : 29838 time to create 1 rle with old method : 0.04081583023071289 length of segment : 247 time for calcul the mask position with numpy : 0.02728271484375 nb_pixel_total : 6822 time to create 1 rle with old method : 0.013333559036254883 length of segment : 95 time for calcul the mask position with numpy : 0.03564453125 nb_pixel_total : 12166 time to create 1 rle with old method : 0.02731180191040039 length of segment : 135 time for calcul the mask position with numpy : 0.11622881889343262 nb_pixel_total : 42008 time to create 1 rle with old method : 0.05873441696166992 length of segment : 284 time for calcul the mask position with numpy : 0.0897829532623291 nb_pixel_total : 14981 time to create 1 rle with old method : 0.026135683059692383 length of segment : 221 time for calcul the mask position with numpy : 0.1158604621887207 nb_pixel_total : 25496 time to create 1 rle with old method : 0.03902006149291992 length of segment : 200 time for calcul the mask position with numpy : 0.03191661834716797 nb_pixel_total : 32481 time to create 1 rle with old method : 0.0599675178527832 length of segment : 312 time for calcul the mask position with numpy : 0.010159969329833984 nb_pixel_total : 19315 time to create 1 rle with old method : 0.03734588623046875 length of segment : 147 time for calcul the mask position with numpy : 0.2663595676422119 nb_pixel_total : 80666 time to create 1 rle with old method : 0.09316778182983398 length of segment : 400 time for calcul the mask position with numpy : 0.08980226516723633 nb_pixel_total : 26950 time to create 1 rle with old method : 0.03754734992980957 length of segment : 148 time for calcul the mask position with numpy : 0.07446599006652832 nb_pixel_total : 39006 time to create 1 rle with old method : 0.055121660232543945 length of segment : 241 time for calcul the mask position with numpy : 0.13150310516357422 nb_pixel_total : 48629 time to create 1 rle with old method : 0.05343484878540039 length of segment : 302 time for calcul the mask position with numpy : 0.03850674629211426 nb_pixel_total : 14552 time to create 1 rle with old method : 0.020555973052978516 length of segment : 143 time for calcul the mask position with numpy : 0.07173418998718262 nb_pixel_total : 27514 time to create 1 rle with old method : 0.050325870513916016 length of segment : 187 time for calcul the mask position with numpy : 0.025365829467773438 nb_pixel_total : 10224 time to create 1 rle with old method : 0.014823436737060547 length of segment : 101 time for calcul the mask position with numpy : 0.05678391456604004 nb_pixel_total : 7644 time to create 1 rle with old method : 0.013087749481201172 length of segment : 277 time for calcul the mask position with numpy : 0.10616135597229004 nb_pixel_total : 21420 time to create 1 rle with old method : 0.03861403465270996 length of segment : 242 time for calcul the mask position with numpy : 0.027318239212036133 nb_pixel_total : 5579 time to create 1 rle with old method : 0.00892186164855957 length of segment : 114 time for calcul the mask position with numpy : 0.011355400085449219 nb_pixel_total : 14212 time to create 1 rle with old method : 0.03607892990112305 length of segment : 181 time for calcul the mask position with numpy : 0.15093278884887695 nb_pixel_total : 30147 time to create 1 rle with old method : 0.036985158920288086 length of segment : 336 time for calcul the mask position with numpy : 0.09459090232849121 nb_pixel_total : 25536 time to create 1 rle with old method : 0.033081769943237305 length of segment : 181 time for calcul the mask position with numpy : 0.07962417602539062 nb_pixel_total : 28573 time to create 1 rle with old method : 0.04689741134643555 length of segment : 143 time for calcul the mask position with numpy : 0.17299127578735352 nb_pixel_total : 66714 time to create 1 rle with old method : 0.14253473281860352 length of segment : 332 time for calcul the mask position with numpy : 0.13595914840698242 nb_pixel_total : 29777 time to create 1 rle with old method : 0.0618891716003418 length of segment : 280 time for calcul the mask position with numpy : 0.10495758056640625 nb_pixel_total : 50454 time to create 1 rle with old method : 0.06905937194824219 length of segment : 217 time for calcul the mask position with numpy : 0.12471771240234375 nb_pixel_total : 48067 time to create 1 rle with old method : 0.057280778884887695 length of segment : 358 time for calcul the mask position with numpy : 0.028186798095703125 nb_pixel_total : 12552 time to create 1 rle with old method : 0.01820063591003418 length of segment : 162 time for calcul the mask position with numpy : 0.07826066017150879 nb_pixel_total : 42915 time to create 1 rle with old method : 0.053035736083984375 length of segment : 251 time for calcul the mask position with numpy : 0.039762258529663086 nb_pixel_total : 8844 time to create 1 rle with old method : 0.017114639282226562 length of segment : 126 time for calcul the mask position with numpy : 0.09215235710144043 nb_pixel_total : 25209 time to create 1 rle with old method : 0.031941890716552734 length of segment : 331 time for calcul the mask position with numpy : 0.07168173789978027 nb_pixel_total : 20549 time to create 1 rle with old method : 0.026925325393676758 length of segment : 248 time for calcul the mask position with numpy : 0.22697782516479492 nb_pixel_total : 155971 time to create 1 rle with new method : 0.008016824722290039 length of segment : 369 time for calcul the mask position with numpy : 0.14332914352416992 nb_pixel_total : 98144 time to create 1 rle with old method : 0.11308002471923828 length of segment : 375 time for calcul the mask position with numpy : 0.03137326240539551 nb_pixel_total : 15167 time to create 1 rle with old method : 0.024799585342407227 length of segment : 111 time for calcul the mask position with numpy : 0.1545860767364502 nb_pixel_total : 96572 time to create 1 rle with old method : 0.11604738235473633 length of segment : 330 time for calcul the mask position with numpy : 0.01095890998840332 nb_pixel_total : 34443 time to create 1 rle with old method : 0.0618290901184082 length of segment : 252 time for calcul the mask position with numpy : 0.07104802131652832 nb_pixel_total : 54915 time to create 1 rle with old method : 0.06784868240356445 length of segment : 246 time for calcul the mask position with numpy : 0.025152921676635742 nb_pixel_total : 9296 time to create 1 rle with old method : 0.015545129776000977 length of segment : 121 time for calcul the mask position with numpy : 0.02774333953857422 nb_pixel_total : 10025 time to create 1 rle with old method : 0.011657476425170898 length of segment : 109 time for calcul the mask position with numpy : 0.05198359489440918 nb_pixel_total : 32602 time to create 1 rle with old method : 0.04144024848937988 length of segment : 202 time for calcul the mask position with numpy : 0.07662510871887207 nb_pixel_total : 40226 time to create 1 rle with old method : 0.04847311973571777 length of segment : 245 time for calcul the mask position with numpy : 0.0021390914916992188 nb_pixel_total : 17492 time to create 1 rle with old method : 0.025901317596435547 length of segment : 112 time for calcul the mask position with numpy : 0.012457609176635742 nb_pixel_total : 7362 time to create 1 rle with old method : 0.02417612075805664 length of segment : 104 time for calcul the mask position with numpy : 0.21118474006652832 nb_pixel_total : 173601 time to create 1 rle with new method : 0.016655683517456055 length of segment : 337 time for calcul the mask position with numpy : 0.04755377769470215 nb_pixel_total : 34716 time to create 1 rle with old method : 0.04331564903259277 length of segment : 215 time for calcul the mask position with numpy : 0.03827190399169922 nb_pixel_total : 34500 time to create 1 rle with old method : 0.04875636100769043 length of segment : 238 time for calcul the mask position with numpy : 0.004048347473144531 nb_pixel_total : 2564 time to create 1 rle with old method : 0.0039033889770507812 length of segment : 128 time for calcul the mask position with numpy : 0.023112773895263672 nb_pixel_total : 7108 time to create 1 rle with old method : 0.01543879508972168 length of segment : 119 time for calcul the mask position with numpy : 0.025489091873168945 nb_pixel_total : 9170 time to create 1 rle with old method : 0.014086008071899414 length of segment : 119 time for calcul the mask position with numpy : 0.11034584045410156 nb_pixel_total : 35945 time to create 1 rle with old method : 0.0534207820892334 length of segment : 273 time for calcul the mask position with numpy : 0.11197924613952637 nb_pixel_total : 80394 time to create 1 rle with old method : 0.0987997055053711 length of segment : 261 time for calcul the mask position with numpy : 0.05256223678588867 nb_pixel_total : 19427 time to create 1 rle with old method : 0.024068355560302734 length of segment : 194 time for calcul the mask position with numpy : 0.04799032211303711 nb_pixel_total : 19937 time to create 1 rle with old method : 0.033893585205078125 length of segment : 218 time for calcul the mask position with numpy : 0.27689123153686523 nb_pixel_total : 172244 time to create 1 rle with new method : 0.009491682052612305 length of segment : 657 time for calcul the mask position with numpy : 0.03278303146362305 nb_pixel_total : 9281 time to create 1 rle with old method : 0.015237808227539062 length of segment : 122 time for calcul the mask position with numpy : 0.034383535385131836 nb_pixel_total : 21298 time to create 1 rle with old method : 0.030658245086669922 length of segment : 118 time for calcul the mask position with numpy : 0.0015375614166259766 nb_pixel_total : 18673 time to create 1 rle with old method : 0.034836530685424805 length of segment : 190 time for calcul the mask position with numpy : 0.03626704216003418 nb_pixel_total : 19429 time to create 1 rle with old method : 0.02939009666442871 length of segment : 181 time for calcul the mask position with numpy : 0.021439313888549805 nb_pixel_total : 22676 time to create 1 rle with old method : 0.027923583984375 length of segment : 259 time for calcul the mask position with numpy : 0.029439449310302734 nb_pixel_total : 16571 time to create 1 rle with old method : 0.02217721939086914 length of segment : 190 time for calcul the mask position with numpy : 0.017553329467773438 nb_pixel_total : 7908 time to create 1 rle with old method : 0.013949394226074219 length of segment : 110 time for calcul the mask position with numpy : 0.004755496978759766 nb_pixel_total : 3801 time to create 1 rle with old method : 0.004548549652099609 length of segment : 115 time for calcul the mask position with numpy : 0.00014543533325195312 nb_pixel_total : 4418 time to create 1 rle with old method : 0.006053924560546875 length of segment : 85 time for calcul the mask position with numpy : 0.006085395812988281 nb_pixel_total : 16266 time to create 1 rle with old method : 0.021628856658935547 length of segment : 256 time for calcul the mask position with numpy : 0.04487013816833496 nb_pixel_total : 9350 time to create 1 rle with old method : 0.014617681503295898 length of segment : 231 time for calcul the mask position with numpy : 0.005345344543457031 nb_pixel_total : 3390 time to create 1 rle with old method : 0.007422685623168945 length of segment : 57 time for calcul the mask position with numpy : 0.03645753860473633 nb_pixel_total : 18580 time to create 1 rle with old method : 0.02784872055053711 length of segment : 154 time for calcul the mask position with numpy : 0.05994272232055664 nb_pixel_total : 46410 time to create 1 rle with old method : 0.10203814506530762 length of segment : 188 time for calcul the mask position with numpy : 0.12758159637451172 nb_pixel_total : 107372 time to create 1 rle with old method : 0.14890050888061523 length of segment : 405 time for calcul the mask position with numpy : 0.4356670379638672 nb_pixel_total : 337791 time to create 1 rle with new method : 0.045816898345947266 length of segment : 945 time for calcul the mask position with numpy : 0.49985289573669434 nb_pixel_total : 679514 time to create 1 rle with new method : 0.06883645057678223 length of segment : 1110 time for calcul the mask position with numpy : 0.17354488372802734 nb_pixel_total : 151094 time to create 1 rle with new method : 0.009446144104003906 length of segment : 405 time for calcul the mask position with numpy : 0.022838592529296875 nb_pixel_total : 16572 time to create 1 rle with old method : 0.023316383361816406 length of segment : 280 time for calcul the mask position with numpy : 0.05810999870300293 nb_pixel_total : 115284 time to create 1 rle with old method : 0.16577696800231934 length of segment : 418 time for calcul the mask position with numpy : 0.1088109016418457 nb_pixel_total : 93463 time to create 1 rle with old method : 0.19083595275878906 length of segment : 526 time for calcul the mask position with numpy : 0.004232645034790039 nb_pixel_total : 135458 time to create 1 rle with old method : 0.16845464706420898 length of segment : 480 time for calcul the mask position with numpy : 0.026802778244018555 nb_pixel_total : 17389 time to create 1 rle with old method : 0.020339250564575195 length of segment : 173 time for calcul the mask position with numpy : 0.0328679084777832 nb_pixel_total : 24565 time to create 1 rle with old method : 0.03439068794250488 length of segment : 165 time for calcul the mask position with numpy : 0.1280975341796875 nb_pixel_total : 152817 time to create 1 rle with new method : 0.006724834442138672 length of segment : 415 time for calcul the mask position with numpy : 0.03958487510681152 nb_pixel_total : 15642 time to create 1 rle with old method : 0.020209550857543945 length of segment : 212 time for calcul the mask position with numpy : 0.0597224235534668 nb_pixel_total : 45734 time to create 1 rle with old method : 0.05556082725524902 length of segment : 256 time for calcul the mask position with numpy : 0.04834437370300293 nb_pixel_total : 41256 time to create 1 rle with old method : 0.04814481735229492 length of segment : 235 time for calcul the mask position with numpy : 0.10237932205200195 nb_pixel_total : 73400 time to create 1 rle with old method : 0.08649039268493652 length of segment : 314 time for calcul the mask position with numpy : 0.06152844429016113 nb_pixel_total : 29749 time to create 1 rle with old method : 0.04113268852233887 length of segment : 170 time for calcul the mask position with numpy : 0.054518938064575195 nb_pixel_total : 18262 time to create 1 rle with old method : 0.026037216186523438 length of segment : 174 time for calcul the mask position with numpy : 0.031028032302856445 nb_pixel_total : 12785 time to create 1 rle with old method : 0.02069544792175293 length of segment : 125 time for calcul the mask position with numpy : 0.09675407409667969 nb_pixel_total : 44801 time to create 1 rle with old method : 0.06393194198608398 length of segment : 631 time for calcul the mask position with numpy : 0.26651978492736816 nb_pixel_total : 123217 time to create 1 rle with old method : 0.17835092544555664 length of segment : 578 time for calcul the mask position with numpy : 0.04731416702270508 nb_pixel_total : 13105 time to create 1 rle with old method : 0.018777132034301758 length of segment : 161 time for calcul the mask position with numpy : 0.09140634536743164 nb_pixel_total : 39410 time to create 1 rle with old method : 0.049526214599609375 length of segment : 248 time for calcul the mask position with numpy : 0.2007591724395752 nb_pixel_total : 89690 time to create 1 rle with old method : 0.10268402099609375 length of segment : 340 time for calcul the mask position with numpy : 0.13645386695861816 nb_pixel_total : 89059 time to create 1 rle with old method : 0.12001800537109375 length of segment : 382 time for calcul the mask position with numpy : 0.05751943588256836 nb_pixel_total : 24323 time to create 1 rle with old method : 0.027007579803466797 length of segment : 224 time for calcul the mask position with numpy : 0.18085837364196777 nb_pixel_total : 53677 time to create 1 rle with old method : 0.07161712646484375 length of segment : 489 time for calcul the mask position with numpy : 0.19916915893554688 nb_pixel_total : 55893 time to create 1 rle with old method : 0.06787633895874023 length of segment : 306 time for calcul the mask position with numpy : 0.08034014701843262 nb_pixel_total : 31158 time to create 1 rle with old method : 0.04025578498840332 length of segment : 176 time for calcul the mask position with numpy : 0.022454261779785156 nb_pixel_total : 6785 time to create 1 rle with old method : 0.012955904006958008 length of segment : 71 time for calcul the mask position with numpy : 0.005443096160888672 nb_pixel_total : 14665 time to create 1 rle with old method : 0.018942594528198242 length of segment : 183 time for calcul the mask position with numpy : 0.19635748863220215 nb_pixel_total : 185644 time to create 1 rle with new method : 0.01565384864807129 length of segment : 459 time for calcul the mask position with numpy : 0.12871074676513672 nb_pixel_total : 53677 time to create 1 rle with old method : 0.0785818099975586 length of segment : 427 time for calcul the mask position with numpy : 0.03789377212524414 nb_pixel_total : 34243 time to create 1 rle with old method : 0.0688014030456543 length of segment : 202 time for calcul the mask position with numpy : 0.027594327926635742 nb_pixel_total : 6954 time to create 1 rle with old method : 0.014725685119628906 length of segment : 117 time for calcul the mask position with numpy : 0.03830289840698242 nb_pixel_total : 26343 time to create 1 rle with old method : 0.04479622840881348 length of segment : 228 time for calcul the mask position with numpy : 0.03345632553100586 nb_pixel_total : 15939 time to create 1 rle with old method : 0.029915571212768555 length of segment : 120 time for calcul the mask position with numpy : 0.0442967414855957 nb_pixel_total : 16013 time to create 1 rle with old method : 0.023511886596679688 length of segment : 155 time for calcul the mask position with numpy : 0.026175975799560547 nb_pixel_total : 24565 time to create 1 rle with old method : 0.033236026763916016 length of segment : 256 time for calcul the mask position with numpy : 0.18697738647460938 nb_pixel_total : 22791 time to create 1 rle with old method : 0.04058384895324707 length of segment : 253 time for calcul the mask position with numpy : 0.1817340850830078 nb_pixel_total : 25849 time to create 1 rle with old method : 0.03734469413757324 length of segment : 345 time for calcul the mask position with numpy : 0.11191129684448242 nb_pixel_total : 22267 time to create 1 rle with old method : 0.030931711196899414 length of segment : 260 time for calcul the mask position with numpy : 0.048212528228759766 nb_pixel_total : 17780 time to create 1 rle with old method : 0.026556730270385742 length of segment : 205 time for calcul the mask position with numpy : 0.04718923568725586 nb_pixel_total : 15716 time to create 1 rle with old method : 0.02383565902709961 length of segment : 81 time for calcul the mask position with numpy : 0.028369426727294922 nb_pixel_total : 4703 time to create 1 rle with old method : 0.009528636932373047 length of segment : 100 time for calcul the mask position with numpy : 0.05999898910522461 nb_pixel_total : 19713 time to create 1 rle with old method : 0.02599048614501953 length of segment : 153 time for calcul the mask position with numpy : 0.053498029708862305 nb_pixel_total : 7747 time to create 1 rle with old method : 0.012069940567016602 length of segment : 153 time for calcul the mask position with numpy : 0.04849839210510254 nb_pixel_total : 11259 time to create 1 rle with old method : 0.01959085464477539 length of segment : 121 time for calcul the mask position with numpy : 0.08678030967712402 nb_pixel_total : 25390 time to create 1 rle with old method : 0.044046640396118164 length of segment : 122 time for calcul the mask position with numpy : 0.03665971755981445 nb_pixel_total : 14396 time to create 1 rle with old method : 0.04127311706542969 length of segment : 147 time for calcul the mask position with numpy : 0.06268429756164551 nb_pixel_total : 7435 time to create 1 rle with old method : 0.015484809875488281 length of segment : 194 time for calcul the mask position with numpy : 0.07488393783569336 nb_pixel_total : 20625 time to create 1 rle with old method : 0.03410840034484863 length of segment : 138 time for calcul the mask position with numpy : 0.14795875549316406 nb_pixel_total : 20161 time to create 1 rle with old method : 0.03001260757446289 length of segment : 157 time for calcul the mask position with numpy : 0.022835731506347656 nb_pixel_total : 6595 time to create 1 rle with old method : 0.014242172241210938 length of segment : 82 time for calcul the mask position with numpy : 0.062432289123535156 nb_pixel_total : 13309 time to create 1 rle with old method : 0.0228116512298584 length of segment : 183 time for calcul the mask position with numpy : 0.023736953735351562 nb_pixel_total : 6641 time to create 1 rle with old method : 0.01678609848022461 length of segment : 183 time for calcul the mask position with numpy : 0.048865318298339844 nb_pixel_total : 11938 time to create 1 rle with old method : 0.020151615142822266 length of segment : 147 time for calcul the mask position with numpy : 0.09123563766479492 nb_pixel_total : 20245 time to create 1 rle with old method : 0.02848529815673828 length of segment : 225 time for calcul the mask position with numpy : 0.13470959663391113 nb_pixel_total : 43167 time to create 1 rle with old method : 0.05849146842956543 length of segment : 415 time for calcul the mask position with numpy : 0.08675575256347656 nb_pixel_total : 22657 time to create 1 rle with old method : 0.028634071350097656 length of segment : 312 time for calcul the mask position with numpy : 0.012472867965698242 nb_pixel_total : 17413 time to create 1 rle with old method : 0.0201413631439209 length of segment : 150 time for calcul the mask position with numpy : 0.054909706115722656 nb_pixel_total : 13101 time to create 1 rle with old method : 0.017346620559692383 length of segment : 179 time for calcul the mask position with numpy : 0.031923770904541016 nb_pixel_total : 6378 time to create 1 rle with old method : 0.011841058731079102 length of segment : 119 time for calcul the mask position with numpy : 0.055388689041137695 nb_pixel_total : 12295 time to create 1 rle with old method : 0.027153968811035156 length of segment : 146 time for calcul the mask position with numpy : 0.05423569679260254 nb_pixel_total : 14660 time to create 1 rle with old method : 0.021640539169311523 length of segment : 151 time for calcul the mask position with numpy : 0.03821253776550293 nb_pixel_total : 11150 time to create 1 rle with old method : 0.01887202262878418 length of segment : 135 time for calcul the mask position with numpy : 0.022503376007080078 nb_pixel_total : 4813 time to create 1 rle with old method : 0.007777690887451172 length of segment : 69 time for calcul the mask position with numpy : 0.04017210006713867 nb_pixel_total : 21201 time to create 1 rle with old method : 0.03481769561767578 length of segment : 161 time for calcul the mask position with numpy : 0.05836200714111328 nb_pixel_total : 18242 time to create 1 rle with old method : 0.024378299713134766 length of segment : 164 time for calcul the mask position with numpy : 0.024469614028930664 nb_pixel_total : 16511 time to create 1 rle with old method : 0.0281679630279541 length of segment : 146 time for calcul the mask position with numpy : 0.04817628860473633 nb_pixel_total : 15985 time to create 1 rle with old method : 0.023340225219726562 length of segment : 136 time for calcul the mask position with numpy : 0.013504505157470703 nb_pixel_total : 9941 time to create 1 rle with old method : 0.01545405387878418 length of segment : 115 time for calcul the mask position with numpy : 0.022296905517578125 nb_pixel_total : 4188 time to create 1 rle with old method : 0.006322383880615234 length of segment : 83 time for calcul the mask position with numpy : 0.0771646499633789 nb_pixel_total : 18662 time to create 1 rle with old method : 0.03215217590332031 length of segment : 210 time for calcul the mask position with numpy : 0.003760099411010742 nb_pixel_total : 6525 time to create 1 rle with old method : 0.008193731307983398 length of segment : 99 time for calcul the mask position with numpy : 0.0491483211517334 nb_pixel_total : 14632 time to create 1 rle with old method : 0.024240732192993164 length of segment : 149 time for calcul the mask position with numpy : 0.0792076587677002 nb_pixel_total : 13326 time to create 1 rle with old method : 0.023184537887573242 length of segment : 158 time for calcul the mask position with numpy : 0.0011441707611083984 nb_pixel_total : 4147 time to create 1 rle with old method : 0.004912614822387695 length of segment : 117 time for calcul the mask position with numpy : 0.09128713607788086 nb_pixel_total : 20923 time to create 1 rle with old method : 0.03256058692932129 length of segment : 199 time for calcul the mask position with numpy : 0.016453266143798828 nb_pixel_total : 1806 time to create 1 rle with old method : 0.0042035579681396484 length of segment : 53 time for calcul the mask position with numpy : 0.17289185523986816 nb_pixel_total : 36646 time to create 1 rle with old method : 0.04930853843688965 length of segment : 242 time for calcul the mask position with numpy : 0.11665892601013184 nb_pixel_total : 83703 time to create 1 rle with old method : 0.10303282737731934 length of segment : 426 time for calcul the mask position with numpy : 0.0178985595703125 nb_pixel_total : 2971 time to create 1 rle with old method : 0.006358146667480469 length of segment : 64 time for calcul the mask position with numpy : 0.036516666412353516 nb_pixel_total : 8428 time to create 1 rle with old method : 0.014752864837646484 length of segment : 89 time for calcul the mask position with numpy : 0.09889769554138184 nb_pixel_total : 27134 time to create 1 rle with old method : 0.033536672592163086 length of segment : 449 time for calcul the mask position with numpy : 0.09148788452148438 nb_pixel_total : 18231 time to create 1 rle with old method : 0.03135204315185547 length of segment : 191 time for calcul the mask position with numpy : 0.03831171989440918 nb_pixel_total : 8291 time to create 1 rle with old method : 0.014267921447753906 length of segment : 95 time for calcul the mask position with numpy : 0.0236051082611084 nb_pixel_total : 3851 time to create 1 rle with old method : 0.006651639938354492 length of segment : 79 time for calcul the mask position with numpy : 0.0627279281616211 nb_pixel_total : 10495 time to create 1 rle with old method : 0.019101619720458984 length of segment : 72 time for calcul the mask position with numpy : 0.010744810104370117 nb_pixel_total : 3540 time to create 1 rle with old method : 0.005380153656005859 length of segment : 69 time for calcul the mask position with numpy : 0.004381895065307617 nb_pixel_total : 2938 time to create 1 rle with old method : 0.0038156509399414062 length of segment : 71 time for calcul the mask position with numpy : 0.07129979133605957 nb_pixel_total : 19136 time to create 1 rle with old method : 0.03297567367553711 length of segment : 130 time for calcul the mask position with numpy : 0.02925252914428711 nb_pixel_total : 6249 time to create 1 rle with old method : 0.009531259536743164 length of segment : 114 time for calcul the mask position with numpy : 0.015957117080688477 nb_pixel_total : 4814 time to create 1 rle with old method : 0.007180690765380859 length of segment : 146 time for calcul the mask position with numpy : 0.15105605125427246 nb_pixel_total : 12345 time to create 1 rle with old method : 0.017725229263305664 length of segment : 181 time for calcul the mask position with numpy : 0.029865741729736328 nb_pixel_total : 7450 time to create 1 rle with old method : 0.012894153594970703 length of segment : 86 time for calcul the mask position with numpy : 0.05985426902770996 nb_pixel_total : 23230 time to create 1 rle with old method : 0.042604684829711914 length of segment : 124 time for calcul the mask position with numpy : 0.12584805488586426 nb_pixel_total : 23610 time to create 1 rle with old method : 0.030513763427734375 length of segment : 245 time for calcul the mask position with numpy : 0.07463669776916504 nb_pixel_total : 20906 time to create 1 rle with old method : 0.04097604751586914 length of segment : 125 time for calcul the mask position with numpy : 0.09413433074951172 nb_pixel_total : 19121 time to create 1 rle with old method : 0.035387516021728516 length of segment : 158 time for calcul the mask position with numpy : 0.09480500221252441 nb_pixel_total : 15973 time to create 1 rle with old method : 0.03000497817993164 length of segment : 190 time for calcul the mask position with numpy : 0.13449454307556152 nb_pixel_total : 19587 time to create 1 rle with old method : 0.036173343658447266 length of segment : 206 time for calcul the mask position with numpy : 0.11603951454162598 nb_pixel_total : 21760 time to create 1 rle with old method : 0.03388190269470215 length of segment : 186 time for calcul the mask position with numpy : 0.06182670593261719 nb_pixel_total : 8234 time to create 1 rle with old method : 0.01297450065612793 length of segment : 157 time for calcul the mask position with numpy : 0.03454017639160156 nb_pixel_total : 6544 time to create 1 rle with old method : 0.010493993759155273 length of segment : 118 time for calcul the mask position with numpy : 0.07031416893005371 nb_pixel_total : 10651 time to create 1 rle with old method : 0.0179903507232666 length of segment : 115 time for calcul the mask position with numpy : 0.1084895133972168 nb_pixel_total : 18127 time to create 1 rle with old method : 0.04404878616333008 length of segment : 192 time for calcul the mask position with numpy : 0.12265467643737793 nb_pixel_total : 20340 time to create 1 rle with old method : 0.028453588485717773 length of segment : 177 time for calcul the mask position with numpy : 0.06516766548156738 nb_pixel_total : 11793 time to create 1 rle with old method : 0.0186004638671875 length of segment : 117 time for calcul the mask position with numpy : 0.07947993278503418 nb_pixel_total : 18224 time to create 1 rle with old method : 0.02526998519897461 length of segment : 208 time for calcul the mask position with numpy : 0.053301334381103516 nb_pixel_total : 5931 time to create 1 rle with old method : 0.010059118270874023 length of segment : 185 time for calcul the mask position with numpy : 0.050122737884521484 nb_pixel_total : 14767 time to create 1 rle with old method : 0.02315998077392578 length of segment : 150 time for calcul the mask position with numpy : 0.04498696327209473 nb_pixel_total : 7186 time to create 1 rle with old method : 0.021686077117919922 length of segment : 121 time for calcul the mask position with numpy : 0.1368253231048584 nb_pixel_total : 26264 time to create 1 rle with old method : 0.03277945518493652 length of segment : 259 time for calcul the mask position with numpy : 0.05319046974182129 nb_pixel_total : 8953 time to create 1 rle with old method : 0.015987634658813477 length of segment : 156 time for calcul the mask position with numpy : 0.04644346237182617 nb_pixel_total : 10198 time to create 1 rle with old method : 0.018107891082763672 length of segment : 102 time for calcul the mask position with numpy : 0.06394362449645996 nb_pixel_total : 10916 time to create 1 rle with old method : 0.02452826499938965 length of segment : 125 time for calcul the mask position with numpy : 0.0316014289855957 nb_pixel_total : 7036 time to create 1 rle with old method : 0.01344609260559082 length of segment : 87 time for calcul the mask position with numpy : 0.055379629135131836 nb_pixel_total : 12061 time to create 1 rle with old method : 0.019517183303833008 length of segment : 141 time for calcul the mask position with numpy : 0.0671238899230957 nb_pixel_total : 11185 time to create 1 rle with old method : 0.038892269134521484 length of segment : 120 time for calcul the mask position with numpy : 0.06521105766296387 nb_pixel_total : 14403 time to create 1 rle with old method : 0.021397829055786133 length of segment : 137 time for calcul the mask position with numpy : 0.07306146621704102 nb_pixel_total : 26011 time to create 1 rle with old method : 0.03240227699279785 length of segment : 143 time for calcul the mask position with numpy : 0.049097299575805664 nb_pixel_total : 11729 time to create 1 rle with old method : 0.016654491424560547 length of segment : 145 time for calcul the mask position with numpy : 0.049872398376464844 nb_pixel_total : 9679 time to create 1 rle with old method : 0.0159761905670166 length of segment : 98 time for calcul the mask position with numpy : 0.07654237747192383 nb_pixel_total : 17284 time to create 1 rle with old method : 0.024817943572998047 length of segment : 240 time for calcul the mask position with numpy : 0.0381016731262207 nb_pixel_total : 14448 time to create 1 rle with old method : 0.022507667541503906 length of segment : 153 time for calcul the mask position with numpy : 0.11189126968383789 nb_pixel_total : 45432 time to create 1 rle with old method : 0.06825089454650879 length of segment : 252 time for calcul the mask position with numpy : 0.026561737060546875 nb_pixel_total : 4089 time to create 1 rle with old method : 0.008257389068603516 length of segment : 77 time for calcul the mask position with numpy : 0.04051780700683594 nb_pixel_total : 7401 time to create 1 rle with old method : 0.014133930206298828 length of segment : 106 time for calcul the mask position with numpy : 0.02818894386291504 nb_pixel_total : 7176 time to create 1 rle with old method : 0.012519359588623047 length of segment : 79 time for calcul the mask position with numpy : 0.07222533226013184 nb_pixel_total : 14710 time to create 1 rle with old method : 0.032869815826416016 length of segment : 157 time for calcul the mask position with numpy : 0.009757518768310547 nb_pixel_total : 4817 time to create 1 rle with old method : 0.010280370712280273 length of segment : 89 time for calcul the mask position with numpy : 0.0641624927520752 nb_pixel_total : 15429 time to create 1 rle with old method : 0.02305912971496582 length of segment : 165 time for calcul the mask position with numpy : 0.06700897216796875 nb_pixel_total : 11142 time to create 1 rle with old method : 0.021183252334594727 length of segment : 141 time for calcul the mask position with numpy : 0.09714412689208984 nb_pixel_total : 34465 time to create 1 rle with old method : 0.04240679740905762 length of segment : 260 time for calcul the mask position with numpy : 0.12184023857116699 nb_pixel_total : 13374 time to create 1 rle with old method : 0.018011808395385742 length of segment : 223 time for calcul the mask position with numpy : 0.027503252029418945 nb_pixel_total : 4496 time to create 1 rle with old method : 0.013658285140991211 length of segment : 98 time for calcul the mask position with numpy : 0.09013867378234863 nb_pixel_total : 23067 time to create 1 rle with old method : 0.029541015625 length of segment : 146 time for calcul the mask position with numpy : 0.07081723213195801 nb_pixel_total : 18589 time to create 1 rle with old method : 0.026561498641967773 length of segment : 158 time for calcul the mask position with numpy : 0.19822216033935547 nb_pixel_total : 51133 time to create 1 rle with old method : 0.06896710395812988 length of segment : 222 time for calcul the mask position with numpy : 0.04117846488952637 nb_pixel_total : 18718 time to create 1 rle with old method : 0.026525259017944336 length of segment : 316 time for calcul the mask position with numpy : 0.055031776428222656 nb_pixel_total : 23721 time to create 1 rle with old method : 0.030475616455078125 length of segment : 158 time for calcul the mask position with numpy : 0.10230541229248047 nb_pixel_total : 33788 time to create 1 rle with old method : 0.0406191349029541 length of segment : 195 time for calcul the mask position with numpy : 0.05543255805969238 nb_pixel_total : 15419 time to create 1 rle with old method : 0.020609140396118164 length of segment : 85 time for calcul the mask position with numpy : 0.0360713005065918 nb_pixel_total : 8837 time to create 1 rle with old method : 0.01452493667602539 length of segment : 130 time for calcul the mask position with numpy : 0.0006139278411865234 nb_pixel_total : 2584 time to create 1 rle with old method : 0.0032148361206054688 length of segment : 64 time for calcul the mask position with numpy : 0.028027057647705078 nb_pixel_total : 3835 time to create 1 rle with old method : 0.005741596221923828 length of segment : 71 time for calcul the mask position with numpy : 0.058542490005493164 nb_pixel_total : 22107 time to create 1 rle with old method : 0.03223872184753418 length of segment : 259 time for calcul the mask position with numpy : 0.0462031364440918 nb_pixel_total : 10445 time to create 1 rle with old method : 0.016745328903198242 length of segment : 130 time for calcul the mask position with numpy : 0.08688640594482422 nb_pixel_total : 20168 time to create 1 rle with old method : 0.028288602828979492 length of segment : 137 time for calcul the mask position with numpy : 0.06602907180786133 nb_pixel_total : 11336 time to create 1 rle with old method : 0.01790904998779297 length of segment : 155 time for calcul the mask position with numpy : 0.06357645988464355 nb_pixel_total : 13921 time to create 1 rle with old method : 0.01975250244140625 length of segment : 222 time for calcul the mask position with numpy : 0.08538579940795898 nb_pixel_total : 13086 time to create 1 rle with old method : 0.01652979850769043 length of segment : 161 time for calcul the mask position with numpy : 0.11005210876464844 nb_pixel_total : 22593 time to create 1 rle with old method : 0.03099203109741211 length of segment : 153 time for calcul the mask position with numpy : 0.16440916061401367 nb_pixel_total : 24520 time to create 1 rle with old method : 0.03106546401977539 length of segment : 349 time for calcul the mask position with numpy : 0.14638066291809082 nb_pixel_total : 39449 time to create 1 rle with old method : 0.04778766632080078 length of segment : 244 time for calcul the mask position with numpy : 0.12372159957885742 nb_pixel_total : 29027 time to create 1 rle with old method : 0.03785824775695801 length of segment : 246 time for calcul the mask position with numpy : 0.09430074691772461 nb_pixel_total : 18916 time to create 1 rle with old method : 0.02758646011352539 length of segment : 266 time for calcul the mask position with numpy : 0.11082077026367188 nb_pixel_total : 25377 time to create 1 rle with old method : 0.05122852325439453 length of segment : 197 time for calcul the mask position with numpy : 0.12653326988220215 nb_pixel_total : 26024 time to create 1 rle with old method : 0.03565025329589844 length of segment : 205 time for calcul the mask position with numpy : 0.04306149482727051 nb_pixel_total : 10719 time to create 1 rle with old method : 0.020832300186157227 length of segment : 114 time for calcul the mask position with numpy : 0.11972999572753906 nb_pixel_total : 48465 time to create 1 rle with old method : 0.07665491104125977 length of segment : 344 time for calcul the mask position with numpy : 0.03478598594665527 nb_pixel_total : 7596 time to create 1 rle with old method : 0.013772964477539062 length of segment : 102 time for calcul the mask position with numpy : 0.0554201602935791 nb_pixel_total : 11700 time to create 1 rle with old method : 0.017349958419799805 length of segment : 175 time for calcul the mask position with numpy : 0.09914612770080566 nb_pixel_total : 17072 time to create 1 rle with old method : 0.022676467895507812 length of segment : 203 time for calcul the mask position with numpy : 0.02727675437927246 nb_pixel_total : 6778 time to create 1 rle with old method : 0.011836051940917969 length of segment : 51 time for calcul the mask position with numpy : 0.01892232894897461 nb_pixel_total : 3874 time to create 1 rle with old method : 0.008279800415039062 length of segment : 50 time for calcul the mask position with numpy : 0.12367367744445801 nb_pixel_total : 24316 time to create 1 rle with old method : 0.03418111801147461 length of segment : 251 time for calcul the mask position with numpy : 0.22912955284118652 nb_pixel_total : 35929 time to create 1 rle with old method : 0.05926918983459473 length of segment : 288 time for calcul the mask position with numpy : 0.046036481857299805 nb_pixel_total : 8359 time to create 1 rle with old method : 0.016276836395263672 length of segment : 110 time for calcul the mask position with numpy : 0.2986607551574707 nb_pixel_total : 89256 time to create 1 rle with old method : 0.11396145820617676 length of segment : 483 time for calcul the mask position with numpy : 0.014018058776855469 nb_pixel_total : 3867 time to create 1 rle with old method : 0.0077915191650390625 length of segment : 57 time for calcul the mask position with numpy : 0.21346664428710938 nb_pixel_total : 105675 time to create 1 rle with old method : 0.14758658409118652 length of segment : 442 time for calcul the mask position with numpy : 1.6114225387573242 nb_pixel_total : 489043 time to create 1 rle with new method : 0.04852890968322754 length of segment : 774 time for calcul the mask position with numpy : 0.017713546752929688 nb_pixel_total : 3517 time to create 1 rle with old method : 0.006855010986328125 length of segment : 79 time for calcul the mask position with numpy : 0.07571029663085938 nb_pixel_total : 18741 time to create 1 rle with old method : 0.023091554641723633 length of segment : 211 time for calcul the mask position with numpy : 0.18564629554748535 nb_pixel_total : 95106 time to create 1 rle with old method : 0.11912798881530762 length of segment : 350 time for calcul the mask position with numpy : 0.1134026050567627 nb_pixel_total : 17138 time to create 1 rle with old method : 0.0222318172454834 length of segment : 269 time for calcul the mask position with numpy : 0.5449092388153076 nb_pixel_total : 140090 time to create 1 rle with old method : 0.16637897491455078 length of segment : 727 time for calcul the mask position with numpy : 0.20037317276000977 nb_pixel_total : 45667 time to create 1 rle with old method : 0.05783414840698242 length of segment : 323 time for calcul the mask position with numpy : 0.12933707237243652 nb_pixel_total : 28912 time to create 1 rle with old method : 0.040142059326171875 length of segment : 311 time for calcul the mask position with numpy : 0.2712531089782715 nb_pixel_total : 65092 time to create 1 rle with old method : 0.10181450843811035 length of segment : 822 time for calcul the mask position with numpy : 0.06841778755187988 nb_pixel_total : 19491 time to create 1 rle with old method : 0.028685331344604492 length of segment : 174 time for calcul the mask position with numpy : 0.07334065437316895 nb_pixel_total : 16137 time to create 1 rle with old method : 0.022293806076049805 length of segment : 141 time for calcul the mask position with numpy : 0.03492164611816406 nb_pixel_total : 9549 time to create 1 rle with old method : 0.016025304794311523 length of segment : 108 time for calcul the mask position with numpy : 0.1543562412261963 nb_pixel_total : 19620 time to create 1 rle with old method : 0.022882938385009766 length of segment : 204 time for calcul the mask position with numpy : 0.013534069061279297 nb_pixel_total : 23648 time to create 1 rle with old method : 0.03171086311340332 length of segment : 135 time for calcul the mask position with numpy : 0.037210941314697266 nb_pixel_total : 18297 time to create 1 rle with old method : 0.028402328491210938 length of segment : 193 time for calcul the mask position with numpy : 0.008813858032226562 nb_pixel_total : 19660 time to create 1 rle with old method : 0.024341583251953125 length of segment : 195 time for calcul the mask position with numpy : 0.049884796142578125 nb_pixel_total : 20061 time to create 1 rle with old method : 0.040346384048461914 length of segment : 205 time for calcul the mask position with numpy : 0.02426624298095703 nb_pixel_total : 11984 time to create 1 rle with old method : 0.01978611946105957 length of segment : 186 time for calcul the mask position with numpy : 0.05893969535827637 nb_pixel_total : 15489 time to create 1 rle with old method : 0.021786928176879883 length of segment : 193 time for calcul the mask position with numpy : 0.02922964096069336 nb_pixel_total : 31342 time to create 1 rle with old method : 0.041635990142822266 length of segment : 279 time for calcul the mask position with numpy : 0.0276641845703125 nb_pixel_total : 8445 time to create 1 rle with old method : 0.012081623077392578 length of segment : 104 time for calcul the mask position with numpy : 0.02831101417541504 nb_pixel_total : 59003 time to create 1 rle with old method : 0.06930232048034668 length of segment : 336 time for calcul the mask position with numpy : 0.21634650230407715 nb_pixel_total : 217859 time to create 1 rle with new method : 0.014080286026000977 length of segment : 628 time for calcul the mask position with numpy : 0.14714813232421875 nb_pixel_total : 108199 time to create 1 rle with old method : 0.1488964557647705 length of segment : 478 time for calcul the mask position with numpy : 0.032373905181884766 nb_pixel_total : 21778 time to create 1 rle with old method : 0.029596805572509766 length of segment : 287 time for calcul the mask position with numpy : 0.03719139099121094 nb_pixel_total : 27323 time to create 1 rle with old method : 0.04703712463378906 length of segment : 206 time for calcul the mask position with numpy : 0.03903007507324219 nb_pixel_total : 64534 time to create 1 rle with old method : 0.07886600494384766 length of segment : 473 time for calcul the mask position with numpy : 0.15227532386779785 nb_pixel_total : 108043 time to create 1 rle with old method : 0.1295766830444336 length of segment : 498 time for calcul the mask position with numpy : 0.07583785057067871 nb_pixel_total : 60931 time to create 1 rle with old method : 0.06976580619812012 length of segment : 318 time for calcul the mask position with numpy : 0.01349949836730957 nb_pixel_total : 19648 time to create 1 rle with old method : 0.029409408569335938 length of segment : 131 time for calcul the mask position with numpy : 0.008642911911010742 nb_pixel_total : 21305 time to create 1 rle with old method : 0.02795100212097168 length of segment : 105 time for calcul the mask position with numpy : 0.028852224349975586 nb_pixel_total : 14965 time to create 1 rle with old method : 0.024600505828857422 length of segment : 156 time for calcul the mask position with numpy : 0.1282501220703125 nb_pixel_total : 144321 time to create 1 rle with old method : 0.16846036911010742 length of segment : 513 time for calcul the mask position with numpy : 0.004769325256347656 nb_pixel_total : 17996 time to create 1 rle with old method : 0.03381967544555664 length of segment : 156 time for calcul the mask position with numpy : 0.015918731689453125 nb_pixel_total : 6414 time to create 1 rle with old method : 0.012469053268432617 length of segment : 120 time for calcul the mask position with numpy : 0.07450246810913086 nb_pixel_total : 151847 time to create 1 rle with new method : 0.0071828365325927734 length of segment : 294 time for calcul the mask position with numpy : 0.04028129577636719 nb_pixel_total : 9472 time to create 1 rle with old method : 0.015327692031860352 length of segment : 122 time for calcul the mask position with numpy : 0.04516434669494629 nb_pixel_total : 11820 time to create 1 rle with old method : 0.019917011260986328 length of segment : 135 time for calcul the mask position with numpy : 0.09151887893676758 nb_pixel_total : 30344 time to create 1 rle with old method : 0.03811192512512207 length of segment : 280 time for calcul the mask position with numpy : 0.05832958221435547 nb_pixel_total : 14956 time to create 1 rle with old method : 0.025703907012939453 length of segment : 301 time for calcul the mask position with numpy : 0.2120208740234375 nb_pixel_total : 74393 time to create 1 rle with old method : 0.08639836311340332 length of segment : 439 time for calcul the mask position with numpy : 0.06150317192077637 nb_pixel_total : 19279 time to create 1 rle with old method : 0.024805068969726562 length of segment : 164 time for calcul the mask position with numpy : 0.056151390075683594 nb_pixel_total : 17261 time to create 1 rle with old method : 0.027385950088500977 length of segment : 198 time for calcul the mask position with numpy : 0.020665407180786133 nb_pixel_total : 5335 time to create 1 rle with old method : 0.009294271469116211 length of segment : 99 time for calcul the mask position with numpy : 0.14310932159423828 nb_pixel_total : 54692 time to create 1 rle with old method : 0.07132411003112793 length of segment : 201 time for calcul the mask position with numpy : 0.05821800231933594 nb_pixel_total : 17094 time to create 1 rle with old method : 0.025409221649169922 length of segment : 157 time for calcul the mask position with numpy : 0.09756064414978027 nb_pixel_total : 26844 time to create 1 rle with old method : 0.04134368896484375 length of segment : 276 time for calcul the mask position with numpy : 0.034064292907714844 nb_pixel_total : 9888 time to create 1 rle with old method : 0.013633966445922852 length of segment : 139 time for calcul the mask position with numpy : 0.041623830795288086 nb_pixel_total : 15697 time to create 1 rle with old method : 0.018329381942749023 length of segment : 144 time for calcul the mask position with numpy : 0.04945635795593262 nb_pixel_total : 14408 time to create 1 rle with old method : 0.020499706268310547 length of segment : 157 time for calcul the mask position with numpy : 0.09562444686889648 nb_pixel_total : 26647 time to create 1 rle with old method : 0.03589463233947754 length of segment : 357 time for calcul the mask position with numpy : 0.09504437446594238 nb_pixel_total : 31448 time to create 1 rle with old method : 0.037127017974853516 length of segment : 161 time for calcul the mask position with numpy : 0.03973865509033203 nb_pixel_total : 16874 time to create 1 rle with old method : 0.01914381980895996 length of segment : 100 time for calcul the mask position with numpy : 0.055203914642333984 nb_pixel_total : 24217 time to create 1 rle with old method : 0.03232288360595703 length of segment : 173 time for calcul the mask position with numpy : 0.011515617370605469 nb_pixel_total : 5035 time to create 1 rle with old method : 0.0072078704833984375 length of segment : 84 time for calcul the mask position with numpy : 0.03228020668029785 nb_pixel_total : 14769 time to create 1 rle with old method : 0.020827054977416992 length of segment : 168 time for calcul the mask position with numpy : 0.11975789070129395 nb_pixel_total : 36040 time to create 1 rle with old method : 0.056966543197631836 length of segment : 418 time for calcul the mask position with numpy : 0.039318084716796875 nb_pixel_total : 14091 time to create 1 rle with old method : 0.020760536193847656 length of segment : 129 time for calcul the mask position with numpy : 0.07848930358886719 nb_pixel_total : 31783 time to create 1 rle with old method : 0.042081356048583984 length of segment : 199 time for calcul the mask position with numpy : 0.012282848358154297 nb_pixel_total : 23063 time to create 1 rle with old method : 0.03172755241394043 length of segment : 164 time for calcul the mask position with numpy : 0.08153319358825684 nb_pixel_total : 24529 time to create 1 rle with old method : 0.03208589553833008 length of segment : 239 time for calcul the mask position with numpy : 0.07867217063903809 nb_pixel_total : 24552 time to create 1 rle with old method : 0.030404090881347656 length of segment : 168 time for calcul the mask position with numpy : 0.024550437927246094 nb_pixel_total : 6442 time to create 1 rle with old method : 0.012511968612670898 length of segment : 96 time for calcul the mask position with numpy : 0.00017142295837402344 nb_pixel_total : 8684 time to create 1 rle with old method : 0.009917974472045898 length of segment : 94 time for calcul the mask position with numpy : 0.07619976997375488 nb_pixel_total : 14946 time to create 1 rle with old method : 0.021910905838012695 length of segment : 296 time for calcul the mask position with numpy : 0.03291726112365723 nb_pixel_total : 9757 time to create 1 rle with old method : 0.016018152236938477 length of segment : 80 time for calcul the mask position with numpy : 0.06831598281860352 nb_pixel_total : 21237 time to create 1 rle with old method : 0.026863574981689453 length of segment : 213 time for calcul the mask position with numpy : 0.03835439682006836 nb_pixel_total : 16432 time to create 1 rle with old method : 0.021852731704711914 length of segment : 88 time for calcul the mask position with numpy : 0.14931321144104004 nb_pixel_total : 51607 time to create 1 rle with old method : 0.08171701431274414 length of segment : 322 time for calcul the mask position with numpy : 0.04658770561218262 nb_pixel_total : 18092 time to create 1 rle with old method : 0.02520442008972168 length of segment : 127 time for calcul the mask position with numpy : 0.035508155822753906 nb_pixel_total : 13742 time to create 1 rle with old method : 0.020491838455200195 length of segment : 175 time for calcul the mask position with numpy : 0.25192999839782715 nb_pixel_total : 110165 time to create 1 rle with old method : 0.13044118881225586 length of segment : 379 time for calcul the mask position with numpy : 0.06946778297424316 nb_pixel_total : 18881 time to create 1 rle with old method : 0.030635595321655273 length of segment : 208 time for calcul the mask position with numpy : 0.09013223648071289 nb_pixel_total : 50681 time to create 1 rle with old method : 0.06196904182434082 length of segment : 167 time for calcul the mask position with numpy : 0.03641009330749512 nb_pixel_total : 18817 time to create 1 rle with old method : 0.03600335121154785 length of segment : 177 time for calcul the mask position with numpy : 0.09680485725402832 nb_pixel_total : 26260 time to create 1 rle with old method : 0.033867835998535156 length of segment : 197 time for calcul the mask position with numpy : 0.009053707122802734 nb_pixel_total : 2344 time to create 1 rle with old method : 0.004765987396240234 length of segment : 118 time for calcul the mask position with numpy : 0.029774904251098633 nb_pixel_total : 8481 time to create 1 rle with old method : 0.01336812973022461 length of segment : 164 time for calcul the mask position with numpy : 0.03533291816711426 nb_pixel_total : 11192 time to create 1 rle with old method : 0.01677846908569336 length of segment : 138 time for calcul the mask position with numpy : 0.10782098770141602 nb_pixel_total : 34787 time to create 1 rle with old method : 0.04091072082519531 length of segment : 237 time for calcul the mask position with numpy : 0.04862856864929199 nb_pixel_total : 13592 time to create 1 rle with old method : 0.015455961227416992 length of segment : 191 time for calcul the mask position with numpy : 0.04044651985168457 nb_pixel_total : 11887 time to create 1 rle with old method : 0.018304824829101562 length of segment : 103 time for calcul the mask position with numpy : 0.14259910583496094 nb_pixel_total : 44811 time to create 1 rle with old method : 0.05306220054626465 length of segment : 278 time for calcul the mask position with numpy : 0.06243324279785156 nb_pixel_total : 15374 time to create 1 rle with old method : 0.022867441177368164 length of segment : 206 time for calcul the mask position with numpy : 0.058799028396606445 nb_pixel_total : 17775 time to create 1 rle with old method : 0.02413630485534668 length of segment : 158 time for calcul the mask position with numpy : 0.0722191333770752 nb_pixel_total : 27493 time to create 1 rle with old method : 0.034908294677734375 length of segment : 160 time for calcul the mask position with numpy : 0.09025859832763672 nb_pixel_total : 36416 time to create 1 rle with old method : 0.043608665466308594 length of segment : 206 time for calcul the mask position with numpy : 0.034426212310791016 nb_pixel_total : 19127 time to create 1 rle with old method : 0.022605180740356445 length of segment : 229 time for calcul the mask position with numpy : 0.06777095794677734 nb_pixel_total : 21351 time to create 1 rle with old method : 0.027496337890625 length of segment : 141 time for calcul the mask position with numpy : 0.04893612861633301 nb_pixel_total : 22747 time to create 1 rle with old method : 0.03084087371826172 length of segment : 254 time for calcul the mask position with numpy : 0.03456711769104004 nb_pixel_total : 18160 time to create 1 rle with old method : 0.02786850929260254 length of segment : 172 time for calcul the mask position with numpy : 0.03768754005432129 nb_pixel_total : 16551 time to create 1 rle with old method : 0.027313232421875 length of segment : 160 time for calcul the mask position with numpy : 0.05005836486816406 nb_pixel_total : 17457 time to create 1 rle with old method : 0.025578022003173828 length of segment : 171 time for calcul the mask position with numpy : 0.10257577896118164 nb_pixel_total : 39184 time to create 1 rle with old method : 0.045751094818115234 length of segment : 307 time for calcul the mask position with numpy : 0.07829809188842773 nb_pixel_total : 34024 time to create 1 rle with old method : 0.04255318641662598 length of segment : 250 time for calcul the mask position with numpy : 0.02687835693359375 nb_pixel_total : 7015 time to create 1 rle with old method : 0.012270450592041016 length of segment : 89 time for calcul the mask position with numpy : 0.019238710403442383 nb_pixel_total : 10749 time to create 1 rle with old method : 0.019930124282836914 length of segment : 119 time for calcul the mask position with numpy : 0.15798020362854004 nb_pixel_total : 81641 time to create 1 rle with old method : 0.10688304901123047 length of segment : 411 time for calcul the mask position with numpy : 0.17734980583190918 nb_pixel_total : 57511 time to create 1 rle with old method : 0.07410407066345215 length of segment : 470 time for calcul the mask position with numpy : 0.3219611644744873 nb_pixel_total : 107153 time to create 1 rle with old method : 0.12721538543701172 length of segment : 384 time for calcul the mask position with numpy : 0.29108643531799316 nb_pixel_total : 72927 time to create 1 rle with old method : 0.09094858169555664 length of segment : 298 time for calcul the mask position with numpy : 0.13665509223937988 nb_pixel_total : 52623 time to create 1 rle with old method : 0.06783390045166016 length of segment : 172 time for calcul the mask position with numpy : 0.5789165496826172 nb_pixel_total : 229028 time to create 1 rle with new method : 0.01586461067199707 length of segment : 661 time for calcul the mask position with numpy : 0.09436845779418945 nb_pixel_total : 24984 time to create 1 rle with old method : 0.032074689865112305 length of segment : 184 time for calcul the mask position with numpy : 0.09739470481872559 nb_pixel_total : 19692 time to create 1 rle with old method : 0.025170326232910156 length of segment : 202 time for calcul the mask position with numpy : 0.145432710647583 nb_pixel_total : 34669 time to create 1 rle with old method : 0.0426483154296875 length of segment : 256 time for calcul the mask position with numpy : 0.04321646690368652 nb_pixel_total : 12151 time to create 1 rle with old method : 0.018427610397338867 length of segment : 90 time for calcul the mask position with numpy : 0.1270923614501953 nb_pixel_total : 47895 time to create 1 rle with old method : 0.058272361755371094 length of segment : 311 time for calcul the mask position with numpy : 0.05366992950439453 nb_pixel_total : 13879 time to create 1 rle with old method : 0.01879405975341797 length of segment : 169 time for calcul the mask position with numpy : 0.048866987228393555 nb_pixel_total : 20568 time to create 1 rle with old method : 0.027363300323486328 length of segment : 179 time for calcul the mask position with numpy : 0.2767524719238281 nb_pixel_total : 127913 time to create 1 rle with old method : 0.1400899887084961 length of segment : 356 time for calcul the mask position with numpy : 0.08567070960998535 nb_pixel_total : 21815 time to create 1 rle with old method : 0.026979684829711914 length of segment : 201 time for calcul the mask position with numpy : 0.05954384803771973 nb_pixel_total : 12781 time to create 1 rle with old method : 0.021170616149902344 length of segment : 166 time for calcul the mask position with numpy : 0.09427404403686523 nb_pixel_total : 26644 time to create 1 rle with old method : 0.034420013427734375 length of segment : 195 time for calcul the mask position with numpy : 0.03944993019104004 nb_pixel_total : 8530 time to create 1 rle with old method : 0.011864662170410156 length of segment : 166 time for calcul the mask position with numpy : 0.10716557502746582 nb_pixel_total : 33549 time to create 1 rle with old method : 0.050776004791259766 length of segment : 234 time for calcul the mask position with numpy : 0.008682966232299805 nb_pixel_total : 1820 time to create 1 rle with old method : 0.003997802734375 length of segment : 104 time for calcul the mask position with numpy : 0.07932782173156738 nb_pixel_total : 14864 time to create 1 rle with old method : 0.021941661834716797 length of segment : 199 time for calcul the mask position with numpy : 0.02295088768005371 nb_pixel_total : 14027 time to create 1 rle with old method : 0.02113962173461914 length of segment : 109 time for calcul the mask position with numpy : 0.06576871871948242 nb_pixel_total : 17742 time to create 1 rle with old method : 0.024119138717651367 length of segment : 157 time for calcul the mask position with numpy : 0.07755374908447266 nb_pixel_total : 36959 time to create 1 rle with old method : 0.05822563171386719 length of segment : 274 time for calcul the mask position with numpy : 0.0014128684997558594 nb_pixel_total : 15498 time to create 1 rle with old method : 0.01771068572998047 length of segment : 92 time for calcul the mask position with numpy : 0.15955710411071777 nb_pixel_total : 64659 time to create 1 rle with old method : 0.07687234878540039 length of segment : 300 time for calcul the mask position with numpy : 0.0003821849822998047 nb_pixel_total : 16126 time to create 1 rle with old method : 0.018712759017944336 length of segment : 141 time for calcul the mask position with numpy : 0.0338444709777832 nb_pixel_total : 8566 time to create 1 rle with old method : 0.013715267181396484 length of segment : 128 time for calcul the mask position with numpy : 0.19620943069458008 nb_pixel_total : 69528 time to create 1 rle with old method : 0.09093189239501953 length of segment : 413 time for calcul the mask position with numpy : 0.021328449249267578 nb_pixel_total : 10407 time to create 1 rle with old method : 0.0160830020904541 length of segment : 117 time for calcul the mask position with numpy : 0.039766788482666016 nb_pixel_total : 18653 time to create 1 rle with old method : 0.023448944091796875 length of segment : 169 time for calcul the mask position with numpy : 0.005853414535522461 nb_pixel_total : 14693 time to create 1 rle with old method : 0.01907968521118164 length of segment : 142 time for calcul the mask position with numpy : 0.3532288074493408 nb_pixel_total : 109088 time to create 1 rle with old method : 0.11846566200256348 length of segment : 373 time for calcul the mask position with numpy : 0.3060877323150635 nb_pixel_total : 63102 time to create 1 rle with old method : 0.06730413436889648 length of segment : 277 time for calcul the mask position with numpy : 0.1153414249420166 nb_pixel_total : 23039 time to create 1 rle with old method : 0.03123950958251953 length of segment : 255 time for calcul the mask position with numpy : 0.13458919525146484 nb_pixel_total : 53341 time to create 1 rle with old method : 0.06303763389587402 length of segment : 171 time for calcul the mask position with numpy : 0.18960022926330566 nb_pixel_total : 51686 time to create 1 rle with old method : 0.06543636322021484 length of segment : 290 time for calcul the mask position with numpy : 0.1178121566772461 nb_pixel_total : 24851 time to create 1 rle with old method : 0.04280710220336914 length of segment : 183 time for calcul the mask position with numpy : 0.11283516883850098 nb_pixel_total : 26782 time to create 1 rle with old method : 0.033734798431396484 length of segment : 170 time for calcul the mask position with numpy : 0.22144508361816406 nb_pixel_total : 51618 time to create 1 rle with old method : 0.0698709487915039 length of segment : 254 time for calcul the mask position with numpy : 0.07800054550170898 nb_pixel_total : 21788 time to create 1 rle with old method : 0.023966312408447266 length of segment : 116 time for calcul the mask position with numpy : 0.04960131645202637 nb_pixel_total : 15086 time to create 1 rle with old method : 0.01686716079711914 length of segment : 90 time for calcul the mask position with numpy : 0.0601961612701416 nb_pixel_total : 17060 time to create 1 rle with old method : 0.03076028823852539 length of segment : 173 time for calcul the mask position with numpy : 0.1837160587310791 nb_pixel_total : 40144 time to create 1 rle with old method : 0.05205512046813965 length of segment : 218 time for calcul the mask position with numpy : 0.1123044490814209 nb_pixel_total : 25921 time to create 1 rle with old method : 0.04450559616088867 length of segment : 154 time for calcul the mask position with numpy : 0.0401301383972168 nb_pixel_total : 6092 time to create 1 rle with old method : 0.014354705810546875 length of segment : 59 time for calcul the mask position with numpy : 0.22580575942993164 nb_pixel_total : 50308 time to create 1 rle with old method : 0.06165599822998047 length of segment : 301 time for calcul the mask position with numpy : 0.009079933166503906 nb_pixel_total : 3963 time to create 1 rle with old method : 0.008360147476196289 length of segment : 103 time for calcul the mask position with numpy : 0.043582916259765625 nb_pixel_total : 19111 time to create 1 rle with old method : 0.027022838592529297 length of segment : 180 time for calcul the mask position with numpy : 0.03927874565124512 nb_pixel_total : 7185 time to create 1 rle with old method : 0.01185750961303711 length of segment : 94 time for calcul the mask position with numpy : 0.01693892478942871 nb_pixel_total : 19378 time to create 1 rle with old method : 0.026510953903198242 length of segment : 152 time for calcul the mask position with numpy : 0.26169610023498535 nb_pixel_total : 64946 time to create 1 rle with old method : 0.11545610427856445 length of segment : 404 time for calcul the mask position with numpy : 0.14375686645507812 nb_pixel_total : 32615 time to create 1 rle with old method : 0.045943260192871094 length of segment : 190 time for calcul the mask position with numpy : 0.07611203193664551 nb_pixel_total : 17708 time to create 1 rle with old method : 0.027833223342895508 length of segment : 196 time for calcul the mask position with numpy : 0.06161928176879883 nb_pixel_total : 12238 time to create 1 rle with old method : 0.01925182342529297 length of segment : 182 time for calcul the mask position with numpy : 0.13320136070251465 nb_pixel_total : 29634 time to create 1 rle with old method : 0.05081939697265625 length of segment : 179 time for calcul the mask position with numpy : 0.10194253921508789 nb_pixel_total : 11892 time to create 1 rle with old method : 0.022115707397460938 length of segment : 154 time for calcul the mask position with numpy : 0.11725234985351562 nb_pixel_total : 39720 time to create 1 rle with old method : 0.0652318000793457 length of segment : 215 time for calcul the mask position with numpy : 0.16965866088867188 nb_pixel_total : 43146 time to create 1 rle with old method : 0.05397987365722656 length of segment : 285 time for calcul the mask position with numpy : 0.10718035697937012 nb_pixel_total : 18903 time to create 1 rle with old method : 0.02503490447998047 length of segment : 268 time for calcul the mask position with numpy : 0.15320515632629395 nb_pixel_total : 42338 time to create 1 rle with old method : 0.05540633201599121 length of segment : 271 time for calcul the mask position with numpy : 0.16924715042114258 nb_pixel_total : 40377 time to create 1 rle with old method : 0.05534505844116211 length of segment : 194 time for calcul the mask position with numpy : 0.03926825523376465 nb_pixel_total : 8253 time to create 1 rle with old method : 0.014006853103637695 length of segment : 69 time for calcul the mask position with numpy : 0.07242202758789062 nb_pixel_total : 16128 time to create 1 rle with old method : 0.026993989944458008 length of segment : 175 time for calcul the mask position with numpy : 0.04842853546142578 nb_pixel_total : 11869 time to create 1 rle with old method : 0.03142118453979492 length of segment : 101 time for calcul the mask position with numpy : 0.08244156837463379 nb_pixel_total : 14514 time to create 1 rle with old method : 0.02213907241821289 length of segment : 221 time for calcul the mask position with numpy : 0.1222531795501709 nb_pixel_total : 39541 time to create 1 rle with old method : 0.05000114440917969 length of segment : 329 time for calcul the mask position with numpy : 0.024557113647460938 nb_pixel_total : 7415 time to create 1 rle with old method : 0.012140035629272461 length of segment : 62 time for calcul the mask position with numpy : 0.04133200645446777 nb_pixel_total : 16593 time to create 1 rle with old method : 0.022792816162109375 length of segment : 168 time for calcul the mask position with numpy : 0.02454996109008789 nb_pixel_total : 7805 time to create 1 rle with old method : 0.011565685272216797 length of segment : 70 time for calcul the mask position with numpy : 0.10099220275878906 nb_pixel_total : 29200 time to create 1 rle with old method : 0.035565853118896484 length of segment : 194 time for calcul the mask position with numpy : 0.4083878993988037 nb_pixel_total : 94136 time to create 1 rle with old method : 0.10992074012756348 length of segment : 499 time for calcul the mask position with numpy : 0.13827013969421387 nb_pixel_total : 29022 time to create 1 rle with old method : 0.035680294036865234 length of segment : 173 time for calcul the mask position with numpy : 0.19115066528320312 nb_pixel_total : 45452 time to create 1 rle with old method : 0.06768345832824707 length of segment : 362 time for calcul the mask position with numpy : 0.11158895492553711 nb_pixel_total : 19674 time to create 1 rle with old method : 0.031126737594604492 length of segment : 189 time for calcul the mask position with numpy : 0.0027017593383789062 nb_pixel_total : 12616 time to create 1 rle with old method : 0.02511882781982422 length of segment : 142 time for calcul the mask position with numpy : 0.3289148807525635 nb_pixel_total : 29703 time to create 1 rle with old method : 0.03792905807495117 length of segment : 513 time for calcul the mask position with numpy : 0.031016826629638672 nb_pixel_total : 4835 time to create 1 rle with old method : 0.008709907531738281 length of segment : 112 time for calcul the mask position with numpy : 0.08971333503723145 nb_pixel_total : 40509 time to create 1 rle with old method : 0.08251643180847168 length of segment : 244 time for calcul the mask position with numpy : 0.06228065490722656 nb_pixel_total : 15427 time to create 1 rle with old method : 0.022978782653808594 length of segment : 195 time for calcul the mask position with numpy : 0.005213022232055664 nb_pixel_total : 14154 time to create 1 rle with old method : 0.019489526748657227 length of segment : 149 time for calcul the mask position with numpy : 0.3614821434020996 nb_pixel_total : 83344 time to create 1 rle with old method : 0.10367059707641602 length of segment : 317 time for calcul the mask position with numpy : 0.07178521156311035 nb_pixel_total : 15369 time to create 1 rle with old method : 0.02268362045288086 length of segment : 150 time for calcul the mask position with numpy : 0.04344344139099121 nb_pixel_total : 9341 time to create 1 rle with old method : 0.010968446731567383 length of segment : 101 time for calcul the mask position with numpy : 0.1438131332397461 nb_pixel_total : 34678 time to create 1 rle with old method : 0.04835200309753418 length of segment : 273 time for calcul the mask position with numpy : 0.14438891410827637 nb_pixel_total : 27343 time to create 1 rle with old method : 0.03817343711853027 length of segment : 187 time for calcul the mask position with numpy : 0.06909680366516113 nb_pixel_total : 16511 time to create 1 rle with old method : 0.02281045913696289 length of segment : 147 time for calcul the mask position with numpy : 0.11939620971679688 nb_pixel_total : 21904 time to create 1 rle with old method : 0.044348716735839844 length of segment : 336 time for calcul the mask position with numpy : 0.46826696395874023 nb_pixel_total : 104569 time to create 1 rle with old method : 0.12084674835205078 length of segment : 578 time for calcul the mask position with numpy : 0.09081697463989258 nb_pixel_total : 25642 time to create 1 rle with old method : 0.03199887275695801 length of segment : 165 time for calcul the mask position with numpy : 0.18783020973205566 nb_pixel_total : 42444 time to create 1 rle with old method : 0.051910400390625 length of segment : 330 time for calcul the mask position with numpy : 0.041448116302490234 nb_pixel_total : 19468 time to create 1 rle with old method : 0.02625751495361328 length of segment : 191 time for calcul the mask position with numpy : 0.09750986099243164 nb_pixel_total : 37833 time to create 1 rle with old method : 0.04525876045227051 length of segment : 393 time for calcul the mask position with numpy : 0.030294418334960938 nb_pixel_total : 6624 time to create 1 rle with old method : 0.010797739028930664 length of segment : 74 time for calcul the mask position with numpy : 0.01706385612487793 nb_pixel_total : 15100 time to create 1 rle with old method : 0.02144932746887207 length of segment : 170 time for calcul the mask position with numpy : 0.11765003204345703 nb_pixel_total : 30108 time to create 1 rle with old method : 0.03548598289489746 length of segment : 275 time for calcul the mask position with numpy : 0.04771161079406738 nb_pixel_total : 9918 time to create 1 rle with old method : 0.01673722267150879 length of segment : 103 time for calcul the mask position with numpy : 0.20608925819396973 nb_pixel_total : 42198 time to create 1 rle with old method : 0.04691815376281738 length of segment : 319 time for calcul the mask position with numpy : 0.05991482734680176 nb_pixel_total : 16236 time to create 1 rle with old method : 0.023474454879760742 length of segment : 202 time for calcul the mask position with numpy : 0.08445167541503906 nb_pixel_total : 25398 time to create 1 rle with old method : 0.03213667869567871 length of segment : 123 time for calcul the mask position with numpy : 0.05522346496582031 nb_pixel_total : 16836 time to create 1 rle with old method : 0.022357940673828125 length of segment : 180 time for calcul the mask position with numpy : 0.09714531898498535 nb_pixel_total : 37199 time to create 1 rle with old method : 0.06991100311279297 length of segment : 196 time for calcul the mask position with numpy : 0.13236618041992188 nb_pixel_total : 41327 time to create 1 rle with old method : 0.05532646179199219 length of segment : 287 time for calcul the mask position with numpy : 0.05471014976501465 nb_pixel_total : 26019 time to create 1 rle with old method : 0.03710055351257324 length of segment : 195 time for calcul the mask position with numpy : 0.12876486778259277 nb_pixel_total : 44709 time to create 1 rle with old method : 0.08216595649719238 length of segment : 299 time for calcul the mask position with numpy : 0.013245105743408203 nb_pixel_total : 4864 time to create 1 rle with old method : 0.008995294570922852 length of segment : 82 time for calcul the mask position with numpy : 0.01719951629638672 nb_pixel_total : 12275 time to create 1 rle with old method : 0.02252507209777832 length of segment : 97 time for calcul the mask position with numpy : 0.30964183807373047 nb_pixel_total : 99017 time to create 1 rle with old method : 0.11163902282714844 length of segment : 595 time for calcul the mask position with numpy : 0.04245901107788086 nb_pixel_total : 11878 time to create 1 rle with old method : 0.017430782318115234 length of segment : 95 time for calcul the mask position with numpy : 0.10672807693481445 nb_pixel_total : 35264 time to create 1 rle with old method : 0.04118824005126953 length of segment : 183 time for calcul the mask position with numpy : 0.2872765064239502 nb_pixel_total : 78284 time to create 1 rle with old method : 0.08678483963012695 length of segment : 317 time for calcul the mask position with numpy : 0.03774738311767578 nb_pixel_total : 31264 time to create 1 rle with old method : 0.0394442081451416 length of segment : 277 time for calcul the mask position with numpy : 0.010447502136230469 nb_pixel_total : 19218 time to create 1 rle with old method : 0.021569013595581055 length of segment : 170 time for calcul the mask position with numpy : 0.07829141616821289 nb_pixel_total : 26043 time to create 1 rle with old method : 0.04103660583496094 length of segment : 149 time for calcul the mask position with numpy : 0.2998948097229004 nb_pixel_total : 86092 time to create 1 rle with old method : 0.09282469749450684 length of segment : 373 time for calcul the mask position with numpy : 0.14544367790222168 nb_pixel_total : 33950 time to create 1 rle with old method : 0.044626712799072266 length of segment : 265 time for calcul the mask position with numpy : 0.15999698638916016 nb_pixel_total : 80563 time to create 1 rle with old method : 0.09404778480529785 length of segment : 325 time for calcul the mask position with numpy : 0.008875370025634766 nb_pixel_total : 6724 time to create 1 rle with old method : 0.007758140563964844 length of segment : 144 time for calcul the mask position with numpy : 0.012491464614868164 nb_pixel_total : 10915 time to create 1 rle with old method : 0.012387990951538086 length of segment : 107 time for calcul the mask position with numpy : 0.05542731285095215 nb_pixel_total : 21672 time to create 1 rle with old method : 0.027384519577026367 length of segment : 249 time for calcul the mask position with numpy : 0.1586017608642578 nb_pixel_total : 59751 time to create 1 rle with old method : 0.07436275482177734 length of segment : 292 time for calcul the mask position with numpy : 0.023520231246948242 nb_pixel_total : 8040 time to create 1 rle with old method : 0.011669635772705078 length of segment : 122 time for calcul the mask position with numpy : 0.015606880187988281 nb_pixel_total : 4483 time to create 1 rle with old method : 0.008254766464233398 length of segment : 55 time for calcul the mask position with numpy : 0.017181396484375 nb_pixel_total : 4476 time to create 1 rle with old method : 0.007834196090698242 length of segment : 84 time for calcul the mask position with numpy : 0.06417226791381836 nb_pixel_total : 20197 time to create 1 rle with old method : 0.025037765502929688 length of segment : 156 time for calcul the mask position with numpy : 0.04302787780761719 nb_pixel_total : 12063 time to create 1 rle with old method : 0.015820026397705078 length of segment : 120 time for calcul the mask position with numpy : 0.1849205493927002 nb_pixel_total : 46523 time to create 1 rle with old method : 0.05362391471862793 length of segment : 308 time for calcul the mask position with numpy : 0.026591777801513672 nb_pixel_total : 15216 time to create 1 rle with old method : 0.01864027976989746 length of segment : 151 time for calcul the mask position with numpy : 0.02225971221923828 nb_pixel_total : 87142 time to create 1 rle with old method : 0.09781694412231445 length of segment : 317 time for calcul the mask position with numpy : 0.001863241195678711 nb_pixel_total : 9544 time to create 1 rle with old method : 0.010822534561157227 length of segment : 106 time for calcul the mask position with numpy : 0.2146456241607666 nb_pixel_total : 111268 time to create 1 rle with old method : 0.12104511260986328 length of segment : 605 time for calcul the mask position with numpy : 0.10843229293823242 nb_pixel_total : 36858 time to create 1 rle with old method : 0.04605913162231445 length of segment : 265 time for calcul the mask position with numpy : 0.12971711158752441 nb_pixel_total : 41967 time to create 1 rle with old method : 0.06255984306335449 length of segment : 331 time for calcul the mask position with numpy : 0.06626224517822266 nb_pixel_total : 20184 time to create 1 rle with old method : 0.026032209396362305 length of segment : 315 time for calcul the mask position with numpy : 0.13071393966674805 nb_pixel_total : 25460 time to create 1 rle with old method : 0.03150129318237305 length of segment : 183 time for calcul the mask position with numpy : 0.30396270751953125 nb_pixel_total : 76596 time to create 1 rle with old method : 0.09197998046875 length of segment : 295 time for calcul the mask position with numpy : 0.05426645278930664 nb_pixel_total : 27378 time to create 1 rle with old method : 0.03703808784484863 length of segment : 280 time for calcul the mask position with numpy : 0.020807266235351562 nb_pixel_total : 15981 time to create 1 rle with old method : 0.023630619049072266 length of segment : 171 time for calcul the mask position with numpy : 0.05470705032348633 nb_pixel_total : 77610 time to create 1 rle with old method : 0.09006834030151367 length of segment : 318 time for calcul the mask position with numpy : 0.0193173885345459 nb_pixel_total : 5002 time to create 1 rle with old method : 0.009989738464355469 length of segment : 50 time for calcul the mask position with numpy : 0.0203707218170166 nb_pixel_total : 5392 time to create 1 rle with old method : 0.009565353393554688 length of segment : 59 time for calcul the mask position with numpy : 0.0017805099487304688 nb_pixel_total : 14796 time to create 1 rle with old method : 0.018020153045654297 length of segment : 136 time for calcul the mask position with numpy : 0.021544456481933594 nb_pixel_total : 5911 time to create 1 rle with old method : 0.011195898056030273 length of segment : 64 time for calcul the mask position with numpy : 0.27244114875793457 nb_pixel_total : 90822 time to create 1 rle with old method : 0.13338589668273926 length of segment : 483 time for calcul the mask position with numpy : 0.0795292854309082 nb_pixel_total : 85530 time to create 1 rle with old method : 0.09573721885681152 length of segment : 385 time for calcul the mask position with numpy : 0.0335235595703125 nb_pixel_total : 15361 time to create 1 rle with old method : 0.02189493179321289 length of segment : 178 time for calcul the mask position with numpy : 0.11836671829223633 nb_pixel_total : 32058 time to create 1 rle with old method : 0.0383148193359375 length of segment : 224 time for calcul the mask position with numpy : 0.1636948585510254 nb_pixel_total : 62133 time to create 1 rle with old method : 0.09937143325805664 length of segment : 311 time for calcul the mask position with numpy : 0.05694246292114258 nb_pixel_total : 31577 time to create 1 rle with old method : 0.046892642974853516 length of segment : 259 time for calcul the mask position with numpy : 0.08458280563354492 nb_pixel_total : 26460 time to create 1 rle with old method : 0.03299117088317871 length of segment : 131 time for calcul the mask position with numpy : 0.08593153953552246 nb_pixel_total : 36083 time to create 1 rle with old method : 0.04399919509887695 length of segment : 189 time for calcul the mask position with numpy : 0.03776979446411133 nb_pixel_total : 12331 time to create 1 rle with old method : 0.033815860748291016 length of segment : 97 time for calcul the mask position with numpy : 0.08754205703735352 nb_pixel_total : 42368 time to create 1 rle with old method : 0.05318331718444824 length of segment : 289 time for calcul the mask position with numpy : 0.033444881439208984 nb_pixel_total : 13538 time to create 1 rle with old method : 0.021581649780273438 length of segment : 143 time for calcul the mask position with numpy : 0.08100366592407227 nb_pixel_total : 27419 time to create 1 rle with old method : 0.03333854675292969 length of segment : 168 time for calcul the mask position with numpy : 0.22883200645446777 nb_pixel_total : 67392 time to create 1 rle with old method : 0.08913683891296387 length of segment : 667 time for calcul the mask position with numpy : 0.18094921112060547 nb_pixel_total : 82224 time to create 1 rle with old method : 0.0882408618927002 length of segment : 348 time for calcul the mask position with numpy : 0.03407454490661621 nb_pixel_total : 16196 time to create 1 rle with old method : 0.021507740020751953 length of segment : 168 time for calcul the mask position with numpy : 0.0038607120513916016 nb_pixel_total : 19891 time to create 1 rle with old method : 0.024360179901123047 length of segment : 182 time for calcul the mask position with numpy : 0.030699729919433594 nb_pixel_total : 25257 time to create 1 rle with old method : 0.03147435188293457 length of segment : 252 time for calcul the mask position with numpy : 0.03692626953125 nb_pixel_total : 12741 time to create 1 rle with old method : 0.014208555221557617 length of segment : 152 time for calcul the mask position with numpy : 0.018723011016845703 nb_pixel_total : 9303 time to create 1 rle with old method : 0.010633468627929688 length of segment : 110 time for calcul the mask position with numpy : 0.022524595260620117 nb_pixel_total : 62775 time to create 1 rle with old method : 0.07163739204406738 length of segment : 327 time for calcul the mask position with numpy : 0.007402181625366211 nb_pixel_total : 12039 time to create 1 rle with old method : 0.017377614974975586 length of segment : 167 time for calcul the mask position with numpy : 0.036295413970947266 nb_pixel_total : 17461 time to create 1 rle with old method : 0.02313065528869629 length of segment : 120 time for calcul the mask position with numpy : 0.10062718391418457 nb_pixel_total : 38586 time to create 1 rle with old method : 0.04311037063598633 length of segment : 300 time for calcul the mask position with numpy : 0.0034096240997314453 nb_pixel_total : 10832 time to create 1 rle with old method : 0.012292146682739258 length of segment : 111 time for calcul the mask position with numpy : 0.1272110939025879 nb_pixel_total : 90718 time to create 1 rle with old method : 0.09683823585510254 length of segment : 407 time for calcul the mask position with numpy : 0.019669771194458008 nb_pixel_total : 5376 time to create 1 rle with old method : 0.010086297988891602 length of segment : 73 time for calcul the mask position with numpy : 0.01089024543762207 nb_pixel_total : 78379 time to create 1 rle with old method : 0.09801197052001953 length of segment : 287 time for calcul the mask position with numpy : 0.1384730339050293 nb_pixel_total : 72735 time to create 1 rle with old method : 0.08283805847167969 length of segment : 464 time for calcul the mask position with numpy : 0.2056434154510498 nb_pixel_total : 139450 time to create 1 rle with old method : 0.17134833335876465 length of segment : 576 time for calcul the mask position with numpy : 0.004813432693481445 nb_pixel_total : 37182 time to create 1 rle with old method : 0.043703556060791016 length of segment : 356 time for calcul the mask position with numpy : 0.08483672142028809 nb_pixel_total : 37726 time to create 1 rle with old method : 0.04653120040893555 length of segment : 196 time for calcul the mask position with numpy : 0.10153508186340332 nb_pixel_total : 34690 time to create 1 rle with old method : 0.058522939682006836 length of segment : 185 time for calcul the mask position with numpy : 0.06862521171569824 nb_pixel_total : 24792 time to create 1 rle with old method : 0.03110647201538086 length of segment : 166 time for calcul the mask position with numpy : 0.09993481636047363 nb_pixel_total : 59145 time to create 1 rle with old method : 0.06559562683105469 length of segment : 601 time for calcul the mask position with numpy : 0.12471318244934082 nb_pixel_total : 45612 time to create 1 rle with old method : 0.06543159484863281 length of segment : 248 time for calcul the mask position with numpy : 0.0011839866638183594 nb_pixel_total : 5177 time to create 1 rle with old method : 0.006010770797729492 length of segment : 93 time for calcul the mask position with numpy : 0.0006997585296630859 nb_pixel_total : 4885 time to create 1 rle with old method : 0.005772829055786133 length of segment : 90 time for calcul the mask position with numpy : 0.01369786262512207 nb_pixel_total : 9924 time to create 1 rle with old method : 0.016658306121826172 length of segment : 78 time for calcul the mask position with numpy : 0.06264209747314453 nb_pixel_total : 17196 time to create 1 rle with old method : 0.024002790451049805 length of segment : 159 time for calcul the mask position with numpy : 0.02123260498046875 nb_pixel_total : 28210 time to create 1 rle with old method : 0.037311553955078125 length of segment : 243 time for calcul the mask position with numpy : 0.09706974029541016 nb_pixel_total : 29355 time to create 1 rle with old method : 0.03571891784667969 length of segment : 378 time for calcul the mask position with numpy : 0.05355715751647949 nb_pixel_total : 35940 time to create 1 rle with old method : 0.04581594467163086 length of segment : 202 time for calcul the mask position with numpy : 0.00020551681518554688 nb_pixel_total : 6058 time to create 1 rle with old method : 0.009200572967529297 length of segment : 130 time for calcul the mask position with numpy : 0.0404510498046875 nb_pixel_total : 37941 time to create 1 rle with old method : 0.046424150466918945 length of segment : 205 time for calcul the mask position with numpy : 0.00041174888610839844 nb_pixel_total : 8796 time to create 1 rle with old method : 0.010207891464233398 length of segment : 103 time for calcul the mask position with numpy : 0.009468555450439453 nb_pixel_total : 13716 time to create 1 rle with old method : 0.020267724990844727 length of segment : 157 time for calcul the mask position with numpy : 0.029525279998779297 nb_pixel_total : 11908 time to create 1 rle with old method : 0.016033649444580078 length of segment : 151 time for calcul the mask position with numpy : 0.03673076629638672 nb_pixel_total : 30985 time to create 1 rle with old method : 0.041473388671875 length of segment : 161 time for calcul the mask position with numpy : 0.17182493209838867 nb_pixel_total : 87553 time to create 1 rle with old method : 0.09786057472229004 length of segment : 662 time for calcul the mask position with numpy : 0.0782768726348877 nb_pixel_total : 80730 time to create 1 rle with old method : 0.09285664558410645 length of segment : 329 time for calcul the mask position with numpy : 0.043641090393066406 nb_pixel_total : 10767 time to create 1 rle with old method : 0.017066478729248047 length of segment : 122 time for calcul the mask position with numpy : 0.017456531524658203 nb_pixel_total : 15298 time to create 1 rle with old method : 0.022464513778686523 length of segment : 118 time for calcul the mask position with numpy : 0.0008330345153808594 nb_pixel_total : 6017 time to create 1 rle with old method : 0.00712275505065918 length of segment : 261 time for calcul the mask position with numpy : 0.0044727325439453125 nb_pixel_total : 11622 time to create 1 rle with old method : 0.01504063606262207 length of segment : 161 time for calcul the mask position with numpy : 0.0067441463470458984 nb_pixel_total : 5983 time to create 1 rle with old method : 0.009613275527954102 length of segment : 93 time for calcul the mask position with numpy : 0.03550362586975098 nb_pixel_total : 33909 time to create 1 rle with old method : 0.040782928466796875 length of segment : 457 time for calcul the mask position with numpy : 0.015024662017822266 nb_pixel_total : 17059 time to create 1 rle with old method : 0.025313615798950195 length of segment : 221 time for calcul the mask position with numpy : 0.01923656463623047 nb_pixel_total : 5539 time to create 1 rle with old method : 0.011504173278808594 length of segment : 64 time for calcul the mask position with numpy : 0.06543755531311035 nb_pixel_total : 39420 time to create 1 rle with old method : 0.04828143119812012 length of segment : 515 time for calcul the mask position with numpy : 0.0004832744598388672 nb_pixel_total : 8325 time to create 1 rle with old method : 0.009721994400024414 length of segment : 104 time for calcul the mask position with numpy : 0.024729490280151367 nb_pixel_total : 61441 time to create 1 rle with old method : 0.07317376136779785 length of segment : 345 time for calcul the mask position with numpy : 0.03956747055053711 nb_pixel_total : 12028 time to create 1 rle with old method : 0.017513751983642578 length of segment : 133 time for calcul the mask position with numpy : 0.0516204833984375 nb_pixel_total : 21439 time to create 1 rle with old method : 0.02744293212890625 length of segment : 221 time for calcul the mask position with numpy : 0.011745452880859375 nb_pixel_total : 16628 time to create 1 rle with old method : 0.02460646629333496 length of segment : 197 time for calcul the mask position with numpy : 0.014020919799804688 nb_pixel_total : 16618 time to create 1 rle with old method : 0.022794246673583984 length of segment : 129 time for calcul the mask position with numpy : 0.10207939147949219 nb_pixel_total : 25369 time to create 1 rle with old method : 0.04123187065124512 length of segment : 178 time for calcul the mask position with numpy : 0.011630058288574219 nb_pixel_total : 19224 time to create 1 rle with old method : 0.02729654312133789 length of segment : 151 time for calcul the mask position with numpy : 0.12350034713745117 nb_pixel_total : 93096 time to create 1 rle with old method : 0.10639190673828125 length of segment : 461 time for calcul the mask position with numpy : 0.10144519805908203 nb_pixel_total : 89155 time to create 1 rle with old method : 0.12523913383483887 length of segment : 434 time for calcul the mask position with numpy : 0.00844264030456543 nb_pixel_total : 22347 time to create 1 rle with old method : 0.02906966209411621 length of segment : 192 time for calcul the mask position with numpy : 0.007501840591430664 nb_pixel_total : 10049 time to create 1 rle with old method : 0.013137102127075195 length of segment : 95 time for calcul the mask position with numpy : 0.0017266273498535156 nb_pixel_total : 4422 time to create 1 rle with old method : 0.005262851715087891 length of segment : 96 time for calcul the mask position with numpy : 0.00569915771484375 nb_pixel_total : 12750 time to create 1 rle with old method : 0.01678776741027832 length of segment : 140 time for calcul the mask position with numpy : 0.05747056007385254 nb_pixel_total : 25034 time to create 1 rle with old method : 0.032785892486572266 length of segment : 257 time for calcul the mask position with numpy : 0.008220434188842773 nb_pixel_total : 27162 time to create 1 rle with old method : 0.03343629837036133 length of segment : 201 time for calcul the mask position with numpy : 0.0002148151397705078 nb_pixel_total : 8863 time to create 1 rle with old method : 0.02036428451538086 length of segment : 84 time for calcul the mask position with numpy : 0.03536581993103027 nb_pixel_total : 40015 time to create 1 rle with old method : 0.06041526794433594 length of segment : 305 time for calcul the mask position with numpy : 0.016679048538208008 nb_pixel_total : 10389 time to create 1 rle with old method : 0.014790534973144531 length of segment : 106 time for calcul the mask position with numpy : 0.02946019172668457 nb_pixel_total : 24160 time to create 1 rle with old method : 0.03056192398071289 length of segment : 246 time for calcul the mask position with numpy : 0.012600183486938477 nb_pixel_total : 7232 time to create 1 rle with old method : 0.011278152465820312 length of segment : 121 time for calcul the mask position with numpy : 0.16717076301574707 nb_pixel_total : 96611 time to create 1 rle with old method : 0.1324002742767334 length of segment : 423 time for calcul the mask position with numpy : 0.0351567268371582 nb_pixel_total : 34598 time to create 1 rle with old method : 0.0436396598815918 length of segment : 187 time for calcul the mask position with numpy : 0.16990280151367188 nb_pixel_total : 84723 time to create 1 rle with old method : 0.09726262092590332 length of segment : 310 time for calcul the mask position with numpy : 0.006911516189575195 nb_pixel_total : 6306 time to create 1 rle with old method : 0.009087562561035156 length of segment : 74 time for calcul the mask position with numpy : 0.06860160827636719 nb_pixel_total : 81217 time to create 1 rle with old method : 0.1489429473876953 length of segment : 327 time for calcul the mask position with numpy : 0.006169557571411133 nb_pixel_total : 4781 time to create 1 rle with old method : 0.005635499954223633 length of segment : 65 time for calcul the mask position with numpy : 0.014543294906616211 nb_pixel_total : 6523 time to create 1 rle with old method : 0.013371706008911133 length of segment : 98 time for calcul the mask position with numpy : 0.004542112350463867 nb_pixel_total : 5078 time to create 1 rle with old method : 0.006515026092529297 length of segment : 49 time for calcul the mask position with numpy : 0.018616437911987305 nb_pixel_total : 14356 time to create 1 rle with old method : 0.023735523223876953 length of segment : 121 time for calcul the mask position with numpy : 0.01507878303527832 nb_pixel_total : 12978 time to create 1 rle with old method : 0.015174150466918945 length of segment : 150 time for calcul the mask position with numpy : 0.040303707122802734 nb_pixel_total : 32969 time to create 1 rle with old method : 0.03977155685424805 length of segment : 191 time for calcul the mask position with numpy : 0.035802602767944336 nb_pixel_total : 20773 time to create 1 rle with old method : 0.026307106018066406 length of segment : 144 time for calcul the mask position with numpy : 0.015627145767211914 nb_pixel_total : 12037 time to create 1 rle with old method : 0.01724386215209961 length of segment : 155 time for calcul the mask position with numpy : 0.008412837982177734 nb_pixel_total : 5309 time to create 1 rle with old method : 0.009549856185913086 length of segment : 90 time for calcul the mask position with numpy : 0.0382535457611084 nb_pixel_total : 38625 time to create 1 rle with old method : 0.046382904052734375 length of segment : 216 time for calcul the mask position with numpy : 0.023616790771484375 nb_pixel_total : 15988 time to create 1 rle with old method : 0.029331207275390625 length of segment : 144 time for calcul the mask position with numpy : 0.07010912895202637 nb_pixel_total : 62597 time to create 1 rle with old method : 0.06860184669494629 length of segment : 474 time for calcul the mask position with numpy : 0.0245363712310791 nb_pixel_total : 16469 time to create 1 rle with old method : 0.021728515625 length of segment : 176 time for calcul the mask position with numpy : 0.08273768424987793 nb_pixel_total : 60783 time to create 1 rle with old method : 0.06784749031066895 length of segment : 509 time for calcul the mask position with numpy : 0.01942276954650879 nb_pixel_total : 18554 time to create 1 rle with old method : 0.03172135353088379 length of segment : 208 time for calcul the mask position with numpy : 0.011490821838378906 nb_pixel_total : 10085 time to create 1 rle with old method : 0.012603044509887695 length of segment : 112 time for calcul the mask position with numpy : 0.11543583869934082 nb_pixel_total : 90064 time to create 1 rle with old method : 0.10451722145080566 length of segment : 371 time for calcul the mask position with numpy : 0.03326916694641113 nb_pixel_total : 32463 time to create 1 rle with old method : 0.03786587715148926 length of segment : 251 time for calcul the mask position with numpy : 0.05106067657470703 nb_pixel_total : 23106 time to create 1 rle with old method : 0.027588367462158203 length of segment : 197 time for calcul the mask position with numpy : 0.0057375431060791016 nb_pixel_total : 10859 time to create 1 rle with old method : 0.01460719108581543 length of segment : 128 time for calcul the mask position with numpy : 0.05182671546936035 nb_pixel_total : 51833 time to create 1 rle with old method : 0.06424331665039062 length of segment : 499 time for calcul the mask position with numpy : 0.00978994369506836 nb_pixel_total : 8633 time to create 1 rle with old method : 0.013552188873291016 length of segment : 70 time for calcul the mask position with numpy : 0.007230043411254883 nb_pixel_total : 15243 time to create 1 rle with old method : 0.0197298526763916 length of segment : 165 time for calcul the mask position with numpy : 0.10296916961669922 nb_pixel_total : 59379 time to create 1 rle with old method : 0.10101032257080078 length of segment : 337 time for calcul the mask position with numpy : 0.10754013061523438 nb_pixel_total : 108511 time to create 1 rle with old method : 0.13262271881103516 length of segment : 516 time for calcul the mask position with numpy : 0.010092020034790039 nb_pixel_total : 4384 time to create 1 rle with old method : 0.006673097610473633 length of segment : 89 time spent for convertir_results : 251.4941349029541 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Catched exception ! Connect or reconnect ! Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 144, in insert_many cursor.executemany(query, args[:limit]) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 235, in executemany return self._do_execute_many(q_prefix, q_values, q_postfix, args, File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 264, in _do_execute_many rows += self.execute(sql + postfix) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 209, in execute res = self._query(query) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 315, in _query db.query(q) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/connections.py", line 239, in query _mysql.connection.query(self, query) MySQLdb._exceptions.OperationalError: (1213, 'Deadlock found when trying to get lock; try restarting transaction') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "prod/datou.py", line 270, in ret = batchDatouCurrent(context, datou_id, mtr_portfolio_ids, list_photo_ids, limit, offset, rand, save, File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 621, in batchDatouCurrent ret = batchDatouExec(context, datou_id, mtr_portfolio_ids, list_photo_ids, list_input_json, limit, File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 819, in batchDatouExec output, datou_failed_to_relaunch = datou_exec(datou, input, cache, context, map_info, save, list_pids, verbose, mtr_user_id, is_last_batch, end_time) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2381, in datou_exec SAVE.saveOutput(output, map_info, sNext, final=final, verbose=verbose, cache=cache, File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib_step_save.py", line 1673, in saveOutput saveMask(output,map_info,datou_step.param,datou_step.json_param,DQ,hq,cat,final,verbose) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib_step_save.py", line 1021, in saveMask DQ.save_crop_rle_hashtag_ids(flattened_output,verbose = verbose , save_rle = bool(save_rle) , save_mode = save_mode) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/datou_queries.py", line 861, in save_crop_rle_hashtag_ids saved = self.save_crop_hashtag_ids(list_values_crop_hashtag_ids, verbose) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/datou_queries.py", line 970, in save_crop_hashtag_ids self.gq.insert_many(query, list_values_to_save_without_points) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 157, in insert_many cursor.executemany(query, args[:limit]) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 235, in executemany return self._do_execute_many(q_prefix, q_values, q_postfix, args, File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 264, in _do_execute_many rows += self.execute(sql + postfix) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 209, in execute res = self._query(query) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 315, in _query db.query(q) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/connections.py", line 239, in query _mysql.connection.query(self, query) MySQLdb._exceptions.OperationalError: (1213, 'Deadlock found when trying to get lock; try restarting transaction') Command exited with non-zero status 1 338.68user 376.72system 17:12.32elapsed 69%CPU (0avgtext+0avgdata 7942052maxresident)k 68003016inputs+91224outputs (2695500major+48766925minor)pagefaults 0swaps