python /home/admin/mtr/script_for_cron.py -j default -m 20 -a 'python3 ~/workarea/git/Velours/python/prod/datou.py -j batch_current -a 4433' -s traitement_sts -M 0 -S 0 -U 100,80,95 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/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', '/home/admin/workarea/git/apy', '/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 : 84944 load datou : 4433 # 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 ! 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 12489 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 12499 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12500 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 12492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 12492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! WARNING : number of outputs for step 12493 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 12502 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 12502 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 12495 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 12495 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! 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 12489 doesn't seem to be define in the database( WARNING : type of input 2 of step 12492 doesn't seem to be define in the database( WARNING : output 1 of step 12489 have datatype=2 whereas input 1 of step 12493 have datatype=7 WARNING : type of output 2 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12494 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12496 doesn't seem to be define in the database( WARNING : type of input 3 of step 12495 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12500 doesn't seem to be define in the database( WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12499 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 12496 have datatype=10 whereas input 3 of step 12498 have datatype=6 WARNING : type of input 5 of step 12498 doesn't seem to be define in the database( WARNING : output 0 of step 12501 have datatype=11 whereas input 5 of step 12498 have datatype=None WARNING : output 0 of step 12496 have datatype=10 whereas input 0 of step 12501 have datatype=18 WARNING : type of input 2 of step 12502 doesn't seem to be define in the database( WARNING : output 1 of step 12494 have datatype=7 whereas input 2 of step 12502 have datatype=None WARNING : type of output 3 of step 12502 doesn't seem to be define in the database( WARNING : type of input 2 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12499 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : type of output 1 of step 12500 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : output 0 of step 12493 have datatype=1 whereas input 0 of step 12494 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 ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [ (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 ? 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 ? 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 : (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 : 2896 in CacheModelConfig load pdts add pdt : 4999 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 : 4433, datou_cur_ids : ['3770009'] with mtr_portfolio_ids : ['27172550'] and first list_photo_ids : [] new path : /proc/84944/ 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 ! 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 12489 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 12499 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12500 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 12492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 12492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! WARNING : number of outputs for step 12493 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 12502 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 12502 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 12495 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 12495 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! 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 12489 doesn't seem to be define in the database( WARNING : type of input 2 of step 12492 doesn't seem to be define in the database( WARNING : output 1 of step 12489 have datatype=2 whereas input 1 of step 12493 have datatype=7 WARNING : type of output 2 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12494 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12496 doesn't seem to be define in the database( WARNING : type of input 3 of step 12495 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12500 doesn't seem to be define in the database( WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12499 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 12496 have datatype=10 whereas input 3 of step 12498 have datatype=6 WARNING : type of input 5 of step 12498 doesn't seem to be define in the database( WARNING : output 0 of step 12501 have datatype=11 whereas input 5 of step 12498 have datatype=None WARNING : output 0 of step 12496 have datatype=10 whereas input 0 of step 12501 have datatype=18 WARNING : type of input 2 of step 12502 doesn't seem to be define in the database( WARNING : output 1 of step 12494 have datatype=7 whereas input 2 of step 12502 have datatype=None WARNING : type of output 3 of step 12502 doesn't seem to be define in the database( WARNING : type of input 2 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12499 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : type of output 1 of step 12500 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : output 0 of step 12493 have datatype=1 whereas input 0 of step 12494 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, brightness, blur_detection, crop_condition, thcl, tfhub_classification2, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 15 list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 15 ; length of list_pids : 15 ; length of list_args : 15 time to download the photos : 4.819554805755615 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 : 14 step1:mask_detect Fri Sep 26 11:41:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory havn't enough memory gpu , need / 3000 l 3632 free memory gpu now : 1735 wait 20 seconds l 3637 free memory gpu now : 1735 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-26 11:41:58.262825: 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-09-26 11:41:58.288718: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-26 11:41:58.290549: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fb328000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-26 11:41:58.290586: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-26 11:41:58.294716: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-26 11:41:58.415417: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x19b8e260 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-26 11:41:58.415484: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-26 11:41:58.416611: 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-09-26 11:41:58.417074: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-26 11:41:58.420215: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-26 11:41:58.423409: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-26 11:41:58.423922: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-26 11:41:58.426639: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-26 11:41:58.427649: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-26 11:41:58.431816: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-26 11:41:58.433163: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-26 11:41:58.433250: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-26 11:41:58.433917: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-26 11:41:58.433933: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-26 11:41:58.433942: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-26 11:41:58.434987: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5859 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-09-26 11:41:58.731739: 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-09-26 11:41:58.731862: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-26 11:41:58.731880: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-26 11:41:58.731894: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-26 11:41:58.731908: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-26 11:41:58.731921: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-26 11:41:58.731934: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-26 11:41:58.731949: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-26 11:41:58.732974: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-26 11:41:58.734055: 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-09-26 11:41:58.734099: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-26 11:41:58.734116: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-26 11:41:58.734132: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-26 11:41:58.734148: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-26 11:41:58.734163: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-26 11:41:58.734178: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-26 11:41:58.734194: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-26 11:41:58.735181: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-26 11:41:58.735237: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-26 11:41:58.735246: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-26 11:41:58.735253: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-26 11:41:58.738889: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5859 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-09-26 11:42:16.333557: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-26 11:42:16.555082: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-26 11:42:19.006256: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.012263: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.60G (3865470464 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.013124: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.24G (3478923264 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.013926: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.92G (3131030784 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.014719: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.62G (2817927680 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.015538: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.36G (2536134912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.016334: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.12G (2282521344 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.016407: 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-09-26 11:42:19.017313: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.017342: 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-09-26 11:42:19.049721: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.049755: 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-09-26 11:42:19.050221: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.050237: 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-09-26 11:42:19.064488: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.064516: 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-09-26 11:42:19.065006: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.065024: 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-09-26 11:42:19.145638: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.145678: 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-09-26 11:42:19.146164: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.146179: 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-09-26 11:42:19.160850: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.160876: 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-09-26 11:42:19.161348: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.161364: 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-09-26 11:42:19.256471: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.257008: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.261285: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.261779: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.365796: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.366278: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.368457: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.368922: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.497501: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.498003: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.507790: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.508254: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.529006: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.529469: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.539411: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.539872: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.572196: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.572751: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.588098: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.588614: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.946725: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.947283: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.947781: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.948270: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.981006: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:19.981518: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.012200: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.012736: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.013226: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.013710: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.028683: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.029188: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.029675: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.030160: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.059065: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.059854: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.118526: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.119042: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.165966: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.166474: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.185304: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.185799: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.186284: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.186767: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.187954: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.188455: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.213146: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.213690: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.214198: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.214721: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.215208: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.215693: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.216177: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.216731: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.228085: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.228645: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.242618: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.243469: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.334036: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.334884: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.335688: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.336485: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.356490: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.357334: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.383935: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.384951: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.385939: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.386910: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.391333: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.391907: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.392496: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.393062: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.394090: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.394111: 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-09-26 11:42:20.408813: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.409391: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.419998: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.420584: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.424730: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.425303: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.425873: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-26 11:42:20.426434: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 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 : 15 NEW PHOTO Processing 1 images image shape: (3040, 4056, 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: 4056.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (3040, 4056, 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: 4056.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (3040, 4056, 3) min: 6.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: 4056.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (3040, 4056, 3) min: 5.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: 4056.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (3040, 4056, 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: 4056.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (3040, 4056, 3) min: 5.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: 4056.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (3040, 4056, 3) min: 2.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: 4056.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (3040, 4056, 3) min: 7.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: 4056.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (3040, 4056, 3) min: 5.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: 4056.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (3040, 4056, 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: 4056.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (3040, 4056, 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: 4056.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (3040, 4056, 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: 4056.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (3040, 4056, 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: 4056.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (3040, 4056, 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: 4056.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (3040, 4056, 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: 4056.00000 nb d'objets trouves : 6 Detection mask done ! Trying to reset tf kernel 86879 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 318 tf kernel not reseted sub process len(results) : 15 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 15 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 : 6800 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.0446619987487793 nb_pixel_total : 433318 time to create 1 rle with new method : 0.19352221488952637 length of segment : 681 time for calcul the mask position with numpy : 0.0009474754333496094 nb_pixel_total : 34972 time to create 1 rle with old method : 0.04597759246826172 length of segment : 162 time for calcul the mask position with numpy : 0.0010342597961425781 nb_pixel_total : 38938 time to create 1 rle with old method : 0.0576627254486084 length of segment : 176 time for calcul the mask position with numpy : 0.00023698806762695312 nb_pixel_total : 7198 time to create 1 rle with old method : 0.008653640747070312 length of segment : 151 time for calcul the mask position with numpy : 0.0001728534698486328 nb_pixel_total : 870 time to create 1 rle with old method : 0.0011866092681884766 length of segment : 49 time for calcul the mask position with numpy : 0.002652406692504883 nb_pixel_total : 124893 time to create 1 rle with old method : 0.1445295810699463 length of segment : 346 time for calcul the mask position with numpy : 0.2775757312774658 nb_pixel_total : 1536482 time to create 1 rle with new method : 0.4077272415161133 length of segment : 2671 time for calcul the mask position with numpy : 0.0016591548919677734 nb_pixel_total : 92722 time to create 1 rle with old method : 0.10852837562561035 length of segment : 281 time for calcul the mask position with numpy : 0.0007643699645996094 nb_pixel_total : 34039 time to create 1 rle with old method : 0.038450002670288086 length of segment : 319 time for calcul the mask position with numpy : 0.002165079116821289 nb_pixel_total : 170805 time to create 1 rle with new method : 0.00520014762878418 length of segment : 617 time for calcul the mask position with numpy : 0.0004146099090576172 nb_pixel_total : 19107 time to create 1 rle with old method : 0.022484779357910156 length of segment : 190 time for calcul the mask position with numpy : 0.0064618587493896484 nb_pixel_total : 338340 time to create 1 rle with new method : 0.020442485809326172 length of segment : 1273 time for calcul the mask position with numpy : 0.002025127410888672 nb_pixel_total : 82602 time to create 1 rle with old method : 0.10114097595214844 length of segment : 415 time for calcul the mask position with numpy : 0.002604961395263672 nb_pixel_total : 182674 time to create 1 rle with new method : 0.004808902740478516 length of segment : 307 time for calcul the mask position with numpy : 0.0016374588012695312 nb_pixel_total : 85102 time to create 1 rle with old method : 0.10088849067687988 length of segment : 221 time for calcul the mask position with numpy : 0.005151271820068359 nb_pixel_total : 165391 time to create 1 rle with new method : 0.008624792098999023 length of segment : 535 time for calcul the mask position with numpy : 0.005502462387084961 nb_pixel_total : 233367 time to create 1 rle with new method : 0.008223533630371094 length of segment : 764 time for calcul the mask position with numpy : 0.032088518142700195 nb_pixel_total : 1363589 time to create 1 rle with new method : 0.16100788116455078 length of segment : 2349 time for calcul the mask position with numpy : 0.002742290496826172 nb_pixel_total : 148505 time to create 1 rle with old method : 0.16935396194458008 length of segment : 296 time for calcul the mask position with numpy : 0.002237081527709961 nb_pixel_total : 74306 time to create 1 rle with old method : 0.08463478088378906 length of segment : 359 time for calcul the mask position with numpy : 0.004758119583129883 nb_pixel_total : 142353 time to create 1 rle with old method : 0.16202306747436523 length of segment : 614 time for calcul the mask position with numpy : 0.004520893096923828 nb_pixel_total : 142789 time to create 1 rle with old method : 0.15868782997131348 length of segment : 642 time for calcul the mask position with numpy : 0.0008878707885742188 nb_pixel_total : 20035 time to create 1 rle with old method : 0.024122238159179688 length of segment : 168 time for calcul the mask position with numpy : 0.0017857551574707031 nb_pixel_total : 54502 time to create 1 rle with old method : 0.06253218650817871 length of segment : 298 time for calcul the mask position with numpy : 0.00046515464782714844 nb_pixel_total : 11988 time to create 1 rle with old method : 0.013687610626220703 length of segment : 184 time for calcul the mask position with numpy : 0.0109100341796875 nb_pixel_total : 261785 time to create 1 rle with new method : 0.017405033111572266 length of segment : 906 time for calcul the mask position with numpy : 0.0006704330444335938 nb_pixel_total : 23819 time to create 1 rle with old method : 0.02832651138305664 length of segment : 112 time for calcul the mask position with numpy : 0.00028324127197265625 nb_pixel_total : 5161 time to create 1 rle with old method : 0.006365299224853516 length of segment : 88 time for calcul the mask position with numpy : 0.005068540573120117 nb_pixel_total : 237297 time to create 1 rle with new method : 0.008852005004882812 length of segment : 538 time for calcul the mask position with numpy : 0.0025873184204101562 nb_pixel_total : 135551 time to create 1 rle with old method : 0.1544630527496338 length of segment : 404 time for calcul the mask position with numpy : 0.003032684326171875 nb_pixel_total : 175453 time to create 1 rle with new method : 0.005682468414306641 length of segment : 539 time for calcul the mask position with numpy : 0.001664876937866211 nb_pixel_total : 117081 time to create 1 rle with old method : 0.13155341148376465 length of segment : 307 time for calcul the mask position with numpy : 0.006735563278198242 nb_pixel_total : 348998 time to create 1 rle with new method : 0.012108325958251953 length of segment : 626 time for calcul the mask position with numpy : 0.003734111785888672 nb_pixel_total : 158087 time to create 1 rle with new method : 0.0064356327056884766 length of segment : 536 time for calcul the mask position with numpy : 0.0011472702026367188 nb_pixel_total : 42835 time to create 1 rle with old method : 0.0505223274230957 length of segment : 317 time for calcul the mask position with numpy : 0.00474095344543457 nb_pixel_total : 201072 time to create 1 rle with new method : 0.009272575378417969 length of segment : 536 time for calcul the mask position with numpy : 0.001605987548828125 nb_pixel_total : 67876 time to create 1 rle with old method : 0.08152532577514648 length of segment : 206 time for calcul the mask position with numpy : 0.00342559814453125 nb_pixel_total : 172345 time to create 1 rle with new method : 0.006549835205078125 length of segment : 558 time for calcul the mask position with numpy : 0.0028257369995117188 nb_pixel_total : 124154 time to create 1 rle with old method : 0.14137625694274902 length of segment : 320 time for calcul the mask position with numpy : 0.0026314258575439453 nb_pixel_total : 115846 time to create 1 rle with old method : 0.1552419662475586 length of segment : 390 time for calcul the mask position with numpy : 0.0018651485443115234 nb_pixel_total : 130660 time to create 1 rle with old method : 0.15111160278320312 length of segment : 332 time for calcul the mask position with numpy : 0.0011475086212158203 nb_pixel_total : 26171 time to create 1 rle with old method : 0.030823707580566406 length of segment : 246 time for calcul the mask position with numpy : 0.02928924560546875 nb_pixel_total : 656453 time to create 1 rle with new method : 0.33802270889282227 length of segment : 1597 time for calcul the mask position with numpy : 0.0013477802276611328 nb_pixel_total : 46713 time to create 1 rle with old method : 0.052449703216552734 length of segment : 386 time for calcul the mask position with numpy : 0.0012314319610595703 nb_pixel_total : 40290 time to create 1 rle with old method : 0.04559826850891113 length of segment : 321 time for calcul the mask position with numpy : 0.0006043910980224609 nb_pixel_total : 35406 time to create 1 rle with old method : 0.0408170223236084 length of segment : 237 time for calcul the mask position with numpy : 0.0006880760192871094 nb_pixel_total : 33617 time to create 1 rle with old method : 0.039818763732910156 length of segment : 197 time for calcul the mask position with numpy : 0.0024008750915527344 nb_pixel_total : 95868 time to create 1 rle with old method : 0.10824918746948242 length of segment : 436 time for calcul the mask position with numpy : 0.038633108139038086 nb_pixel_total : 1320906 time to create 1 rle with new method : 0.32871031761169434 length of segment : 2436 time for calcul the mask position with numpy : 0.0010387897491455078 nb_pixel_total : 45325 time to create 1 rle with old method : 0.05186963081359863 length of segment : 167 time for calcul the mask position with numpy : 0.014480113983154297 nb_pixel_total : 655886 time to create 1 rle with new method : 0.021013498306274414 length of segment : 940 time for calcul the mask position with numpy : 0.0014896392822265625 nb_pixel_total : 75580 time to create 1 rle with old method : 0.09952831268310547 length of segment : 183 time for calcul the mask position with numpy : 0.013244390487670898 nb_pixel_total : 447603 time to create 1 rle with new method : 0.02790379524230957 length of segment : 1658 time for calcul the mask position with numpy : 0.021512746810913086 nb_pixel_total : 448936 time to create 1 rle with new method : 0.27797627449035645 length of segment : 2031 time for calcul the mask position with numpy : 0.027394533157348633 nb_pixel_total : 1178350 time to create 1 rle with new method : 0.13282465934753418 length of segment : 2265 time for calcul the mask position with numpy : 0.015357732772827148 nb_pixel_total : 602575 time to create 1 rle with new method : 0.05474066734313965 length of segment : 926 time for calcul the mask position with numpy : 0.0012843608856201172 nb_pixel_total : 82408 time to create 1 rle with old method : 0.09399271011352539 length of segment : 314 time for calcul the mask position with numpy : 0.013401508331298828 nb_pixel_total : 473661 time to create 1 rle with new method : 0.02623915672302246 length of segment : 1687 time for calcul the mask position with numpy : 0.005766391754150391 nb_pixel_total : 168475 time to create 1 rle with new method : 0.007648468017578125 length of segment : 401 time for calcul the mask position with numpy : 0.0005855560302734375 nb_pixel_total : 17029 time to create 1 rle with old method : 0.019929170608520508 length of segment : 175 time for calcul the mask position with numpy : 0.04763436317443848 nb_pixel_total : 1682423 time to create 1 rle with new method : 0.3580746650695801 length of segment : 3789 time for calcul the mask position with numpy : 0.03867626190185547 nb_pixel_total : 1449457 time to create 1 rle with new method : 0.28926563262939453 length of segment : 2537 time for calcul the mask position with numpy : 0.0011906623840332031 nb_pixel_total : 63247 time to create 1 rle with old method : 0.07309269905090332 length of segment : 220 time for calcul the mask position with numpy : 0.0035393238067626953 nb_pixel_total : 162928 time to create 1 rle with new method : 0.005934238433837891 length of segment : 551 time for calcul the mask position with numpy : 0.0006117820739746094 nb_pixel_total : 23788 time to create 1 rle with old method : 0.027769804000854492 length of segment : 184 time for calcul the mask position with numpy : 0.004844188690185547 nb_pixel_total : 326755 time to create 1 rle with new method : 0.011226654052734375 length of segment : 659 time for calcul the mask position with numpy : 0.007094383239746094 nb_pixel_total : 457137 time to create 1 rle with new method : 0.017177104949951172 length of segment : 1260 time for calcul the mask position with numpy : 0.00014328956604003906 nb_pixel_total : 5567 time to create 1 rle with old method : 0.006669759750366211 length of segment : 79 time for calcul the mask position with numpy : 0.005991935729980469 nb_pixel_total : 346185 time to create 1 rle with new method : 0.01868414878845215 length of segment : 714 time for calcul the mask position with numpy : 0.0024993419647216797 nb_pixel_total : 121394 time to create 1 rle with old method : 0.13556671142578125 length of segment : 403 time for calcul the mask position with numpy : 0.0066204071044921875 nb_pixel_total : 459643 time to create 1 rle with new method : 0.019268274307250977 length of segment : 1206 time for calcul the mask position with numpy : 0.0032083988189697266 nb_pixel_total : 163801 time to create 1 rle with new method : 0.00469660758972168 length of segment : 330 time for calcul the mask position with numpy : 0.012365579605102539 nb_pixel_total : 286480 time to create 1 rle with new method : 0.04362082481384277 length of segment : 1479 time for calcul the mask position with numpy : 0.008446693420410156 nb_pixel_total : 347768 time to create 1 rle with new method : 0.013605833053588867 length of segment : 649 time for calcul the mask position with numpy : 0.007899999618530273 nb_pixel_total : 263815 time to create 1 rle with new method : 0.01888751983642578 length of segment : 1133 time for calcul the mask position with numpy : 0.008285284042358398 nb_pixel_total : 366254 time to create 1 rle with new method : 0.022074460983276367 length of segment : 995 time for calcul the mask position with numpy : 0.0016787052154541016 nb_pixel_total : 57631 time to create 1 rle with old method : 0.06550002098083496 length of segment : 419 time for calcul the mask position with numpy : 0.0014147758483886719 nb_pixel_total : 36013 time to create 1 rle with old method : 0.04215669631958008 length of segment : 350 time for calcul the mask position with numpy : 0.008234500885009766 nb_pixel_total : 371290 time to create 1 rle with new method : 0.025983810424804688 length of segment : 1081 time for calcul the mask position with numpy : 0.0365903377532959 nb_pixel_total : 249176 time to create 1 rle with new method : 0.9498498439788818 length of segment : 1146 time for calcul the mask position with numpy : 0.0010547637939453125 nb_pixel_total : 29315 time to create 1 rle with old method : 0.03324413299560547 length of segment : 190 time for calcul the mask position with numpy : 0.01185917854309082 nb_pixel_total : 535372 time to create 1 rle with new method : 0.01970505714416504 length of segment : 879 time for calcul the mask position with numpy : 0.004224061965942383 nb_pixel_total : 226636 time to create 1 rle with new method : 0.0077667236328125 length of segment : 570 time for calcul the mask position with numpy : 0.0008022785186767578 nb_pixel_total : 30564 time to create 1 rle with old method : 0.0354616641998291 length of segment : 166 time for calcul the mask position with numpy : 0.003431081771850586 nb_pixel_total : 165436 time to create 1 rle with new method : 0.006188869476318359 length of segment : 505 time for calcul the mask position with numpy : 0.0008301734924316406 nb_pixel_total : 37179 time to create 1 rle with old method : 0.04352521896362305 length of segment : 155 time for calcul the mask position with numpy : 0.0003726482391357422 nb_pixel_total : 9895 time to create 1 rle with old method : 0.011527299880981445 length of segment : 109 time for calcul the mask position with numpy : 0.05121636390686035 nb_pixel_total : 399145 time to create 1 rle with new method : 1.0061061382293701 length of segment : 1135 time for calcul the mask position with numpy : 0.0030150413513183594 nb_pixel_total : 154125 time to create 1 rle with new method : 0.006278514862060547 length of segment : 490 time for calcul the mask position with numpy : 0.005002737045288086 nb_pixel_total : 326560 time to create 1 rle with new method : 0.01445913314819336 length of segment : 925 time for calcul the mask position with numpy : 0.004714488983154297 nb_pixel_total : 300034 time to create 1 rle with new method : 0.01267862319946289 length of segment : 1066 time for calcul the mask position with numpy : 0.0037109851837158203 nb_pixel_total : 199044 time to create 1 rle with new method : 0.007341861724853516 length of segment : 460 time for calcul the mask position with numpy : 0.0012810230255126953 nb_pixel_total : 67577 time to create 1 rle with old method : 0.07753872871398926 length of segment : 334 time for calcul the mask position with numpy : 0.0006718635559082031 nb_pixel_total : 31316 time to create 1 rle with old method : 0.03655385971069336 length of segment : 110 time for calcul the mask position with numpy : 0.00348663330078125 nb_pixel_total : 154729 time to create 1 rle with new method : 0.006328105926513672 length of segment : 645 time for calcul the mask position with numpy : 0.0006122589111328125 nb_pixel_total : 13051 time to create 1 rle with old method : 0.015475749969482422 length of segment : 119 time for calcul the mask position with numpy : 0.024175405502319336 nb_pixel_total : 760101 time to create 1 rle with new method : 0.5544092655181885 length of segment : 2410 time for calcul the mask position with numpy : 0.005141019821166992 nb_pixel_total : 232009 time to create 1 rle with new method : 0.00878453254699707 length of segment : 667 time for calcul the mask position with numpy : 0.0010466575622558594 nb_pixel_total : 30897 time to create 1 rle with old method : 0.03680753707885742 length of segment : 294 time for calcul the mask position with numpy : 0.0004074573516845703 nb_pixel_total : 16478 time to create 1 rle with old method : 0.020517349243164062 length of segment : 66 time for calcul the mask position with numpy : 0.0010411739349365234 nb_pixel_total : 52306 time to create 1 rle with old method : 0.060270071029663086 length of segment : 298 time for calcul the mask position with numpy : 0.002111196517944336 nb_pixel_total : 136381 time to create 1 rle with old method : 0.15306353569030762 length of segment : 524 time for calcul the mask position with numpy : 0.00443577766418457 nb_pixel_total : 221565 time to create 1 rle with new method : 0.007613658905029297 length of segment : 662 time for calcul the mask position with numpy : 0.00101470947265625 nb_pixel_total : 37719 time to create 1 rle with old method : 0.04341888427734375 length of segment : 172 time for calcul the mask position with numpy : 0.003299236297607422 nb_pixel_total : 130168 time to create 1 rle with old method : 0.1454925537109375 length of segment : 468 time for calcul the mask position with numpy : 0.0018410682678222656 nb_pixel_total : 128415 time to create 1 rle with old method : 0.14433979988098145 length of segment : 462 time for calcul the mask position with numpy : 0.002329587936401367 nb_pixel_total : 63298 time to create 1 rle with old method : 0.07251501083374023 length of segment : 748 time for calcul the mask position with numpy : 0.004132270812988281 nb_pixel_total : 210198 time to create 1 rle with new method : 0.006439924240112305 length of segment : 451 time for calcul the mask position with numpy : 0.0020372867584228516 nb_pixel_total : 47004 time to create 1 rle with old method : 0.054318904876708984 length of segment : 813 time for calcul the mask position with numpy : 0.00031757354736328125 nb_pixel_total : 3195 time to create 1 rle with old method : 0.004098653793334961 length of segment : 118 time for calcul the mask position with numpy : 0.0002846717834472656 nb_pixel_total : 5645 time to create 1 rle with old method : 0.0067822933197021484 length of segment : 90 time for calcul the mask position with numpy : 0.009793758392333984 nb_pixel_total : 397223 time to create 1 rle with new method : 0.013877153396606445 length of segment : 775 time for calcul the mask position with numpy : 0.005130290985107422 nb_pixel_total : 194326 time to create 1 rle with new method : 0.00880885124206543 length of segment : 528 time for calcul the mask position with numpy : 0.002293825149536133 nb_pixel_total : 96880 time to create 1 rle with old method : 0.11085152626037598 length of segment : 372 time for calcul the mask position with numpy : 0.003499746322631836 nb_pixel_total : 135155 time to create 1 rle with old method : 0.15355825424194336 length of segment : 395 time for calcul the mask position with numpy : 0.0005905628204345703 nb_pixel_total : 18142 time to create 1 rle with old method : 0.02100539207458496 length of segment : 304 time for calcul the mask position with numpy : 0.0012326240539550781 nb_pixel_total : 39318 time to create 1 rle with old method : 0.04790377616882324 length of segment : 223 time for calcul the mask position with numpy : 0.002862215042114258 nb_pixel_total : 77272 time to create 1 rle with old method : 0.13178205490112305 length of segment : 341 time for calcul the mask position with numpy : 0.00048351287841796875 nb_pixel_total : 5332 time to create 1 rle with old method : 0.01118159294128418 length of segment : 75 time for calcul the mask position with numpy : 0.0017840862274169922 nb_pixel_total : 59597 time to create 1 rle with old method : 0.06817150115966797 length of segment : 385 time for calcul the mask position with numpy : 0.046067237854003906 nb_pixel_total : 843502 time to create 1 rle with new method : 0.6114022731781006 length of segment : 2576 time for calcul the mask position with numpy : 0.0008001327514648438 nb_pixel_total : 22025 time to create 1 rle with old method : 0.02567887306213379 length of segment : 170 time for calcul the mask position with numpy : 0.007940053939819336 nb_pixel_total : 407507 time to create 1 rle with new method : 0.015841007232666016 length of segment : 813 time for calcul the mask position with numpy : 0.018388748168945312 nb_pixel_total : 565507 time to create 1 rle with new method : 0.16736531257629395 length of segment : 714 time for calcul the mask position with numpy : 0.0013840198516845703 nb_pixel_total : 61208 time to create 1 rle with old method : 0.06858301162719727 length of segment : 438 time for calcul the mask position with numpy : 0.0007810592651367188 nb_pixel_total : 37921 time to create 1 rle with old method : 0.05882072448730469 length of segment : 171 time for calcul the mask position with numpy : 0.0061032772064208984 nb_pixel_total : 273752 time to create 1 rle with new method : 0.012468338012695312 length of segment : 1518 time for calcul the mask position with numpy : 0.0006132125854492188 nb_pixel_total : 39976 time to create 1 rle with old method : 0.04556393623352051 length of segment : 193 time for calcul the mask position with numpy : 0.0037903785705566406 nb_pixel_total : 228521 time to create 1 rle with new method : 0.008523702621459961 length of segment : 558 time for calcul the mask position with numpy : 0.0022389888763427734 nb_pixel_total : 99855 time to create 1 rle with old method : 0.11295866966247559 length of segment : 491 time for calcul the mask position with numpy : 0.006648540496826172 nb_pixel_total : 295051 time to create 1 rle with new method : 0.013680696487426758 length of segment : 532 time for calcul the mask position with numpy : 0.0012955665588378906 nb_pixel_total : 34222 time to create 1 rle with old method : 0.04175710678100586 length of segment : 407 time for calcul the mask position with numpy : 0.0004909038543701172 nb_pixel_total : 17672 time to create 1 rle with old method : 0.020818710327148438 length of segment : 132 time for calcul the mask position with numpy : 0.0010216236114501953 nb_pixel_total : 47019 time to create 1 rle with old method : 0.05529284477233887 length of segment : 264 time spent for convertir_results : 30.386387825012207 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 134 chid ids of type : 3663 Number RLEs to save : 85046 save missing photos in datou_result : time spend for datou_step_exec : 172.88440418243408 time spend to save output : 4.869807004928589 total time spend for step 1 : 177.75421118736267 step2:brightness Fri Sep 26 11:44:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1758879689_84944_1385807966_0b50e0f4668d35ac3f47f1dd30c748a5.jpg treat image : temp/1758879689_84944_1385807963_cd543fa55bdba0df60360243cf613ac4.jpg treat image : temp/1758879689_84944_1385807960_5fcfdb1a9a8b0afa5b016ff26f8aa058.jpg treat image : temp/1758879689_84944_1385807957_57c5c5180fa228d07058acc90efa3902.jpg treat image : temp/1758879689_84944_1385807955_d67cff38202b16b3b9ef2d618164816c.jpg treat image : temp/1758879689_84944_1385807952_3c99d4ad640b6694edeb7c357673f9d2.jpg treat image : temp/1758879689_84944_1385807490_12385612c0d36422b8f62f7adc293930.jpg treat image : temp/1758879689_84944_1385807486_b80ec9bbcf88de4fd1580e65da46f4b0.jpg treat image : temp/1758879689_84944_1385807484_30016c7fa294d85633e6a5e6b18eba71.jpg treat image : temp/1758879689_84944_1385807481_8d048f6df378466d384f860ab9bd4648.jpg treat image : temp/1758879689_84944_1385807476_0991f554e857fb12773b07dbed2622cf.jpg treat image : temp/1758879689_84944_1385807474_40d4c5f3022dde18c33e84d42e5ece32.jpg treat image : temp/1758879689_84944_1385806940_d889c3e2b6cd896f3bb3b6b10b6aa56d.jpg treat image : temp/1758879689_84944_1385806938_3271e49b2cf1bbee29ea80daa3ce5c94.jpg treat image : temp/1758879689_84944_1385806936_d3af9715229a5ad5b1d261ec3a3f1dd6.jpg Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 15 time used for this insertion : 0.01285552978515625 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 15 time used for this insertion : 0.012586593627929688 save missing photos in datou_result : time spend for datou_step_exec : 24.479521989822388 time spend to save output : 0.04821133613586426 total time spend for step 2 : 24.527733325958252 step3:blur_detection Fri Sep 26 11:44:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1758879689_84944_1385807966_0b50e0f4668d35ac3f47f1dd30c748a5.jpg resize: (3040, 4056) 1385807966 0.590765399465224 treat image : temp/1758879689_84944_1385807963_cd543fa55bdba0df60360243cf613ac4.jpg resize: (3040, 4056) 1385807963 0.022891360434460887 treat image : temp/1758879689_84944_1385807960_5fcfdb1a9a8b0afa5b016ff26f8aa058.jpg resize: (3040, 4056) 1385807960 -0.18832629664943146 treat image : temp/1758879689_84944_1385807957_57c5c5180fa228d07058acc90efa3902.jpg resize: (3040, 4056) 1385807957 0.16499563049855792 treat image : temp/1758879689_84944_1385807955_d67cff38202b16b3b9ef2d618164816c.jpg resize: (3040, 4056) 1385807955 0.09274368175003739 treat image : temp/1758879689_84944_1385807952_3c99d4ad640b6694edeb7c357673f9d2.jpg resize: (3040, 4056) 1385807952 -0.1900176915358389 treat image : temp/1758879689_84944_1385807490_12385612c0d36422b8f62f7adc293930.jpg resize: (3040, 4056) 1385807490 -0.07065648346971108 treat image : temp/1758879689_84944_1385807486_b80ec9bbcf88de4fd1580e65da46f4b0.jpg resize: (3040, 4056) 1385807486 0.13809252295434452 treat image : temp/1758879689_84944_1385807484_30016c7fa294d85633e6a5e6b18eba71.jpg resize: (3040, 4056) 1385807484 0.26749193937103743 treat image : temp/1758879689_84944_1385807481_8d048f6df378466d384f860ab9bd4648.jpg resize: (3040, 4056) 1385807481 0.19969265343993214 treat image : temp/1758879689_84944_1385807476_0991f554e857fb12773b07dbed2622cf.jpg resize: (3040, 4056) 1385807476 0.14793912471668713 treat image : temp/1758879689_84944_1385807474_40d4c5f3022dde18c33e84d42e5ece32.jpg resize: (3040, 4056) 1385807474 0.3274994484877899 treat image : temp/1758879689_84944_1385806940_d889c3e2b6cd896f3bb3b6b10b6aa56d.jpg resize: (3040, 4056) 1385806940 0.36943425792644724 treat image : temp/1758879689_84944_1385806938_3271e49b2cf1bbee29ea80daa3ce5c94.jpg resize: (3040, 4056) 1385806938 0.36830760361166787 treat image : temp/1758879689_84944_1385806936_d3af9715229a5ad5b1d261ec3a3f1dd6.jpg resize: (3040, 4056) 1385806936 0.44523005106825814 Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 15 time used for this insertion : 0.013049840927124023 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 15 time used for this insertion : 0.012783288955688477 save missing photos in datou_result : time spend for datou_step_exec : 95.99279356002808 time spend to save output : 0.03934025764465332 total time spend for step 3 : 96.03213381767273 step4:crop_condition Fri Sep 26 11:46:32 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 : 15 ! batch 1 Loaded 134 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 ! 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 : 22 About to insert : list_path_to_insert length 22 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 ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! we have finished the crop for the class : 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 ! 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_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 ! map_result returned by crop_photo_return_map_crop : length : 23 About to insert : list_path_to_insert length 23 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 ! 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 : 30 About to insert : list_path_to_insert length 30 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 ! 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 : 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 [1385807966, 1385807963, 1385807960, 1385807957, 1385807955, 1385807952, 1385807490, 1385807486, 1385807484, 1385807481, 1385807476, 1385807474, 1385806940, 1385806938, 1385806936] Looping around the photos to save general results len do output : 106 /-3976676481Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676482Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676508Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676509Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676513Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676519Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676536Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676545Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676552Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676553Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676555Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676570Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676578Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676580Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676582Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676592Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676605Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676606Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676607Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676612Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676613Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676614Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676492Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676501Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676516Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676531Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676538Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676544Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676546Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676550Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676556Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676595Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676602Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676494Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676510Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676526Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676571Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676593Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676597Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676604Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676489Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676493Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676497Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676499Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676502Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676503Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676511Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676512Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676520Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676521Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676527Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676528Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676543Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676563Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676583Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676586Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676587Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676588Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676594Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676598Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676600Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676609Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676611Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676483Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676484Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676486Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676488Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676495Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676496Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676504Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676505Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676506Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676507Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676514Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676524Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676525Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676530Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676532Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676540Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676557Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676561Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676562Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676564Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676565Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676567Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676569Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676574Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676576Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676579Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676581Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676585Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676596Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676610Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676490Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676518Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676533Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676539Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676547Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676549Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676554Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676559Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676572Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676573Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676575Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676599Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3976676603Didn'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 ('4433', None, None, None, None, None, None, None, '3770009') ('4433', None, '1385807966', None, None, None, None, None, '3770009') ('4433', None, None, None, None, None, None, None, '3770009') ('4433', None, '1385807963', None, None, None, None, None, '3770009') ('4433', None, None, None, None, None, None, None, '3770009') ('4433', None, '1385807960', None, None, None, None, None, '3770009') ('4433', None, None, None, None, None, None, None, '3770009') ('4433', None, '1385807957', None, None, None, None, None, '3770009') ('4433', None, None, None, None, None, None, None, '3770009') ('4433', None, '1385807955', None, None, None, None, None, '3770009') ('4433', None, None, None, None, None, None, None, '3770009') ('4433', None, '1385807952', None, None, None, None, None, '3770009') ('4433', None, None, None, None, None, None, None, '3770009') ('4433', None, '1385807490', None, None, None, None, None, '3770009') ('4433', None, None, None, None, None, None, None, '3770009') ('4433', None, '1385807486', None, None, None, None, None, '3770009') ('4433', None, None, None, None, None, None, None, '3770009') ('4433', None, '1385807484', None, None, None, None, None, '3770009') ('4433', None, None, None, None, None, None, None, '3770009') ('4433', None, '1385807481', None, None, None, None, None, '3770009') ('4433', None, None, None, None, None, None, None, '3770009') ('4433', None, '1385807476', None, None, None, None, None, '3770009') ('4433', None, None, None, None, None, None, None, '3770009') ('4433', None, '1385807474', None, None, None, None, None, '3770009') ('4433', None, None, None, None, None, None, None, '3770009') ('4433', None, '1385806940', None, None, None, None, None, '3770009') ('4433', None, None, None, None, None, None, None, '3770009') ('4433', None, '1385806938', None, None, None, None, None, '3770009') ('4433', None, None, None, None, None, None, None, '3770009') ('4433', None, '1385806936', None, None, None, None, None, '3770009') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 333 time used for this insertion : 0.041792869567871094 save_final save missing photos in datou_result : time spend for datou_step_exec : 105.39774703979492 time spend to save output : 0.044769287109375 total time spend for step 4 : 105.4425163269043 step5:thcl Fri Sep 26 11:48:18 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 : 1 we are using the classfication for multi_thcl [2456] time to import caffe and check if the image exist : 0.014341592788696289 time to convert the images to numpy array : 0.7821989059448242 time to import caffe and check if the image exist : 0.024125337600708008 time to convert the images to numpy array : 0.7779402732849121 time to import caffe and check if the image exist : 0.019222736358642578 time to convert the images to numpy array : 0.8347227573394775 time to import caffe and check if the image exist : 0.018484115600585938 time to convert the images to numpy array : 0.9641227722167969 time to import caffe and check if the image exist : 0.020678043365478516 time to convert the images to numpy array : 0.9671881198883057 time to import caffe and check if the image exist : 0.017822265625 time to convert the images to numpy array : 1.065040111541748 time to import caffe and check if the image exist : 0.0202329158782959 time to convert the images to numpy array : 1.1034307479858398 time to import caffe and check if the image exist : 0.023038625717163086 time to convert the images to numpy array : 1.1280982494354248 time to import caffe and check if the image exist : 0.009055376052856445 time to convert the images to numpy array : 1.3640222549438477 time to import caffe and check if the image exist : 0.016312599182128906 time to convert the images to numpy array : 1.5995843410491943 total time to convert the images to numpy array : 2.0763700008392334 list photo_ids error: [] list photo_ids correct : [-3976676532, -3976676540, -3976676557, -3976676561, -3976676562, -3976676564, -3976676565, -3976676567, -3976676569, -3976676574, -3976676576, -3976676488, -3976676495, -3976676496, -3976676504, -3976676505, -3976676506, -3976676507, -3976676514, -3976676524, -3976676525, -3976676530, -3976676502, -3976676503, -3976676511, -3976676512, -3976676520, -3976676521, -3976676527, -3976676528, -3976676543, -3976676563, -3976676583, -3976676570, -3976676578, -3976676580, -3976676582, -3976676592, -3976676605, -3976676606, -3976676607, -3976676612, -3976676613, -3976676614, -3976676586, -3976676587, -3976676588, -3976676594, -3976676598, -3976676600, -3976676609, -3976676611, -3976676483, -3976676484, -3976676486, -3976676554, -3976676559, -3976676572, -3976676573, -3976676575, -3976676599, -3976676603, -3976676494, -3976676510, -3976676526, -3976676571, -3976676593, -3976676597, -3976676604, -3976676489, -3976676493, -3976676497, -3976676499, -3976676579, -3976676581, -3976676585, -3976676596, -3976676610, -3976676490, -3976676518, -3976676533, -3976676539, -3976676547, -3976676549, -3976676481, -3976676482, -3976676508, -3976676509, -3976676513, -3976676519, -3976676536, -3976676545, -3976676552, -3976676553, -3976676555, -3976676492, -3976676501, -3976676516, -3976676531, -3976676538, -3976676544, -3976676546, -3976676550, -3976676556, -3976676595, -3976676602] number of photos to traite : 106 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 thcls : [{'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'}] thcl {'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'} Update svm_hashtag_type_desc : 4999 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) To loadFromThcl() : net_4999 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 3021 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/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/:/home/admin/workarea/git/apy/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt caffemodel_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 2802 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 2.5927460193634033 time used to do the prediction : 0.2867274284362793 we don't save the descriptors for this thcl 2456 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 2.3603439331054688e-05 save missing photos in datou_result : time spend for datou_step_exec : 10.338473558425903 time spend to save output : 0.0003619194030761719 total time spend for step 5 : 10.33883547782898 step6:tfhub_classification2 Fri Sep 26 11:48: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 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 TFHub with tf2 ! we are using the classfication for only one thcl 3501 begin to check gpu status inside check gpu memory inside check gpu memory inside check gpu memory inside check gpu memory inside check gpu memory inside check gpu memory 2025-09-26 11:48:38.233375: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-26 11:48:38.234979: 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-09-26 11:48:38.235054: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-26 11:48:38.235108: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-26 11:48:38.253815: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-26 11:48:38.254020: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-26 11:48:38.286012: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-26 11:48:38.290731: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-26 11:48:38.349972: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-26 11:48:38.351291: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-26 11:48:38.352149: 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-09-26 11:48:38.384786: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-26 11:48:38.386423: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fb21c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-26 11:48:38.386452: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-26 11:48:38.391312: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x25be01d0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-26 11:48:38.391351: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-26 11:48:38.392236: 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-09-26 11:48:38.392320: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-26 11:48:38.392362: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-26 11:48:38.392480: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-26 11:48:38.392510: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-26 11:48:38.392548: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-26 11:48:38.392591: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-26 11:48:38.392633: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-26 11:48:38.393683: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-26 11:48:38.394095: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-26 11:48:38.394156: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-26 11:48:38.394167: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-26 11:48:38.394176: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-26 11:48:38.395201: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3096 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) l 3637 free memory gpu now : 2800 max_wait_temp : 6 max_wait : 5 1 Physical GPUs, 1 Logical GPUs tagging for thcl : 3501 To do loadFromThcl(), then load ParamDescType : thcl3501 thcls : [{'id': 3501, 'mtr_user_id': 31, 'name': 'learn_papier_mixte_centre_tf_b4_220223_3', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '9087724,9087727,9087725,9087729,9087726,9087723,9087722,9087720,9087721,9087728', 'photo_hashtag_type': 4539, 'photo_desc_type': 5759, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 3501, 'mtr_user_id': 31, 'name': 'learn_papier_mixte_centre_tf_b4_220223_3', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '9087724,9087727,9087725,9087729,9087726,9087723,9087722,9087720,9087721,9087728', 'photo_hashtag_type': 4539, 'photo_desc_type': 5759, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5759 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5759, 'learn_papier_mixte_centre_tf_b4_220223_3', 1792, 1792, 'learn_papier_mixte_centre_tf_b4_220223_3', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2023, 2, 22, 13, 54, 32), datetime.datetime(2023, 2, 22, 13, 54, 32)) model_name : learn_papier_mixte_centre_tf_b4_220223_3 model_param file didn't exist model_name : learn_papier_mixte_centre_tf_b4_220223_3 model_type : tf_classification2 list file need : ['Confusion_Matrix.png', 'Precision_Recall_Carton_brun.jpg', 'Precision_Recall_Carton_gris.jpg', 'Precision_Recall_Teint_Dans_La_Masse.jpg', 'Precision_Recall_autre_refus.jpg', 'Precision_Recall_cartonnette.jpg', 'Precision_Recall_environnement.jpg', 'Precision_Recall_kraft.jpg', 'Precision_Recall_metal.jpg', 'Precision_Recall_papier.jpg', 'Precision_Recall_plastique.jpg', 'Result_Summary.txt', 'checkpoint', 'model_checkpoint.ckpt.data-00000-of-00002', 'model_checkpoint.ckpt.data-00001-of-00002', 'model_checkpoint.ckpt.index', 'model_weights.h5'] file exist in s3 : ['Confusion_Matrix.png', 'Precision_Recall_Carton_brun.jpg', 'Precision_Recall_Carton_gris.jpg', 'Precision_Recall_Teint_Dans_La_Masse.jpg', 'Precision_Recall_autre_refus.jpg', 'Precision_Recall_cartonnette.jpg', 'Precision_Recall_environnement.jpg', 'Precision_Recall_kraft.jpg', 'Precision_Recall_metal.jpg', 'Precision_Recall_papier.jpg', 'Precision_Recall_plastique.jpg', 'Result_Summary.txt', 'checkpoint', 'model_checkpoint.ckpt.data-00000-of-00002', 'model_checkpoint.ckpt.data-00001-of-00002', 'model_checkpoint.ckpt.index', 'model_weights.h5'] file manque in s3 : [] 2025-09-26 11:48:52.704691: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.02G (3246391296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory local folder : /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3 /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Confusion_Matrix.png size_local : 121269 size in s3 : 121269 create time local : 2023-03-03 12:26:14 create time in s3 : 2023-02-22 12:54:17 Confusion_Matrix.png already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Precision_Recall_Carton_brun.jpg size_local : 76104 size in s3 : 76104 create time local : 2023-03-03 12:26:14 create time in s3 : 2023-02-22 12:54:31 Precision_Recall_Carton_brun.jpg already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Precision_Recall_Carton_gris.jpg size_local : 82912 size in s3 : 82912 create time local : 2023-03-03 12:26:14 create time in s3 : 2023-02-22 12:54:31 Precision_Recall_Carton_gris.jpg already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Precision_Recall_Teint_Dans_La_Masse.jpg size_local : 75423 size in s3 : 75423 create time local : 2023-03-03 12:26:14 create time in s3 : 2023-02-22 12:54:25 Precision_Recall_Teint_Dans_La_Masse.jpg already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Precision_Recall_autre_refus.jpg size_local : 78883 size in s3 : 78883 create time local : 2023-03-03 12:26:15 create time in s3 : 2023-02-22 12:54:31 Precision_Recall_autre_refus.jpg already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Precision_Recall_cartonnette.jpg size_local : 81791 size in s3 : 81791 create time local : 2023-03-03 12:26:15 create time in s3 : 2023-02-22 12:54:30 Precision_Recall_cartonnette.jpg already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Precision_Recall_environnement.jpg size_local : 59936 size in s3 : 59936 create time local : 2023-03-03 12:26:15 create time in s3 : 2023-02-22 12:54:17 Precision_Recall_environnement.jpg already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Precision_Recall_kraft.jpg size_local : 80280 size in s3 : 80280 create time local : 2023-03-03 12:26:15 create time in s3 : 2023-02-22 12:54:25 Precision_Recall_kraft.jpg already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Precision_Recall_metal.jpg size_local : 77736 size in s3 : 77736 create time local : 2023-03-03 12:26:15 create time in s3 : 2023-02-22 12:54:31 Precision_Recall_metal.jpg already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Precision_Recall_papier.jpg size_local : 69041 size in s3 : 69041 create time local : 2023-03-03 12:26:15 create time in s3 : 2023-02-22 12:54:31 Precision_Recall_papier.jpg already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Precision_Recall_plastique.jpg size_local : 70770 size in s3 : 70770 create time local : 2023-03-03 12:26:15 create time in s3 : 2023-02-22 12:54:17 Precision_Recall_plastique.jpg already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/Result_Summary.txt size_local : 1092 size in s3 : 1092 create time local : 2023-03-03 12:26:15 create time in s3 : 2023-02-22 12:54:31 Result_Summary.txt already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/checkpoint size_local : 99 size in s3 : 99 create time local : 2023-03-03 12:26:15 create time in s3 : 2023-02-22 12:54:31 checkpoint already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/model_checkpoint.ckpt.data-00000-of-00002 size_local : 429801 size in s3 : 429801 create time local : 2023-03-03 12:26:16 create time in s3 : 2023-02-22 12:54:30 model_checkpoint.ckpt.data-00000-of-00002 already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/model_checkpoint.ckpt.data-00001-of-00002 size_local : 141033188 size in s3 : 141033188 create time local : 2023-03-03 12:26:17 create time in s3 : 2023-02-22 12:54:25 model_checkpoint.ckpt.data-00001-of-00002 already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/model_checkpoint.ckpt.index size_local : 85618 size in s3 : 85618 create time local : 2023-03-03 12:26:17 create time in s3 : 2023-02-22 12:54:30 model_checkpoint.ckpt.index already exist and didn't need to update /data/models_weight/learn_papier_mixte_centre_tf_b4_220223_3/model_weights.h5 size_local : 71289448 size in s3 : 71289448 create time local : 2023-03-03 12:26:18 create time in s3 : 2023-02-22 12:54:17 model_weights.h5 already exist and didn't need to update ERROR in datou_step_exec, will save and exit ! assertion failed: [0] [Op:Assert] name: EagerVariableNameReuse File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2339, in datou_exec output = datou_step_exec(sNext, args, cache, context, map_info, verbose, mtr_user_id) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2533, in datou_step_exec return lib_process.datou_step_tfhub2(param, json_param, args, cache, context, map_info, verbose) File "/home/admin/workarea/git/Velours/python/mtr/datou/lib_step_exec/lib_step_process.py", line 3139, in datou_step_tfhub2 this_model = model_evaluator(model_name, model_type=model_type, fc_size=fc_size,use_multi_inputs=use_multi_inputs) File "/home/admin/workarea/git/Velours/python/mtr/tfhub2/evaluate.py", line 156, in __init__ self.model, _, _ = create_tfhub_model(module_handle=self.tfhub_module, File "/home/admin/workarea/git/Velours/python/mtr/tfhub2/evaluate.py", line 77, in create_tfhub_model hub.KerasLayer(module_handle, trainable=do_fine_tuning, name="module"), File "/home/admin/.local/lib/python3.8/site-packages/tensorflow_hub/keras_layer.py", line 152, in __init__ self._func = load_module(handle, tags, self._load_options) File "/home/admin/.local/lib/python3.8/site-packages/tensorflow_hub/keras_layer.py", line 421, in load_module return module_v2.load(handle, tags=tags, options=set_load_options) File "/home/admin/.local/lib/python3.8/site-packages/tensorflow_hub/module_v2.py", line 106, in load obj = tf.compat.v1.saved_model.load_v2(module_path, tags=tags) File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/saved_model/load.py", line 578, in load return load_internal(export_dir, tags) File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/saved_model/load.py", line 602, in load_internal loader = loader_cls(object_graph_proto, File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/saved_model/load.py", line 123, in __init__ self._load_all() File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/saved_model/load.py", line 134, in _load_all self._load_nodes() File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/saved_model/load.py", line 264, in _load_nodes node, setter = self._recreate(proto, node_id) File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/saved_model/load.py", line 370, in _recreate return factory[kind]() File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/saved_model/load.py", line 363, in "variable": lambda: self._recreate_variable(proto.variable), File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/saved_model/load.py", line 426, in _recreate_variable return variables.Variable( File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/ops/variables.py", line 261, in __call__ return cls._variable_v2_call(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/ops/variables.py", line 243, in _variable_v2_call return previous_getter( File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/ops/variables.py", line 66, in getter return captured_getter(captured_previous, **kwargs) File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/saved_model/load.py", line 418, in uninitialized_variable_creator return resource_variable_ops.UninitializedVariable(**kwargs) File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/ops/variables.py", line 263, in __call__ return super(VariableMetaclass, cls).__call__(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/ops/resource_variable_ops.py", line 1795, in __init__ handle = _variable_handle_from_shape_and_dtype( File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/ops/resource_variable_ops.py", line 174, in _variable_handle_from_shape_and_dtype gen_logging_ops._assert( # pylint: disable=protected-access File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/ops/gen_logging_ops.py", line 55, in _assert _ops.raise_from_not_ok_status(e, name) File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/framework/ops.py", line 6653, in raise_from_not_ok_status six.raise_from(core._status_to_exception(e.code, message), None) File "", line 3, in raise_from [1385807966, 1385807963, 1385807960, 1385807957, 1385807955, 1385807952, 1385807490, 1385807486, 1385807484, 1385807481, 1385807476, 1385807474, 1385806940, 1385806938, 1385806936] begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.020046234130859375 save_final ERROR in last step tfhub_classification2, assertion failed: [0] [Op:Assert] name: EagerVariableNameReuse time spend for datou_step_exec : 24.10784912109375 time spend to save output : 0.028875112533569336 total time spend for step 5 : 24.13672423362732 need to delete datou_research and reload, so keep current state 1 caffe_path_current : About to save ! 2 After save, about to update current ! 259.12user 158.88system 7:30.18elapsed 92%CPU (0avgtext+0avgdata 3848968maxresident)k 3217384inputs+281704outputs (73947major+14506271minor)pagefaults 0swaps