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 : 4181422 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 : 22>10 please execute split_portfolio.py -i 20699439 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2601855'] with mtr_portfolio_ids : ['20699439'] and first list_photo_ids : [] new path : /proc/4181422/ 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 : 1.9023611545562744 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 21 00:20:31 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 : 2520 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-21 00:20:34.285752: 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-21 00:20:34.315182: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-21 00:20:34.317788: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f70d8000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-21 00:20:34.317876: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-21 00:20:34.323327: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-21 00:20:34.558507: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x8825a20 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-21 00:20:34.558643: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-21 00:20:34.559938: 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-21 00:20:34.560715: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-21 00:20:34.564145: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-21 00:20:34.567733: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-21 00:20:34.568623: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-21 00:20:34.572101: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-21 00:20:34.573966: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-21 00:20:34.580507: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-21 00:20:34.582005: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-21 00:20:34.582206: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-21 00:20:34.583029: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-21 00:20:34.583059: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-21 00:20:34.583071: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-21 00:20:34.584340: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1790 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-21 00:20:34.997753: 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-21 00:20:34.997905: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-21 00:20:34.997959: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-21 00:20:34.997999: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-21 00:20:34.998049: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-21 00:20:34.998098: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-21 00:20:34.998134: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-21 00:20:34.998178: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-21 00:20:34.999326: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-21 00:20:35.000725: 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-21 00:20:35.000898: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-21 00:20:35.000973: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-21 00:20:35.001000: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-21 00:20:35.001029: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-21 00:20:35.001053: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-21 00:20:35.001076: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-21 00:20:35.001108: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-21 00:20:35.002237: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-21 00:20:35.002288: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-21 00:20:35.002303: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-21 00:20:35.002315: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-21 00:20:35.003429: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1790 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-21 00:20:47.920028: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-21 00:20:48.125163: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-21 00:20:50.287985: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-21 00:20:50.288089: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-21 00:20:50.295837: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-21 00:20:50.295924: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-21 00:20:50.304113: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.304187: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 466.56MiB 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-21 00:20:50.305042: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.305067: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 466.56MiB 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-21 00:20:50.341180: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-21 00:20:50.341261: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-21 00:20:50.347372: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.347417: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 243.25MiB 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-21 00:20:50.348065: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.348108: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 243.25MiB 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-21 00:20:50.385047: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.385570: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.435743: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.436292: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.465924: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.466459: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.467972: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.468476: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.475465: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.475997: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.477907: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.478474: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.484188: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.484693: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.486887: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.487426: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.518544: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.519135: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.519684: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.520562: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.525277: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.525810: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.543451: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.544006: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.544501: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.544987: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.557763: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.558277: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.558761: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.559255: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.564690: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.565446: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.569996: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.570485: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.583700: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.584284: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.588800: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.589328: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.590291: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.590833: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.602280: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.602798: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.603346: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.603831: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.604337: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.604852: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.665068: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.665158: 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-21 00:20:50.665984: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.666823: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.676360: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.677132: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.701876: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.704002: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.731220: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.732029: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.732770: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.733451: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.737987: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.738984: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.739739: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.740469: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.742799: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.752332: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.753109: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.762979: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.763728: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.764606: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.765294: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.766182: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:20:50.766857: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.25G (1342046208 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 : 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 : 14 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 : 19 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.01745 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 14 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 : 20 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 : 17 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 4 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 : 22 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 12 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 : 16 Detection mask done ! Trying to reset tf kernel 4182289 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 132 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 : 1325 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.003278493881225586 nb_pixel_total : 125233 time to create 1 rle with old method : 0.1391308307647705 length of segment : 560 time for calcul the mask position with numpy : 0.002529144287109375 nb_pixel_total : 108592 time to create 1 rle with old method : 0.11999821662902832 length of segment : 321 time for calcul the mask position with numpy : 0.00045037269592285156 nb_pixel_total : 25078 time to create 1 rle with old method : 0.028851747512817383 length of segment : 182 time for calcul the mask position with numpy : 0.0004799365997314453 nb_pixel_total : 21470 time to create 1 rle with old method : 0.02399587631225586 length of segment : 140 time for calcul the mask position with numpy : 0.004003763198852539 nb_pixel_total : 73840 time to create 1 rle with old method : 0.089202880859375 length of segment : 376 time for calcul the mask position with numpy : 0.00014710426330566406 nb_pixel_total : 1680 time to create 1 rle with old method : 0.0019524097442626953 length of segment : 72 time for calcul the mask position with numpy : 0.08673691749572754 nb_pixel_total : 1543245 time to create 1 rle with new method : 0.27624058723449707 length of segment : 2235 time for calcul the mask position with numpy : 0.0022635459899902344 nb_pixel_total : 80755 time to create 1 rle with old method : 0.11478543281555176 length of segment : 459 time for calcul the mask position with numpy : 0.0009019374847412109 nb_pixel_total : 19102 time to create 1 rle with old method : 0.021601200103759766 length of segment : 215 time for calcul the mask position with numpy : 0.00036215782165527344 nb_pixel_total : 6653 time to create 1 rle with old method : 0.00780797004699707 length of segment : 98 time for calcul the mask position with numpy : 0.0028243064880371094 nb_pixel_total : 73463 time to create 1 rle with old method : 0.0799872875213623 length of segment : 369 time for calcul the mask position with numpy : 0.001897573471069336 nb_pixel_total : 70638 time to create 1 rle with old method : 0.08104109764099121 length of segment : 317 time for calcul the mask position with numpy : 0.003390789031982422 nb_pixel_total : 86945 time to create 1 rle with old method : 0.09832334518432617 length of segment : 416 time for calcul the mask position with numpy : 0.0015594959259033203 nb_pixel_total : 35057 time to create 1 rle with old method : 0.039939165115356445 length of segment : 293 time for calcul the mask position with numpy : 0.0016748905181884766 nb_pixel_total : 39152 time to create 1 rle with old method : 0.0459294319152832 length of segment : 362 time for calcul the mask position with numpy : 0.0034651756286621094 nb_pixel_total : 153798 time to create 1 rle with new method : 0.005806922912597656 length of segment : 391 time for calcul the mask position with numpy : 0.010461091995239258 nb_pixel_total : 189024 time to create 1 rle with new method : 0.02362537384033203 length of segment : 635 time for calcul the mask position with numpy : 0.0013394355773925781 nb_pixel_total : 14173 time to create 1 rle with old method : 0.016797304153442383 length of segment : 232 time for calcul the mask position with numpy : 0.0034084320068359375 nb_pixel_total : 98485 time to create 1 rle with old method : 0.1063234806060791 length of segment : 450 time for calcul the mask position with numpy : 0.00023245811462402344 nb_pixel_total : 2921 time to create 1 rle with old method : 0.0037813186645507812 length of segment : 84 time for calcul the mask position with numpy : 0.0008883476257324219 nb_pixel_total : 22937 time to create 1 rle with old method : 0.025396347045898438 length of segment : 324 time for calcul the mask position with numpy : 0.000982522964477539 nb_pixel_total : 26575 time to create 1 rle with old method : 0.02949380874633789 length of segment : 257 time for calcul the mask position with numpy : 0.003021240234375 nb_pixel_total : 129674 time to create 1 rle with old method : 0.15046977996826172 length of segment : 446 time for calcul the mask position with numpy : 0.0019788742065429688 nb_pixel_total : 97650 time to create 1 rle with old method : 0.12250709533691406 length of segment : 457 time for calcul the mask position with numpy : 0.001851797103881836 nb_pixel_total : 80666 time to create 1 rle with old method : 0.09368610382080078 length of segment : 310 time for calcul the mask position with numpy : 0.00021266937255859375 nb_pixel_total : 2199 time to create 1 rle with old method : 0.0025861263275146484 length of segment : 75 time for calcul the mask position with numpy : 0.00024318695068359375 nb_pixel_total : 3709 time to create 1 rle with old method : 0.0047760009765625 length of segment : 91 time for calcul the mask position with numpy : 0.009557008743286133 nb_pixel_total : 380954 time to create 1 rle with new method : 0.01603221893310547 length of segment : 795 time for calcul the mask position with numpy : 0.0003292560577392578 nb_pixel_total : 2384 time to create 1 rle with old method : 0.00351715087890625 length of segment : 82 time for calcul the mask position with numpy : 0.0009961128234863281 nb_pixel_total : 41583 time to create 1 rle with old method : 0.04969382286071777 length of segment : 274 time for calcul the mask position with numpy : 0.00012040138244628906 nb_pixel_total : 1411 time to create 1 rle with old method : 0.0018074512481689453 length of segment : 46 time for calcul the mask position with numpy : 0.00015997886657714844 nb_pixel_total : 1545 time to create 1 rle with old method : 0.001912832260131836 length of segment : 73 time for calcul the mask position with numpy : 0.003052949905395508 nb_pixel_total : 96283 time to create 1 rle with old method : 0.11316561698913574 length of segment : 423 time for calcul the mask position with numpy : 0.00036406517028808594 nb_pixel_total : 5184 time to create 1 rle with old method : 0.006223917007446289 length of segment : 142 time for calcul the mask position with numpy : 0.003000974655151367 nb_pixel_total : 103873 time to create 1 rle with old method : 0.12034058570861816 length of segment : 362 time for calcul the mask position with numpy : 0.007768154144287109 nb_pixel_total : 278564 time to create 1 rle with new method : 0.0113677978515625 length of segment : 731 time for calcul the mask position with numpy : 0.0021567344665527344 nb_pixel_total : 97577 time to create 1 rle with old method : 0.10805416107177734 length of segment : 458 time for calcul the mask position with numpy : 0.0006506443023681641 nb_pixel_total : 5701 time to create 1 rle with old method : 0.0068874359130859375 length of segment : 103 time for calcul the mask position with numpy : 0.0028350353240966797 nb_pixel_total : 42745 time to create 1 rle with old method : 0.04946088790893555 length of segment : 421 time for calcul the mask position with numpy : 0.001140594482421875 nb_pixel_total : 27749 time to create 1 rle with old method : 0.03058791160583496 length of segment : 260 time for calcul the mask position with numpy : 0.002342700958251953 nb_pixel_total : 71987 time to create 1 rle with old method : 0.07882046699523926 length of segment : 311 time for calcul the mask position with numpy : 0.0009307861328125 nb_pixel_total : 20140 time to create 1 rle with old method : 0.022319793701171875 length of segment : 281 time for calcul the mask position with numpy : 0.00011086463928222656 nb_pixel_total : 2895 time to create 1 rle with old method : 0.003519773483276367 length of segment : 78 time for calcul the mask position with numpy : 0.0002872943878173828 nb_pixel_total : 3345 time to create 1 rle with old method : 0.0043413639068603516 length of segment : 95 time for calcul the mask position with numpy : 0.00019788742065429688 nb_pixel_total : 6992 time to create 1 rle with old method : 0.00847172737121582 length of segment : 105 time for calcul the mask position with numpy : 0.013745307922363281 nb_pixel_total : 425791 time to create 1 rle with new method : 0.025628089904785156 length of segment : 690 time for calcul the mask position with numpy : 0.00017762184143066406 nb_pixel_total : 1577 time to create 1 rle with old method : 0.00197601318359375 length of segment : 67 time for calcul the mask position with numpy : 0.0011250972747802734 nb_pixel_total : 42139 time to create 1 rle with old method : 0.04673480987548828 length of segment : 214 time for calcul the mask position with numpy : 0.0011205673217773438 nb_pixel_total : 68600 time to create 1 rle with old method : 0.07674145698547363 length of segment : 297 time for calcul the mask position with numpy : 0.0047490596771240234 nb_pixel_total : 279557 time to create 1 rle with new method : 0.011739730834960938 length of segment : 714 time for calcul the mask position with numpy : 0.0003104209899902344 nb_pixel_total : 2844 time to create 1 rle with old method : 0.0036957263946533203 length of segment : 83 time for calcul the mask position with numpy : 0.0002276897430419922 nb_pixel_total : 1451 time to create 1 rle with old method : 0.0019006729125976562 length of segment : 98 time for calcul the mask position with numpy : 0.0003650188446044922 nb_pixel_total : 6624 time to create 1 rle with old method : 0.007658243179321289 length of segment : 177 time for calcul the mask position with numpy : 0.0009102821350097656 nb_pixel_total : 17337 time to create 1 rle with old method : 0.01962566375732422 length of segment : 267 time for calcul the mask position with numpy : 0.0031316280364990234 nb_pixel_total : 96506 time to create 1 rle with old method : 0.10735893249511719 length of segment : 419 time for calcul the mask position with numpy : 0.00027632713317871094 nb_pixel_total : 1954 time to create 1 rle with old method : 0.0024034976959228516 length of segment : 68 time for calcul the mask position with numpy : 0.0025081634521484375 nb_pixel_total : 75874 time to create 1 rle with old method : 0.08331441879272461 length of segment : 314 time for calcul the mask position with numpy : 0.003537893295288086 nb_pixel_total : 140178 time to create 1 rle with old method : 0.15134000778198242 length of segment : 416 time for calcul the mask position with numpy : 0.0009987354278564453 nb_pixel_total : 25948 time to create 1 rle with old method : 0.028374195098876953 length of segment : 251 time for calcul the mask position with numpy : 0.00020051002502441406 nb_pixel_total : 1497 time to create 1 rle with old method : 0.0017604827880859375 length of segment : 61 time for calcul the mask position with numpy : 0.0002486705780029297 nb_pixel_total : 3256 time to create 1 rle with old method : 0.0038013458251953125 length of segment : 88 time for calcul the mask position with numpy : 0.0017726421356201172 nb_pixel_total : 71225 time to create 1 rle with old method : 0.07787370681762695 length of segment : 285 time for calcul the mask position with numpy : 0.0015995502471923828 nb_pixel_total : 75833 time to create 1 rle with old method : 0.09508609771728516 length of segment : 313 time for calcul the mask position with numpy : 0.00029659271240234375 nb_pixel_total : 2112 time to create 1 rle with old method : 0.002438068389892578 length of segment : 136 time for calcul the mask position with numpy : 0.00022792816162109375 nb_pixel_total : 2272 time to create 1 rle with old method : 0.0028884410858154297 length of segment : 73 time for calcul the mask position with numpy : 0.003446340560913086 nb_pixel_total : 122109 time to create 1 rle with old method : 0.13943982124328613 length of segment : 381 time for calcul the mask position with numpy : 0.0028955936431884766 nb_pixel_total : 73381 time to create 1 rle with old method : 0.08295369148254395 length of segment : 437 time for calcul the mask position with numpy : 0.002566099166870117 nb_pixel_total : 63061 time to create 1 rle with old method : 0.11647963523864746 length of segment : 336 time for calcul the mask position with numpy : 0.002662181854248047 nb_pixel_total : 91398 time to create 1 rle with old method : 0.09804463386535645 length of segment : 481 time for calcul the mask position with numpy : 0.0004189014434814453 nb_pixel_total : 4663 time to create 1 rle with old method : 0.005350351333618164 length of segment : 129 time for calcul the mask position with numpy : 0.0002219676971435547 nb_pixel_total : 1856 time to create 1 rle with old method : 0.0021991729736328125 length of segment : 88 time for calcul the mask position with numpy : 0.0048253536224365234 nb_pixel_total : 126225 time to create 1 rle with old method : 0.136932373046875 length of segment : 408 time for calcul the mask position with numpy : 0.0002942085266113281 nb_pixel_total : 2330 time to create 1 rle with old method : 0.002848386764526367 length of segment : 82 time for calcul the mask position with numpy : 0.0009319782257080078 nb_pixel_total : 14996 time to create 1 rle with old method : 0.016899824142456055 length of segment : 282 time for calcul the mask position with numpy : 0.008315563201904297 nb_pixel_total : 378704 time to create 1 rle with new method : 0.017704486846923828 length of segment : 756 time for calcul the mask position with numpy : 0.00026679039001464844 nb_pixel_total : 2377 time to create 1 rle with old method : 0.0032379627227783203 length of segment : 62 time for calcul the mask position with numpy : 0.005225419998168945 nb_pixel_total : 338415 time to create 1 rle with new method : 0.013817310333251953 length of segment : 703 time for calcul the mask position with numpy : 0.0058667659759521484 nb_pixel_total : 131532 time to create 1 rle with old method : 0.17461585998535156 length of segment : 482 time for calcul the mask position with numpy : 0.003261566162109375 nb_pixel_total : 129961 time to create 1 rle with old method : 0.14477300643920898 length of segment : 390 time for calcul the mask position with numpy : 0.00012564659118652344 nb_pixel_total : 3227 time to create 1 rle with old method : 0.003896474838256836 length of segment : 86 time for calcul the mask position with numpy : 0.0007421970367431641 nb_pixel_total : 7485 time to create 1 rle with old method : 0.010570526123046875 length of segment : 160 time for calcul the mask position with numpy : 0.0032629966735839844 nb_pixel_total : 110987 time to create 1 rle with old method : 0.1225576400756836 length of segment : 409 time for calcul the mask position with numpy : 0.0008449554443359375 nb_pixel_total : 16264 time to create 1 rle with old method : 0.02603602409362793 length of segment : 186 time for calcul the mask position with numpy : 0.0011565685272216797 nb_pixel_total : 33161 time to create 1 rle with old method : 0.03764772415161133 length of segment : 287 time for calcul the mask position with numpy : 0.0006058216094970703 nb_pixel_total : 19617 time to create 1 rle with old method : 0.021941423416137695 length of segment : 166 time for calcul the mask position with numpy : 0.00323486328125 nb_pixel_total : 122104 time to create 1 rle with old method : 0.13697147369384766 length of segment : 468 time for calcul the mask position with numpy : 0.003265380859375 nb_pixel_total : 105071 time to create 1 rle with old method : 0.11946702003479004 length of segment : 357 time for calcul the mask position with numpy : 0.0006988048553466797 nb_pixel_total : 14005 time to create 1 rle with old method : 0.02251911163330078 length of segment : 145 time for calcul the mask position with numpy : 0.0016100406646728516 nb_pixel_total : 45162 time to create 1 rle with old method : 0.07112312316894531 length of segment : 270 time for calcul the mask position with numpy : 0.00016641616821289062 nb_pixel_total : 1476 time to create 1 rle with old method : 0.0025129318237304688 length of segment : 67 time for calcul the mask position with numpy : 0.0026369094848632812 nb_pixel_total : 58834 time to create 1 rle with old method : 0.06719422340393066 length of segment : 771 time for calcul the mask position with numpy : 0.002319812774658203 nb_pixel_total : 62181 time to create 1 rle with old method : 0.06787228584289551 length of segment : 541 time for calcul the mask position with numpy : 0.0008857250213623047 nb_pixel_total : 8794 time to create 1 rle with old method : 0.010692596435546875 length of segment : 208 time for calcul the mask position with numpy : 0.0018157958984375 nb_pixel_total : 34349 time to create 1 rle with old method : 0.03816699981689453 length of segment : 608 time for calcul the mask position with numpy : 0.0006225109100341797 nb_pixel_total : 8024 time to create 1 rle with old method : 0.009418249130249023 length of segment : 215 time for calcul the mask position with numpy : 0.0009336471557617188 nb_pixel_total : 42744 time to create 1 rle with old method : 0.04744672775268555 length of segment : 201 time for calcul the mask position with numpy : 0.001604318618774414 nb_pixel_total : 19177 time to create 1 rle with old method : 0.023115158081054688 length of segment : 316 time for calcul the mask position with numpy : 2.133918285369873 nb_pixel_total : 4594755 time to create 1 rle with new method : 0.8823134899139404 length of segment : 2268 time for calcul the mask position with numpy : 0.0009500980377197266 nb_pixel_total : 43672 time to create 1 rle with old method : 0.05142712593078613 length of segment : 181 time for calcul the mask position with numpy : 0.00020051002502441406 nb_pixel_total : 2325 time to create 1 rle with old method : 0.00296783447265625 length of segment : 80 time for calcul the mask position with numpy : 0.0024979114532470703 nb_pixel_total : 151026 time to create 1 rle with new method : 0.004376888275146484 length of segment : 542 time for calcul the mask position with numpy : 0.0026772022247314453 nb_pixel_total : 52049 time to create 1 rle with old method : 0.05975055694580078 length of segment : 421 time for calcul the mask position with numpy : 0.0005078315734863281 nb_pixel_total : 8967 time to create 1 rle with old method : 0.010677099227905273 length of segment : 91 time for calcul the mask position with numpy : 0.00044226646423339844 nb_pixel_total : 5141 time to create 1 rle with old method : 0.008053779602050781 length of segment : 57 time for calcul the mask position with numpy : 0.003124237060546875 nb_pixel_total : 113350 time to create 1 rle with old method : 0.1228494644165039 length of segment : 406 time for calcul the mask position with numpy : 0.0027997493743896484 nb_pixel_total : 45967 time to create 1 rle with old method : 0.05068707466125488 length of segment : 607 time for calcul the mask position with numpy : 0.0038695335388183594 nb_pixel_total : 140046 time to create 1 rle with old method : 0.15662050247192383 length of segment : 622 time for calcul the mask position with numpy : 0.0008289813995361328 nb_pixel_total : 16195 time to create 1 rle with old method : 0.017783164978027344 length of segment : 186 time for calcul the mask position with numpy : 0.0005600452423095703 nb_pixel_total : 9721 time to create 1 rle with old method : 0.010906457901000977 length of segment : 181 time for calcul the mask position with numpy : 0.009235382080078125 nb_pixel_total : 271394 time to create 1 rle with new method : 0.01746654510498047 length of segment : 518 time for calcul the mask position with numpy : 0.002116680145263672 nb_pixel_total : 35234 time to create 1 rle with old method : 0.03812098503112793 length of segment : 300 time for calcul the mask position with numpy : 0.0002803802490234375 nb_pixel_total : 6902 time to create 1 rle with old method : 0.008394479751586914 length of segment : 72 time for calcul the mask position with numpy : 0.0020699501037597656 nb_pixel_total : 49788 time to create 1 rle with old method : 0.054190874099731445 length of segment : 393 time for calcul the mask position with numpy : 0.015968799591064453 nb_pixel_total : 617780 time to create 1 rle with new method : 0.2881953716278076 length of segment : 1106 time for calcul the mask position with numpy : 0.006784915924072266 nb_pixel_total : 147593 time to create 1 rle with old method : 0.16365742683410645 length of segment : 831 time for calcul the mask position with numpy : 0.0006439685821533203 nb_pixel_total : 14856 time to create 1 rle with old method : 0.017034530639648438 length of segment : 200 time for calcul the mask position with numpy : 0.0003249645233154297 nb_pixel_total : 13064 time to create 1 rle with old method : 0.015280008316040039 length of segment : 106 time for calcul the mask position with numpy : 0.0004885196685791016 nb_pixel_total : 11165 time to create 1 rle with old method : 0.013080120086669922 length of segment : 148 time for calcul the mask position with numpy : 0.0009491443634033203 nb_pixel_total : 23407 time to create 1 rle with old method : 0.026139259338378906 length of segment : 252 time for calcul the mask position with numpy : 0.00011396408081054688 nb_pixel_total : 880 time to create 1 rle with old method : 0.0016491413116455078 length of segment : 47 time for calcul the mask position with numpy : 0.0018723011016845703 nb_pixel_total : 77068 time to create 1 rle with old method : 0.0860745906829834 length of segment : 346 time for calcul the mask position with numpy : 0.000978708267211914 nb_pixel_total : 38932 time to create 1 rle with old method : 0.04894590377807617 length of segment : 181 time for calcul the mask position with numpy : 0.002512216567993164 nb_pixel_total : 81151 time to create 1 rle with old method : 0.10887765884399414 length of segment : 696 time for calcul the mask position with numpy : 0.004228115081787109 nb_pixel_total : 179984 time to create 1 rle with new method : 0.007602691650390625 length of segment : 469 time for calcul the mask position with numpy : 0.0007913112640380859 nb_pixel_total : 21875 time to create 1 rle with old method : 0.027683258056640625 length of segment : 180 time for calcul the mask position with numpy : 0.0009369850158691406 nb_pixel_total : 35902 time to create 1 rle with old method : 0.04079747200012207 length of segment : 199 time for calcul the mask position with numpy : 0.00054168701171875 nb_pixel_total : 27080 time to create 1 rle with old method : 0.03213310241699219 length of segment : 123 time for calcul the mask position with numpy : 0.0005922317504882812 nb_pixel_total : 15773 time to create 1 rle with old method : 0.01788187026977539 length of segment : 132 time for calcul the mask position with numpy : 0.002389669418334961 nb_pixel_total : 87953 time to create 1 rle with old method : 0.09900355339050293 length of segment : 421 time for calcul the mask position with numpy : 0.0015714168548583984 nb_pixel_total : 81532 time to create 1 rle with old method : 0.0928659439086914 length of segment : 350 time for calcul the mask position with numpy : 0.0014362335205078125 nb_pixel_total : 60264 time to create 1 rle with old method : 0.07312297821044922 length of segment : 225 time for calcul the mask position with numpy : 0.0005013942718505859 nb_pixel_total : 19197 time to create 1 rle with old method : 0.03183436393737793 length of segment : 309 time for calcul the mask position with numpy : 0.0013113021850585938 nb_pixel_total : 37455 time to create 1 rle with old method : 0.042699337005615234 length of segment : 318 time for calcul the mask position with numpy : 0.0003707408905029297 nb_pixel_total : 3378 time to create 1 rle with old method : 0.003905057907104492 length of segment : 117 time for calcul the mask position with numpy : 0.0006914138793945312 nb_pixel_total : 17172 time to create 1 rle with old method : 0.020344257354736328 length of segment : 201 time for calcul the mask position with numpy : 0.0027403831481933594 nb_pixel_total : 72650 time to create 1 rle with old method : 0.08449459075927734 length of segment : 390 time for calcul the mask position with numpy : 0.0008060932159423828 nb_pixel_total : 23465 time to create 1 rle with old method : 0.02651691436767578 length of segment : 147 time for calcul the mask position with numpy : 0.0007052421569824219 nb_pixel_total : 12681 time to create 1 rle with old method : 0.014292716979980469 length of segment : 187 time for calcul the mask position with numpy : 0.0013065338134765625 nb_pixel_total : 32656 time to create 1 rle with old method : 0.04168415069580078 length of segment : 386 time for calcul the mask position with numpy : 0.0002086162567138672 nb_pixel_total : 2676 time to create 1 rle with old method : 0.0031251907348632812 length of segment : 69 time for calcul the mask position with numpy : 0.00022459030151367188 nb_pixel_total : 6472 time to create 1 rle with old method : 0.007569313049316406 length of segment : 96 time for calcul the mask position with numpy : 0.00019931793212890625 nb_pixel_total : 2683 time to create 1 rle with old method : 0.0034155845642089844 length of segment : 78 time for calcul the mask position with numpy : 0.0004620552062988281 nb_pixel_total : 13582 time to create 1 rle with old method : 0.015168428421020508 length of segment : 179 time for calcul the mask position with numpy : 0.004304647445678711 nb_pixel_total : 177219 time to create 1 rle with new method : 0.011788368225097656 length of segment : 719 time for calcul the mask position with numpy : 0.002536773681640625 nb_pixel_total : 93782 time to create 1 rle with old method : 0.10591316223144531 length of segment : 514 time spent for convertir_results : 20.64798641204834 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 145 chid ids of type : 3663 Number RLEs to save : 47363 save missing photos in datou_result : time spend for datou_step_exec : 75.6055736541748 time spend to save output : 4.511447429656982 total time spend for step 1 : 80.11702108383179 step2:crop_condition Fri Feb 21 00:21:51 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 145 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 ! 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 : 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 ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 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 ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 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 ! map_result returned by crop_photo_return_map_crop : length : 49 About to insert : list_path_to_insert length 49 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 [1338640259, 1338640257, 1338640256, 1338640233, 1338640231, 1338640229, 1338640187, 1338640184, 1338640182, 1338640179] Looping around the photos to save general results len do output : 85 /-3681208758Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208757Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208760Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208763Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208777Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208796Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208810Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208693Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208705Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208716Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208738Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208753Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208742Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208743Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208752Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208774Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208791Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208806Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208804Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208811Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208687Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208711Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208721Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208803Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208676Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208689Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208677Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208691Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208684Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208690Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208688Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208680Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208686Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208703Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208699Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208698Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208697Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208725Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208710Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208713Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208714Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208715Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208732Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208733Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208734Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208756Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208750Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208744Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208741Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208762Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208769Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208767Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208761Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208766Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208764Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208771Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208776Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208781Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208782Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208780Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208801Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208798Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208807Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208800Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208797Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208799Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208802Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208805Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208819Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208820Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208813Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208818Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208679Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208696Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208729Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208749Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208786Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208783Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208809Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208683Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208700Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208724Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208737Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681208754Didn'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, '2601855') ('3459', None, '1338640259', None, None, None, None, None, '2601855') ('3459', None, None, None, None, None, None, None, '2601855') ('3459', None, '1338640257', None, None, None, None, None, '2601855') ('3459', None, None, None, None, None, None, None, '2601855') ('3459', None, '1338640256', None, None, None, None, None, '2601855') ('3459', None, None, None, None, None, None, None, '2601855') ('3459', None, '1338640233', None, None, None, None, None, '2601855') ('3459', None, None, None, None, None, None, None, '2601855') ('3459', None, '1338640231', None, None, None, None, None, '2601855') ('3459', None, None, None, None, None, None, None, '2601855') ('3459', None, '1338640229', None, None, None, None, None, '2601855') ('3459', None, None, None, None, None, None, None, '2601855') ('3459', None, '1338640187', None, None, None, None, None, '2601855') ('3459', None, None, None, None, None, None, None, '2601855') ('3459', None, '1338640184', None, None, None, None, None, '2601855') ('3459', None, None, None, None, None, None, None, '2601855') ('3459', None, '1338640182', None, None, None, None, None, '2601855') ('3459', None, None, None, None, None, None, None, '2601855') ('3459', None, '1338640179', None, None, None, None, None, '2601855') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 265 time used for this insertion : 0.04097604751586914 save_final save missing photos in datou_result : time spend for datou_step_exec : 45.815001249313354 time spend to save output : 0.04359722137451172 total time spend for step 2 : 45.858598470687866 step3:thcl Fri Feb 21 00:22: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.015719890594482422 time to convert the images to numpy array : 0.6438517570495605 time to import caffe and check if the image exist : 0.014166831970214844 time to convert the images to numpy array : 0.6755490303039551 time to import caffe and check if the image exist : 0.008794069290161133 time to convert the images to numpy array : 0.6823842525482178 time to import caffe and check if the image exist : 0.013149499893188477 time to convert the images to numpy array : 0.7253334522247314 time to import caffe and check if the image exist : 0.023751497268676758 time to convert the images to numpy array : 0.7263774871826172 time to import caffe and check if the image exist : 0.018194198608398438 time to convert the images to numpy array : 0.7437798976898193 time to import caffe and check if the image exist : 0.013428688049316406 time to convert the images to numpy array : 2.930488109588623 time to import caffe and check if the image exist : 0.017015933990478516 time to convert the images to numpy array : 2.9315567016601562 time to import caffe and check if the image exist : 0.015210628509521484 time to convert the images to numpy array : 2.9804704189300537 time to import caffe and check if the image exist : 0.01709437370300293 time to convert the images to numpy array : 2.9910037517547607 total time to convert the images to numpy array : 3.521188735961914 list photo_ids error: [] list photo_ids correct : [-3681208818, -3681208679, -3681208696, -3681208729, -3681208749, -3681208786, -3681208783, -3681208809, -3681208683, -3681208758, -3681208757, -3681208760, -3681208763, -3681208777, -3681208796, -3681208810, -3681208693, -3681208705, -3681208700, -3681208724, -3681208737, -3681208754, -3681208807, -3681208800, -3681208797, -3681208799, -3681208802, -3681208805, -3681208819, -3681208820, -3681208813, -3681208766, -3681208764, -3681208771, -3681208776, -3681208781, -3681208782, -3681208780, -3681208801, -3681208798, -3681208697, -3681208725, -3681208712, -3681208710, -3681208713, -3681208714, -3681208715, -3681208732, -3681208733, -3681208734, -3681208756, -3681208750, -3681208744, -3681208741, -3681208762, -3681208769, -3681208767, -3681208761, -3681208716, -3681208738, -3681208753, -3681208742, -3681208743, -3681208752, -3681208774, -3681208791, -3681208806, -3681208804, -3681208811, -3681208687, -3681208711, -3681208721, -3681208803, -3681208676, -3681208689, -3681208677, -3681208691, -3681208684, -3681208690, -3681208688, -3681208680, -3681208686, -3681208703, -3681208699, -3681208698] number of photos to traite : 85 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 havn't enough memory gpu , need / 2500 l 3632 free memory gpu now : 1767 wait 20 seconds l 3637 free memory gpu now : 1767 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 havn't enough memory gpu , need / 2500 l 3632 free memory gpu now : 683 wait 20 seconds WARNING: Logging before InitGoogleLogging() is written to STDERR F0221 00:23:34.695358 4181422 syncedmem.cpp:71] Check failed: error == cudaSuccess (2 vs. 0) out of memory *** Check failure stack trace: *** Command terminated by signal 6 79.75user 69.89system 3:11.25elapsed 78%CPU (0avgtext+0avgdata 3996564maxresident)k 1411792inputs+44968outputs (29452major+5696910minor)pagefaults 0swaps