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 : 3597042 load datou : 3459 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? output optionnel thcl was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) load thcls load THCL from format json or kwargs add thcl : 2456 in CacheModelConfig load THCL from format json or kwargs add thcl : 2868 in CacheModelConfig load THCL from format json or kwargs add thcl : 2896 in CacheModelConfig load pdts add pdt : 4999 in CacheModelConfig add pdt : 5288 in CacheModelConfig add pdt : 5309 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2640576'] with mtr_portfolio_ids : ['21089623'] and first list_photo_ids : [] new path : /proc/3597042/ 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 , BFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 time to download the photos : 2.234830379486084 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Thu Mar 6 00:16:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 5614 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-06 00:16:34.772970: 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-06 00:16:34.799051: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-06 00:16:34.801031: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fa060000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-06 00:16:34.801061: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-06 00:16:34.805148: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-06 00:16:35.041799: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xba59a50 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-06 00:16:35.041852: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-06 00:16:35.043133: 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-06 00:16:35.043555: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-06 00:16:35.047247: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-06 00:16:35.050347: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-06 00:16:35.050863: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-06 00:16:35.054586: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-06 00:16:35.056196: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-06 00:16:35.063410: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-06 00:16:35.064891: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-06 00:16:35.064979: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-06 00:16:35.065746: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-06 00:16:35.065766: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-06 00:16:35.065777: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-06 00:16:35.067358: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5135 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-06 00:16:35.356711: 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-06 00:16:35.356859: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-06 00:16:35.356897: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-06 00:16:35.356915: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-06 00:16:35.356931: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-06 00:16:35.356947: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-06 00:16:35.356962: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-06 00:16:35.356978: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-06 00:16:35.357941: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-06 00:16:35.359057: 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-06 00:16:35.359114: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-06 00:16:35.359134: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-06 00:16:35.359151: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-06 00:16:35.359166: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-06 00:16:35.359184: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-06 00:16:35.359199: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-06 00:16:35.359215: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-06 00:16:35.360178: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-06 00:16:35.360219: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-06 00:16:35.360228: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-06 00:16:35.360235: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-06 00:16:35.361241: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5135 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-06 00:16:46.855710: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-06 00:16:47.064126: 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 : 9 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.78867 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 12 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 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: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 29 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 : 15 Detection mask done ! Trying to reset tf kernel 3597658 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 325 tf kernel not reseted sub process len(results) : 9 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 9 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 : 5614 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.0014367103576660156 nb_pixel_total : 56359 time to create 1 rle with old method : 0.06375551223754883 length of segment : 259 time for calcul the mask position with numpy : 0.0002522468566894531 nb_pixel_total : 11402 time to create 1 rle with old method : 0.013287067413330078 length of segment : 123 time for calcul the mask position with numpy : 0.0029413700103759766 nb_pixel_total : 116317 time to create 1 rle with old method : 0.12788867950439453 length of segment : 471 time for calcul the mask position with numpy : 0.0012545585632324219 nb_pixel_total : 58218 time to create 1 rle with old method : 0.062493324279785156 length of segment : 294 time for calcul the mask position with numpy : 0.00011563301086425781 nb_pixel_total : 3337 time to create 1 rle with old method : 0.004229545593261719 length of segment : 59 time for calcul the mask position with numpy : 0.00018072128295898438 nb_pixel_total : 8049 time to create 1 rle with old method : 0.009674310684204102 length of segment : 114 time for calcul the mask position with numpy : 0.0001323223114013672 nb_pixel_total : 4981 time to create 1 rle with old method : 0.00606536865234375 length of segment : 82 time for calcul the mask position with numpy : 0.0005838871002197266 nb_pixel_total : 24577 time to create 1 rle with old method : 0.02719283103942871 length of segment : 162 time for calcul the mask position with numpy : 0.0003132820129394531 nb_pixel_total : 9566 time to create 1 rle with old method : 0.010836601257324219 length of segment : 195 time for calcul the mask position with numpy : 0.0001850128173828125 nb_pixel_total : 6751 time to create 1 rle with old method : 0.008003711700439453 length of segment : 137 time for calcul the mask position with numpy : 6.651878356933594e-05 nb_pixel_total : 1408 time to create 1 rle with old method : 0.0016963481903076172 length of segment : 48 time for calcul the mask position with numpy : 0.0014095306396484375 nb_pixel_total : 68794 time to create 1 rle with old method : 0.07201719284057617 length of segment : 397 time for calcul the mask position with numpy : 0.00037026405334472656 nb_pixel_total : 17280 time to create 1 rle with old method : 0.018761396408081055 length of segment : 116 time for calcul the mask position with numpy : 0.0004210472106933594 nb_pixel_total : 10859 time to create 1 rle with old method : 0.012613296508789062 length of segment : 190 time for calcul the mask position with numpy : 0.0003044605255126953 nb_pixel_total : 13490 time to create 1 rle with old method : 0.01622486114501953 length of segment : 155 time for calcul the mask position with numpy : 0.00041484832763671875 nb_pixel_total : 21383 time to create 1 rle with old method : 0.02414989471435547 length of segment : 161 time for calcul the mask position with numpy : 0.0013477802276611328 nb_pixel_total : 94143 time to create 1 rle with old method : 0.10793733596801758 length of segment : 362 time for calcul the mask position with numpy : 0.007483959197998047 nb_pixel_total : 183043 time to create 1 rle with new method : 0.026478290557861328 length of segment : 888 time for calcul the mask position with numpy : 0.00040459632873535156 nb_pixel_total : 12538 time to create 1 rle with old method : 0.015123128890991211 length of segment : 148 time for calcul the mask position with numpy : 0.0012044906616210938 nb_pixel_total : 59599 time to create 1 rle with old method : 0.07827496528625488 length of segment : 263 time for calcul the mask position with numpy : 0.0001442432403564453 nb_pixel_total : 1217 time to create 1 rle with old method : 0.0014638900756835938 length of segment : 71 time for calcul the mask position with numpy : 0.00023746490478515625 nb_pixel_total : 8109 time to create 1 rle with old method : 0.008880376815795898 length of segment : 158 time for calcul the mask position with numpy : 0.00023651123046875 nb_pixel_total : 5951 time to create 1 rle with old method : 0.006841897964477539 length of segment : 188 time for calcul the mask position with numpy : 0.004528045654296875 nb_pixel_total : 213982 time to create 1 rle with new method : 0.012238025665283203 length of segment : 577 time for calcul the mask position with numpy : 0.00045299530029296875 nb_pixel_total : 18011 time to create 1 rle with old method : 0.019923686981201172 length of segment : 205 time for calcul the mask position with numpy : 0.0014832019805908203 nb_pixel_total : 82085 time to create 1 rle with old method : 0.08623695373535156 length of segment : 346 time for calcul the mask position with numpy : 0.0002720355987548828 nb_pixel_total : 13286 time to create 1 rle with old method : 0.014751195907592773 length of segment : 130 time for calcul the mask position with numpy : 0.0013043880462646484 nb_pixel_total : 65828 time to create 1 rle with old method : 0.0704951286315918 length of segment : 319 time for calcul the mask position with numpy : 0.007604360580444336 nb_pixel_total : 383926 time to create 1 rle with new method : 0.026009559631347656 length of segment : 645 time for calcul the mask position with numpy : 0.0025298595428466797 nb_pixel_total : 183591 time to create 1 rle with new method : 0.007939338684082031 length of segment : 517 time for calcul the mask position with numpy : 8.106231689453125e-05 nb_pixel_total : 1471 time to create 1 rle with old method : 0.0018146038055419922 length of segment : 54 time for calcul the mask position with numpy : 0.0003299713134765625 nb_pixel_total : 14967 time to create 1 rle with old method : 0.01670527458190918 length of segment : 229 time for calcul the mask position with numpy : 0.00020766258239746094 nb_pixel_total : 8902 time to create 1 rle with old method : 0.014920949935913086 length of segment : 148 time for calcul the mask position with numpy : 0.00010204315185546875 nb_pixel_total : 1063 time to create 1 rle with old method : 0.0020956993103027344 length of segment : 53 time for calcul the mask position with numpy : 0.0003342628479003906 nb_pixel_total : 16837 time to create 1 rle with old method : 0.030729293823242188 length of segment : 124 time for calcul the mask position with numpy : 7.295608520507812e-05 nb_pixel_total : 1013 time to create 1 rle with old method : 0.0013360977172851562 length of segment : 41 time for calcul the mask position with numpy : 0.0009567737579345703 nb_pixel_total : 53320 time to create 1 rle with old method : 0.060294389724731445 length of segment : 305 time for calcul the mask position with numpy : 0.0001862049102783203 nb_pixel_total : 5616 time to create 1 rle with old method : 0.01502847671508789 length of segment : 187 time for calcul the mask position with numpy : 0.00032973289489746094 nb_pixel_total : 13993 time to create 1 rle with old method : 0.01911187171936035 length of segment : 135 time for calcul the mask position with numpy : 0.00024390220642089844 nb_pixel_total : 12484 time to create 1 rle with old method : 0.020142555236816406 length of segment : 119 time for calcul the mask position with numpy : 0.0008862018585205078 nb_pixel_total : 57101 time to create 1 rle with old method : 0.06536531448364258 length of segment : 389 time for calcul the mask position with numpy : 0.0009965896606445312 nb_pixel_total : 59267 time to create 1 rle with old method : 0.0767049789428711 length of segment : 376 time for calcul the mask position with numpy : 0.0006971359252929688 nb_pixel_total : 46649 time to create 1 rle with old method : 0.052102088928222656 length of segment : 301 time for calcul the mask position with numpy : 0.0035810470581054688 nb_pixel_total : 215517 time to create 1 rle with new method : 0.014048099517822266 length of segment : 910 time for calcul the mask position with numpy : 0.0007796287536621094 nb_pixel_total : 24855 time to create 1 rle with old method : 0.03724265098571777 length of segment : 172 time for calcul the mask position with numpy : 0.00096893310546875 nb_pixel_total : 28808 time to create 1 rle with old method : 0.032860517501831055 length of segment : 263 time for calcul the mask position with numpy : 0.0002739429473876953 nb_pixel_total : 5451 time to create 1 rle with old method : 0.006449460983276367 length of segment : 113 time for calcul the mask position with numpy : 0.0001800060272216797 nb_pixel_total : 1454 time to create 1 rle with old method : 0.0020148754119873047 length of segment : 78 time for calcul the mask position with numpy : 0.0004718303680419922 nb_pixel_total : 6581 time to create 1 rle with old method : 0.00778961181640625 length of segment : 133 time for calcul the mask position with numpy : 0.0022039413452148438 nb_pixel_total : 36977 time to create 1 rle with old method : 0.05051112174987793 length of segment : 701 time for calcul the mask position with numpy : 0.0014328956604003906 nb_pixel_total : 53791 time to create 1 rle with old method : 0.06319785118103027 length of segment : 243 time for calcul the mask position with numpy : 0.0024340152740478516 nb_pixel_total : 57289 time to create 1 rle with old method : 0.06865692138671875 length of segment : 454 time for calcul the mask position with numpy : 0.00026297569274902344 nb_pixel_total : 5967 time to create 1 rle with old method : 0.006983280181884766 length of segment : 113 time for calcul the mask position with numpy : 0.0004897117614746094 nb_pixel_total : 8816 time to create 1 rle with old method : 0.01086115837097168 length of segment : 231 time for calcul the mask position with numpy : 0.0024106502532958984 nb_pixel_total : 48899 time to create 1 rle with old method : 0.06922459602355957 length of segment : 416 time for calcul the mask position with numpy : 0.0004985332489013672 nb_pixel_total : 8332 time to create 1 rle with old method : 0.015013456344604492 length of segment : 97 time for calcul the mask position with numpy : 0.0002193450927734375 nb_pixel_total : 6695 time to create 1 rle with old method : 0.008567571640014648 length of segment : 107 time for calcul the mask position with numpy : 0.0009405612945556641 nb_pixel_total : 48022 time to create 1 rle with old method : 0.06241607666015625 length of segment : 343 time for calcul the mask position with numpy : 0.0005097389221191406 nb_pixel_total : 8264 time to create 1 rle with old method : 0.013759851455688477 length of segment : 175 time for calcul the mask position with numpy : 0.0033512115478515625 nb_pixel_total : 239654 time to create 1 rle with new method : 0.011708736419677734 length of segment : 561 time for calcul the mask position with numpy : 0.003425121307373047 nb_pixel_total : 116429 time to create 1 rle with old method : 0.1388716697692871 length of segment : 636 time for calcul the mask position with numpy : 8.177757263183594e-05 nb_pixel_total : 1344 time to create 1 rle with old method : 0.0016701221466064453 length of segment : 44 time for calcul the mask position with numpy : 0.0018160343170166016 nb_pixel_total : 76002 time to create 1 rle with old method : 0.08931183815002441 length of segment : 396 time for calcul the mask position with numpy : 0.0004138946533203125 nb_pixel_total : 16658 time to create 1 rle with old method : 0.018743038177490234 length of segment : 241 time for calcul the mask position with numpy : 0.0014653205871582031 nb_pixel_total : 81445 time to create 1 rle with old method : 0.09314489364624023 length of segment : 350 time for calcul the mask position with numpy : 0.00011944770812988281 nb_pixel_total : 4305 time to create 1 rle with old method : 0.005167961120605469 length of segment : 105 time for calcul the mask position with numpy : 0.0001327991485595703 nb_pixel_total : 4142 time to create 1 rle with old method : 0.0046575069427490234 length of segment : 135 time for calcul the mask position with numpy : 0.001956462860107422 nb_pixel_total : 129895 time to create 1 rle with old method : 0.14951586723327637 length of segment : 471 time for calcul the mask position with numpy : 0.0004191398620605469 nb_pixel_total : 23261 time to create 1 rle with old method : 0.028196096420288086 length of segment : 189 time for calcul the mask position with numpy : 0.00061798095703125 nb_pixel_total : 31476 time to create 1 rle with old method : 0.03693532943725586 length of segment : 180 time for calcul the mask position with numpy : 0.0003437995910644531 nb_pixel_total : 6863 time to create 1 rle with old method : 0.00841975212097168 length of segment : 106 time for calcul the mask position with numpy : 0.0020880699157714844 nb_pixel_total : 55481 time to create 1 rle with old method : 0.06386733055114746 length of segment : 513 time for calcul the mask position with numpy : 0.0013475418090820312 nb_pixel_total : 17562 time to create 1 rle with old method : 0.02230048179626465 length of segment : 313 time for calcul the mask position with numpy : 0.0005383491516113281 nb_pixel_total : 13230 time to create 1 rle with old method : 0.015272140502929688 length of segment : 140 time for calcul the mask position with numpy : 0.002633810043334961 nb_pixel_total : 110749 time to create 1 rle with old method : 0.11943507194519043 length of segment : 392 time for calcul the mask position with numpy : 0.002582073211669922 nb_pixel_total : 99529 time to create 1 rle with old method : 0.11598563194274902 length of segment : 334 time for calcul the mask position with numpy : 0.00019788742065429688 nb_pixel_total : 2455 time to create 1 rle with old method : 0.004332780838012695 length of segment : 91 time for calcul the mask position with numpy : 0.0033643245697021484 nb_pixel_total : 101022 time to create 1 rle with old method : 0.12916803359985352 length of segment : 487 time for calcul the mask position with numpy : 0.0002391338348388672 nb_pixel_total : 1473 time to create 1 rle with old method : 0.0017209053039550781 length of segment : 114 time for calcul the mask position with numpy : 0.003537416458129883 nb_pixel_total : 139030 time to create 1 rle with old method : 0.15424203872680664 length of segment : 394 time for calcul the mask position with numpy : 0.0014739036560058594 nb_pixel_total : 53208 time to create 1 rle with old method : 0.058927297592163086 length of segment : 426 time for calcul the mask position with numpy : 0.0015506744384765625 nb_pixel_total : 54826 time to create 1 rle with old method : 0.06171703338623047 length of segment : 351 time for calcul the mask position with numpy : 0.00044465065002441406 nb_pixel_total : 7359 time to create 1 rle with old method : 0.009034872055053711 length of segment : 222 time for calcul the mask position with numpy : 0.003012418746948242 nb_pixel_total : 161065 time to create 1 rle with new method : 0.009365558624267578 length of segment : 810 time for calcul the mask position with numpy : 0.0009512901306152344 nb_pixel_total : 31888 time to create 1 rle with old method : 0.03561234474182129 length of segment : 299 time for calcul the mask position with numpy : 0.0003788471221923828 nb_pixel_total : 16913 time to create 1 rle with old method : 0.01932549476623535 length of segment : 233 time for calcul the mask position with numpy : 0.0017461776733398438 nb_pixel_total : 83897 time to create 1 rle with old method : 0.10182809829711914 length of segment : 352 time for calcul the mask position with numpy : 9.632110595703125e-05 nb_pixel_total : 2057 time to create 1 rle with old method : 0.002510547637939453 length of segment : 69 time for calcul the mask position with numpy : 0.0026183128356933594 nb_pixel_total : 98008 time to create 1 rle with old method : 0.10736823081970215 length of segment : 398 time for calcul the mask position with numpy : 0.0010058879852294922 nb_pixel_total : 20989 time to create 1 rle with old method : 0.02341461181640625 length of segment : 237 time for calcul the mask position with numpy : 0.00020241737365722656 nb_pixel_total : 4482 time to create 1 rle with old method : 0.0052716732025146484 length of segment : 68 time for calcul the mask position with numpy : 0.0004291534423828125 nb_pixel_total : 13727 time to create 1 rle with old method : 0.015965938568115234 length of segment : 165 time for calcul the mask position with numpy : 0.4588768482208252 nb_pixel_total : 1524978 time to create 1 rle with new method : 0.6964504718780518 length of segment : 3061 time for calcul the mask position with numpy : 0.013573408126831055 nb_pixel_total : 683856 time to create 1 rle with new method : 0.1606593132019043 length of segment : 1491 time for calcul the mask position with numpy : 0.015779495239257812 nb_pixel_total : 1031682 time to create 1 rle with new method : 0.2626621723175049 length of segment : 1831 time for calcul the mask position with numpy : 0.0007016658782958984 nb_pixel_total : 28390 time to create 1 rle with old method : 0.03314805030822754 length of segment : 247 time for calcul the mask position with numpy : 0.0014331340789794922 nb_pixel_total : 112582 time to create 1 rle with old method : 0.16319632530212402 length of segment : 326 time for calcul the mask position with numpy : 0.0034308433532714844 nb_pixel_total : 277038 time to create 1 rle with new method : 0.007843732833862305 length of segment : 497 time for calcul the mask position with numpy : 0.0016565322875976562 nb_pixel_total : 47279 time to create 1 rle with old method : 0.0567164421081543 length of segment : 319 time for calcul the mask position with numpy : 0.004571199417114258 nb_pixel_total : 81903 time to create 1 rle with old method : 0.09420156478881836 length of segment : 679 time for calcul the mask position with numpy : 0.00033783912658691406 nb_pixel_total : 5075 time to create 1 rle with old method : 0.0061490535736083984 length of segment : 112 time for calcul the mask position with numpy : 0.0005803108215332031 nb_pixel_total : 10738 time to create 1 rle with old method : 0.012662649154663086 length of segment : 171 time for calcul the mask position with numpy : 0.0004038810729980469 nb_pixel_total : 8142 time to create 1 rle with old method : 0.010271787643432617 length of segment : 70 time for calcul the mask position with numpy : 0.0055370330810546875 nb_pixel_total : 144192 time to create 1 rle with old method : 0.15839219093322754 length of segment : 563 time for calcul the mask position with numpy : 0.001379251480102539 nb_pixel_total : 38720 time to create 1 rle with old method : 0.04590320587158203 length of segment : 276 time for calcul the mask position with numpy : 0.0023946762084960938 nb_pixel_total : 73994 time to create 1 rle with old method : 0.08238029479980469 length of segment : 374 time for calcul the mask position with numpy : 0.011801719665527344 nb_pixel_total : 444151 time to create 1 rle with new method : 0.025781631469726562 length of segment : 632 time for calcul the mask position with numpy : 0.0009255409240722656 nb_pixel_total : 37701 time to create 1 rle with old method : 0.0421140193939209 length of segment : 235 time for calcul the mask position with numpy : 0.0008902549743652344 nb_pixel_total : 14909 time to create 1 rle with old method : 0.017876386642456055 length of segment : 269 time for calcul the mask position with numpy : 0.003799915313720703 nb_pixel_total : 114344 time to create 1 rle with old method : 0.1376972198486328 length of segment : 485 time for calcul the mask position with numpy : 0.0005869865417480469 nb_pixel_total : 21739 time to create 1 rle with old method : 0.025865554809570312 length of segment : 251 time for calcul the mask position with numpy : 0.0012450218200683594 nb_pixel_total : 28724 time to create 1 rle with old method : 0.03264331817626953 length of segment : 249 time for calcul the mask position with numpy : 0.0006520748138427734 nb_pixel_total : 20755 time to create 1 rle with old method : 0.023344993591308594 length of segment : 282 time for calcul the mask position with numpy : 0.0008485317230224609 nb_pixel_total : 13609 time to create 1 rle with old method : 0.016341686248779297 length of segment : 255 time for calcul the mask position with numpy : 0.003838062286376953 nb_pixel_total : 93811 time to create 1 rle with old method : 0.11187338829040527 length of segment : 406 time for calcul the mask position with numpy : 0.00014853477478027344 nb_pixel_total : 1114 time to create 1 rle with old method : 0.0015590190887451172 length of segment : 37 time for calcul the mask position with numpy : 0.0018317699432373047 nb_pixel_total : 43431 time to create 1 rle with old method : 0.06126284599304199 length of segment : 356 time for calcul the mask position with numpy : 0.00031757354736328125 nb_pixel_total : 3866 time to create 1 rle with old method : 0.004983663558959961 length of segment : 75 time for calcul the mask position with numpy : 0.007334232330322266 nb_pixel_total : 198009 time to create 1 rle with new method : 0.012716531753540039 length of segment : 541 time for calcul the mask position with numpy : 0.0048940181732177734 nb_pixel_total : 153950 time to create 1 rle with new method : 0.0060329437255859375 length of segment : 377 time for calcul the mask position with numpy : 0.002406597137451172 nb_pixel_total : 63061 time to create 1 rle with old method : 0.07584452629089355 length of segment : 521 time for calcul the mask position with numpy : 0.0024988651275634766 nb_pixel_total : 143442 time to create 1 rle with old method : 0.1601245403289795 length of segment : 584 time for calcul the mask position with numpy : 0.003978729248046875 nb_pixel_total : 121913 time to create 1 rle with old method : 0.13252949714660645 length of segment : 414 time for calcul the mask position with numpy : 0.003909111022949219 nb_pixel_total : 116506 time to create 1 rle with old method : 0.13881802558898926 length of segment : 523 time for calcul the mask position with numpy : 0.007909536361694336 nb_pixel_total : 153142 time to create 1 rle with new method : 0.01080465316772461 length of segment : 629 time for calcul the mask position with numpy : 0.00014638900756835938 nb_pixel_total : 1226 time to create 1 rle with old method : 0.0015690326690673828 length of segment : 28 time for calcul the mask position with numpy : 0.0009543895721435547 nb_pixel_total : 35058 time to create 1 rle with old method : 0.04019331932067871 length of segment : 212 time for calcul the mask position with numpy : 0.000179290771484375 nb_pixel_total : 1589 time to create 1 rle with old method : 0.0019829273223876953 length of segment : 87 time for calcul the mask position with numpy : 0.0002238750457763672 nb_pixel_total : 2762 time to create 1 rle with old method : 0.003448963165283203 length of segment : 105 time for calcul the mask position with numpy : 0.2241055965423584 nb_pixel_total : 1883152 time to create 1 rle with new method : 1.9566516876220703 length of segment : 2842 time for calcul the mask position with numpy : 0.0009186267852783203 nb_pixel_total : 33052 time to create 1 rle with old method : 0.038889408111572266 length of segment : 275 time for calcul the mask position with numpy : 0.008602619171142578 nb_pixel_total : 421018 time to create 1 rle with new method : 0.03398942947387695 length of segment : 867 time for calcul the mask position with numpy : 0.013534307479858398 nb_pixel_total : 660862 time to create 1 rle with new method : 0.6165771484375 length of segment : 1316 time for calcul the mask position with numpy : 0.0009672641754150391 nb_pixel_total : 61168 time to create 1 rle with old method : 0.06788229942321777 length of segment : 410 time for calcul the mask position with numpy : 0.0019073486328125 nb_pixel_total : 130986 time to create 1 rle with old method : 0.14072370529174805 length of segment : 477 time for calcul the mask position with numpy : 0.00774836540222168 nb_pixel_total : 463455 time to create 1 rle with new method : 0.017399311065673828 length of segment : 1927 time for calcul the mask position with numpy : 0.0021538734436035156 nb_pixel_total : 181885 time to create 1 rle with new method : 0.004621744155883789 length of segment : 510 time spent for convertir_results : 19.449578046798706 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 137 chid ids of type : 3663 Number RLEs to save : 50806 save missing photos in datou_result : time spend for datou_step_exec : 69.82021236419678 time spend to save output : 3.67095685005188 total time spend for step 1 : 73.49116921424866 step2:crop_condition Thu Mar 6 00:17:45 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 : 9 ! batch 1 Loaded 137 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 ! map_result returned by crop_photo_return_map_crop : length : 17 About to insert : list_path_to_insert length 17 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 ! 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 : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 32 About to insert : list_path_to_insert length 32 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 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 [1341004915, 1341004904, 1341004898, 1341004182, 1341004178, 1341004175, 1341004168, 1341004050, 1341004046] Looping around the photos to save general results len do output : 74 /-3695110619Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110641Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110633Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110631Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110642Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110632Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110657Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110655Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110662Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110674Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110729Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110718Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110719Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110714Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110720Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110746Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110623Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110645Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110659Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110670Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110704Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110711Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110737Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110739Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110750Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110654Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110667Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110678Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110699Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110697Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110740Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110734Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110628Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110627Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110644Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110650Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110639Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110661Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110652Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110658Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110675Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110680Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110676Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110696Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110700Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110702Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110693Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110695Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110690Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110687Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110705Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110688Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110713Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110715Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110721Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110728Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110736Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110735Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110725Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110732Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110738Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110749Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110752Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110747Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110621Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110656Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110668Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110679Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110685Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110727Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110643Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110666Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3695110723Didn'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, '2640576') ('3459', '21089623', '1341004915', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004904', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004898', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004182', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004178', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004175', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004168', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004050', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004046', None, None, None, None, None, '2640576') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 231 time used for this insertion : 0.03527975082397461 save_final save missing photos in datou_result : time spend for datou_step_exec : 38.80872631072998 time spend to save output : 0.038611650466918945 total time spend for step 2 : 38.8473379611969 step3:thcl Thu Mar 6 00:18:24 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.015182971954345703 time to convert the images to numpy array : 0.03292059898376465 time to import caffe and check if the image exist : 0.025181293487548828 time to convert the images to numpy array : 0.7485840320587158 time to import caffe and check if the image exist : 0.010393619537353516 time to convert the images to numpy array : 0.7745766639709473 time to import caffe and check if the image exist : 0.012540102005004883 time to convert the images to numpy array : 1.2977538108825684 time to import caffe and check if the image exist : 0.012716531753540039 time to convert the images to numpy array : 1.3265454769134521 time to import caffe and check if the image exist : 0.020519495010375977 time to convert the images to numpy array : 1.3347580432891846 time to import caffe and check if the image exist : 0.026985883712768555 time to convert the images to numpy array : 1.3281798362731934 time to import caffe and check if the image exist : 0.018794536590576172 time to convert the images to numpy array : 1.3421285152435303 time to import caffe and check if the image exist : 0.016783952713012695 time to convert the images to numpy array : 1.3446781635284424 time to import caffe and check if the image exist : 0.021628379821777344 time to convert the images to numpy array : 1.3447318077087402 total time to convert the images to numpy array : 1.8193995952606201 list photo_ids error: [] list photo_ids correct : [-3695110666, -3695110723, -3695110662, -3695110674, -3695110712, -3695110729, -3695110718, -3695110719, -3695110714, -3695110720, -3695110619, -3695110641, -3695110633, -3695110631, -3695110642, -3695110632, -3695110657, -3695110655, -3695110728, -3695110736, -3695110735, -3695110725, -3695110732, -3695110738, -3695110749, -3695110752, -3695110746, -3695110623, -3695110645, -3695110659, -3695110670, -3695110704, -3695110711, -3695110737, -3695110739, -3695110750, -3695110654, -3695110667, -3695110678, -3695110699, -3695110697, -3695110740, -3695110658, -3695110675, -3695110680, -3695110676, -3695110696, -3695110700, -3695110702, -3695110693, -3695110747, -3695110621, -3695110656, -3695110668, -3695110679, -3695110685, -3695110727, -3695110643, -3695110695, -3695110690, -3695110687, -3695110705, -3695110688, -3695110713, -3695110715, -3695110721, -3695110734, -3695110628, -3695110627, -3695110644, -3695110650, -3695110639, -3695110661, -3695110652] number of photos to traite : 74 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 thcls : [{'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'}] thcl {'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'} Update svm_hashtag_type_desc : 4999 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) To loadFromThcl() : net_4999 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5614 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 l 3637 free memory gpu now : 5395 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.8644769191741943 time used to do the prediction : 0.17745327949523926 we don't save the descriptors for this thcl 2456 tagging for thcl : 2868 To do loadFromThcl(), then load ParamDescType : thcl2868 thcls : [{'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5288 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)) To loadFromThcl() : net_5288 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5393 max_wait_temp : 1 max_wait : 0 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)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_papier_nantes_300421 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_papier_nantes_300421 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_papier_nantes_300421 /data/models_weight/learn_papier_nantes_300421/caffemodel size_local : 44791983 size in s3 : 44791983 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:13 caffemodel already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/deploy.prototxt size_local : 17255 size in s3 : 17255 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:12 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:14 mean.npy already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/synset_words.txt size_local : 331 size in s3 : 331 create time local : 2021-08-09 05:56:00 create time in s3 : 2021-08-06 19:22:12 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_papier_nantes_300421/deploy.prototxt caffemodel_filename : /data/models_weight/learn_papier_nantes_300421/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5214 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.0925335884094238 time used to do the prediction : 0.1462721824645996 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 5.078315734863281e-05 save missing photos in datou_result : time spend for datou_step_exec : 10.923293352127075 time spend to save output : 0.0006327629089355469 total time spend for step 3 : 10.92392611503601 step4:merge_mask_thcl_custom Thu Mar 6 00:18:35 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 ! complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step merge_mask_thcl_custom batch 1 Loaded 137 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++As expected we have just one thcl present End of step merge_mask_thcl_custom Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : merge_mask_thcl_custom we use saveGeneral [1341004915, 1341004904, 1341004898, 1341004182, 1341004178, 1341004175, 1341004168, 1341004050, 1341004046] Looping around the photos to save general results len do output : 9 /1341004915Didn't retrieve data .Didn't retrieve data . /1341004904Didn't retrieve data .Didn't retrieve data . /1341004898Didn't retrieve data .Didn't retrieve data . /1341004182Didn't retrieve data .Didn't retrieve data . /1341004178Didn't retrieve data .Didn't retrieve data . /1341004175Didn't retrieve data .Didn't retrieve data . /1341004168Didn't retrieve data .Didn't retrieve data . /1341004050Didn't retrieve data .Didn't retrieve data . /1341004046Didn'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 : Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004915', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004904', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004898', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004182', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004178', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004175', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004168', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004050', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004046', None, None, None, None, None, '2640576') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.015274524688720703 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0602879524230957 time spend to save output : 0.015768051147460938 total time spend for step 4 : 0.07605600357055664 step5:rle_unique_nms_with_priority Thu Mar 6 00:18:35 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 Begin step rle-unique-nms nb_obj : 14 nb_hashtags : 4 time to prepare the origin masks : 11.373533487319946 time for calcul the mask position with numpy : 1.6898319721221924 nb_pixel_total : 6653013 time to create 1 rle with new method : 0.6734464168548584 time for calcul the mask position with numpy : 0.022589921951293945 nb_pixel_total : 17230 time to create 1 rle with old method : 0.019097566604614258 time for calcul the mask position with numpy : 0.02795553207397461 nb_pixel_total : 24474 time to create 1 rle with old method : 0.027115583419799805 time for calcul the mask position with numpy : 0.036704063415527344 nb_pixel_total : 58091 time to create 1 rle with old method : 0.0702216625213623 time for calcul the mask position with numpy : 0.04067564010620117 nb_pixel_total : 10785 time to create 1 rle with old method : 0.017419099807739258 time for calcul the mask position with numpy : 0.039165496826171875 nb_pixel_total : 1407 time to create 1 rle with old method : 0.002048015594482422 time for calcul the mask position with numpy : 0.03496718406677246 nb_pixel_total : 6730 time to create 1 rle with old method : 0.007888317108154297 time for calcul the mask position with numpy : 0.03491473197937012 nb_pixel_total : 9796 time to create 1 rle with old method : 0.010791778564453125 time for calcul the mask position with numpy : 0.03534054756164551 nb_pixel_total : 8012 time to create 1 rle with old method : 0.008872032165527344 time for calcul the mask position with numpy : 0.034951210021972656 nb_pixel_total : 4961 time to create 1 rle with old method : 0.005578756332397461 time for calcul the mask position with numpy : 0.03214836120605469 nb_pixel_total : 3318 time to create 1 rle with old method : 0.004174232482910156 time for calcul the mask position with numpy : 0.024140119552612305 nb_pixel_total : 68631 time to create 1 rle with old method : 0.07571578025817871 time for calcul the mask position with numpy : 0.023660659790039062 nb_pixel_total : 116170 time to create 1 rle with old method : 0.12626338005065918 time for calcul the mask position with numpy : 0.02217555046081543 nb_pixel_total : 11372 time to create 1 rle with old method : 0.01415705680847168 time for calcul the mask position with numpy : 0.021921634674072266 nb_pixel_total : 56250 time to create 1 rle with old method : 0.062254905700683594 create new chi : 3.2897586822509766 time to delete rle : 0.021130800247192383 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 7448 TO DO : save crop sub photo not yet done ! save time : 0.5391080379486084 nb_obj : 22 nb_hashtags : 7 time to prepare the origin masks : 15.46291971206665 time for calcul the mask position with numpy : 0.5816504955291748 nb_pixel_total : 5726682 time to create 1 rle with new method : 1.1175587177276611 time for calcul the mask position with numpy : 0.035920143127441406 nb_pixel_total : 3590 time to create 1 rle with old method : 0.004437685012817383 time for calcul the mask position with numpy : 0.03945422172546387 nb_pixel_total : 212907 time to create 1 rle with new method : 0.5464980602264404 time for calcul the mask position with numpy : 0.03915977478027344 nb_pixel_total : 383411 time to create 1 rle with new method : 0.7741570472717285 time for calcul the mask position with numpy : 0.03644847869873047 nb_pixel_total : 65610 time to create 1 rle with old method : 0.07535672187805176 time for calcul the mask position with numpy : 0.03820657730102539 nb_pixel_total : 1007 time to create 1 rle with old method : 0.0015244483947753906 time for calcul the mask position with numpy : 0.033905744552612305 nb_pixel_total : 13187 time to create 1 rle with old method : 0.014490604400634766 time for calcul the mask position with numpy : 0.02916121482849121 nb_pixel_total : 1056 time to create 1 rle with old method : 0.00119781494140625 time for calcul the mask position with numpy : 0.02143573760986328 nb_pixel_total : 8921 time to create 1 rle with old method : 0.010957002639770508 time for calcul the mask position with numpy : 0.02256155014038086 nb_pixel_total : 14943 time to create 1 rle with old method : 0.01771998405456543 time for calcul the mask position with numpy : 0.023558616638183594 nb_pixel_total : 17942 time to create 1 rle with old method : 0.019927978515625 time for calcul the mask position with numpy : 0.021124839782714844 nb_pixel_total : 1466 time to create 1 rle with old method : 0.001661062240600586 time for calcul the mask position with numpy : 0.02195906639099121 nb_pixel_total : 183255 time to create 1 rle with new method : 0.6612250804901123 time for calcul the mask position with numpy : 0.02250051498413086 nb_pixel_total : 182423 time to create 1 rle with new method : 0.623021125793457 time for calcul the mask position with numpy : 0.021919727325439453 nb_pixel_total : 17973 time to create 1 rle with old method : 0.020909547805786133 time for calcul the mask position with numpy : 0.026081085205078125 nb_pixel_total : 5910 time to create 1 rle with old method : 0.0065042972564697266 time for calcul the mask position with numpy : 0.0350956916809082 nb_pixel_total : 8097 time to create 1 rle with old method : 0.009721755981445312 time for calcul the mask position with numpy : 0.036727190017700195 nb_pixel_total : 1215 time to create 1 rle with old method : 0.0013873577117919922 time for calcul the mask position with numpy : 0.03663444519042969 nb_pixel_total : 21310 time to create 1 rle with old method : 0.023893356323242188 time for calcul the mask position with numpy : 0.04323148727416992 nb_pixel_total : 59383 time to create 1 rle with old method : 0.06565618515014648 time for calcul the mask position with numpy : 0.03476524353027344 nb_pixel_total : 94033 time to create 1 rle with old method : 0.10386991500854492 time for calcul the mask position with numpy : 0.03518795967102051 nb_pixel_total : 12485 time to create 1 rle with old method : 0.014084339141845703 time for calcul the mask position with numpy : 0.03264331817626953 nb_pixel_total : 13434 time to create 1 rle with old method : 0.014666318893432617 create new chi : 5.537890911102295 time to delete rle : 0.001310110092163086 batch 1 Loaded 23 chid ids of type : 3726 Number RLEs to save : 13702 TO DO : save crop sub photo not yet done ! save time : 0.9035317897796631 nb_obj : 10 nb_hashtags : 6 time to prepare the origin masks : 11.239728450775146 time for calcul the mask position with numpy : 1.0602977275848389 nb_pixel_total : 6601089 time to create 1 rle with new method : 0.5239207744598389 time for calcul the mask position with numpy : 0.03382468223571777 nb_pixel_total : 3231 time to create 1 rle with old method : 0.003983259201049805 time for calcul the mask position with numpy : 0.03547549247741699 nb_pixel_total : 53224 time to create 1 rle with old method : 0.05783963203430176 time for calcul the mask position with numpy : 0.03465151786804199 nb_pixel_total : 24894 time to create 1 rle with old method : 0.027642488479614258 time for calcul the mask position with numpy : 0.034621238708496094 nb_pixel_total : 56941 time to create 1 rle with old method : 0.2671189308166504 time for calcul the mask position with numpy : 0.03891706466674805 nb_pixel_total : 215662 time to create 1 rle with new method : 1.1744122505187988 time for calcul the mask position with numpy : 0.03833341598510742 nb_pixel_total : 28801 time to create 1 rle with old method : 0.03169369697570801 time for calcul the mask position with numpy : 0.036286354064941406 nb_pixel_total : 1856 time to create 1 rle with old method : 0.002385377883911133 time for calcul the mask position with numpy : 0.03688955307006836 nb_pixel_total : 12404 time to create 1 rle with old method : 0.01689767837524414 time for calcul the mask position with numpy : 0.02996683120727539 nb_pixel_total : 5610 time to create 1 rle with old method : 0.008123636245727539 time for calcul the mask position with numpy : 0.02191329002380371 nb_pixel_total : 46528 time to create 1 rle with old method : 0.050539493560791016 create new chi : 3.643153190612793 time to delete rle : 0.0009996891021728516 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 8133 TO DO : save crop sub photo not yet done ! save time : 0.6836655139923096 nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 10.814500570297241 time for calcul the mask position with numpy : 0.7087597846984863 nb_pixel_total : 6862956 time to create 1 rle with new method : 0.9346487522125244 time for calcul the mask position with numpy : 0.032346248626708984 nb_pixel_total : 5429 time to create 1 rle with old method : 0.006252288818359375 time for calcul the mask position with numpy : 0.03459739685058594 nb_pixel_total : 15660 time to create 1 rle with old method : 0.01763153076171875 time for calcul the mask position with numpy : 0.036279916763305664 nb_pixel_total : 8808 time to create 1 rle with old method : 0.009760856628417969 time for calcul the mask position with numpy : 0.037413597106933594 nb_pixel_total : 37029 time to create 1 rle with old method : 0.042316436767578125 time for calcul the mask position with numpy : 0.03586626052856445 nb_pixel_total : 6536 time to create 1 rle with old method : 0.007570981979370117 time for calcul the mask position with numpy : 0.029334068298339844 nb_pixel_total : 1553 time to create 1 rle with old method : 0.0019037723541259766 time for calcul the mask position with numpy : 0.02318263053894043 nb_pixel_total : 1451 time to create 1 rle with old method : 0.0018687248229980469 time for calcul the mask position with numpy : 0.024190902709960938 nb_pixel_total : 53734 time to create 1 rle with old method : 0.06208658218383789 time for calcul the mask position with numpy : 0.023735761642456055 nb_pixel_total : 57084 time to create 1 rle with old method : 0.0675048828125 create new chi : 2.179877519607544 time to delete rle : 0.0008525848388671875 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 6675 TO DO : save crop sub photo not yet done ! save time : 0.4547898769378662 nb_obj : 8 nb_hashtags : 5 time to prepare the origin masks : 12.141984939575195 time for calcul the mask position with numpy : 1.0004298686981201 nb_pixel_total : 6507568 time to create 1 rle with new method : 1.1839337348937988 time for calcul the mask position with numpy : 0.021749019622802734 nb_pixel_total : 8249 time to create 1 rle with old method : 0.009039163589477539 time for calcul the mask position with numpy : 0.021700620651245117 nb_pixel_total : 81299 time to create 1 rle with old method : 0.09402990341186523 time for calcul the mask position with numpy : 0.023552417755126953 nb_pixel_total : 239125 time to create 1 rle with new method : 1.022301197052002 time for calcul the mask position with numpy : 0.03738546371459961 nb_pixel_total : 4125 time to create 1 rle with old method : 0.0045850276947021484 time for calcul the mask position with numpy : 0.036602020263671875 nb_pixel_total : 16646 time to create 1 rle with old method : 0.02679753303527832 time for calcul the mask position with numpy : 0.039499521255493164 nb_pixel_total : 116380 time to create 1 rle with old method : 0.12969255447387695 time for calcul the mask position with numpy : 0.0329592227935791 nb_pixel_total : 1334 time to create 1 rle with old method : 0.0015301704406738281 time for calcul the mask position with numpy : 0.03035712242126465 nb_pixel_total : 75514 time to create 1 rle with old method : 0.0848381519317627 create new chi : 3.8706600666046143 time to delete rle : 0.0008862018585205078 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 7268 TO DO : save crop sub photo not yet done ! save time : 0.5963494777679443 nb_obj : 22 nb_hashtags : 8 time to prepare the origin masks : 17.943361043930054 time for calcul the mask position with numpy : 0.7900683879852295 nb_pixel_total : 6030109 time to create 1 rle with new method : 0.8920724391937256 time for calcul the mask position with numpy : 0.03711700439453125 nb_pixel_total : 20925 time to create 1 rle with old method : 0.021593093872070312 time for calcul the mask position with numpy : 0.04120039939880371 nb_pixel_total : 110573 time to create 1 rle with old method : 0.11394333839416504 time for calcul the mask position with numpy : 0.03838348388671875 nb_pixel_total : 135040 time to create 1 rle with old method : 0.13881802558898926 time for calcul the mask position with numpy : 0.03792524337768555 nb_pixel_total : 53332 time to create 1 rle with old method : 0.05659127235412598 time for calcul the mask position with numpy : 0.025927305221557617 nb_pixel_total : 97853 time to create 1 rle with old method : 0.1002955436706543 time for calcul the mask position with numpy : 0.022436857223510742 nb_pixel_total : 83463 time to create 1 rle with old method : 0.08504509925842285 time for calcul the mask position with numpy : 0.024115562438964844 nb_pixel_total : 4480 time to create 1 rle with old method : 0.004644870758056641 time for calcul the mask position with numpy : 0.02273726463317871 nb_pixel_total : 4913 time to create 1 rle with old method : 0.005349874496459961 time for calcul the mask position with numpy : 0.023777008056640625 nb_pixel_total : 2036 time to create 1 rle with old method : 0.0021529197692871094 time for calcul the mask position with numpy : 0.023838281631469727 nb_pixel_total : 16857 time to create 1 rle with old method : 0.01810908317565918 time for calcul the mask position with numpy : 0.025007963180541992 nb_pixel_total : 7334 time to create 1 rle with old method : 0.007833719253540039 time for calcul the mask position with numpy : 0.023205995559692383 nb_pixel_total : 32253 time to create 1 rle with old method : 0.03377223014831543 time for calcul the mask position with numpy : 0.026306867599487305 nb_pixel_total : 55036 time to create 1 rle with old method : 0.05723738670349121 time for calcul the mask position with numpy : 0.02525472640991211 nb_pixel_total : 169878 time to create 1 rle with new method : 0.7462000846862793 time for calcul the mask position with numpy : 0.02256941795349121 nb_pixel_total : 1456 time to create 1 rle with old method : 0.0016326904296875 time for calcul the mask position with numpy : 0.024090290069580078 nb_pixel_total : 2442 time to create 1 rle with old method : 0.002623319625854492 time for calcul the mask position with numpy : 0.024332523345947266 nb_pixel_total : 99308 time to create 1 rle with old method : 0.10130643844604492 time for calcul the mask position with numpy : 0.023769855499267578 nb_pixel_total : 13146 time to create 1 rle with old method : 0.013700008392333984 time for calcul the mask position with numpy : 0.023411035537719727 nb_pixel_total : 31275 time to create 1 rle with old method : 0.0333099365234375 time for calcul the mask position with numpy : 0.02508068084716797 nb_pixel_total : 6808 time to create 1 rle with old method : 0.0074656009674072266 time for calcul the mask position with numpy : 0.023667335510253906 nb_pixel_total : 17040 time to create 1 rle with old method : 0.018664121627807617 time for calcul the mask position with numpy : 0.026857852935791016 nb_pixel_total : 54683 time to create 1 rle with old method : 0.05763387680053711 create new chi : 3.96872615814209 time to delete rle : 0.0014657974243164062 batch 1 Loaded 23 chid ids of type : 3726 Number RLEs to save : 13794 TO DO : save crop sub photo not yet done ! save time : 0.8552801609039307 nb_obj : 7 nb_hashtags : 4 time to prepare the origin masks : 10.352049589157104 time for calcul the mask position with numpy : 0.34697723388671875 nb_pixel_total : 3624188 time to create 1 rle with new method : 1.6445958614349365 time for calcul the mask position with numpy : 0.03779435157775879 nb_pixel_total : 102901 time to create 1 rle with old method : 0.12700486183166504 time for calcul the mask position with numpy : 0.06534671783447266 nb_pixel_total : 25150 time to create 1 rle with old method : 0.05406069755554199 time for calcul the mask position with numpy : 0.05681872367858887 nb_pixel_total : 803319 time to create 1 rle with new method : 2.1614131927490234 time for calcul the mask position with numpy : 0.050376176834106445 nb_pixel_total : 683236 time to create 1 rle with new method : 2.331012010574341 time for calcul the mask position with numpy : 0.03134560585021973 nb_pixel_total : 274409 time to create 1 rle with new method : 0.5801234245300293 time for calcul the mask position with numpy : 0.041192054748535156 nb_pixel_total : 1523372 time to create 1 rle with new method : 0.709503173828125 time for calcul the mask position with numpy : 0.024342775344848633 nb_pixel_total : 13665 time to create 1 rle with old method : 0.015731334686279297 create new chi : 8.417942523956299 time to delete rle : 0.0017004013061523438 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 16600 TO DO : save crop sub photo not yet done ! save time : 1.3652212619781494 nb_obj : 28 nb_hashtags : 6 time to prepare the origin masks : 11.052832126617432 time for calcul the mask position with numpy : 0.3503072261810303 nb_pixel_total : 5274977 time to create 1 rle with new method : 1.2056543827056885 time for calcul the mask position with numpy : 0.030910730361938477 nb_pixel_total : 93670 time to create 1 rle with old method : 0.12371230125427246 time for calcul the mask position with numpy : 0.031848907470703125 nb_pixel_total : 23700 time to create 1 rle with old method : 0.02756190299987793 time for calcul the mask position with numpy : 0.0389704704284668 nb_pixel_total : 443590 time to create 1 rle with new method : 0.989729642868042 time for calcul the mask position with numpy : 0.03368091583251953 nb_pixel_total : 9409 time to create 1 rle with old method : 0.010591268539428711 time for calcul the mask position with numpy : 0.031196117401123047 nb_pixel_total : 147597 time to create 1 rle with old method : 0.173933744430542 time for calcul the mask position with numpy : 0.031190872192382812 nb_pixel_total : 588 time to create 1 rle with old method : 0.0008146762847900391 time for calcul the mask position with numpy : 0.029950618743896484 nb_pixel_total : 10632 time to create 1 rle with old method : 0.01191091537475586 time for calcul the mask position with numpy : 0.029727697372436523 nb_pixel_total : 114193 time to create 1 rle with old method : 0.1299285888671875 time for calcul the mask position with numpy : 0.029223203659057617 nb_pixel_total : 1217 time to create 1 rle with old method : 0.0013966560363769531 time for calcul the mask position with numpy : 0.02978658676147461 nb_pixel_total : 37647 time to create 1 rle with old method : 0.041126251220703125 time for calcul the mask position with numpy : 0.030263662338256836 nb_pixel_total : 121700 time to create 1 rle with old method : 0.13321518898010254 time for calcul the mask position with numpy : 0.02934575080871582 nb_pixel_total : 1102 time to create 1 rle with old method : 0.0012781620025634766 time for calcul the mask position with numpy : 0.02909994125366211 nb_pixel_total : 13544 time to create 1 rle with old method : 0.014910221099853516 time for calcul the mask position with numpy : 0.029274702072143555 nb_pixel_total : 28570 time to create 1 rle with old method : 0.031178712844848633 time for calcul the mask position with numpy : 0.02947854995727539 nb_pixel_total : 142239 time to create 1 rle with old method : 0.15062928199768066 time for calcul the mask position with numpy : 0.027685165405273438 nb_pixel_total : 23249 time to create 1 rle with old method : 0.025071382522583008 time for calcul the mask position with numpy : 0.028304576873779297 nb_pixel_total : 12250 time to create 1 rle with old method : 0.012974977493286133 time for calcul the mask position with numpy : 0.029755592346191406 nb_pixel_total : 43365 time to create 1 rle with old method : 0.04621767997741699 time for calcul the mask position with numpy : 0.03000926971435547 nb_pixel_total : 73705 time to create 1 rle with old method : 0.08020424842834473 time for calcul the mask position with numpy : 0.028890609741210938 nb_pixel_total : 62642 time to create 1 rle with old method : 0.0662989616394043 time for calcul the mask position with numpy : 0.042392730712890625 nb_pixel_total : 38638 time to create 1 rle with old method : 0.04430270195007324 time for calcul the mask position with numpy : 0.029406309127807617 nb_pixel_total : 21664 time to create 1 rle with old method : 0.023911714553833008 time for calcul the mask position with numpy : 0.030739307403564453 nb_pixel_total : 81714 time to create 1 rle with old method : 0.08910489082336426 time for calcul the mask position with numpy : 0.03200483322143555 nb_pixel_total : 153739 time to create 1 rle with new method : 0.574113130569458 time for calcul the mask position with numpy : 0.030050992965698242 nb_pixel_total : 47230 time to create 1 rle with old method : 0.05212688446044922 time for calcul the mask position with numpy : 0.02935957908630371 nb_pixel_total : 8088 time to create 1 rle with old method : 0.009014368057250977 time for calcul the mask position with numpy : 0.0291140079498291 nb_pixel_total : 5073 time to create 1 rle with old method : 0.0056874752044677734 time for calcul the mask position with numpy : 0.029305458068847656 nb_pixel_total : 14508 time to create 1 rle with old method : 0.01604461669921875 create new chi : 5.402512788772583 time to delete rle : 0.001961946487426758 batch 1 Loaded 29 chid ids of type : 3726 Number RLEs to save : 19373 TO DO : save crop sub photo not yet done ! save time : 1.6719491481781006 nb_obj : 11 nb_hashtags : 5 time to prepare the origin masks : 9.470220565795898 time for calcul the mask position with numpy : 0.7100448608398438 nb_pixel_total : 3673192 time to create 1 rle with new method : 0.4488649368286133 time for calcul the mask position with numpy : 0.026724815368652344 nb_pixel_total : 387410 time to create 1 rle with new method : 0.5182099342346191 time for calcul the mask position with numpy : 0.022627592086791992 nb_pixel_total : 24580 time to create 1 rle with old method : 0.028690576553344727 time for calcul the mask position with numpy : 0.027832508087158203 nb_pixel_total : 462594 time to create 1 rle with new method : 0.9839277267456055 time for calcul the mask position with numpy : 0.02250194549560547 nb_pixel_total : 33036 time to create 1 rle with old method : 0.03623032569885254 time for calcul the mask position with numpy : 0.025629758834838867 nb_pixel_total : 236673 time to create 1 rle with new method : 0.6252636909484863 time for calcul the mask position with numpy : 0.04900622367858887 nb_pixel_total : 1881108 time to create 1 rle with new method : 0.468076229095459 time for calcul the mask position with numpy : 0.02278876304626465 nb_pixel_total : 2757 time to create 1 rle with old method : 0.0031151771545410156 time for calcul the mask position with numpy : 0.022312402725219727 nb_pixel_total : 1586 time to create 1 rle with old method : 0.0017762184143066406 time for calcul the mask position with numpy : 0.024843215942382812 nb_pixel_total : 34921 time to create 1 rle with old method : 0.0392916202545166 time for calcul the mask position with numpy : 0.02599811553955078 nb_pixel_total : 181586 time to create 1 rle with new method : 1.0251343250274658 time for calcul the mask position with numpy : 0.030020952224731445 nb_pixel_total : 130797 time to create 1 rle with old method : 0.2143383026123047 create new chi : 5.571745157241821 time to delete rle : 0.001912832260131836 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 18879 TO DO : save crop sub photo not yet done ! save time : 1.4121532440185547 map_output_result : {1341004915: (0.0, 'Should be the crop_list due to order', 0), 1341004904: (0.0, 'Should be the crop_list due to order', 0), 1341004898: (0.0, 'Should be the crop_list due to order', 0), 1341004182: (0.0, 'Should be the crop_list due to order', 0), 1341004178: (0.0, 'Should be the crop_list due to order', 0), 1341004175: (0.0, 'Should be the crop_list due to order', 0), 1341004168: (0.0, 'Should be the crop_list due to order', 0), 1341004050: (0.0, 'Should be the crop_list due to order', 0), 1341004046: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1341004915, 1341004904, 1341004898, 1341004182, 1341004178, 1341004175, 1341004168, 1341004050, 1341004046] Looping around the photos to save general results len do output : 9 /1341004915.Didn't retrieve data . /1341004904.Didn't retrieve data . /1341004898.Didn't retrieve data . /1341004182.Didn't retrieve data . /1341004178.Didn't retrieve data . /1341004175.Didn't retrieve data . /1341004168.Didn't retrieve data . /1341004050.Didn't retrieve data . /1341004046.Didn't retrieve data . before output type Used above 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, '2640576') ('3459', '21089623', '1341004915', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004904', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004898', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004182', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004178', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004175', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004168', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004050', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004046', None, None, None, None, None, '2640576') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.016715288162231445 save_final save missing photos in datou_result : time spend for datou_step_exec : 161.2361617088318 time spend to save output : 0.0202789306640625 total time spend for step 5 : 161.25644063949585 step6:crop_condition Thu Mar 6 00:21:16 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 some photos are not treated, begin crop_condition Loading chi in step crop with photo_hashtag_type : 3726 Loading chi in step crop for list_pids : 9 ! batch 1 Loaded 140 chid ids of type : 3726 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 Next one ! Next one ! Next one ! Next one ! 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 ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741216880_3597042 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.9303960800170898 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 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 ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741216884_3597042 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.836965799331665 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 Next one ! Next one ! Next one ! Next one ! 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 ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741216888_3597042 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.6645057201385498 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 Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741216893_3597042 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.6810269355773926 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 Next one ! Next one ! Next one ! Next one ! 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 ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741216897_3597042 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.708209276199341 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 Next one ! Next one ! 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 ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741216902_3597042 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.416426658630371 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 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741216906_3597042 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.0051195621490479 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 [1341004915, 1341004904, 1341004898, 1341004182, 1341004178, 1341004175, 1341004168, 1341004050, 1341004046] Looping around the photos to save general results len do output : 25 /1341125131Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125132Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125133Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125134Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125135Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125137Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125143Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125144Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125145Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125146Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125147Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125151Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125152Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125153Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125154Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125157Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125158Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125159Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125160Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125161Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125166Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125167Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125168Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125171Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341125172Didn'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, '2640576') ('3459', '21089623', '1341004915', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004904', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004898', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004182', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004178', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004175', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004168', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004050', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004046', None, None, None, None, None, '2640576') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 84 time used for this insertion : 0.03898477554321289 save_final save missing photos in datou_result : time spend for datou_step_exec : 31.68859362602234 time spend to save output : 0.22537469863891602 total time spend for step 6 : 31.913968324661255 step7:ventilate_hashtags_in_portfolio Thu Mar 6 00:21:48 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! To do loadFromThcl(), then load ParamDescType : thcl2725 thcls : [{'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5186 Iterating over portfolio : 21089623 get user id for portfolio 21089623 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21089623 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','cartonnette','mal_croppe','metal','flou','autre_refus','papier','Teint_Dans_La_Masse','environnement','kraft','Carton_brun','plastique')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21089623 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','cartonnette','mal_croppe','metal','flou','autre_refus','papier','Teint_Dans_La_Masse','environnement','kraft','Carton_brun','plastique')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21089623 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','cartonnette','mal_croppe','metal','flou','autre_refus','papier','Teint_Dans_La_Masse','environnement','kraft','Carton_brun','plastique')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/21089866,21089867,21089868,21089869,21089870,21089871,21089872,21089873,21089874,21089875,21089876,21089877?tags=Carton_gris,cartonnette,mal_croppe,metal,flou,autre_refus,papier,Teint_Dans_La_Masse,environnement,kraft,Carton_brun,plastique Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1341004915, 1341004904, 1341004898, 1341004182, 1341004178, 1341004175, 1341004168, 1341004050, 1341004046] Looping around the photos to save general results len do output : 1 /21089623. before output type 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, '2640576') ('3459', '21089623', '1341004915', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004904', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004898', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004182', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004178', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004175', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004168', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004050', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004046', None, None, None, None, None, '2640576') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.02072596549987793 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.2999188899993896 time spend to save output : 0.024161815643310547 total time spend for step 7 : 2.3240807056427 step8:final Thu Mar 6 00:21: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 ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Catched exception ! Connect or reconnect ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1341004915: ('0.07449916128926048',), 1341004904: ('0.07449916128926048',), 1341004898: ('0.07449916128926048',), 1341004182: ('0.07449916128926048',), 1341004178: ('0.07449916128926048',), 1341004175: ('0.07449916128926048',), 1341004168: ('0.07449916128926048',), 1341004050: ('0.07449916128926048',), 1341004046: ('0.07449916128926048',)} new output for save of step final : {1341004915: ('0.07449916128926048',), 1341004904: ('0.07449916128926048',), 1341004898: ('0.07449916128926048',), 1341004182: ('0.07449916128926048',), 1341004178: ('0.07449916128926048',), 1341004175: ('0.07449916128926048',), 1341004168: ('0.07449916128926048',), 1341004050: ('0.07449916128926048',), 1341004046: ('0.07449916128926048',)} [1341004915, 1341004904, 1341004898, 1341004182, 1341004178, 1341004175, 1341004168, 1341004050, 1341004046] Looping around the photos to save general results len do output : 9 /1341004915.Didn't retrieve data . /1341004904.Didn't retrieve data . /1341004898.Didn't retrieve data . /1341004182.Didn't retrieve data . /1341004178.Didn't retrieve data . /1341004175.Didn't retrieve data . /1341004168.Didn't retrieve data . /1341004050.Didn't retrieve data . /1341004046.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004915', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004904', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004898', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004182', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004178', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004175', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004168', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004050', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004046', None, None, None, None, None, '2640576') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.015406131744384766 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.18340849876403809 time spend to save output : 0.016587495803833008 total time spend for step 8 : 0.1999959945678711 step9:velours_tree Thu Mar 6 00:21:51 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 1.1968083381652832 time spend to save output : 5.6743621826171875e-05 total time spend for step 9 : 1.1968650817871094 step10:send_mail_cod Thu Mar 6 00:21:52 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 ! complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 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 dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_Auto_P21089623_06-03-2025_00_21_52.pdf 21089867 change filename to text .change filename to text .change filename to text .change filename to text .imagette210898671741216912 21089868 imagette210898681741216912 21089869 imagette210898691741216912 21089870 imagette210898701741216912 21089871 change filename to text .imagette210898711741216912 21089875 change filename to text .change filename to text .imagette210898751741216912 21089877 change filename to text .change filename to text .change filename to text .imagette210898771741216912 21089866 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette210898661741216912 21089873 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette210898731741216913 21089876 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette210898761741216913 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21089623 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21089866,21089867,21089868,21089869,21089870,21089871,21089872,21089873,21089874,21089875,21089876,21089877?tags=Carton_gris,cartonnette,mal_croppe,metal,flou,autre_refus,papier,Teint_Dans_La_Masse,environnement,kraft,Carton_brun,plastique your option no_mail is active, we will not send the real mail to your client args[1341004915] : ('0.07449916128926048',) no score found for photo 1341004915 We are sending mail with results at report@fotonower.com args[1341004904] : ('0.07449916128926048',) no score found for photo 1341004904 We are sending mail with results at report@fotonower.com args[1341004898] : ('0.07449916128926048',) no score found for photo 1341004898 We are sending mail with results at report@fotonower.com args[1341004182] : ('0.07449916128926048',) no score found for photo 1341004182 We are sending mail with results at report@fotonower.com args[1341004178] : ('0.07449916128926048',) no score found for photo 1341004178 We are sending mail with results at report@fotonower.com args[1341004175] : ('0.07449916128926048',) no score found for photo 1341004175 We are sending mail with results at report@fotonower.com args[1341004168] : ('0.07449916128926048',) no score found for photo 1341004168 We are sending mail with results at report@fotonower.com args[1341004050] : ('0.07449916128926048',) no score found for photo 1341004050 We are sending mail with results at report@fotonower.com args[1341004046] : ('0.07449916128926048',) no score found for photo 1341004046 We are sending mail with results at report@fotonower.com refus_total : 0.07449916128926048 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21089623 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1341004175,1341004178,1341004182,1341004046,1341004050,1341004168,1341004898,1341004904,1341004915) Found this number of photos: 9 begin to download photo : 1341004175 begin to download photo : 1341004182 begin to download photo : 1341004050 begin to download photo : 1341004898 begin to download photo : 1341004915 download finish for photo 1341004050 begin to download photo : 1341004168 download finish for photo 1341004915 download finish for photo 1341004898 begin to download photo : 1341004904 download finish for photo 1341004182 begin to download photo : 1341004046 download finish for photo 1341004175 begin to download photo : 1341004178 download finish for photo 1341004168 download finish for photo 1341004046 download finish for photo 1341004904 download finish for photo 1341004178 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089623_06-03-2025_00_21_52.pdf results_Auto_P21089623_06-03-2025_00_21_52.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089623_06-03-2025_00_21_52.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('3459','21089623','results_Auto_P21089623_06-03-2025_00_21_52.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089623_06-03-2025_00_21_52.pdf','pdf','','0.44','0.07449916128926048') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1341004915, 1341004904, 1341004898, 1341004182, 1341004178, 1341004175, 1341004168, 1341004050, 1341004046] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004915', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004904', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004898', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004182', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004178', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004175', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004168', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004050', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004046', None, None, None, None, None, '2640576') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.030034303665161133 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.087859630584717 time spend to save output : 0.030216217041015625 total time spend for step 10 : 4.118075847625732 step11:split_time_score Thu Mar 6 00:21:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('12', 9),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 05032025 21089623 Nombre de photos uploadées : 9 / 23040 (0%) 05032025 21089623 Nombre de photos taguées (types de déchets): 0 / 9 (0%) 05032025 21089623 Nombre de photos taguées (volume) : 0 / 9 (0%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 6.67572021484375e-06 ????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005962848663330078 elapsed_time : insert_dashboard_record_day_entry 0.02671670913696289 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089612 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089613 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089614 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089615 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089616 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089617 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089618 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089619 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089620 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089621 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089622 order by id desc limit 1 Qualite : 0.07449916128926048 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089623_06-03-2025_00_21_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089623 order by id desc limit 1 # 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 ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21089623 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089624 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089625 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089626 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089627 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089628 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089629 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089630 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089631 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089632 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089633 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089634 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089635 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089648 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089661 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089662 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089663 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089664 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089665 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089666 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089667 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089668 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089669 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089670 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089671 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089672 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089673 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089674 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089675 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089676 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089677 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089678 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089679 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089680 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089681 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089682 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089683 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089684 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089685 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089686 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089687 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089688 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089689 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'05032025': {'nb_upload': 9, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1341004915, 1341004904, 1341004898, 1341004182, 1341004178, 1341004175, 1341004168, 1341004050, 1341004046] Looping around the photos to save general results len do output : 1 /21089623Didn't retrieve data . before output type 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, '2640576') ('3459', '21089623', '1341004915', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004904', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004898', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004182', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004178', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004175', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004168', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004050', None, None, None, None, None, '2640576') ('3459', None, None, None, None, None, None, None, '2640576') ('3459', '21089623', '1341004046', None, None, None, None, None, '2640576') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.014301061630249023 save_final save missing photos in datou_result : time spend for datou_step_exec : 43.43256974220276 time spend to save output : 0.01457834243774414 total time spend for step 11 : 43.4471480846405 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 1 len(input) + len(total_photo_id_missing) : 9 set_done_treatment 137.81user 171.61system 6:24.15elapsed 80%CPU (0avgtext+0avgdata 4228204maxresident)k 658168inputs+90344outputs (22558major+11752287minor)pagefaults 0swaps