python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 10 -a ' -a 3459 -l 10 ' -s datou_current_3459 -M 0 -S 0 -U 95,95,80 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 2729093 load datou : 3459 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? output optionnel thcl was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) load thcls load THCL from format json or kwargs add thcl : 2456 in CacheModelConfig load THCL from format json or kwargs add thcl : 2868 in CacheModelConfig load THCL from format json or kwargs add thcl : 2896 in CacheModelConfig load pdts add pdt : 4999 in CacheModelConfig add pdt : 5288 in CacheModelConfig add pdt : 5309 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 we have a portfolio with more photos than limit : 248>10 please execute split_portfolio.py -i 20037599 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2525301'] with mtr_portfolio_ids : ['20037599'] and first list_photo_ids : [] new path : /proc/2729093/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.6529197692871094 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Sat Feb 8 07:06:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory havn't enough memory gpu , need / 3000 l 3632 free memory gpu now : 1157 wait 20 seconds l 3637 free memory gpu now : 1157 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-08 07:06:54.783480: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-02-08 07:06:54.811237: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-08 07:06:54.813406: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f85f8000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-08 07:06:54.813467: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-08 07:06:54.817553: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-08 07:06:55.074072: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x42edb900 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-08 07:06:55.074137: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-08 07:06:55.075278: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-08 07:06:55.076041: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-08 07:06:55.080777: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-08 07:06:55.085017: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-08 07:06:55.085557: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-08 07:06:55.091576: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-08 07:06:55.093375: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-08 07:06:55.102359: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-08 07:06:55.103624: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-08 07:06:55.103717: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-08 07:06:55.104386: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-08 07:06:55.104406: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-08 07:06:55.104417: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-08 07:06:55.105503: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2803 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-02-08 07:06:55.440563: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-08 07:06:55.440677: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-08 07:06:55.440699: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-08 07:06:55.440717: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-08 07:06:55.440734: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-08 07:06:55.440751: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-08 07:06:55.440768: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-08 07:06:55.440786: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-08 07:06:55.441726: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-08 07:06:55.442857: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-08 07:06:55.442917: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-08 07:06:55.442937: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-08 07:06:55.442951: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-08 07:06:55.442965: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-08 07:06:55.442979: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-08 07:06:55.442993: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-08 07:06:55.443007: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-08 07:06:55.443859: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-08 07:06:55.443893: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-08 07:06:55.443902: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-08 07:06:55.443910: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-08 07:06:55.444820: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2803 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-02-08 07:07:03.160941: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-08 07:07:03.337528: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-08 07:07:04.869907: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:04.869974: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-08 07:07:04.870578: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:04.870594: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-08 07:07:04.877617: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:04.877637: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-08 07:07:04.878232: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:04.878247: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-08 07:07:04.884804: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:04.884823: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 466.56MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-08 07:07:04.885417: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:04.885432: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 466.56MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-08 07:07:04.916046: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:04.916069: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-08 07:07:04.916675: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:04.916689: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-08 07:07:04.922527: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:04.922545: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 243.25MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-08 07:07:04.923161: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:04.923178: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 243.25MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-08 07:07:04.956946: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:04.957556: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:04.959464: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:04.960068: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.000244: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.000968: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.002958: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.003566: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.028703: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.029308: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.030912: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.031513: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.041543: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.042202: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.044053: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.044909: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.051164: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.051921: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.053474: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.054114: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.080831: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.081491: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.082106: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.082722: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.086340: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.087025: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.103806: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.104424: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.105026: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.105626: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.118697: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.119355: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.120006: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.120650: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.125158: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.125760: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.130447: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.131078: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.143453: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.144084: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.148223: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.148818: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.149410: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.150007: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.150752: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.151361: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.161915: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.162504: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.163122: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.163781: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.164428: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.165055: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.180076: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.180729: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.240656: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.241303: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.249241: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.249835: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.271588: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.272516: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.273410: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.274302: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.278719: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.279628: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.280367: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.280954: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.282524: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.282540: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-02-08 07:07:05.292101: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.292696: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.301615: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.302214: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.302817: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.303471: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.304130: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-08 07:07:05.304852: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.24G (2404253696 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 4 Detection mask done ! Trying to reset tf kernel 2729999 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 2062 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 3255 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.0007014274597167969 nb_pixel_total : 28657 time to create 1 rle with old method : 0.03693222999572754 length of segment : 240 time for calcul the mask position with numpy : 0.004522085189819336 nb_pixel_total : 183040 time to create 1 rle with new method : 0.10795426368713379 length of segment : 792 time for calcul the mask position with numpy : 0.0011677742004394531 nb_pixel_total : 87521 time to create 1 rle with old method : 0.09389352798461914 length of segment : 373 time for calcul the mask position with numpy : 0.0001087188720703125 nb_pixel_total : 3205 time to create 1 rle with old method : 0.0038008689880371094 length of segment : 95 time for calcul the mask position with numpy : 0.009115457534790039 nb_pixel_total : 675589 time to create 1 rle with new method : 0.04059338569641113 length of segment : 1793 time for calcul the mask position with numpy : 0.0021219253540039062 nb_pixel_total : 168965 time to create 1 rle with new method : 0.005085945129394531 length of segment : 586 time for calcul the mask position with numpy : 0.00037097930908203125 nb_pixel_total : 27533 time to create 1 rle with old method : 0.02900838851928711 length of segment : 232 time for calcul the mask position with numpy : 0.00022935867309570312 nb_pixel_total : 9952 time to create 1 rle with old method : 0.011022806167602539 length of segment : 152 time for calcul the mask position with numpy : 0.00115203857421875 nb_pixel_total : 87694 time to create 1 rle with old method : 0.0942986011505127 length of segment : 385 time for calcul the mask position with numpy : 0.0019910335540771484 nb_pixel_total : 129993 time to create 1 rle with old method : 0.14107036590576172 length of segment : 619 time for calcul the mask position with numpy : 0.00011777877807617188 nb_pixel_total : 4943 time to create 1 rle with old method : 0.0062313079833984375 length of segment : 89 time for calcul the mask position with numpy : 0.00014591217041015625 nb_pixel_total : 7020 time to create 1 rle with old method : 0.008429765701293945 length of segment : 107 time for calcul the mask position with numpy : 0.0005078315734863281 nb_pixel_total : 29983 time to create 1 rle with old method : 0.034146785736083984 length of segment : 202 time for calcul the mask position with numpy : 0.007163047790527344 nb_pixel_total : 540131 time to create 1 rle with new method : 0.016859769821166992 length of segment : 1458 time for calcul the mask position with numpy : 0.0006418228149414062 nb_pixel_total : 54796 time to create 1 rle with old method : 0.060535430908203125 length of segment : 199 time for calcul the mask position with numpy : 0.00011777877807617188 nb_pixel_total : 4709 time to create 1 rle with old method : 0.0053043365478515625 length of segment : 114 time for calcul the mask position with numpy : 0.00012969970703125 nb_pixel_total : 6438 time to create 1 rle with old method : 0.007921695709228516 length of segment : 122 time for calcul the mask position with numpy : 0.0004494190216064453 nb_pixel_total : 36159 time to create 1 rle with old method : 0.04309368133544922 length of segment : 218 time for calcul the mask position with numpy : 0.0028717517852783203 nb_pixel_total : 180827 time to create 1 rle with new method : 0.005155801773071289 length of segment : 430 time for calcul the mask position with numpy : 0.007371425628662109 nb_pixel_total : 419441 time to create 1 rle with new method : 0.026226520538330078 length of segment : 1333 time for calcul the mask position with numpy : 0.007440090179443359 nb_pixel_total : 472004 time to create 1 rle with new method : 0.014116048812866211 length of segment : 995 time for calcul the mask position with numpy : 0.00031685829162597656 nb_pixel_total : 3622 time to create 1 rle with old method : 0.005234718322753906 length of segment : 114 time for calcul the mask position with numpy : 0.0005154609680175781 nb_pixel_total : 24987 time to create 1 rle with old method : 0.02844858169555664 length of segment : 121 time for calcul the mask position with numpy : 0.012192487716674805 nb_pixel_total : 649436 time to create 1 rle with new method : 0.04022097587585449 length of segment : 1407 time for calcul the mask position with numpy : 0.00012421607971191406 nb_pixel_total : 5144 time to create 1 rle with old method : 0.005864143371582031 length of segment : 64 time for calcul the mask position with numpy : 0.0002884864807128906 nb_pixel_total : 22412 time to create 1 rle with old method : 0.02441859245300293 length of segment : 184 time for calcul the mask position with numpy : 0.0019428730010986328 nb_pixel_total : 144179 time to create 1 rle with old method : 0.15665483474731445 length of segment : 546 time for calcul the mask position with numpy : 0.0005016326904296875 nb_pixel_total : 11696 time to create 1 rle with old method : 0.012426137924194336 length of segment : 299 time for calcul the mask position with numpy : 0.0035219192504882812 nb_pixel_total : 210294 time to create 1 rle with new method : 0.006692171096801758 length of segment : 1208 time for calcul the mask position with numpy : 0.0062923431396484375 nb_pixel_total : 414400 time to create 1 rle with new method : 0.16540217399597168 length of segment : 1539 time for calcul the mask position with numpy : 0.001195669174194336 nb_pixel_total : 91345 time to create 1 rle with old method : 0.10080790519714355 length of segment : 370 time for calcul the mask position with numpy : 0.0006625652313232422 nb_pixel_total : 36512 time to create 1 rle with old method : 0.04139065742492676 length of segment : 155 time for calcul the mask position with numpy : 0.00027823448181152344 nb_pixel_total : 17293 time to create 1 rle with old method : 0.019402027130126953 length of segment : 126 time for calcul the mask position with numpy : 0.00015974044799804688 nb_pixel_total : 11042 time to create 1 rle with old method : 0.012447357177734375 length of segment : 68 time for calcul the mask position with numpy : 0.0014159679412841797 nb_pixel_total : 91896 time to create 1 rle with old method : 0.09883451461791992 length of segment : 440 time for calcul the mask position with numpy : 0.0009756088256835938 nb_pixel_total : 35529 time to create 1 rle with old method : 0.038147926330566406 length of segment : 413 time for calcul the mask position with numpy : 7.152557373046875e-05 nb_pixel_total : 2408 time to create 1 rle with old method : 0.0028295516967773438 length of segment : 48 time for calcul the mask position with numpy : 0.0029489994049072266 nb_pixel_total : 183443 time to create 1 rle with new method : 0.004567861557006836 length of segment : 921 time for calcul the mask position with numpy : 0.00785970687866211 nb_pixel_total : 512126 time to create 1 rle with new method : 0.03206992149353027 length of segment : 1613 time for calcul the mask position with numpy : 0.0007541179656982422 nb_pixel_total : 25555 time to create 1 rle with old method : 0.028331756591796875 length of segment : 128 time for calcul the mask position with numpy : 0.0006985664367675781 nb_pixel_total : 18870 time to create 1 rle with old method : 0.020839214324951172 length of segment : 315 time for calcul the mask position with numpy : 0.015263557434082031 nb_pixel_total : 633933 time to create 1 rle with new method : 0.04076051712036133 length of segment : 1126 time for calcul the mask position with numpy : 0.0007112026214599609 nb_pixel_total : 46817 time to create 1 rle with old method : 0.05168938636779785 length of segment : 188 time for calcul the mask position with numpy : 0.0001952648162841797 nb_pixel_total : 10948 time to create 1 rle with old method : 0.012768268585205078 length of segment : 158 time for calcul the mask position with numpy : 0.004333019256591797 nb_pixel_total : 333951 time to create 1 rle with new method : 0.01465153694152832 length of segment : 1398 time for calcul the mask position with numpy : 0.0009000301361083984 nb_pixel_total : 50185 time to create 1 rle with old method : 0.0550081729888916 length of segment : 226 time for calcul the mask position with numpy : 0.005647420883178711 nb_pixel_total : 375821 time to create 1 rle with new method : 0.009182929992675781 length of segment : 993 time for calcul the mask position with numpy : 0.00013899803161621094 nb_pixel_total : 2293 time to create 1 rle with old method : 0.0027043819427490234 length of segment : 69 time for calcul the mask position with numpy : 0.003787517547607422 nb_pixel_total : 277880 time to create 1 rle with new method : 0.01008915901184082 length of segment : 1260 time spent for convertir_results : 5.293823480606079 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 64 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 26031 save missing photos in datou_result : time spend for datou_step_exec : 46.78915286064148 time spend to save output : 152.60470390319824 total time spend for step 1 : 199.39385676383972 step2:crop_condition Sat Feb 8 07:09:50 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3663 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 64 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 ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 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 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 ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! we have finished the crop for the class : 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 ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! we have finished the crop for the class : 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 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 [1332455774, 1332455773, 1332455769, 1332455748, 1332455727, 1332455724, 1332455625, 1332455444, 1332455442, 1332455421] Looping around the photos to save general results len do output : 26 /-3641673005Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673007Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673014Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673015Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673013Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673021Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673030Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673034Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3661595798Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3661813834Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673010Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673009Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673017Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673024Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673029Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673028Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673027Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673037Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673043Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673048Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3661813833Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673036Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673039Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673035Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673045Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3641673011Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2525301') ('3459', None, '1332455774', None, None, None, None, None, '2525301') ('3459', None, None, None, None, None, None, None, '2525301') ('3459', None, '1332455773', None, None, None, None, None, '2525301') ('3459', None, None, None, None, None, None, None, '2525301') ('3459', None, '1332455769', None, None, None, None, None, '2525301') ('3459', None, None, None, None, None, None, None, '2525301') ('3459', None, '1332455748', None, None, None, None, None, '2525301') ('3459', None, None, None, None, None, None, None, '2525301') ('3459', None, '1332455727', None, None, None, None, None, '2525301') ('3459', None, None, None, None, None, None, None, '2525301') ('3459', None, '1332455724', None, None, None, None, None, '2525301') ('3459', None, None, None, None, None, None, None, '2525301') ('3459', None, '1332455625', None, None, None, None, None, '2525301') ('3459', None, None, None, None, None, None, None, '2525301') ('3459', None, '1332455444', None, None, None, None, None, '2525301') ('3459', None, None, None, None, None, None, None, '2525301') ('3459', None, '1332455442', None, None, None, None, None, '2525301') ('3459', None, None, None, None, None, None, None, '2525301') ('3459', None, '1332455421', None, None, None, None, None, '2525301') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 88 Catched exception ! Connect or reconnect ! exception in save_final Unable to connect to sql.fotonower.com : (2003, "Can't connect to MySQL server on 'sql.fotonower.com:3306' (111)") query : insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_tup_unique : [('3459', None, '-3641673005', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673007', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673014', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673015', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673013', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673021', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673030', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673034', 'None', None, None, None, None, '2525301'), ('3459', None, '-3661595798', 'None', None, None, None, None, '2525301'), ('3459', None, '-3661813834', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673010', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673009', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673017', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673024', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673029', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673028', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673027', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673037', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673043', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673048', 'None', None, None, None, None, '2525301'), ('3459', None, '-3661813833', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673036', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673039', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673035', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673045', 'None', None, None, None, None, '2525301'), ('3459', None, '-3641673011', 'None', None, None, None, None, '2525301'), ('3459', None, '1332455774', None, None, None, None, None, '2525301'), ('3459', None, '1332455773', None, None, None, None, None, '2525301'), ('3459', None, '1332455769', None, None, None, None, None, '2525301'), ('3459', None, '1332455748', None, None, None, None, None, '2525301'), ('3459', None, '1332455727', None, None, None, None, None, '2525301'), ('3459', None, '1332455724', None, None, None, None, None, '2525301'), ('3459', None, '1332455625', None, None, None, None, None, '2525301'), ('3459', None, '1332455444', None, None, None, None, None, '2525301'), ('3459', None, '1332455442', None, None, None, None, None, '2525301'), ('3459', None, '1332455421', None, None, None, None, None, '2525301')] time used for this insertion : 0.0903787612915039 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.166944980621338 time spend to save output : 0.09184026718139648 total time spend for step 2 : 11.258785247802734 step3:thcl Sat Feb 8 07:10:02 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step Thcl ! nombre de thcls : 2 we are using the classfication for multi_thcl [2456, 2868] time to import caffe and check if the image exist : 0.007517337799072266 time to convert the images to numpy array : 2.384185791015625e-06 time to import caffe and check if the image exist : 0.010703325271606445 time to convert the images to numpy array : 0.009758949279785156 time to import caffe and check if the image exist : 0.008219718933105469 time to convert the images to numpy array : 0.01468801498413086 time to import caffe and check if the image exist : 0.00550389289855957 time to convert the images to numpy array : 0.02138829231262207 time to import caffe and check if the image exist : 0.00417327880859375 time to convert the images to numpy array : 0.024204015731811523 time to import caffe and check if the image exist : 0.008975505828857422 time to convert the images to numpy array : 0.022612810134887695 time to import caffe and check if the image exist : 0.004801034927368164 time to convert the images to numpy array : 0.03742527961730957 time to import caffe and check if the image exist : 0.0045931339263916016 time to convert the images to numpy array : 0.04747748374938965 time to import caffe and check if the image exist : 0.008252143859863281 time to convert the images to numpy array : 0.050893545150756836 time to import caffe and check if the image exist : 0.006247043609619141 time to convert the images to numpy array : 0.06962466239929199 total time to convert the images to numpy array : 0.2623412609100342 list photo_ids error: [] list photo_ids correct : [-3641673036, -3641673039, -3641673035, -3641673043, -3641673048, -3661813833, -3641673028, -3641673027, -3641673037, -3641673005, -3641673007, -3641673014, -3641673045, -3641673011, -3641673015, -3641673013, -3641673021, -3641673017, -3641673024, -3641673029, -3661813834, -3641673010, -3641673009, -3641673030, -3641673034, -3661595798] number of photos to traite : 26 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 Catched exception ! Connect or reconnect ! ERROR in datou_step_exec, will save and exit ! Unable to connect to sql.fotonower.com : (2003, "Can't connect to MySQL server on 'sql.fotonower.com:3306' (111)") File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2329, 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 2426, in datou_step_exec return lib_process.datou_step_thcl(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 176, in datou_step_thcl photo_desc_type, list_hashtags = context.load_thcl_param(thclid, verbose) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 1806, in load_thcl_param return self.cache_model_config.load_thcl_param(self.cat, thclid, verbose) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2091, in load_thcl_param pb_hashtag_id_or_classifier) = self.get_desc_type_from_thcl(thclid, cat, verbose) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2131, in get_desc_type_from_thcl thcls = cat.getClassificationThemes(0, False, thclid, verbose) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/classification_admin_tools.py", line 67, in getClassificationThemes thcls = self.gq.select(query) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 77, in select self.connect() File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 46, in connect raise Exception("Unable to connect to " + str(self.host) + " : " + str(e)) [1332455774, 1332455773, 1332455769, 1332455748, 1332455727, 1332455724, 1332455625, 1332455444, 1332455442, 1332455421] begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 Catched exception ! Connect or reconnect ! exception in save_final Unable to connect to sql.fotonower.com : (2003, "Can't connect to MySQL server on 'sql.fotonower.com:3306' (111)") query : insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_tup_unique : [('3459', None, '1332455774', '[>, , , , \'Unable to connect to sql.fotonower.com : (2003, "Can\\\'t connect to MySQL server on \\\'sql.fotonower.com:3306\\\' (111)")\']', '-1', '-1.0', '501120777', '1.0', '2525301'), ('3459', None, '1332455773', '[>, , , , \'Unable to connect to sql.fotonower.com : (2003, "Can\\\'t connect to MySQL server on \\\'sql.fotonower.com:3306\\\' (111)")\']', '-1', '-1.0', '501120777', '1.0', '2525301'), ('3459', None, '1332455769', '[>, , , , \'Unable to connect to sql.fotonower.com : (2003, "Can\\\'t connect to MySQL server on \\\'sql.fotonower.com:3306\\\' (111)")\']', '-1', '-1.0', '501120777', '1.0', '2525301'), ('3459', None, '1332455748', '[>, , , , \'Unable to connect to sql.fotonower.com : (2003, "Can\\\'t connect to MySQL server on \\\'sql.fotonower.com:3306\\\' (111)")\']', '-1', '-1.0', '501120777', '1.0', '2525301'), ('3459', None, '1332455727', '[>, , , , \'Unable to connect to sql.fotonower.com : (2003, "Can\\\'t connect to MySQL server on \\\'sql.fotonower.com:3306\\\' (111)")\']', '-1', '-1.0', '501120777', '1.0', '2525301'), ('3459', None, '1332455724', '[>, , , , \'Unable to connect to sql.fotonower.com : (2003, "Can\\\'t connect to MySQL server on \\\'sql.fotonower.com:3306\\\' (111)")\']', '-1', '-1.0', '501120777', '1.0', '2525301'), ('3459', None, '1332455625', '[>, , , , \'Unable to connect to sql.fotonower.com : (2003, "Can\\\'t connect to MySQL server on \\\'sql.fotonower.com:3306\\\' (111)")\']', '-1', '-1.0', '501120777', '1.0', '2525301'), ('3459', None, '1332455444', '[>, , , , \'Unable to connect to sql.fotonower.com : (2003, "Can\\\'t connect to MySQL server on \\\'sql.fotonower.com:3306\\\' (111)")\']', '-1', '-1.0', '501120777', '1.0', '2525301'), ('3459', None, '1332455442', '[>, , , , \'Unable to connect to sql.fotonower.com : (2003, "Can\\\'t connect to MySQL server on \\\'sql.fotonower.com:3306\\\' (111)")\']', '-1', '-1.0', '501120777', '1.0', '2525301'), ('3459', None, '1332455421', '[>, , , , \'Unable to connect to sql.fotonower.com : (2003, "Can\\\'t connect to MySQL server on \\\'sql.fotonower.com:3306\\\' (111)")\']', '-1', '-1.0', '501120777', '1.0', '2525301')] time used for this insertion : 0.014255523681640625 save_final ERROR in last step thcl, Unable to connect to sql.fotonower.com : (2003, "Can't connect to MySQL server on 'sql.fotonower.com:3306' (111)") time spend for datou_step_exec : 0.3836803436279297 time spend to save output : 0.017080068588256836 total time spend for step 2 : 0.4007604122161865 Catched exception ! Connect or reconnect ! Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 68, in select cursor.execute(query, args) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 209, in execute res = self._query(query) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 315, in _query db.query(q) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/connections.py", line 239, in query _mysql.connection.query(self, query) MySQLdb._exceptions.OperationalError: (2013, 'Lost connection to MySQL server during query') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 43, in connect self.db = MySQLdb.connect(host=self.host, db=self.dbname, user=self.user, passwd=self.password) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/__init__.py", line 84, in Connect return Connection(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/connections.py", line 179, in __init__ super(Connection, self).__init__(*args, **kwargs2) MySQLdb._exceptions.OperationalError: (2003, "Can't connect to MySQL server on 'sql.fotonower.com:3306' (111)") During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2329, 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 2426, in datou_step_exec return lib_process.datou_step_thcl(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 176, in datou_step_thcl photo_desc_type, list_hashtags = context.load_thcl_param(thclid, verbose) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 1806, in load_thcl_param return self.cache_model_config.load_thcl_param(self.cat, thclid, verbose) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2091, in load_thcl_param pb_hashtag_id_or_classifier) = self.get_desc_type_from_thcl(thclid, cat, verbose) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2131, in get_desc_type_from_thcl thcls = cat.getClassificationThemes(0, False, thclid, verbose) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/classification_admin_tools.py", line 67, in getClassificationThemes thcls = self.gq.select(query) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 77, in select self.connect() File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 46, in connect raise Exception("Unable to connect to " + str(self.host) + " : " + str(e)) Exception: Unable to connect to sql.fotonower.com : (2003, "Can't connect to MySQL server on 'sql.fotonower.com:3306' (111)") During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 100, in insert number = cursor.execute(query, args) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 209, in execute res = self._query(query) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 315, in _query db.query(q) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/connections.py", line 239, in query _mysql.connection.query(self, query) MySQLdb._exceptions.OperationalError: (2013, 'Lost connection to MySQL server during query') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 43, in connect self.db = MySQLdb.connect(host=self.host, db=self.dbname, user=self.user, passwd=self.password) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/__init__.py", line 84, in Connect return Connection(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/connections.py", line 179, in __init__ super(Connection, self).__init__(*args, **kwargs2) MySQLdb._exceptions.OperationalError: (2003, "Can't connect to MySQL server on 'sql.fotonower.com:3306' (111)") During handling of the above exception, another exception occurred: Traceback (most recent call last): File "prod/datou.py", line 270, in ret = batchDatouCurrent(context, datou_id, mtr_portfolio_ids, list_photo_ids, limit, offset, rand, save, File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 621, in batchDatouCurrent ret = batchDatouExec(context, datou_id, mtr_portfolio_ids, list_photo_ids, list_input_json, limit, File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 819, in batchDatouExec output, datou_failed_to_relaunch = datou_exec(datou, input, cache, context, map_info, save, list_pids, verbose, mtr_user_id, is_last_batch, end_time) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2368, in datou_exec context.update_current_state(map_info["datou_cur_ids"], 0, verbose) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 1875, in update_current_state self.DQ.update_current_state(map_info_datou_cur_ids, status, verbose) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/datou_queries.py", line 170, in update_current_state self.gq.insert(query) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 110, in insert self.connect() File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 46, in connect raise Exception("Unable to connect to " + str(self.host) + " : " + str(e)) Exception: Unable to connect to sql.fotonower.com : (2003, "Can't connect to MySQL server on 'sql.fotonower.com:3306' (111)") Command exited with non-zero status 1 25.57user 15.30system 3:36.44elapsed 18%CPU (0avgtext+0avgdata 2612124maxresident)k 929272inputs+11600outputs (2722major+1140347minor)pagefaults 0swaps