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 : 1524068 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 list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2557221'] with mtr_portfolio_ids : ['20277551'] and first list_photo_ids : [] new path : /proc/1524068/ 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.7794692516326904 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 Thu Feb 6 00:44:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 3594 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-06 00:44:30.734986: 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-06 00:44:30.763320: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-06 00:44:30.765035: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f1078000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-06 00:44:30.765056: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-06 00:44:30.767936: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-06 00:44:31.037489: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x19d3eee0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-06 00:44:31.037548: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-06 00:44:31.038252: 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-06 00:44:31.038671: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 00:44:31.041370: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 00:44:31.043994: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-06 00:44:31.044410: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-06 00:44:31.047224: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-06 00:44:31.048656: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-06 00:44:31.054467: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-06 00:44:31.055942: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-06 00:44:31.056105: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 00:44:31.056834: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-06 00:44:31.056856: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-06 00:44:31.056871: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-06 00:44:31.058080: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3142 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-06 00:44:31.343154: 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-06 00:44:31.343284: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 00:44:31.343331: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 00:44:31.343348: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-06 00:44:31.343364: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-06 00:44:31.343379: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-06 00:44:31.343394: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-06 00:44:31.343409: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-06 00:44:31.344273: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-06 00:44:31.345363: 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-06 00:44:31.345418: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 00:44:31.345434: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 00:44:31.345448: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-06 00:44:31.345462: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-06 00:44:31.345476: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-06 00:44:31.345490: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-06 00:44:31.345504: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-06 00:44:31.346370: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-06 00:44:31.346411: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-06 00:44:31.346421: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-06 00:44:31.346429: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-06 00:44:31.347343: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3142 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-06 00:44:44.247451: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 00:44:44.437924: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-06 00:44:45.885311: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.57G (2759720960 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-06 00:44:46.616319: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB 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-06 00:44:46.616400: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB 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-06 00:44:46.623498: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-06 00:44:46.623532: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 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 : 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 : 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 : 18 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 : 23 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 : 27 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 : 6 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 : 26 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 : 24 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 : 5 Detection mask done ! Trying to reset tf kernel 1524428 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 31 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 : 3594 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.00013971328735351562 nb_pixel_total : 1786 time to create 1 rle with old method : 0.0025157928466796875 length of segment : 52 time for calcul the mask position with numpy : 0.00037217140197753906 nb_pixel_total : 9368 time to create 1 rle with old method : 0.011027097702026367 length of segment : 152 time for calcul the mask position with numpy : 0.0008738040924072266 nb_pixel_total : 35352 time to create 1 rle with old method : 0.039801836013793945 length of segment : 281 time for calcul the mask position with numpy : 0.0001819133758544922 nb_pixel_total : 6146 time to create 1 rle with old method : 0.007905244827270508 length of segment : 109 time for calcul the mask position with numpy : 0.0018870830535888672 nb_pixel_total : 79440 time to create 1 rle with old method : 0.08579659461975098 length of segment : 466 time for calcul the mask position with numpy : 0.0025835037231445312 nb_pixel_total : 110741 time to create 1 rle with old method : 0.1249086856842041 length of segment : 471 time for calcul the mask position with numpy : 0.0003037452697753906 nb_pixel_total : 13282 time to create 1 rle with old method : 0.016376733779907227 length of segment : 132 time for calcul the mask position with numpy : 0.00016736984252929688 nb_pixel_total : 3684 time to create 1 rle with old method : 0.004906415939331055 length of segment : 104 time for calcul the mask position with numpy : 9.870529174804688e-05 nb_pixel_total : 1471 time to create 1 rle with old method : 0.0026869773864746094 length of segment : 45 time for calcul the mask position with numpy : 0.0070912837982177734 nb_pixel_total : 288786 time to create 1 rle with new method : 0.018615245819091797 length of segment : 626 time for calcul the mask position with numpy : 0.00012540817260742188 nb_pixel_total : 2678 time to create 1 rle with old method : 0.0035042762756347656 length of segment : 81 time for calcul the mask position with numpy : 0.00013589859008789062 nb_pixel_total : 6333 time to create 1 rle with old method : 0.008199453353881836 length of segment : 87 time for calcul the mask position with numpy : 6.389617919921875e-05 nb_pixel_total : 1012 time to create 1 rle with old method : 0.0013921260833740234 length of segment : 36 time for calcul the mask position with numpy : 0.0001468658447265625 nb_pixel_total : 6694 time to create 1 rle with old method : 0.00766444206237793 length of segment : 86 time for calcul the mask position with numpy : 0.00115966796875 nb_pixel_total : 65732 time to create 1 rle with old method : 0.07202672958374023 length of segment : 431 time for calcul the mask position with numpy : 0.002208709716796875 nb_pixel_total : 6648 time to create 1 rle with old method : 0.007704257965087891 length of segment : 130 time for calcul the mask position with numpy : 0.00013113021850585938 nb_pixel_total : 5237 time to create 1 rle with old method : 0.005963563919067383 length of segment : 84 time for calcul the mask position with numpy : 0.0009508132934570312 nb_pixel_total : 41759 time to create 1 rle with old method : 0.04472208023071289 length of segment : 253 time for calcul the mask position with numpy : 0.00031375885009765625 nb_pixel_total : 13858 time to create 1 rle with old method : 0.017168521881103516 length of segment : 124 time for calcul the mask position with numpy : 0.00011301040649414062 nb_pixel_total : 2861 time to create 1 rle with old method : 0.003611326217651367 length of segment : 69 time for calcul the mask position with numpy : 0.00020384788513183594 nb_pixel_total : 6443 time to create 1 rle with old method : 0.008213281631469727 length of segment : 106 time for calcul the mask position with numpy : 0.0008113384246826172 nb_pixel_total : 42022 time to create 1 rle with old method : 0.05011415481567383 length of segment : 222 time for calcul the mask position with numpy : 0.008564233779907227 nb_pixel_total : 388758 time to create 1 rle with new method : 0.04662585258483887 length of segment : 768 time for calcul the mask position with numpy : 0.0007252693176269531 nb_pixel_total : 35962 time to create 1 rle with old method : 0.04315996170043945 length of segment : 305 time for calcul the mask position with numpy : 0.0003135204315185547 nb_pixel_total : 15522 time to create 1 rle with old method : 0.019273042678833008 length of segment : 125 time for calcul the mask position with numpy : 0.00021886825561523438 nb_pixel_total : 8635 time to create 1 rle with old method : 0.010055303573608398 length of segment : 153 time for calcul the mask position with numpy : 0.0015208721160888672 nb_pixel_total : 66266 time to create 1 rle with old method : 0.07283306121826172 length of segment : 378 time for calcul the mask position with numpy : 0.0007503032684326172 nb_pixel_total : 35434 time to create 1 rle with old method : 0.04178047180175781 length of segment : 186 time for calcul the mask position with numpy : 0.0005025863647460938 nb_pixel_total : 24107 time to create 1 rle with old method : 0.02808856964111328 length of segment : 214 time for calcul the mask position with numpy : 0.005281925201416016 nb_pixel_total : 295664 time to create 1 rle with new method : 0.022717952728271484 length of segment : 909 time for calcul the mask position with numpy : 0.0002970695495605469 nb_pixel_total : 13192 time to create 1 rle with old method : 0.014995574951171875 length of segment : 200 time for calcul the mask position with numpy : 0.00015211105346679688 nb_pixel_total : 4727 time to create 1 rle with old method : 0.005953311920166016 length of segment : 75 time for calcul the mask position with numpy : 0.0002002716064453125 nb_pixel_total : 8947 time to create 1 rle with old method : 0.012756109237670898 length of segment : 130 time for calcul the mask position with numpy : 0.003834247589111328 nb_pixel_total : 275404 time to create 1 rle with new method : 0.011614084243774414 length of segment : 509 time for calcul the mask position with numpy : 0.00020766258239746094 nb_pixel_total : 4847 time to create 1 rle with old method : 0.008286476135253906 length of segment : 92 time for calcul the mask position with numpy : 0.0008671283721923828 nb_pixel_total : 33237 time to create 1 rle with old method : 0.05005764961242676 length of segment : 392 time for calcul the mask position with numpy : 0.0013020038604736328 nb_pixel_total : 79099 time to create 1 rle with old method : 0.0880887508392334 length of segment : 365 time for calcul the mask position with numpy : 0.0002758502960205078 nb_pixel_total : 15764 time to create 1 rle with old method : 0.018375396728515625 length of segment : 97 time for calcul the mask position with numpy : 0.0003991127014160156 nb_pixel_total : 20414 time to create 1 rle with old method : 0.024263381958007812 length of segment : 229 time for calcul the mask position with numpy : 0.0020363330841064453 nb_pixel_total : 79423 time to create 1 rle with old method : 0.08961844444274902 length of segment : 605 time for calcul the mask position with numpy : 0.00034117698669433594 nb_pixel_total : 8019 time to create 1 rle with old method : 0.012906312942504883 length of segment : 82 time for calcul the mask position with numpy : 0.0016739368438720703 nb_pixel_total : 79055 time to create 1 rle with old method : 0.09040570259094238 length of segment : 425 time for calcul the mask position with numpy : 0.0029871463775634766 nb_pixel_total : 134256 time to create 1 rle with old method : 0.14669442176818848 length of segment : 373 time for calcul the mask position with numpy : 0.006400346755981445 nb_pixel_total : 185729 time to create 1 rle with new method : 0.011798381805419922 length of segment : 651 time for calcul the mask position with numpy : 0.0023958683013916016 nb_pixel_total : 167218 time to create 1 rle with new method : 0.009118080139160156 length of segment : 516 time for calcul the mask position with numpy : 0.0009658336639404297 nb_pixel_total : 21483 time to create 1 rle with old method : 0.025640010833740234 length of segment : 237 time for calcul the mask position with numpy : 0.010387420654296875 nb_pixel_total : 246718 time to create 1 rle with new method : 0.018247365951538086 length of segment : 717 time for calcul the mask position with numpy : 0.0029401779174804688 nb_pixel_total : 67066 time to create 1 rle with old method : 0.08160662651062012 length of segment : 428 time for calcul the mask position with numpy : 0.0034482479095458984 nb_pixel_total : 115663 time to create 1 rle with old method : 0.13683390617370605 length of segment : 435 time for calcul the mask position with numpy : 0.0008363723754882812 nb_pixel_total : 24140 time to create 1 rle with old method : 0.03390002250671387 length of segment : 202 time for calcul the mask position with numpy : 0.0002987384796142578 nb_pixel_total : 5321 time to create 1 rle with old method : 0.0063669681549072266 length of segment : 98 time for calcul the mask position with numpy : 0.0003955364227294922 nb_pixel_total : 7045 time to create 1 rle with old method : 0.00901031494140625 length of segment : 107 time for calcul the mask position with numpy : 0.0002601146697998047 nb_pixel_total : 8427 time to create 1 rle with old method : 0.009765863418579102 length of segment : 129 time for calcul the mask position with numpy : 0.00017952919006347656 nb_pixel_total : 9073 time to create 1 rle with old method : 0.01122140884399414 length of segment : 111 time for calcul the mask position with numpy : 0.0012221336364746094 nb_pixel_total : 35417 time to create 1 rle with old method : 0.04623889923095703 length of segment : 215 time for calcul the mask position with numpy : 0.00034546852111816406 nb_pixel_total : 8083 time to create 1 rle with old method : 0.009278297424316406 length of segment : 110 time for calcul the mask position with numpy : 0.008106231689453125 nb_pixel_total : 406830 time to create 1 rle with new method : 0.015635013580322266 length of segment : 601 time for calcul the mask position with numpy : 0.0012514591217041016 nb_pixel_total : 30604 time to create 1 rle with old method : 0.033779144287109375 length of segment : 336 time for calcul the mask position with numpy : 0.003513813018798828 nb_pixel_total : 125282 time to create 1 rle with old method : 0.1423964500427246 length of segment : 474 time for calcul the mask position with numpy : 0.0019021034240722656 nb_pixel_total : 52472 time to create 1 rle with old method : 0.059421539306640625 length of segment : 340 time for calcul the mask position with numpy : 0.0013835430145263672 nb_pixel_total : 46789 time to create 1 rle with old method : 0.05516386032104492 length of segment : 282 time for calcul the mask position with numpy : 0.004831790924072266 nb_pixel_total : 175769 time to create 1 rle with new method : 0.008963823318481445 length of segment : 536 time for calcul the mask position with numpy : 0.0034062862396240234 nb_pixel_total : 105368 time to create 1 rle with old method : 0.12423515319824219 length of segment : 501 time for calcul the mask position with numpy : 0.0006022453308105469 nb_pixel_total : 11895 time to create 1 rle with old method : 0.014636993408203125 length of segment : 206 time for calcul the mask position with numpy : 0.008980989456176758 nb_pixel_total : 406691 time to create 1 rle with new method : 0.4198794364929199 length of segment : 626 time for calcul the mask position with numpy : 0.001733541488647461 nb_pixel_total : 53614 time to create 1 rle with old method : 0.06203317642211914 length of segment : 299 time for calcul the mask position with numpy : 0.0003266334533691406 nb_pixel_total : 7328 time to create 1 rle with old method : 0.009127378463745117 length of segment : 112 time for calcul the mask position with numpy : 0.0022144317626953125 nb_pixel_total : 59012 time to create 1 rle with old method : 0.06493854522705078 length of segment : 375 time for calcul the mask position with numpy : 0.00038051605224609375 nb_pixel_total : 7485 time to create 1 rle with old method : 0.009643077850341797 length of segment : 80 time for calcul the mask position with numpy : 0.0006191730499267578 nb_pixel_total : 13924 time to create 1 rle with old method : 0.01754450798034668 length of segment : 130 time for calcul the mask position with numpy : 0.0002608299255371094 nb_pixel_total : 7113 time to create 1 rle with old method : 0.008777856826782227 length of segment : 73 time for calcul the mask position with numpy : 0.0016596317291259766 nb_pixel_total : 54241 time to create 1 rle with old method : 0.06422758102416992 length of segment : 318 time for calcul the mask position with numpy : 0.002421140670776367 nb_pixel_total : 54319 time to create 1 rle with old method : 0.08453845977783203 length of segment : 297 time for calcul the mask position with numpy : 0.0011746883392333984 nb_pixel_total : 34094 time to create 1 rle with old method : 0.038454532623291016 length of segment : 392 time for calcul the mask position with numpy : 0.0014107227325439453 nb_pixel_total : 38283 time to create 1 rle with old method : 0.04609990119934082 length of segment : 274 time for calcul the mask position with numpy : 0.008946418762207031 nb_pixel_total : 318289 time to create 1 rle with new method : 0.7539730072021484 length of segment : 1291 time for calcul the mask position with numpy : 0.0010828971862792969 nb_pixel_total : 38600 time to create 1 rle with old method : 0.04279017448425293 length of segment : 213 time for calcul the mask position with numpy : 0.006275653839111328 nb_pixel_total : 158831 time to create 1 rle with new method : 0.01428365707397461 length of segment : 626 time for calcul the mask position with numpy : 0.0008528232574462891 nb_pixel_total : 20453 time to create 1 rle with old method : 0.023791790008544922 length of segment : 187 time for calcul the mask position with numpy : 0.005251646041870117 nb_pixel_total : 269696 time to create 1 rle with new method : 0.013179302215576172 length of segment : 540 time for calcul the mask position with numpy : 0.002196788787841797 nb_pixel_total : 67239 time to create 1 rle with old method : 0.0760645866394043 length of segment : 409 time for calcul the mask position with numpy : 0.00018215179443359375 nb_pixel_total : 5516 time to create 1 rle with old method : 0.00754547119140625 length of segment : 78 time for calcul the mask position with numpy : 0.0001728534698486328 nb_pixel_total : 2891 time to create 1 rle with old method : 0.00400090217590332 length of segment : 52 time for calcul the mask position with numpy : 0.0025849342346191406 nb_pixel_total : 82571 time to create 1 rle with old method : 0.09163856506347656 length of segment : 456 time for calcul the mask position with numpy : 0.00032258033752441406 nb_pixel_total : 8998 time to create 1 rle with old method : 0.011545658111572266 length of segment : 91 time for calcul the mask position with numpy : 0.0002562999725341797 nb_pixel_total : 5292 time to create 1 rle with old method : 0.006784915924072266 length of segment : 88 time for calcul the mask position with numpy : 0.000263214111328125 nb_pixel_total : 5742 time to create 1 rle with old method : 0.007138490676879883 length of segment : 164 time for calcul the mask position with numpy : 0.0003619194030761719 nb_pixel_total : 17734 time to create 1 rle with old method : 0.020298004150390625 length of segment : 151 time for calcul the mask position with numpy : 0.002063274383544922 nb_pixel_total : 72128 time to create 1 rle with old method : 0.08420681953430176 length of segment : 567 time for calcul the mask position with numpy : 0.0027205944061279297 nb_pixel_total : 66333 time to create 1 rle with old method : 0.07334661483764648 length of segment : 374 time for calcul the mask position with numpy : 0.00047588348388671875 nb_pixel_total : 20769 time to create 1 rle with old method : 0.02570033073425293 length of segment : 186 time for calcul the mask position with numpy : 0.0006184577941894531 nb_pixel_total : 18886 time to create 1 rle with old method : 0.022685766220092773 length of segment : 204 time for calcul the mask position with numpy : 0.0005900859832763672 nb_pixel_total : 24596 time to create 1 rle with old method : 0.029042959213256836 length of segment : 204 time for calcul the mask position with numpy : 0.5887324810028076 nb_pixel_total : 3132899 time to create 1 rle with new method : 2.099898099899292 length of segment : 1997 time for calcul the mask position with numpy : 0.0024499893188476562 nb_pixel_total : 193923 time to create 1 rle with new method : 0.010027170181274414 length of segment : 643 time for calcul the mask position with numpy : 0.0014576911926269531 nb_pixel_total : 74520 time to create 1 rle with old method : 0.08299922943115234 length of segment : 385 time for calcul the mask position with numpy : 0.001996278762817383 nb_pixel_total : 58592 time to create 1 rle with old method : 0.06721377372741699 length of segment : 283 time for calcul the mask position with numpy : 0.0006401538848876953 nb_pixel_total : 12876 time to create 1 rle with old method : 0.015748977661132812 length of segment : 216 time for calcul the mask position with numpy : 0.0007605552673339844 nb_pixel_total : 14718 time to create 1 rle with old method : 0.0230252742767334 length of segment : 249 time for calcul the mask position with numpy : 0.0003724098205566406 nb_pixel_total : 4846 time to create 1 rle with old method : 0.0071218013763427734 length of segment : 84 time for calcul the mask position with numpy : 0.005450725555419922 nb_pixel_total : 173061 time to create 1 rle with new method : 0.008962154388427734 length of segment : 667 time for calcul the mask position with numpy : 0.0007252693176269531 nb_pixel_total : 21748 time to create 1 rle with old method : 0.024253368377685547 length of segment : 161 time for calcul the mask position with numpy : 0.008730649948120117 nb_pixel_total : 257797 time to create 1 rle with new method : 0.2696409225463867 length of segment : 893 time for calcul the mask position with numpy : 0.011940717697143555 nb_pixel_total : 481822 time to create 1 rle with new method : 0.017412662506103516 length of segment : 956 time for calcul the mask position with numpy : 0.0012772083282470703 nb_pixel_total : 32595 time to create 1 rle with old method : 0.03641152381896973 length of segment : 335 time for calcul the mask position with numpy : 0.001995086669921875 nb_pixel_total : 59186 time to create 1 rle with old method : 0.06613564491271973 length of segment : 538 time for calcul the mask position with numpy : 0.0001399517059326172 nb_pixel_total : 1289 time to create 1 rle with old method : 0.0017888545989990234 length of segment : 37 time for calcul the mask position with numpy : 0.0016286373138427734 nb_pixel_total : 45562 time to create 1 rle with old method : 0.05153679847717285 length of segment : 276 time for calcul the mask position with numpy : 0.005937337875366211 nb_pixel_total : 129768 time to create 1 rle with old method : 0.17249727249145508 length of segment : 519 time for calcul the mask position with numpy : 0.00034999847412109375 nb_pixel_total : 3985 time to create 1 rle with old method : 0.005624532699584961 length of segment : 155 time for calcul the mask position with numpy : 0.0003535747528076172 nb_pixel_total : 15574 time to create 1 rle with old method : 0.018904924392700195 length of segment : 156 time for calcul the mask position with numpy : 0.00013518333435058594 nb_pixel_total : 1939 time to create 1 rle with old method : 0.002530813217163086 length of segment : 41 time for calcul the mask position with numpy : 0.0037963390350341797 nb_pixel_total : 186510 time to create 1 rle with new method : 0.008011102676391602 length of segment : 556 time for calcul the mask position with numpy : 0.0009415149688720703 nb_pixel_total : 26360 time to create 1 rle with old method : 0.030843019485473633 length of segment : 240 time for calcul the mask position with numpy : 0.0014955997467041016 nb_pixel_total : 54115 time to create 1 rle with old method : 0.061315298080444336 length of segment : 277 time for calcul the mask position with numpy : 0.0009083747863769531 nb_pixel_total : 26513 time to create 1 rle with old method : 0.031105518341064453 length of segment : 168 time for calcul the mask position with numpy : 0.005728244781494141 nb_pixel_total : 159290 time to create 1 rle with new method : 0.009070396423339844 length of segment : 652 time for calcul the mask position with numpy : 0.004805803298950195 nb_pixel_total : 259514 time to create 1 rle with new method : 0.015305757522583008 length of segment : 961 time for calcul the mask position with numpy : 0.00322723388671875 nb_pixel_total : 152821 time to create 1 rle with new method : 0.007905960083007812 length of segment : 608 time for calcul the mask position with numpy : 0.00020742416381835938 nb_pixel_total : 2391 time to create 1 rle with old method : 0.0032095909118652344 length of segment : 63 time for calcul the mask position with numpy : 0.02132129669189453 nb_pixel_total : 643884 time to create 1 rle with new method : 0.058249473571777344 length of segment : 1367 time for calcul the mask position with numpy : 0.0022318363189697266 nb_pixel_total : 82942 time to create 1 rle with old method : 0.09248590469360352 length of segment : 488 time for calcul the mask position with numpy : 0.0002989768981933594 nb_pixel_total : 6650 time to create 1 rle with old method : 0.007992982864379883 length of segment : 76 time for calcul the mask position with numpy : 0.0014028549194335938 nb_pixel_total : 36287 time to create 1 rle with old method : 0.0426332950592041 length of segment : 158 time for calcul the mask position with numpy : 0.0004944801330566406 nb_pixel_total : 6750 time to create 1 rle with old method : 0.009042024612426758 length of segment : 132 time for calcul the mask position with numpy : 0.0020284652709960938 nb_pixel_total : 66020 time to create 1 rle with old method : 0.0777900218963623 length of segment : 352 time for calcul the mask position with numpy : 0.0004677772521972656 nb_pixel_total : 15289 time to create 1 rle with old method : 0.01910567283630371 length of segment : 134 time for calcul the mask position with numpy : 0.0028541088104248047 nb_pixel_total : 99101 time to create 1 rle with old method : 0.1241612434387207 length of segment : 385 time for calcul the mask position with numpy : 0.002858400344848633 nb_pixel_total : 91547 time to create 1 rle with old method : 0.12740278244018555 length of segment : 290 time for calcul the mask position with numpy : 0.0028405189514160156 nb_pixel_total : 72051 time to create 1 rle with old method : 0.08929157257080078 length of segment : 565 time for calcul the mask position with numpy : 0.00037670135498046875 nb_pixel_total : 6516 time to create 1 rle with old method : 0.008127927780151367 length of segment : 141 time for calcul the mask position with numpy : 0.00034236907958984375 nb_pixel_total : 8027 time to create 1 rle with old method : 0.009974002838134766 length of segment : 104 time for calcul the mask position with numpy : 0.0028312206268310547 nb_pixel_total : 51372 time to create 1 rle with old method : 0.056380510330200195 length of segment : 436 time for calcul the mask position with numpy : 0.00014472007751464844 nb_pixel_total : 1625 time to create 1 rle with old method : 0.0020704269409179688 length of segment : 52 time for calcul the mask position with numpy : 0.0025055408477783203 nb_pixel_total : 90455 time to create 1 rle with old method : 0.10117101669311523 length of segment : 475 time for calcul the mask position with numpy : 0.009321212768554688 nb_pixel_total : 236771 time to create 1 rle with new method : 0.023079872131347656 length of segment : 828 time for calcul the mask position with numpy : 0.0044324398040771484 nb_pixel_total : 108150 time to create 1 rle with old method : 0.11919116973876953 length of segment : 370 time for calcul the mask position with numpy : 0.013745784759521484 nb_pixel_total : 462913 time to create 1 rle with new method : 0.047980546951293945 length of segment : 863 time for calcul the mask position with numpy : 0.0005002021789550781 nb_pixel_total : 7292 time to create 1 rle with old method : 0.008286237716674805 length of segment : 199 time for calcul the mask position with numpy : 0.001119375228881836 nb_pixel_total : 25880 time to create 1 rle with old method : 0.030966520309448242 length of segment : 205 time for calcul the mask position with numpy : 0.00014400482177734375 nb_pixel_total : 1571 time to create 1 rle with old method : 0.0020380020141601562 length of segment : 48 time for calcul the mask position with numpy : 0.00014495849609375 nb_pixel_total : 2893 time to create 1 rle with old method : 0.003468036651611328 length of segment : 60 time for calcul the mask position with numpy : 0.003641843795776367 nb_pixel_total : 139819 time to create 1 rle with old method : 0.16083073616027832 length of segment : 517 time for calcul the mask position with numpy : 0.0001685619354248047 nb_pixel_total : 1467 time to create 1 rle with old method : 0.001997709274291992 length of segment : 67 time for calcul the mask position with numpy : 0.00035691261291503906 nb_pixel_total : 7402 time to create 1 rle with old method : 0.00860142707824707 length of segment : 143 time for calcul the mask position with numpy : 0.019090652465820312 nb_pixel_total : 548123 time to create 1 rle with new method : 0.06458449363708496 length of segment : 1702 time for calcul the mask position with numpy : 0.0020318031311035156 nb_pixel_total : 65816 time to create 1 rle with old method : 0.07293272018432617 length of segment : 316 time for calcul the mask position with numpy : 0.0030541419982910156 nb_pixel_total : 114834 time to create 1 rle with old method : 0.13730955123901367 length of segment : 611 time for calcul the mask position with numpy : 0.005116462707519531 nb_pixel_total : 154975 time to create 1 rle with new method : 0.010044097900390625 length of segment : 810 time for calcul the mask position with numpy : 0.0004200935363769531 nb_pixel_total : 18850 time to create 1 rle with old method : 0.02239823341369629 length of segment : 171 time for calcul the mask position with numpy : 0.0004875659942626953 nb_pixel_total : 23899 time to create 1 rle with old method : 0.027535676956176758 length of segment : 172 time for calcul the mask position with numpy : 0.017130136489868164 nb_pixel_total : 680005 time to create 1 rle with new method : 0.5273456573486328 length of segment : 1467 time for calcul the mask position with numpy : 0.00014019012451171875 nb_pixel_total : 4106 time to create 1 rle with old method : 0.005101919174194336 length of segment : 79 time for calcul the mask position with numpy : 0.3659217357635498 nb_pixel_total : 4195449 time to create 1 rle with new method : 0.983269214630127 length of segment : 2866 time for calcul the mask position with numpy : 0.0001049041748046875 nb_pixel_total : 2477 time to create 1 rle with old method : 0.0030975341796875 length of segment : 65 time for calcul the mask position with numpy : 0.003151416778564453 nb_pixel_total : 226233 time to create 1 rle with new method : 0.007086515426635742 length of segment : 555 time for calcul the mask position with numpy : 0.0007722377777099609 nb_pixel_total : 45391 time to create 1 rle with old method : 0.050232887268066406 length of segment : 256 time for calcul the mask position with numpy : 0.00016307830810546875 nb_pixel_total : 1764 time to create 1 rle with old method : 0.002530813217163086 length of segment : 40 time spent for convertir_results : 22.887577533721924 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 158 chid ids of type : 3663 Number RLEs to save : 56529 save missing photos in datou_result : time spend for datou_step_exec : 96.11060667037964 time spend to save output : 7.542030572891235 total time spend for step 1 : 103.65263724327087 step2:crop_condition Thu Feb 6 00:46:11 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 158 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 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 ! map_result returned by crop_photo_return_map_crop : length : 12 About to insert : list_path_to_insert length 12 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 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 ! map_result returned by crop_photo_return_map_crop : length : 39 About to insert : list_path_to_insert length 39 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 ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! 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 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 : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : kraft 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 [1335035145, 1335035141, 1335035136, 1335035120, 1335007135, 1335007108, 1335006903, 1335006844, 1335006842, 1335006840] Looping around the photos to save general results len do output : 90 /-3656773804Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773805Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773819Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773815Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773820Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773828Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773830Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773837Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773855Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773854Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773884Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773878Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773913Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773791Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773786Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773808Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773810Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773817Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773826Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773856Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773850Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773857Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773874Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773876Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773928Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773793Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773821Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773846Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773841Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773870Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773872Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773849Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773898Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773897Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773918Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773787Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773796Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773795Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773811Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773809Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773799Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773803Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773824Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773818Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773823Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773825Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773842Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773838Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773847Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773829Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773844Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773843Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773858Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773859Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773871Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773862Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773861Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773865Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773885Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773894Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773882Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773889Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773896Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773892Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773890Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773883Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773887Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773914Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773907Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773916Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773929Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773931Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773924Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773938Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773840Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773831Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773835Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773833Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773895Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773904Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773909Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773869Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773873Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773899Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773910Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773932Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773921Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773827Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773860Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656773900Didn'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, '2557221') ('3459', '20277551', '1335035145', None, None, None, None, None, '2557221') ('3459', None, None, None, None, None, None, None, '2557221') ('3459', '20277551', '1335035141', None, None, None, None, None, '2557221') ('3459', None, None, None, None, None, None, None, '2557221') ('3459', '20277551', '1335035136', None, None, None, None, None, '2557221') ('3459', None, None, None, None, None, None, None, '2557221') ('3459', '20277551', '1335035120', None, None, None, None, None, '2557221') ('3459', None, None, None, None, None, None, None, '2557221') ('3459', '20277551', '1335007135', None, None, None, None, None, '2557221') ('3459', None, None, None, None, None, None, None, '2557221') ('3459', '20277551', '1335007108', None, None, None, None, None, '2557221') ('3459', None, None, None, None, None, None, None, '2557221') ('3459', '20277551', '1335006903', None, None, None, None, None, '2557221') ('3459', None, None, None, None, None, None, None, '2557221') ('3459', '20277551', '1335006844', None, None, None, None, None, '2557221') ('3459', None, None, None, None, None, None, None, '2557221') ('3459', '20277551', '1335006842', None, None, None, None, None, '2557221') ('3459', None, None, None, None, None, None, None, '2557221') ('3459', '20277551', '1335006840', None, None, None, None, None, '2557221') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 280 time used for this insertion : 0.04343056678771973 save_final save missing photos in datou_result : time spend for datou_step_exec : 57.18696713447571 time spend to save output : 0.04586291313171387 total time spend for step 2 : 57.23283004760742 step3:thcl Thu Feb 6 00:47:08 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.01320648193359375 time to convert the images to numpy array : 0.4647791385650635 time to import caffe and check if the image exist : 0.018236160278320312 time to convert the images to numpy array : 0.7876186370849609 time to import caffe and check if the image exist : 0.015537023544311523 time to convert the images to numpy array : 0.7982275485992432 time to import caffe and check if the image exist : 0.014200448989868164 time to convert the images to numpy array : 0.8072173595428467 time to import caffe and check if the image exist : 0.015112638473510742 time to convert the images to numpy array : 0.822227954864502 time to import caffe and check if the image exist : 0.009487390518188477 time to convert the images to numpy array : 0.8381314277648926 time to import caffe and check if the image exist : 0.012917518615722656 time to convert the images to numpy array : 0.8525290489196777 time to import caffe and check if the image exist : 0.00950169563293457 time to convert the images to numpy array : 0.8689010143280029 time to import caffe and check if the image exist : 0.011780023574829102 time to convert the images to numpy array : 0.8702907562255859 time to import caffe and check if the image exist : 0.011979818344116211 time to convert the images to numpy array : 0.8826489448547363 total time to convert the images to numpy array : 1.1714239120483398 list photo_ids error: [] list photo_ids correct : [-3656773924, -3656773938, -3656773840, -3656773831, -3656773835, -3656773833, -3656773895, -3656773904, -3656773909, -3656773869, -3656773873, -3656773899, -3656773910, -3656773932, -3656773921, -3656773827, -3656773860, -3656773900, -3656773796, -3656773795, -3656773811, -3656773809, -3656773799, -3656773803, -3656773824, -3656773818, -3656773823, -3656773892, -3656773890, -3656773883, -3656773887, -3656773914, -3656773907, -3656773916, -3656773929, -3656773931, -3656773854, -3656773884, -3656773878, -3656773913, -3656773791, -3656773786, -3656773808, -3656773810, -3656773817, -3656773826, -3656773856, -3656773850, -3656773857, -3656773874, -3656773876, -3656773928, -3656773793, -3656773821, -3656773846, -3656773841, -3656773870, -3656773872, -3656773849, -3656773898, -3656773897, -3656773918, -3656773787, -3656773804, -3656773805, -3656773819, -3656773815, -3656773820, -3656773828, -3656773830, -3656773837, -3656773855, -3656773825, -3656773842, -3656773838, -3656773847, -3656773829, -3656773844, -3656773843, -3656773858, -3656773859, -3656773871, -3656773862, -3656773861, -3656773865, -3656773885, -3656773894, -3656773882, -3656773889, -3656773896] number of photos to traite : 90 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 : 31 wait 20 seconds l 3637 free memory gpu now : 31 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'] WARNING: Logging before InitGoogleLogging() is written to STDERR E0206 00:47:32.194645 1524068 common.cpp:114] Cannot create Cublas handle. Cublas won't be available. E0206 00:47:32.201469 1524068 common.cpp:121] Cannot create Curand generator. Curand won't be available. 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 : 31 wait 20 seconds F0206 00:47:55.084302 1524068 math_functions.cu:26] Check failed: status == CUBLAS_STATUS_SUCCESS (1 vs. 0) CUBLAS_STATUS_NOT_INITIALIZED *** Check failure stack trace: *** Command terminated by signal 6 81.97user 87.93system 3:31.89elapsed 80%CPU (0avgtext+0avgdata 4427440maxresident)k 4720inputs+50912outputs (2major+6229369minor)pagefaults 0swaps