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 : 1527716 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 : 34>10 please execute split_portfolio.py -i 21164247 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2650183'] with mtr_portfolio_ids : ['21164247'] and first list_photo_ids : [] new path : /proc/1527716/ 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.936943769454956 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 Mar 8 00:44:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5841 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-08 00:44:32.193498: 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-03-08 00:44:32.219053: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-08 00:44:32.221247: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f1f00000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-08 00:44:32.221306: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-08 00:44:32.225464: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-08 00:44:32.457357: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x19456fd0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-08 00:44:32.457422: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-08 00:44:32.458737: 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-03-08 00:44:32.459220: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 00:44:32.462701: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 00:44:32.465570: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-08 00:44:32.466012: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-08 00:44:32.468873: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-08 00:44:32.470233: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-08 00:44:32.475129: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-08 00:44:32.476381: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-08 00:44:32.476466: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 00:44:32.477099: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-08 00:44:32.477115: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-08 00:44:32.477124: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-08 00:44:32.478206: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5348 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-03-08 00:44:32.765041: 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-03-08 00:44:32.765166: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 00:44:32.765188: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 00:44:32.765208: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-08 00:44:32.765230: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-08 00:44:32.765253: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-08 00:44:32.766204: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-08 00:44:32.766233: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-08 00:44:32.767645: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-08 00:44:32.768964: 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-03-08 00:44:32.769024: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 00:44:32.769046: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 00:44:32.769065: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-08 00:44:32.769083: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-08 00:44:32.769101: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-08 00:44:32.769118: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-08 00:44:32.769136: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-08 00:44:32.770471: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-08 00:44:32.770507: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-08 00:44:32.770520: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-08 00:44:32.770531: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-08 00:44:32.771884: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5348 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-03-08 00:44:43.947932: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 00:44:44.122471: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 150.86367 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 22 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 150.82406 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 26 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 25 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 22 Detection mask done ! Trying to reset tf kernel 1528109 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 552 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 : 5841 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 : 1.0800738334655762 nb_pixel_total : 3979700 time to create 1 rle with new method : 0.7887392044067383 length of segment : 3581 time for calcul the mask position with numpy : 0.0015802383422851562 nb_pixel_total : 97983 time to create 1 rle with old method : 0.1753237247467041 length of segment : 573 time for calcul the mask position with numpy : 0.009490013122558594 nb_pixel_total : 465999 time to create 1 rle with new method : 0.0241091251373291 length of segment : 1139 time for calcul the mask position with numpy : 0.007003307342529297 nb_pixel_total : 342402 time to create 1 rle with new method : 0.012337446212768555 length of segment : 698 time for calcul the mask position with numpy : 0.4525885581970215 nb_pixel_total : 3453744 time to create 1 rle with new method : 0.8223543167114258 length of segment : 3738 time for calcul the mask position with numpy : 0.0012984275817871094 nb_pixel_total : 33473 time to create 1 rle with old method : 0.03581070899963379 length of segment : 380 time for calcul the mask position with numpy : 0.0011496543884277344 nb_pixel_total : 59199 time to create 1 rle with old method : 0.06701970100402832 length of segment : 268 time for calcul the mask position with numpy : 0.0004024505615234375 nb_pixel_total : 14528 time to create 1 rle with old method : 0.016473054885864258 length of segment : 170 time for calcul the mask position with numpy : 0.0008289813995361328 nb_pixel_total : 10509 time to create 1 rle with old method : 0.012475013732910156 length of segment : 264 time for calcul the mask position with numpy : 0.00026607513427734375 nb_pixel_total : 3960 time to create 1 rle with old method : 0.004665374755859375 length of segment : 91 time for calcul the mask position with numpy : 0.0038967132568359375 nb_pixel_total : 102859 time to create 1 rle with old method : 0.11768841743469238 length of segment : 410 time for calcul the mask position with numpy : 0.0010771751403808594 nb_pixel_total : 43998 time to create 1 rle with old method : 0.04698920249938965 length of segment : 210 time for calcul the mask position with numpy : 0.0010828971862792969 nb_pixel_total : 36554 time to create 1 rle with old method : 0.040695905685424805 length of segment : 209 time for calcul the mask position with numpy : 0.0007345676422119141 nb_pixel_total : 22749 time to create 1 rle with old method : 0.025020837783813477 length of segment : 163 time for calcul the mask position with numpy : 0.004957914352416992 nb_pixel_total : 136395 time to create 1 rle with old method : 0.15603089332580566 length of segment : 484 time for calcul the mask position with numpy : 0.003313302993774414 nb_pixel_total : 115800 time to create 1 rle with old method : 0.12236905097961426 length of segment : 638 time for calcul the mask position with numpy : 0.0006763935089111328 nb_pixel_total : 13942 time to create 1 rle with old method : 0.015588998794555664 length of segment : 261 time for calcul the mask position with numpy : 0.0019769668579101562 nb_pixel_total : 77724 time to create 1 rle with old method : 0.08642101287841797 length of segment : 355 time for calcul the mask position with numpy : 0.0011196136474609375 nb_pixel_total : 42578 time to create 1 rle with old method : 0.04724884033203125 length of segment : 208 time for calcul the mask position with numpy : 0.0003986358642578125 nb_pixel_total : 10891 time to create 1 rle with old method : 0.012297630310058594 length of segment : 119 time for calcul the mask position with numpy : 0.0013339519500732422 nb_pixel_total : 26750 time to create 1 rle with old method : 0.02995467185974121 length of segment : 233 time for calcul the mask position with numpy : 0.00032830238342285156 nb_pixel_total : 7673 time to create 1 rle with old method : 0.008950948715209961 length of segment : 99 time for calcul the mask position with numpy : 0.0009789466857910156 nb_pixel_total : 70993 time to create 1 rle with old method : 0.08095288276672363 length of segment : 346 time for calcul the mask position with numpy : 0.0003895759582519531 nb_pixel_total : 21253 time to create 1 rle with old method : 0.023569583892822266 length of segment : 157 time for calcul the mask position with numpy : 0.003145456314086914 nb_pixel_total : 126556 time to create 1 rle with old method : 0.13792800903320312 length of segment : 539 time for calcul the mask position with numpy : 0.003592252731323242 nb_pixel_total : 106070 time to create 1 rle with old method : 0.12021541595458984 length of segment : 563 time for calcul the mask position with numpy : 0.007342338562011719 nb_pixel_total : 317733 time to create 1 rle with new method : 0.013192176818847656 length of segment : 460 time for calcul the mask position with numpy : 0.008879899978637695 nb_pixel_total : 209189 time to create 1 rle with new method : 0.01923513412475586 length of segment : 1099 time for calcul the mask position with numpy : 0.0011649131774902344 nb_pixel_total : 31901 time to create 1 rle with old method : 0.03451347351074219 length of segment : 348 time for calcul the mask position with numpy : 0.000293731689453125 nb_pixel_total : 5423 time to create 1 rle with old method : 0.006221294403076172 length of segment : 182 time for calcul the mask position with numpy : 0.0029609203338623047 nb_pixel_total : 104467 time to create 1 rle with old method : 0.11139726638793945 length of segment : 1168 time for calcul the mask position with numpy : 0.0004241466522216797 nb_pixel_total : 10556 time to create 1 rle with old method : 0.011442184448242188 length of segment : 166 time for calcul the mask position with numpy : 8.344650268554688e-05 nb_pixel_total : 2124 time to create 1 rle with old method : 0.0024344921112060547 length of segment : 75 time for calcul the mask position with numpy : 0.0004975795745849609 nb_pixel_total : 16198 time to create 1 rle with old method : 0.017160654067993164 length of segment : 178 time for calcul the mask position with numpy : 0.001734018325805664 nb_pixel_total : 77068 time to create 1 rle with old method : 0.0807943344116211 length of segment : 321 time for calcul the mask position with numpy : 0.0003094673156738281 nb_pixel_total : 14102 time to create 1 rle with old method : 0.01628255844116211 length of segment : 213 time for calcul the mask position with numpy : 0.0001804828643798828 nb_pixel_total : 286 time to create 1 rle with old method : 0.00045800209045410156 length of segment : 19 time for calcul the mask position with numpy : 0.00017499923706054688 nb_pixel_total : 6060 time to create 1 rle with old method : 0.007292985916137695 length of segment : 154 time for calcul the mask position with numpy : 0.0004763603210449219 nb_pixel_total : 14986 time to create 1 rle with old method : 0.016555070877075195 length of segment : 285 time for calcul the mask position with numpy : 0.0006475448608398438 nb_pixel_total : 9573 time to create 1 rle with old method : 0.012038230895996094 length of segment : 158 time for calcul the mask position with numpy : 0.00016021728515625 nb_pixel_total : 4726 time to create 1 rle with old method : 0.005504608154296875 length of segment : 66 time for calcul the mask position with numpy : 0.00011014938354492188 nb_pixel_total : 4544 time to create 1 rle with old method : 0.005332469940185547 length of segment : 68 time for calcul the mask position with numpy : 0.0009930133819580078 nb_pixel_total : 38613 time to create 1 rle with old method : 0.05082440376281738 length of segment : 248 time for calcul the mask position with numpy : 0.004193544387817383 nb_pixel_total : 167391 time to create 1 rle with new method : 0.0058367252349853516 length of segment : 614 time for calcul the mask position with numpy : 0.00548243522644043 nb_pixel_total : 200856 time to create 1 rle with new method : 0.008079290390014648 length of segment : 575 time for calcul the mask position with numpy : 0.0033872127532958984 nb_pixel_total : 152578 time to create 1 rle with new method : 0.0040225982666015625 length of segment : 465 time for calcul the mask position with numpy : 0.0005216598510742188 nb_pixel_total : 14803 time to create 1 rle with old method : 0.017624855041503906 length of segment : 99 time for calcul the mask position with numpy : 0.0007605552673339844 nb_pixel_total : 34923 time to create 1 rle with old method : 0.04039144515991211 length of segment : 257 time for calcul the mask position with numpy : 0.0017654895782470703 nb_pixel_total : 55800 time to create 1 rle with old method : 0.06383466720581055 length of segment : 395 time for calcul the mask position with numpy : 0.0005061626434326172 nb_pixel_total : 13331 time to create 1 rle with old method : 0.015385150909423828 length of segment : 104 time for calcul the mask position with numpy : 0.005307912826538086 nb_pixel_total : 198285 time to create 1 rle with new method : 0.009420394897460938 length of segment : 446 time for calcul the mask position with numpy : 0.002077341079711914 nb_pixel_total : 61145 time to create 1 rle with old method : 0.06659364700317383 length of segment : 488 time for calcul the mask position with numpy : 0.0006649494171142578 nb_pixel_total : 23709 time to create 1 rle with old method : 0.026500940322875977 length of segment : 103 time for calcul the mask position with numpy : 0.002226591110229492 nb_pixel_total : 92977 time to create 1 rle with old method : 0.10361003875732422 length of segment : 778 time for calcul the mask position with numpy : 0.0009655952453613281 nb_pixel_total : 15572 time to create 1 rle with old method : 0.01819586753845215 length of segment : 255 time for calcul the mask position with numpy : 0.000621795654296875 nb_pixel_total : 17016 time to create 1 rle with old method : 0.019752979278564453 length of segment : 147 time for calcul the mask position with numpy : 0.0005259513854980469 nb_pixel_total : 6793 time to create 1 rle with old method : 0.00862574577331543 length of segment : 119 time for calcul the mask position with numpy : 0.003171205520629883 nb_pixel_total : 127304 time to create 1 rle with old method : 0.1538541316986084 length of segment : 453 time for calcul the mask position with numpy : 0.0006716251373291016 nb_pixel_total : 37716 time to create 1 rle with old method : 0.04302263259887695 length of segment : 204 time for calcul the mask position with numpy : 0.002071380615234375 nb_pixel_total : 109188 time to create 1 rle with old method : 0.12134146690368652 length of segment : 370 time for calcul the mask position with numpy : 0.0014963150024414062 nb_pixel_total : 54635 time to create 1 rle with old method : 0.06204676628112793 length of segment : 270 time for calcul the mask position with numpy : 0.0007109642028808594 nb_pixel_total : 28546 time to create 1 rle with old method : 0.032718658447265625 length of segment : 227 time for calcul the mask position with numpy : 0.00027441978454589844 nb_pixel_total : 10939 time to create 1 rle with old method : 0.012744903564453125 length of segment : 148 time for calcul the mask position with numpy : 0.0006206035614013672 nb_pixel_total : 22418 time to create 1 rle with old method : 0.02540445327758789 length of segment : 225 time for calcul the mask position with numpy : 0.0006897449493408203 nb_pixel_total : 30465 time to create 1 rle with old method : 0.034044742584228516 length of segment : 205 time for calcul the mask position with numpy : 0.0019698143005371094 nb_pixel_total : 51280 time to create 1 rle with old method : 0.0742332935333252 length of segment : 625 time for calcul the mask position with numpy : 0.0005438327789306641 nb_pixel_total : 12821 time to create 1 rle with old method : 0.015161514282226562 length of segment : 133 time for calcul the mask position with numpy : 0.0007224082946777344 nb_pixel_total : 19580 time to create 1 rle with old method : 0.02279376983642578 length of segment : 231 time for calcul the mask position with numpy : 0.0002117156982421875 nb_pixel_total : 2819 time to create 1 rle with old method : 0.003324270248413086 length of segment : 82 time for calcul the mask position with numpy : 0.0010156631469726562 nb_pixel_total : 23807 time to create 1 rle with old method : 0.028119564056396484 length of segment : 334 time for calcul the mask position with numpy : 0.00015974044799804688 nb_pixel_total : 2200 time to create 1 rle with old method : 0.0026535987854003906 length of segment : 61 time for calcul the mask position with numpy : 0.0020189285278320312 nb_pixel_total : 56838 time to create 1 rle with old method : 0.06290531158447266 length of segment : 545 time for calcul the mask position with numpy : 0.0003838539123535156 nb_pixel_total : 9145 time to create 1 rle with old method : 0.010820388793945312 length of segment : 93 time for calcul the mask position with numpy : 0.001211404800415039 nb_pixel_total : 55733 time to create 1 rle with old method : 0.06311893463134766 length of segment : 216 time for calcul the mask position with numpy : 0.0006494522094726562 nb_pixel_total : 21505 time to create 1 rle with old method : 0.02418804168701172 length of segment : 200 time for calcul the mask position with numpy : 0.0017392635345458984 nb_pixel_total : 55036 time to create 1 rle with old method : 0.06209063529968262 length of segment : 620 time for calcul the mask position with numpy : 8.487701416015625e-05 nb_pixel_total : 1553 time to create 1 rle with old method : 0.0019137859344482422 length of segment : 36 time for calcul the mask position with numpy : 0.000985860824584961 nb_pixel_total : 28392 time to create 1 rle with old method : 0.032288312911987305 length of segment : 201 time for calcul the mask position with numpy : 0.0004858970642089844 nb_pixel_total : 10780 time to create 1 rle with old method : 0.012631416320800781 length of segment : 152 time for calcul the mask position with numpy : 0.0005946159362792969 nb_pixel_total : 26982 time to create 1 rle with old method : 0.030519485473632812 length of segment : 264 time for calcul the mask position with numpy : 0.0046863555908203125 nb_pixel_total : 163480 time to create 1 rle with new method : 0.00654292106628418 length of segment : 502 time for calcul the mask position with numpy : 0.0007038116455078125 nb_pixel_total : 22967 time to create 1 rle with old method : 0.02615952491760254 length of segment : 263 time for calcul the mask position with numpy : 0.003660440444946289 nb_pixel_total : 87523 time to create 1 rle with old method : 0.09770870208740234 length of segment : 451 time for calcul the mask position with numpy : 0.0021905899047851562 nb_pixel_total : 67254 time to create 1 rle with old method : 0.08830618858337402 length of segment : 368 time for calcul the mask position with numpy : 0.0009744167327880859 nb_pixel_total : 30159 time to create 1 rle with old method : 0.03424668312072754 length of segment : 205 time for calcul the mask position with numpy : 0.004095792770385742 nb_pixel_total : 134656 time to create 1 rle with old method : 0.15318918228149414 length of segment : 412 time for calcul the mask position with numpy : 0.0008096694946289062 nb_pixel_total : 18498 time to create 1 rle with old method : 0.022173404693603516 length of segment : 235 time for calcul the mask position with numpy : 0.019897937774658203 nb_pixel_total : 872097 time to create 1 rle with new method : 0.045981407165527344 length of segment : 1508 time for calcul the mask position with numpy : 0.0006535053253173828 nb_pixel_total : 13379 time to create 1 rle with old method : 0.015600442886352539 length of segment : 141 time for calcul the mask position with numpy : 0.002294778823852539 nb_pixel_total : 134730 time to create 1 rle with old method : 0.15213775634765625 length of segment : 364 time for calcul the mask position with numpy : 0.00018072128295898438 nb_pixel_total : 2254 time to create 1 rle with old method : 0.0028595924377441406 length of segment : 61 time for calcul the mask position with numpy : 0.004519939422607422 nb_pixel_total : 72102 time to create 1 rle with old method : 0.08490204811096191 length of segment : 758 time for calcul the mask position with numpy : 0.01795649528503418 nb_pixel_total : 563488 time to create 1 rle with new method : 0.0470280647277832 length of segment : 1582 time for calcul the mask position with numpy : 0.0027196407318115234 nb_pixel_total : 96602 time to create 1 rle with old method : 0.10683226585388184 length of segment : 453 time for calcul the mask position with numpy : 0.0005724430084228516 nb_pixel_total : 17368 time to create 1 rle with old method : 0.020093441009521484 length of segment : 142 time for calcul the mask position with numpy : 0.0008480548858642578 nb_pixel_total : 56936 time to create 1 rle with old method : 0.06411385536193848 length of segment : 220 time for calcul the mask position with numpy : 0.0018298625946044922 nb_pixel_total : 99984 time to create 1 rle with old method : 0.10894489288330078 length of segment : 537 time for calcul the mask position with numpy : 0.0008828639984130859 nb_pixel_total : 48203 time to create 1 rle with old method : 0.05242633819580078 length of segment : 252 time for calcul the mask position with numpy : 0.0001087188720703125 nb_pixel_total : 2062 time to create 1 rle with old method : 0.003553152084350586 length of segment : 84 time for calcul the mask position with numpy : 0.0019309520721435547 nb_pixel_total : 73616 time to create 1 rle with old method : 0.09021282196044922 length of segment : 312 time for calcul the mask position with numpy : 0.010227441787719727 nb_pixel_total : 508399 time to create 1 rle with new method : 0.018307924270629883 length of segment : 717 time for calcul the mask position with numpy : 0.001005411148071289 nb_pixel_total : 31177 time to create 1 rle with old method : 0.03473520278930664 length of segment : 287 time for calcul the mask position with numpy : 0.0003039836883544922 nb_pixel_total : 13713 time to create 1 rle with old method : 0.015660762786865234 length of segment : 141 time for calcul the mask position with numpy : 0.0001437664031982422 nb_pixel_total : 5616 time to create 1 rle with old method : 0.006785392761230469 length of segment : 132 time for calcul the mask position with numpy : 0.0006058216094970703 nb_pixel_total : 12027 time to create 1 rle with old method : 0.013800621032714844 length of segment : 238 time for calcul the mask position with numpy : 0.0007808208465576172 nb_pixel_total : 28182 time to create 1 rle with old method : 0.03251218795776367 length of segment : 169 time for calcul the mask position with numpy : 0.003165721893310547 nb_pixel_total : 91888 time to create 1 rle with old method : 0.10228490829467773 length of segment : 412 time for calcul the mask position with numpy : 0.0012073516845703125 nb_pixel_total : 26086 time to create 1 rle with old method : 0.02930760383605957 length of segment : 291 time for calcul the mask position with numpy : 0.00022935867309570312 nb_pixel_total : 4071 time to create 1 rle with old method : 0.004913330078125 length of segment : 63 time for calcul the mask position with numpy : 0.0532381534576416 nb_pixel_total : 1038150 time to create 1 rle with new method : 0.5169901847839355 length of segment : 2081 time for calcul the mask position with numpy : 0.013322114944458008 nb_pixel_total : 458080 time to create 1 rle with new method : 0.033560752868652344 length of segment : 1515 time for calcul the mask position with numpy : 0.00012564659118652344 nb_pixel_total : 4946 time to create 1 rle with old method : 0.005421161651611328 length of segment : 94 time for calcul the mask position with numpy : 0.0025162696838378906 nb_pixel_total : 127845 time to create 1 rle with old method : 0.14583110809326172 length of segment : 510 time for calcul the mask position with numpy : 0.002833127975463867 nb_pixel_total : 195568 time to create 1 rle with new method : 0.007227420806884766 length of segment : 564 time for calcul the mask position with numpy : 0.0012197494506835938 nb_pixel_total : 56565 time to create 1 rle with old method : 0.06472563743591309 length of segment : 417 time for calcul the mask position with numpy : 0.006013393402099609 nb_pixel_total : 286968 time to create 1 rle with new method : 0.013586759567260742 length of segment : 1092 time for calcul the mask position with numpy : 0.0011150836944580078 nb_pixel_total : 43742 time to create 1 rle with old method : 0.04888296127319336 length of segment : 247 time for calcul the mask position with numpy : 0.00036072731018066406 nb_pixel_total : 13302 time to create 1 rle with old method : 0.015551090240478516 length of segment : 286 time for calcul the mask position with numpy : 0.00014090538024902344 nb_pixel_total : 2296 time to create 1 rle with old method : 0.0029006004333496094 length of segment : 72 time for calcul the mask position with numpy : 0.0004303455352783203 nb_pixel_total : 27305 time to create 1 rle with old method : 0.03224682807922363 length of segment : 202 time for calcul the mask position with numpy : 9.250640869140625e-05 nb_pixel_total : 1494 time to create 1 rle with old method : 0.0019910335540771484 length of segment : 52 time for calcul the mask position with numpy : 0.0002923011779785156 nb_pixel_total : 15967 time to create 1 rle with old method : 0.01947021484375 length of segment : 162 time for calcul the mask position with numpy : 0.0022301673889160156 nb_pixel_total : 119112 time to create 1 rle with old method : 0.133103609085083 length of segment : 462 time for calcul the mask position with numpy : 9.393692016601562e-05 nb_pixel_total : 2163 time to create 1 rle with old method : 0.0028295516967773438 length of segment : 44 time for calcul the mask position with numpy : 0.00029969215393066406 nb_pixel_total : 14000 time to create 1 rle with old method : 0.01593613624572754 length of segment : 155 time for calcul the mask position with numpy : 0.0002536773681640625 nb_pixel_total : 9883 time to create 1 rle with old method : 0.011311531066894531 length of segment : 115 time for calcul the mask position with numpy : 0.002026796340942383 nb_pixel_total : 62901 time to create 1 rle with old method : 0.06883883476257324 length of segment : 370 time for calcul the mask position with numpy : 0.0018503665924072266 nb_pixel_total : 53214 time to create 1 rle with old method : 0.06107068061828613 length of segment : 199 time for calcul the mask position with numpy : 0.001657724380493164 nb_pixel_total : 53761 time to create 1 rle with old method : 0.059592485427856445 length of segment : 479 time for calcul the mask position with numpy : 0.00022482872009277344 nb_pixel_total : 4971 time to create 1 rle with old method : 0.005875825881958008 length of segment : 75 time for calcul the mask position with numpy : 0.00029158592224121094 nb_pixel_total : 5988 time to create 1 rle with old method : 0.007483243942260742 length of segment : 39 time for calcul the mask position with numpy : 0.005929470062255859 nb_pixel_total : 177978 time to create 1 rle with new method : 0.009417533874511719 length of segment : 442 time for calcul the mask position with numpy : 0.00038433074951171875 nb_pixel_total : 12078 time to create 1 rle with old method : 0.013766050338745117 length of segment : 156 time for calcul the mask position with numpy : 0.0014770030975341797 nb_pixel_total : 62458 time to create 1 rle with old method : 0.07113242149353027 length of segment : 270 time for calcul the mask position with numpy : 0.000408172607421875 nb_pixel_total : 10868 time to create 1 rle with old method : 0.012891769409179688 length of segment : 143 time for calcul the mask position with numpy : 0.0013303756713867188 nb_pixel_total : 29576 time to create 1 rle with old method : 0.03388619422912598 length of segment : 364 time for calcul the mask position with numpy : 0.0021028518676757812 nb_pixel_total : 135701 time to create 1 rle with old method : 0.1485123634338379 length of segment : 487 time for calcul the mask position with numpy : 0.0010972023010253906 nb_pixel_total : 35641 time to create 1 rle with old method : 0.04065418243408203 length of segment : 315 time for calcul the mask position with numpy : 0.002367258071899414 nb_pixel_total : 80884 time to create 1 rle with old method : 0.09133338928222656 length of segment : 713 time for calcul the mask position with numpy : 0.001161336898803711 nb_pixel_total : 34583 time to create 1 rle with old method : 0.038544654846191406 length of segment : 194 time for calcul the mask position with numpy : 0.0005769729614257812 nb_pixel_total : 17404 time to create 1 rle with old method : 0.01935291290283203 length of segment : 293 time for calcul the mask position with numpy : 0.0005388259887695312 nb_pixel_total : 17237 time to create 1 rle with old method : 0.019618749618530273 length of segment : 130 time for calcul the mask position with numpy : 0.001986265182495117 nb_pixel_total : 67453 time to create 1 rle with old method : 0.07362484931945801 length of segment : 358 time for calcul the mask position with numpy : 0.0004951953887939453 nb_pixel_total : 11627 time to create 1 rle with old method : 0.013697624206542969 length of segment : 97 time for calcul the mask position with numpy : 0.00012254714965820312 nb_pixel_total : 3036 time to create 1 rle with old method : 0.003676891326904297 length of segment : 59 time for calcul the mask position with numpy : 0.0003027915954589844 nb_pixel_total : 11565 time to create 1 rle with old method : 0.013159036636352539 length of segment : 274 time for calcul the mask position with numpy : 0.00031876564025878906 nb_pixel_total : 15676 time to create 1 rle with old method : 0.020722627639770508 length of segment : 254 time spent for convertir_results : 19.998271942138672 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 164 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 56925 save missing photos in datou_result : time spend for datou_step_exec : 72.42045259475708 time spend to save output : 5.258586406707764 total time spend for step 1 : 77.67903900146484 step2:crop_condition Sat Mar 8 00:45:47 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 164 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 ! 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 : 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 ! 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 : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 42 About to insert : list_path_to_insert length 42 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 ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! we have finished the crop for the class : 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 ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 we have both polygon and rles Next one ! 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 : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1341192280, 1341192227, 1341192146, 1341192061, 1341192058, 1341191992, 1341191986, 1341191980, 1341191602, 1341191554] Looping around the photos to save general results len do output : 87 /-3695593727Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593748Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593754Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593756Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593747Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593763Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593766Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593769Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593768Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593765Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593770Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593773Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698367229Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698367230Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593783Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593787Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593815Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593803Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593804Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698367232Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593812Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593818Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593858Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593735Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593746Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593742Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698367228Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593777Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698367231Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593820Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593839Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593847Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593829Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593849Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593744Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593721Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593738Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593734Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698367227Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593732Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593745Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698367226Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593736Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593733Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593755Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593749Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593774Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593772Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593771Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593780Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593781Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593782Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593790Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593795Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593796Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593800Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593794Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593792Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593788Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698367234Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593837Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593841Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593828Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593838Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593835Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593844Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593836Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593843Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698367236Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593853Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593859Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593855Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593860Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593864Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593861Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593848Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593850Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593793Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593802Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593817Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593809Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593856Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593854Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593814Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593824Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593816Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695593762Didn'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, '2650183') ('3459', None, '1341192280', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', None, '1341192227', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', None, '1341192146', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', None, '1341192061', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', None, '1341192058', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', None, '1341191992', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', None, '1341191986', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', None, '1341191980', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', None, '1341191602', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', None, '1341191554', None, None, None, None, None, '2650183') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 271 time used for this insertion : 0.036900997161865234 save_final save missing photos in datou_result : time spend for datou_step_exec : 34.5002338886261 time spend to save output : 0.03974771499633789 total time spend for step 2 : 34.53998160362244 step3:thcl Sat Mar 8 00:46:21 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.006990194320678711 time to convert the images to numpy array : 0.06260275840759277 time to import caffe and check if the image exist : 0.015630006790161133 time to convert the images to numpy array : 0.13495254516601562 time to import caffe and check if the image exist : 0.008439064025878906 time to convert the images to numpy array : 0.16333866119384766 time to import caffe and check if the image exist : 0.014216184616088867 time to convert the images to numpy array : 0.17729902267456055 time to import caffe and check if the image exist : 0.009518861770629883 time to convert the images to numpy array : 0.18883681297302246 time to import caffe and check if the image exist : 0.01367044448852539 time to convert the images to numpy array : 0.19153666496276855 time to import caffe and check if the image exist : 0.01235055923461914 time to convert the images to numpy array : 0.2095351219177246 time to import caffe and check if the image exist : 0.012015581130981445 time to convert the images to numpy array : 0.2109062671661377 time to import caffe and check if the image exist : 0.007952213287353516 time to convert the images to numpy array : 0.2173905372619629 time to import caffe and check if the image exist : 0.012130022048950195 time to convert the images to numpy array : 0.21722054481506348 total time to convert the images to numpy array : 0.48383164405822754 list photo_ids error: [] list photo_ids correct : [-3695593856, -3695593854, -3695593814, -3695593824, -3695593816, -3695593762, -3695593777, -3698367231, -3695593820, -3695593839, -3695593847, -3695593829, -3695593849, -3695593744, -3695593721, -3695593765, -3695593770, -3695593773, -3698367229, -3698367230, -3695593783, -3695593787, -3695593815, -3695593803, -3695593749, -3695593774, -3695593772, -3695593771, -3695593780, -3695593781, -3695593782, -3695593790, -3695593795, -3695593860, -3695593864, -3695593861, -3695593848, -3695593850, -3695593793, -3695593802, -3695593817, -3695593809, -3695593738, -3695593734, -3698367227, -3695593732, -3695593745, -3698367226, -3695593736, -3695593733, -3695593755, -3695593838, -3695593835, -3695593844, -3695593836, -3695593843, -3698367236, -3695593853, -3695593859, -3695593855, -3695593804, -3698367232, -3695593812, -3695593818, -3695593858, -3695593735, -3695593746, -3695593742, -3698367228, -3695593727, -3695593748, -3695593754, -3695593756, -3695593747, -3695593763, -3695593766, -3695593769, -3695593768, -3695593796, -3695593800, -3695593794, -3695593792, -3695593788, -3698367234, -3695593837, -3695593841, -3695593828] number of photos to traite : 87 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 thcls : [{'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'}] thcl {'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'} Update svm_hashtag_type_desc : 4999 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) To loadFromThcl() : net_4999 begin to check gpu status inside check gpu memory havn't enough memory gpu , need / 2500 l 3632 free memory gpu now : 552 wait 20 seconds l 3637 free memory gpu now : 552 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_qualipapia_papier_refus_from_vlg_data_aug Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_qualipapia_papier_refus_from_vlg_data_aug model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel size_local : 44972172 size in s3 : 44972172 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 caffemodel already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt size_local : 17311 size in s3 : 17311 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:51 mean.npy already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/synset_words.txt size_local : 57 size in s3 : 57 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/caffe_cuda8_python3/python/:/home/admin/workarea/install/darknet/:/home/admin/workarea/git/Velours/python:/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python:/home/admin/mtr/.credentials:/home/admin/workarea/install/caffe/python:/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools/:/home/admin/workarea/git/fotonowerpip/:/home/admin/workarea/install/segment-anything:/home/admin//workarea/git/pyfvs/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt caffemodel_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory havn't enough memory gpu , need / 2500 l 3632 free memory gpu now : 333 wait 20 seconds WARNING: Logging before InitGoogleLogging() is written to STDERR F0308 00:47:07.283674 1527716 syncedmem.cpp:71] Check failed: error == cudaSuccess (2 vs. 0) out of memory *** Check failure stack trace: *** Command terminated by signal 6 68.02user 54.22system 2:43.40elapsed 74%CPU (0avgtext+0avgdata 4412064maxresident)k 684576inputs+33344outputs (916major+5876262minor)pagefaults 0swaps