python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 10 -a ' -a 3459 -l 10 ' -s datou_current_3459 -M 0 -S 0 -U 95,95,80 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 2154234 load datou : 3459 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! 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 ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? output optionnel thcl was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) load thcls load THCL from format json or kwargs add thcl : 2456 in CacheModelConfig load THCL from format json or kwargs add thcl : 2868 in CacheModelConfig load THCL from format json or kwargs add thcl : 2896 in CacheModelConfig load pdts add pdt : 4999 in CacheModelConfig add pdt : 5288 in CacheModelConfig add pdt : 5309 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 we have a portfolio with more photos than limit : 37>10 please execute split_portfolio.py -i 20321739 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2561530'] with mtr_portfolio_ids : ['20321739'] and first list_photo_ids : [] new path : /proc/2154234/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 2.085035800933838 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Fri Feb 7 06:48:29 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 : 4686 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-07 06:48:33.185716: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-02-07 06:48:33.219278: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-07 06:48:33.221172: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f84d8000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-07 06:48:33.221193: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-07 06:48:33.225958: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-07 06:48:33.508223: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x25fb3320 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-07 06:48:33.508273: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-07 06:48:33.509341: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-07 06:48:33.511181: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-07 06:48:33.531978: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-07 06:48:33.549897: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-07 06:48:33.553423: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-07 06:48:33.583891: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-07 06:48:33.588730: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-07 06:48:33.640880: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-07 06:48:33.642067: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-07 06:48:33.642446: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-07 06:48:33.643872: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-07 06:48:33.643891: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-07 06:48:33.643901: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-07 06:48:33.645338: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4234 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-02-07 06:48:34.115380: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-07 06:48:34.115511: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-07 06:48:34.115535: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-07 06:48:34.115551: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-07 06:48:34.115566: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-07 06:48:34.115580: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-07 06:48:34.115594: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-07 06:48:34.115610: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-07 06:48:34.116537: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-07 06:48:34.117533: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-07 06:48:34.117567: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-07 06:48:34.117583: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-07 06:48:34.117596: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-07 06:48:34.117615: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-07 06:48:34.117629: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-07 06:48:34.117643: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-07 06:48:34.117656: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-07 06:48:34.118566: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-07 06:48:34.118601: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-07 06:48:34.118610: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-07 06:48:34.118618: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-07 06:48:34.119563: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4234 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-02-07 06:48:44.726125: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-07 06:48:45.079981: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-07 06:48:47.028405: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:47.895310: 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-02-07 06:48:47.978525: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:47.978702: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB 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-02-07 06:48:47.980403: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:47.980457: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB 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-02-07 06:48:47.988573: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:47.988626: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB 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-02-07 06:48:47.989433: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:47.989450: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB 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-02-07 06:48:48.030333: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.030434: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 19.91MiB 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-02-07 06:48:48.030454: 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-02-07 06:48:48.031535: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.031590: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB 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-02-07 06:48:48.032629: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.032657: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB 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-02-07 06:48:48.040088: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.040138: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB 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-02-07 06:48:48.041136: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.041164: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB 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-02-07 06:48:48.042201: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.042231: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.26GiB 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-02-07 06:48:48.043266: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.051657: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.052447: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.080017: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.081097: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.082217: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.083313: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.087562: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.088375: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.089128: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.089945: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.092358: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.101334: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.102100: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.111445: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.112280: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.113036: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.113775: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.114561: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-07 06:48:48.115374: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.64G (3904765952 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 10 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, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 34 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, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 31 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, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 33 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, 18) 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, 18) 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, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 21 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, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 25 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, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 21 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, 18) 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, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 10 Detection mask done ! Trying to reset tf kernel 2154558 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 3493 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4686 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2896 Catched exception ! Connect or reconnect ! thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] time for calcul the mask position with numpy : 0.001004934310913086 nb_pixel_total : 8784 time to create 1 rle with old method : 0.014521598815917969 length of segment : 134 time for calcul the mask position with numpy : 0.006255149841308594 nb_pixel_total : 158111 time to create 1 rle with new method : 0.010873794555664062 length of segment : 561 time for calcul the mask position with numpy : 0.001561880111694336 nb_pixel_total : 58298 time to create 1 rle with old method : 0.06427645683288574 length of segment : 289 time for calcul the mask position with numpy : 0.0021975040435791016 nb_pixel_total : 73354 time to create 1 rle with old method : 0.08525562286376953 length of segment : 385 time for calcul the mask position with numpy : 0.0030252933502197266 nb_pixel_total : 79758 time to create 1 rle with old method : 0.08757519721984863 length of segment : 608 time for calcul the mask position with numpy : 0.0002644062042236328 nb_pixel_total : 4405 time to create 1 rle with old method : 0.0057523250579833984 length of segment : 44 time for calcul the mask position with numpy : 0.0016603469848632812 nb_pixel_total : 48867 time to create 1 rle with old method : 0.05796194076538086 length of segment : 319 time for calcul the mask position with numpy : 0.0005183219909667969 nb_pixel_total : 9040 time to create 1 rle with old method : 0.011705636978149414 length of segment : 93 time for calcul the mask position with numpy : 0.0024585723876953125 nb_pixel_total : 65494 time to create 1 rle with old method : 0.11454415321350098 length of segment : 389 time for calcul the mask position with numpy : 0.0005717277526855469 nb_pixel_total : 11470 time to create 1 rle with old method : 0.013961076736450195 length of segment : 141 time for calcul the mask position with numpy : 0.007123470306396484 nb_pixel_total : 203633 time to create 1 rle with new method : 0.014562368392944336 length of segment : 610 time for calcul the mask position with numpy : 0.0006866455078125 nb_pixel_total : 20068 time to create 1 rle with old method : 0.023184537887573242 length of segment : 284 time for calcul the mask position with numpy : 0.0001552104949951172 nb_pixel_total : 1536 time to create 1 rle with old method : 0.0020775794982910156 length of segment : 88 time for calcul the mask position with numpy : 0.00042557716369628906 nb_pixel_total : 9071 time to create 1 rle with old method : 0.014315366744995117 length of segment : 151 time for calcul the mask position with numpy : 0.0005817413330078125 nb_pixel_total : 5749 time to create 1 rle with old method : 0.007107734680175781 length of segment : 161 time for calcul the mask position with numpy : 0.0007112026214599609 nb_pixel_total : 19974 time to create 1 rle with old method : 0.02242255210876465 length of segment : 184 time for calcul the mask position with numpy : 0.0002551078796386719 nb_pixel_total : 6719 time to create 1 rle with old method : 0.007950782775878906 length of segment : 134 time for calcul the mask position with numpy : 0.0022437572479248047 nb_pixel_total : 58794 time to create 1 rle with old method : 0.072906494140625 length of segment : 290 time for calcul the mask position with numpy : 0.0018134117126464844 nb_pixel_total : 54490 time to create 1 rle with old method : 0.0599672794342041 length of segment : 415 time for calcul the mask position with numpy : 0.0005273818969726562 nb_pixel_total : 10041 time to create 1 rle with old method : 0.011592626571655273 length of segment : 237 time for calcul the mask position with numpy : 0.0003337860107421875 nb_pixel_total : 5344 time to create 1 rle with old method : 0.006319761276245117 length of segment : 149 time for calcul the mask position with numpy : 0.002054929733276367 nb_pixel_total : 74112 time to create 1 rle with old method : 0.0876309871673584 length of segment : 346 time for calcul the mask position with numpy : 0.00044536590576171875 nb_pixel_total : 11850 time to create 1 rle with old method : 0.014261722564697266 length of segment : 126 time for calcul the mask position with numpy : 0.0006763935089111328 nb_pixel_total : 28914 time to create 1 rle with old method : 0.0344388484954834 length of segment : 147 time for calcul the mask position with numpy : 0.0002956390380859375 nb_pixel_total : 13428 time to create 1 rle with old method : 0.015071392059326172 length of segment : 126 time for calcul the mask position with numpy : 0.0001475811004638672 nb_pixel_total : 1481 time to create 1 rle with old method : 0.0018761157989501953 length of segment : 51 time for calcul the mask position with numpy : 0.0013852119445800781 nb_pixel_total : 65090 time to create 1 rle with old method : 0.07383227348327637 length of segment : 401 time for calcul the mask position with numpy : 0.0010457038879394531 nb_pixel_total : 19228 time to create 1 rle with old method : 0.022557973861694336 length of segment : 331 time for calcul the mask position with numpy : 0.0011990070343017578 nb_pixel_total : 20842 time to create 1 rle with old method : 0.028768301010131836 length of segment : 231 time for calcul the mask position with numpy : 0.0013427734375 nb_pixel_total : 26633 time to create 1 rle with old method : 0.02978682518005371 length of segment : 245 time for calcul the mask position with numpy : 0.0007984638214111328 nb_pixel_total : 10845 time to create 1 rle with old method : 0.013251066207885742 length of segment : 187 time for calcul the mask position with numpy : 0.0006403923034667969 nb_pixel_total : 11536 time to create 1 rle with old method : 0.013369560241699219 length of segment : 148 time for calcul the mask position with numpy : 0.006001472473144531 nb_pixel_total : 154779 time to create 1 rle with new method : 0.008637189865112305 length of segment : 556 time for calcul the mask position with numpy : 0.007797956466674805 nb_pixel_total : 202393 time to create 1 rle with new method : 0.015987873077392578 length of segment : 616 time for calcul the mask position with numpy : 0.00029754638671875 nb_pixel_total : 3338 time to create 1 rle with old method : 0.0040400028228759766 length of segment : 44 time for calcul the mask position with numpy : 0.0018033981323242188 nb_pixel_total : 53955 time to create 1 rle with old method : 0.05984973907470703 length of segment : 242 time for calcul the mask position with numpy : 0.0036690235137939453 nb_pixel_total : 89324 time to create 1 rle with old method : 0.09814167022705078 length of segment : 541 time for calcul the mask position with numpy : 0.0018832683563232422 nb_pixel_total : 45690 time to create 1 rle with old method : 0.05055093765258789 length of segment : 284 time for calcul the mask position with numpy : 0.002490520477294922 nb_pixel_total : 70844 time to create 1 rle with old method : 0.07829928398132324 length of segment : 497 time for calcul the mask position with numpy : 0.0002002716064453125 nb_pixel_total : 1219 time to create 1 rle with old method : 0.0016307830810546875 length of segment : 46 time for calcul the mask position with numpy : 0.0022492408752441406 nb_pixel_total : 25836 time to create 1 rle with old method : 0.029842376708984375 length of segment : 381 time for calcul the mask position with numpy : 0.00019073486328125 nb_pixel_total : 1557 time to create 1 rle with old method : 0.0019106864929199219 length of segment : 89 time for calcul the mask position with numpy : 0.000522613525390625 nb_pixel_total : 11666 time to create 1 rle with old method : 0.013762712478637695 length of segment : 125 time for calcul the mask position with numpy : 0.0020644664764404297 nb_pixel_total : 50766 time to create 1 rle with old method : 0.06105446815490723 length of segment : 374 time for calcul the mask position with numpy : 0.0005543231964111328 nb_pixel_total : 5363 time to create 1 rle with old method : 0.006463527679443359 length of segment : 123 time for calcul the mask position with numpy : 0.0027685165405273438 nb_pixel_total : 79762 time to create 1 rle with old method : 0.08674860000610352 length of segment : 389 time for calcul the mask position with numpy : 0.002584695816040039 nb_pixel_total : 83268 time to create 1 rle with old method : 0.09148383140563965 length of segment : 343 time for calcul the mask position with numpy : 0.00025343894958496094 nb_pixel_total : 2102 time to create 1 rle with old method : 0.0024111270904541016 length of segment : 89 time for calcul the mask position with numpy : 0.00021219253540039062 nb_pixel_total : 7402 time to create 1 rle with old method : 0.009409189224243164 length of segment : 140 time for calcul the mask position with numpy : 0.00133514404296875 nb_pixel_total : 28232 time to create 1 rle with old method : 0.03334546089172363 length of segment : 256 time for calcul the mask position with numpy : 0.00038886070251464844 nb_pixel_total : 4802 time to create 1 rle with old method : 0.005514860153198242 length of segment : 113 time for calcul the mask position with numpy : 0.0006792545318603516 nb_pixel_total : 8960 time to create 1 rle with old method : 0.010918378829956055 length of segment : 134 time for calcul the mask position with numpy : 0.0013113021850585938 nb_pixel_total : 23252 time to create 1 rle with old method : 0.028496265411376953 length of segment : 207 time for calcul the mask position with numpy : 0.001168966293334961 nb_pixel_total : 21626 time to create 1 rle with old method : 0.024341344833374023 length of segment : 208 time for calcul the mask position with numpy : 0.00015974044799804688 nb_pixel_total : 1510 time to create 1 rle with old method : 0.0018475055694580078 length of segment : 47 time for calcul the mask position with numpy : 0.0015969276428222656 nb_pixel_total : 73015 time to create 1 rle with old method : 0.08080649375915527 length of segment : 432 time for calcul the mask position with numpy : 0.0003523826599121094 nb_pixel_total : 8995 time to create 1 rle with old method : 0.010277509689331055 length of segment : 143 time for calcul the mask position with numpy : 0.0014107227325439453 nb_pixel_total : 22834 time to create 1 rle with old method : 0.02749466896057129 length of segment : 207 time for calcul the mask position with numpy : 0.0007870197296142578 nb_pixel_total : 16000 time to create 1 rle with old method : 0.0182950496673584 length of segment : 260 time for calcul the mask position with numpy : 0.0016624927520751953 nb_pixel_total : 48682 time to create 1 rle with old method : 0.0573725700378418 length of segment : 324 time for calcul the mask position with numpy : 0.00039315223693847656 nb_pixel_total : 2565 time to create 1 rle with old method : 0.0044138431549072266 length of segment : 83 time for calcul the mask position with numpy : 0.00038623809814453125 nb_pixel_total : 5236 time to create 1 rle with old method : 0.008669137954711914 length of segment : 75 time for calcul the mask position with numpy : 0.00044226646423339844 nb_pixel_total : 5833 time to create 1 rle with old method : 0.009748458862304688 length of segment : 72 time for calcul the mask position with numpy : 0.00025391578674316406 nb_pixel_total : 3537 time to create 1 rle with old method : 0.004242420196533203 length of segment : 99 time for calcul the mask position with numpy : 0.0022912025451660156 nb_pixel_total : 30136 time to create 1 rle with old method : 0.03652787208557129 length of segment : 331 time for calcul the mask position with numpy : 0.00075531005859375 nb_pixel_total : 10897 time to create 1 rle with old method : 0.01253652572631836 length of segment : 144 time for calcul the mask position with numpy : 0.0025572776794433594 nb_pixel_total : 41487 time to create 1 rle with old method : 0.046918392181396484 length of segment : 221 time for calcul the mask position with numpy : 0.0036733150482177734 nb_pixel_total : 90957 time to create 1 rle with old method : 0.09864258766174316 length of segment : 355 time for calcul the mask position with numpy : 0.0014455318450927734 nb_pixel_total : 58824 time to create 1 rle with old method : 0.06824684143066406 length of segment : 309 time for calcul the mask position with numpy : 0.0026869773864746094 nb_pixel_total : 46872 time to create 1 rle with old method : 0.052462100982666016 length of segment : 299 time for calcul the mask position with numpy : 0.0005168914794921875 nb_pixel_total : 6759 time to create 1 rle with old method : 0.008897542953491211 length of segment : 58 time for calcul the mask position with numpy : 0.00356292724609375 nb_pixel_total : 106976 time to create 1 rle with old method : 0.1199185848236084 length of segment : 390 time for calcul the mask position with numpy : 0.00016069412231445312 nb_pixel_total : 1342 time to create 1 rle with old method : 0.001817941665649414 length of segment : 43 time for calcul the mask position with numpy : 0.0029582977294921875 nb_pixel_total : 78396 time to create 1 rle with old method : 0.08751463890075684 length of segment : 456 time for calcul the mask position with numpy : 0.005908489227294922 nb_pixel_total : 162947 time to create 1 rle with new method : 0.010496854782104492 length of segment : 675 time for calcul the mask position with numpy : 0.0007908344268798828 nb_pixel_total : 19534 time to create 1 rle with old method : 0.022383451461791992 length of segment : 229 time for calcul the mask position with numpy : 0.00023627281188964844 nb_pixel_total : 2472 time to create 1 rle with old method : 0.0030374526977539062 length of segment : 95 time for calcul the mask position with numpy : 0.00037407875061035156 nb_pixel_total : 3040 time to create 1 rle with old method : 0.003952503204345703 length of segment : 87 time for calcul the mask position with numpy : 0.00018477439880371094 nb_pixel_total : 1833 time to create 1 rle with old method : 0.002267122268676758 length of segment : 50 time for calcul the mask position with numpy : 0.0007865428924560547 nb_pixel_total : 13545 time to create 1 rle with old method : 0.016285181045532227 length of segment : 89 time for calcul the mask position with numpy : 0.00028586387634277344 nb_pixel_total : 5438 time to create 1 rle with old method : 0.006304025650024414 length of segment : 81 time for calcul the mask position with numpy : 0.0005619525909423828 nb_pixel_total : 20456 time to create 1 rle with old method : 0.024631261825561523 length of segment : 252 time for calcul the mask position with numpy : 0.0006189346313476562 nb_pixel_total : 11436 time to create 1 rle with old method : 0.015096426010131836 length of segment : 135 time for calcul the mask position with numpy : 0.0033636093139648438 nb_pixel_total : 97533 time to create 1 rle with old method : 0.1077737808227539 length of segment : 349 time for calcul the mask position with numpy : 0.0005059242248535156 nb_pixel_total : 5228 time to create 1 rle with old method : 0.006053924560546875 length of segment : 158 time for calcul the mask position with numpy : 0.0017385482788085938 nb_pixel_total : 41136 time to create 1 rle with old method : 0.045708417892456055 length of segment : 270 time for calcul the mask position with numpy : 0.000408172607421875 nb_pixel_total : 18032 time to create 1 rle with old method : 0.020163536071777344 length of segment : 263 time for calcul the mask position with numpy : 0.0014166831970214844 nb_pixel_total : 75983 time to create 1 rle with old method : 0.08312392234802246 length of segment : 462 time for calcul the mask position with numpy : 0.0028467178344726562 nb_pixel_total : 104429 time to create 1 rle with old method : 0.1137535572052002 length of segment : 509 time for calcul the mask position with numpy : 0.0008130073547363281 nb_pixel_total : 15101 time to create 1 rle with old method : 0.01790595054626465 length of segment : 278 time for calcul the mask position with numpy : 0.0003097057342529297 nb_pixel_total : 7783 time to create 1 rle with old method : 0.009335517883300781 length of segment : 101 time for calcul the mask position with numpy : 0.0015285015106201172 nb_pixel_total : 27215 time to create 1 rle with old method : 0.031067848205566406 length of segment : 342 time for calcul the mask position with numpy : 0.0007493495941162109 nb_pixel_total : 25628 time to create 1 rle with old method : 0.028850078582763672 length of segment : 174 time for calcul the mask position with numpy : 0.00016689300537109375 nb_pixel_total : 1777 time to create 1 rle with old method : 0.002223968505859375 length of segment : 58 time for calcul the mask position with numpy : 0.0001723766326904297 nb_pixel_total : 2024 time to create 1 rle with old method : 0.002685070037841797 length of segment : 71 time for calcul the mask position with numpy : 0.0029501914978027344 nb_pixel_total : 92426 time to create 1 rle with old method : 0.10169839859008789 length of segment : 781 time for calcul the mask position with numpy : 0.0014872550964355469 nb_pixel_total : 30938 time to create 1 rle with old method : 0.034577131271362305 length of segment : 367 time for calcul the mask position with numpy : 0.00017881393432617188 nb_pixel_total : 1792 time to create 1 rle with old method : 0.0021262168884277344 length of segment : 67 time for calcul the mask position with numpy : 0.0003311634063720703 nb_pixel_total : 9157 time to create 1 rle with old method : 0.011648178100585938 length of segment : 129 time for calcul the mask position with numpy : 0.00019168853759765625 nb_pixel_total : 3319 time to create 1 rle with old method : 0.003968000411987305 length of segment : 47 time for calcul the mask position with numpy : 0.00044608116149902344 nb_pixel_total : 8535 time to create 1 rle with old method : 0.010330438613891602 length of segment : 190 time for calcul the mask position with numpy : 0.002253293991088867 nb_pixel_total : 75205 time to create 1 rle with old method : 0.0891408920288086 length of segment : 440 time for calcul the mask position with numpy : 0.0002830028533935547 nb_pixel_total : 6312 time to create 1 rle with old method : 0.007793903350830078 length of segment : 57 time for calcul the mask position with numpy : 0.00667881965637207 nb_pixel_total : 215733 time to create 1 rle with new method : 0.014737129211425781 length of segment : 852 time for calcul the mask position with numpy : 0.00022673606872558594 nb_pixel_total : 1591 time to create 1 rle with old method : 0.002047300338745117 length of segment : 41 time for calcul the mask position with numpy : 0.0014889240264892578 nb_pixel_total : 65030 time to create 1 rle with old method : 0.0748891830444336 length of segment : 290 time for calcul the mask position with numpy : 0.003444194793701172 nb_pixel_total : 180969 time to create 1 rle with new method : 0.008630990982055664 length of segment : 424 time for calcul the mask position with numpy : 0.0009410381317138672 nb_pixel_total : 23924 time to create 1 rle with old method : 0.026816606521606445 length of segment : 339 time for calcul the mask position with numpy : 0.0011372566223144531 nb_pixel_total : 25128 time to create 1 rle with old method : 0.03227353096008301 length of segment : 275 time for calcul the mask position with numpy : 0.0007898807525634766 nb_pixel_total : 11337 time to create 1 rle with old method : 0.018625974655151367 length of segment : 200 time for calcul the mask position with numpy : 0.002183675765991211 nb_pixel_total : 82564 time to create 1 rle with old method : 0.09537100791931152 length of segment : 366 time for calcul the mask position with numpy : 9.751319885253906e-05 nb_pixel_total : 1666 time to create 1 rle with old method : 0.0020918846130371094 length of segment : 41 time for calcul the mask position with numpy : 0.0003032684326171875 nb_pixel_total : 7572 time to create 1 rle with old method : 0.008874654769897461 length of segment : 120 time for calcul the mask position with numpy : 0.00040268898010253906 nb_pixel_total : 3978 time to create 1 rle with old method : 0.0050830841064453125 length of segment : 140 time for calcul the mask position with numpy : 0.00038170814514160156 nb_pixel_total : 5160 time to create 1 rle with old method : 0.006552696228027344 length of segment : 62 time for calcul the mask position with numpy : 0.00044155120849609375 nb_pixel_total : 11109 time to create 1 rle with old method : 0.013418436050415039 length of segment : 110 time for calcul the mask position with numpy : 0.00011086463928222656 nb_pixel_total : 1024 time to create 1 rle with old method : 0.001341104507446289 length of segment : 35 time for calcul the mask position with numpy : 0.0007357597351074219 nb_pixel_total : 22894 time to create 1 rle with old method : 0.026442766189575195 length of segment : 160 time for calcul the mask position with numpy : 0.0013353824615478516 nb_pixel_total : 20623 time to create 1 rle with old method : 0.023368120193481445 length of segment : 286 time for calcul the mask position with numpy : 0.0006930828094482422 nb_pixel_total : 14047 time to create 1 rle with old method : 0.019540786743164062 length of segment : 169 time for calcul the mask position with numpy : 0.0007536411285400391 nb_pixel_total : 10454 time to create 1 rle with old method : 0.012392282485961914 length of segment : 226 time for calcul the mask position with numpy : 0.00029349327087402344 nb_pixel_total : 5201 time to create 1 rle with old method : 0.006454944610595703 length of segment : 78 time for calcul the mask position with numpy : 0.0001633167266845703 nb_pixel_total : 1942 time to create 1 rle with old method : 0.0024411678314208984 length of segment : 55 time for calcul the mask position with numpy : 0.0015845298767089844 nb_pixel_total : 52321 time to create 1 rle with old method : 0.05959129333496094 length of segment : 357 time for calcul the mask position with numpy : 0.0006618499755859375 nb_pixel_total : 20461 time to create 1 rle with old method : 0.023136615753173828 length of segment : 179 time for calcul the mask position with numpy : 0.0009891986846923828 nb_pixel_total : 23630 time to create 1 rle with old method : 0.027686357498168945 length of segment : 303 time for calcul the mask position with numpy : 0.0002510547637939453 nb_pixel_total : 5098 time to create 1 rle with old method : 0.006241559982299805 length of segment : 85 time for calcul the mask position with numpy : 0.00021123886108398438 nb_pixel_total : 2870 time to create 1 rle with old method : 0.003546476364135742 length of segment : 82 time for calcul the mask position with numpy : 0.00027108192443847656 nb_pixel_total : 2722 time to create 1 rle with old method : 0.003575563430786133 length of segment : 98 time for calcul the mask position with numpy : 0.0037429332733154297 nb_pixel_total : 82337 time to create 1 rle with old method : 0.08961009979248047 length of segment : 421 time for calcul the mask position with numpy : 0.00035953521728515625 nb_pixel_total : 5865 time to create 1 rle with old method : 0.007031679153442383 length of segment : 119 time for calcul the mask position with numpy : 0.003976345062255859 nb_pixel_total : 150915 time to create 1 rle with new method : 0.0076923370361328125 length of segment : 533 time for calcul the mask position with numpy : 0.0005848407745361328 nb_pixel_total : 22199 time to create 1 rle with old method : 0.02474808692932129 length of segment : 197 time for calcul the mask position with numpy : 0.00022339820861816406 nb_pixel_total : 6072 time to create 1 rle with old method : 0.007247447967529297 length of segment : 138 time for calcul the mask position with numpy : 0.0002894401550292969 nb_pixel_total : 10338 time to create 1 rle with old method : 0.011928319931030273 length of segment : 181 time for calcul the mask position with numpy : 0.001756429672241211 nb_pixel_total : 48666 time to create 1 rle with old method : 0.053911685943603516 length of segment : 294 time for calcul the mask position with numpy : 0.003216266632080078 nb_pixel_total : 113553 time to create 1 rle with old method : 0.1251664161682129 length of segment : 457 time for calcul the mask position with numpy : 0.0016186237335205078 nb_pixel_total : 35643 time to create 1 rle with old method : 0.03972506523132324 length of segment : 276 time for calcul the mask position with numpy : 0.0004658699035644531 nb_pixel_total : 4897 time to create 1 rle with old method : 0.005682229995727539 length of segment : 145 time for calcul the mask position with numpy : 0.001485586166381836 nb_pixel_total : 42124 time to create 1 rle with old method : 0.04625868797302246 length of segment : 238 time for calcul the mask position with numpy : 0.0015521049499511719 nb_pixel_total : 43247 time to create 1 rle with old method : 0.050841569900512695 length of segment : 332 time for calcul the mask position with numpy : 0.0005669593811035156 nb_pixel_total : 6168 time to create 1 rle with old method : 0.008034229278564453 length of segment : 162 time for calcul the mask position with numpy : 0.0029976367950439453 nb_pixel_total : 96503 time to create 1 rle with old method : 0.12496376037597656 length of segment : 274 time for calcul the mask position with numpy : 0.004220247268676758 nb_pixel_total : 152973 time to create 1 rle with new method : 0.010052919387817383 length of segment : 504 time for calcul the mask position with numpy : 0.002653360366821289 nb_pixel_total : 95052 time to create 1 rle with old method : 0.12925410270690918 length of segment : 324 time for calcul the mask position with numpy : 0.00022792816162109375 nb_pixel_total : 1892 time to create 1 rle with old method : 0.0024640560150146484 length of segment : 52 time for calcul the mask position with numpy : 0.00034165382385253906 nb_pixel_total : 9673 time to create 1 rle with old method : 0.011354207992553711 length of segment : 162 time for calcul the mask position with numpy : 0.00038051605224609375 nb_pixel_total : 6803 time to create 1 rle with old method : 0.008853912353515625 length of segment : 90 time for calcul the mask position with numpy : 0.0002014636993408203 nb_pixel_total : 1897 time to create 1 rle with old method : 0.0025110244750976562 length of segment : 56 time for calcul the mask position with numpy : 0.003725290298461914 nb_pixel_total : 114001 time to create 1 rle with old method : 0.1309833526611328 length of segment : 542 time for calcul the mask position with numpy : 0.0006268024444580078 nb_pixel_total : 9879 time to create 1 rle with old method : 0.011229515075683594 length of segment : 156 time for calcul the mask position with numpy : 0.0007407665252685547 nb_pixel_total : 19229 time to create 1 rle with old method : 0.021809101104736328 length of segment : 170 time for calcul the mask position with numpy : 0.0005793571472167969 nb_pixel_total : 14356 time to create 1 rle with old method : 0.016377687454223633 length of segment : 140 time for calcul the mask position with numpy : 0.0006816387176513672 nb_pixel_total : 22690 time to create 1 rle with old method : 0.025247573852539062 length of segment : 186 time for calcul the mask position with numpy : 0.0005230903625488281 nb_pixel_total : 11885 time to create 1 rle with old method : 0.014433622360229492 length of segment : 177 time for calcul the mask position with numpy : 0.000644683837890625 nb_pixel_total : 14683 time to create 1 rle with old method : 0.01772928237915039 length of segment : 159 time for calcul the mask position with numpy : 0.0007829666137695312 nb_pixel_total : 16965 time to create 1 rle with old method : 0.02026677131652832 length of segment : 176 time for calcul the mask position with numpy : 0.0004324913024902344 nb_pixel_total : 14208 time to create 1 rle with old method : 0.01624441146850586 length of segment : 153 time for calcul the mask position with numpy : 0.00024700164794921875 nb_pixel_total : 1490 time to create 1 rle with old method : 0.0018680095672607422 length of segment : 65 time for calcul the mask position with numpy : 0.00051116943359375 nb_pixel_total : 10663 time to create 1 rle with old method : 0.012870550155639648 length of segment : 153 time for calcul the mask position with numpy : 0.0004973411560058594 nb_pixel_total : 13150 time to create 1 rle with old method : 0.014861583709716797 length of segment : 143 time for calcul the mask position with numpy : 0.0009403228759765625 nb_pixel_total : 16311 time to create 1 rle with old method : 0.01950812339782715 length of segment : 241 time for calcul the mask position with numpy : 0.0006320476531982422 nb_pixel_total : 18489 time to create 1 rle with old method : 0.020976543426513672 length of segment : 245 time for calcul the mask position with numpy : 0.003072977066040039 nb_pixel_total : 76447 time to create 1 rle with old method : 0.08583211898803711 length of segment : 487 time for calcul the mask position with numpy : 0.0002257823944091797 nb_pixel_total : 1675 time to create 1 rle with old method : 0.002239704132080078 length of segment : 56 time for calcul the mask position with numpy : 0.0031998157501220703 nb_pixel_total : 56591 time to create 1 rle with old method : 0.06625127792358398 length of segment : 541 time for calcul the mask position with numpy : 0.0023136138916015625 nb_pixel_total : 82096 time to create 1 rle with old method : 0.08942651748657227 length of segment : 416 time for calcul the mask position with numpy : 0.003465414047241211 nb_pixel_total : 104741 time to create 1 rle with old method : 0.1435222625732422 length of segment : 408 time for calcul the mask position with numpy : 0.002069234848022461 nb_pixel_total : 55479 time to create 1 rle with old method : 0.06238889694213867 length of segment : 296 time for calcul the mask position with numpy : 0.0013966560363769531 nb_pixel_total : 24832 time to create 1 rle with old method : 0.02778482437133789 length of segment : 374 time for calcul the mask position with numpy : 0.002218008041381836 nb_pixel_total : 54368 time to create 1 rle with old method : 0.060993194580078125 length of segment : 284 time for calcul the mask position with numpy : 0.0003483295440673828 nb_pixel_total : 15569 time to create 1 rle with old method : 0.017545700073242188 length of segment : 248 time for calcul the mask position with numpy : 0.003304004669189453 nb_pixel_total : 136199 time to create 1 rle with old method : 0.1494436264038086 length of segment : 333 time for calcul the mask position with numpy : 0.0011429786682128906 nb_pixel_total : 30497 time to create 1 rle with old method : 0.03536081314086914 length of segment : 321 time for calcul the mask position with numpy : 0.0003676414489746094 nb_pixel_total : 8427 time to create 1 rle with old method : 0.010111570358276367 length of segment : 82 time for calcul the mask position with numpy : 0.00021767616271972656 nb_pixel_total : 4353 time to create 1 rle with old method : 0.005476236343383789 length of segment : 57 time for calcul the mask position with numpy : 0.0038106441497802734 nb_pixel_total : 125087 time to create 1 rle with old method : 0.13536858558654785 length of segment : 801 time for calcul the mask position with numpy : 0.001379251480102539 nb_pixel_total : 37822 time to create 1 rle with old method : 0.0418088436126709 length of segment : 320 time for calcul the mask position with numpy : 0.0009257793426513672 nb_pixel_total : 45587 time to create 1 rle with old method : 0.05079507827758789 length of segment : 297 time for calcul the mask position with numpy : 0.0028357505798339844 nb_pixel_total : 113466 time to create 1 rle with old method : 0.12395000457763672 length of segment : 478 time for calcul the mask position with numpy : 0.0005326271057128906 nb_pixel_total : 9737 time to create 1 rle with old method : 0.011442184448242188 length of segment : 148 time for calcul the mask position with numpy : 0.0002703666687011719 nb_pixel_total : 2493 time to create 1 rle with old method : 0.00435328483581543 length of segment : 75 time for calcul the mask position with numpy : 0.0022749900817871094 nb_pixel_total : 70133 time to create 1 rle with old method : 0.07667160034179688 length of segment : 489 time for calcul the mask position with numpy : 0.0028400421142578125 nb_pixel_total : 65891 time to create 1 rle with old method : 0.07868623733520508 length of segment : 360 time for calcul the mask position with numpy : 0.0028831958770751953 nb_pixel_total : 80716 time to create 1 rle with old method : 0.0893852710723877 length of segment : 383 time for calcul the mask position with numpy : 0.0019385814666748047 nb_pixel_total : 39088 time to create 1 rle with old method : 0.04378080368041992 length of segment : 293 time for calcul the mask position with numpy : 0.0021991729736328125 nb_pixel_total : 58469 time to create 1 rle with old method : 0.07709479331970215 length of segment : 369 time for calcul the mask position with numpy : 0.0033392906188964844 nb_pixel_total : 102739 time to create 1 rle with old method : 0.11665511131286621 length of segment : 338 time for calcul the mask position with numpy : 0.0006690025329589844 nb_pixel_total : 14005 time to create 1 rle with old method : 0.019277334213256836 length of segment : 162 time for calcul the mask position with numpy : 0.0007088184356689453 nb_pixel_total : 9381 time to create 1 rle with old method : 0.011964797973632812 length of segment : 220 time for calcul the mask position with numpy : 0.0009076595306396484 nb_pixel_total : 19988 time to create 1 rle with old method : 0.024025917053222656 length of segment : 212 time for calcul the mask position with numpy : 0.00045013427734375 nb_pixel_total : 16541 time to create 1 rle with old method : 0.0198972225189209 length of segment : 157 time for calcul the mask position with numpy : 0.0011141300201416016 nb_pixel_total : 30017 time to create 1 rle with old method : 0.049260616302490234 length of segment : 185 time for calcul the mask position with numpy : 0.00018978118896484375 nb_pixel_total : 2104 time to create 1 rle with old method : 0.0026848316192626953 length of segment : 33 time for calcul the mask position with numpy : 0.0002014636993408203 nb_pixel_total : 3505 time to create 1 rle with old method : 0.0041730403900146484 length of segment : 62 time for calcul the mask position with numpy : 0.0010042190551757812 nb_pixel_total : 72794 time to create 1 rle with old method : 0.09030270576477051 length of segment : 328 time for calcul the mask position with numpy : 0.004698514938354492 nb_pixel_total : 85582 time to create 1 rle with old method : 0.10209393501281738 length of segment : 364 time for calcul the mask position with numpy : 0.002729654312133789 nb_pixel_total : 80373 time to create 1 rle with old method : 0.10162043571472168 length of segment : 353 time for calcul the mask position with numpy : 0.002103090286254883 nb_pixel_total : 66389 time to create 1 rle with old method : 0.07016301155090332 length of segment : 366 time for calcul the mask position with numpy : 0.0010068416595458984 nb_pixel_total : 27979 time to create 1 rle with old method : 0.03017568588256836 length of segment : 253 time for calcul the mask position with numpy : 0.0020911693572998047 nb_pixel_total : 69579 time to create 1 rle with old method : 0.08054494857788086 length of segment : 304 time for calcul the mask position with numpy : 0.001390695571899414 nb_pixel_total : 63366 time to create 1 rle with old method : 0.06814789772033691 length of segment : 372 time for calcul the mask position with numpy : 0.0017426013946533203 nb_pixel_total : 62054 time to create 1 rle with old method : 0.06911683082580566 length of segment : 355 time for calcul the mask position with numpy : 0.0032167434692382812 nb_pixel_total : 129649 time to create 1 rle with old method : 0.1503431797027588 length of segment : 592 time for calcul the mask position with numpy : 0.0012309551239013672 nb_pixel_total : 44379 time to create 1 rle with old method : 0.05109596252441406 length of segment : 441 time for calcul the mask position with numpy : 0.0011663436889648438 nb_pixel_total : 36450 time to create 1 rle with old method : 0.03941798210144043 length of segment : 176 time for calcul the mask position with numpy : 0.20384740829467773 nb_pixel_total : 3269621 time to create 1 rle with new method : 0.4239678382873535 length of segment : 3518 time for calcul the mask position with numpy : 0.0002086162567138672 nb_pixel_total : 6690 time to create 1 rle with old method : 0.010004758834838867 length of segment : 123 time for calcul the mask position with numpy : 0.0035254955291748047 nb_pixel_total : 242797 time to create 1 rle with new method : 0.013588666915893555 length of segment : 615 time for calcul the mask position with numpy : 0.0004868507385253906 nb_pixel_total : 17494 time to create 1 rle with old method : 0.01980447769165039 length of segment : 198 time for calcul the mask position with numpy : 0.0009143352508544922 nb_pixel_total : 44568 time to create 1 rle with old method : 0.05046510696411133 length of segment : 475 time for calcul the mask position with numpy : 0.00035262107849121094 nb_pixel_total : 12738 time to create 1 rle with old method : 0.014273643493652344 length of segment : 143 time for calcul the mask position with numpy : 0.000675201416015625 nb_pixel_total : 36919 time to create 1 rle with old method : 0.04158163070678711 length of segment : 376 time for calcul the mask position with numpy : 0.0003440380096435547 nb_pixel_total : 16477 time to create 1 rle with old method : 0.01962113380432129 length of segment : 298 time for calcul the mask position with numpy : 0.0036067962646484375 nb_pixel_total : 86902 time to create 1 rle with old method : 0.13347816467285156 length of segment : 364 time spent for convertir_results : 17.84678602218628 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 226 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 57289 save missing photos in datou_result : time spend for datou_step_exec : 73.75747895240784 time spend to save output : 10.461580991744995 total time spend for step 1 : 84.21905994415283 step2:crop_condition Fri Feb 7 06:49:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3663 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 226 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 15 About to insert : list_path_to_insert length 15 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 73 About to insert : list_path_to_insert length 73 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1335193011, 1335193003, 1335192999, 1335192939, 1335192938, 1335192936, 1335192933, 1335192926, 1335192920, 1335192010] Looping around the photos to save general results len do output : 122 /-3658502659Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502657Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502705Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502747Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502767Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511157Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511152Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511166Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511179Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511198Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511233Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502648Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502681Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502720Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502731Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502744Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502742Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502775Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502778Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511149Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511187Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511204Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511203Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511197Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511213Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511230Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502675Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502656Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502672Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502703Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502695Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502679Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502699Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511163Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511207Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511208Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511195Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502652Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502669Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502650Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502647Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502667Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502665Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502664Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502663Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502654Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502683Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502682Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502678Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502692Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502689Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502691Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502701Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502713Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502730Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502717Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502715Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502710Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502714Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502721Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502728Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502719Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502741Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502738Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502734Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502756Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502755Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502753Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3659066779Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3659066780Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3659066781Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502769Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502777Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502771Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502763Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511143Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511148Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511150Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511141Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511145Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511161Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511159Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511183Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511170Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511177Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511180Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511174Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511186Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3659066785Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511175Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511184Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3659066783Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511168Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511173Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511211Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511200Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511205Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511196Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511192Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511193Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511212Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511199Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511191Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511190Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511194Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511206Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3659066786Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511229Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511234Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502661Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502765Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502761Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502770Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511156Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511228Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511232Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658502752Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511146Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511155Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511142Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3658511231Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2561530') ('3459', None, '1335193011', None, None, None, None, None, '2561530') ('3459', None, None, None, None, None, None, None, '2561530') ('3459', None, '1335193003', None, None, None, None, None, '2561530') ('3459', None, None, None, None, None, None, None, '2561530') ('3459', None, '1335192999', None, None, None, None, None, '2561530') ('3459', None, None, None, None, None, None, None, '2561530') ('3459', None, '1335192939', None, None, None, None, None, '2561530') ('3459', None, None, None, None, None, None, None, '2561530') ('3459', None, '1335192938', None, None, None, None, None, '2561530') ('3459', None, None, None, None, None, None, None, '2561530') ('3459', None, '1335192936', None, None, None, None, None, '2561530') ('3459', None, None, None, None, None, None, None, '2561530') ('3459', None, '1335192933', None, None, None, None, None, '2561530') ('3459', None, None, None, None, None, None, None, '2561530') ('3459', None, '1335192926', None, None, None, None, None, '2561530') ('3459', None, None, None, None, None, None, None, '2561530') ('3459', None, '1335192920', None, None, None, None, None, '2561530') ('3459', None, None, None, None, None, None, None, '2561530') ('3459', None, '1335192010', None, None, None, None, None, '2561530') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 376 time used for this insertion : 0.0420074462890625 save_final save missing photos in datou_result : time spend for datou_step_exec : 44.46570944786072 time spend to save output : 0.045213937759399414 total time spend for step 2 : 44.51092338562012 step3:thcl Fri Feb 7 06:50:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step Thcl ! nombre de thcls : 2 we are using the classfication for multi_thcl [2456, 2868] time to import caffe and check if the image exist : 0.033233642578125 time to convert the images to numpy array : 0.4371316432952881 time to import caffe and check if the image exist : 0.026964902877807617 time to convert the images to numpy array : 0.4655578136444092 time to import caffe and check if the image exist : 0.03272700309753418 time to convert the images to numpy array : 0.4727945327758789 time to import caffe and check if the image exist : 0.031699180603027344 time to convert the images to numpy array : 0.47963500022888184 time to import caffe and check if the image exist : 0.03953051567077637 time to convert the images to numpy array : 0.4794280529022217 time to import caffe and check if the image exist : 0.04114270210266113 time to convert the images to numpy array : 0.48354148864746094 time to import caffe and check if the image exist : 0.032959699630737305 time to convert the images to numpy array : 0.4972236156463623 time to import caffe and check if the image exist : 0.036688804626464844 time to convert the images to numpy array : 0.49750709533691406 time to import caffe and check if the image exist : 0.040155887603759766 time to convert the images to numpy array : 0.4948699474334717 time to import caffe and check if the image exist : 0.03423452377319336 time to convert the images to numpy array : 0.507490873336792 total time to convert the images to numpy array : 1.3717100620269775 list photo_ids error: [] list photo_ids correct : [-3658502659, -3658502657, -3658502705, -3658502747, -3658502767, -3658511157, -3658511152, -3658511166, -3658511179, -3658511198, -3658511233, -3658502648, -3658502681, -3658502752, -3658511146, -3658511155, -3658511142, -3658511231, -3658511190, -3658511194, -3658511206, -3659066786, -3658511229, -3658511234, -3658502661, -3658502765, -3658502761, -3658502770, -3658511156, -3658511228, -3658511232, -3658511184, -3659066783, -3658511168, -3658511173, -3658511211, -3658511200, -3658511205, -3658511196, -3658511192, -3658511193, -3658511212, -3658511199, -3658511191, -3658502701, -3658502713, -3658502730, -3658502717, -3658502715, -3658502710, -3658502714, -3658502712, -3658502721, -3658502728, -3658502719, -3658502741, -3658502738, -3658502720, -3658502731, -3658502744, -3658502742, -3658502775, -3658502778, -3658511149, -3658511187, -3658511204, -3658511203, -3658511197, -3658511213, -3658511230, -3658502734, -3658502756, -3658502755, -3658502753, -3659066779, -3659066780, -3659066781, -3658502769, -3658502777, -3658502771, -3658502763, -3658511143, -3658511148, -3658511150, -3658511141, -3658511145, -3658511161, -3658511159, -3658511183, -3658511170, -3658511177, -3658511180, -3658511174, -3658511186, -3659066785, -3658511175, -3658502675, -3658502656, -3658502672, -3658502703, -3658502695, -3658502679, -3658502699, -3658511163, -3658511207, -3658511208, -3658511195, -3658502652, -3658502669, -3658502650, -3658502647, -3658502667, -3658502665, -3658502664, -3658502663, -3658502654, -3658502683, -3658502682, -3658502678, -3658502692, -3658502689, -3658502691] number of photos to traite : 122 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 thcls : [{'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'}] thcl {'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'} Update svm_hashtag_type_desc : 4999 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) To loadFromThcl() : net_4999 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 3536 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_qualipapia_papier_refus_from_vlg_data_aug Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_qualipapia_papier_refus_from_vlg_data_aug model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel size_local : 44972172 size in s3 : 44972172 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 caffemodel already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt size_local : 17311 size in s3 : 17311 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:51 mean.npy already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/synset_words.txt size_local : 57 size in s3 : 57 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/caffe_cuda8_python3/python/:/home/admin/workarea/install/darknet/:/home/admin/workarea/git/Velours/python:/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python:/home/admin/mtr/.credentials:/home/admin/workarea/install/caffe/python:/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools/:/home/admin/workarea/git/fotonowerpip/:/home/admin/workarea/install/segment-anything:/home/admin//workarea/git/pyfvs/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt caffemodel_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 2869 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.6026742458343506 time used to do the prediction : 0.503333330154419 we don't save the descriptors for this thcl 2456 tagging for thcl : 2868 To do loadFromThcl(), then load ParamDescType : thcl2868 thcls : [{'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5288 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) To loadFromThcl() : net_5288 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 2867 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_papier_nantes_300421 Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_papier_nantes_300421 model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_papier_nantes_300421 /data/models_weight/learn_papier_nantes_300421/caffemodel size_local : 44791983 size in s3 : 44791983 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:13 caffemodel already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/deploy.prototxt size_local : 17255 size in s3 : 17255 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:12 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:14 mean.npy already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/synset_words.txt size_local : 331 size in s3 : 331 create time local : 2021-08-09 05:56:00 create time in s3 : 2021-08-06 19:22:12 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/caffe_cuda8_python3/python/:/home/admin/workarea/install/darknet/:/home/admin/workarea/git/Velours/python:/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python:/home/admin/mtr/.credentials:/home/admin/workarea/install/caffe/python:/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools/:/home/admin/workarea/git/fotonowerpip/:/home/admin/workarea/install/segment-anything:/home/admin//workarea/git/pyfvs/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_papier_nantes_300421/deploy.prototxt caffemodel_filename : /data/models_weight/learn_papier_nantes_300421/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory havn't enough memory gpu , need / 2500 l 3632 free memory gpu now : 2478 wait 20 seconds WARNING: Logging before InitGoogleLogging() is written to STDERR F0207 06:51:11.056895 2154234 syncedmem.cpp:71] Check failed: error == cudaSuccess (2 vs. 0) out of memory *** Check failure stack trace: *** Command terminated by signal 6 81.13user 57.20system 2:46.77elapsed 82%CPU (0avgtext+0avgdata 4364868maxresident)k 2833760inputs+53072outputs (9953major+7173681minor)pagefaults 0swaps