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 : 3496612 load datou : 3459 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? output optionnel thcl was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) load thcls load THCL from format json or kwargs add thcl : 2456 in CacheModelConfig load THCL from format json or kwargs add thcl : 2868 in CacheModelConfig load THCL from format json or kwargs add thcl : 2896 in CacheModelConfig load pdts add pdt : 4999 in CacheModelConfig add pdt : 5288 in CacheModelConfig add pdt : 5309 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 we have a portfolio with more photos than limit : 15>10 please execute split_portfolio.py -i 20254767 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2551128'] with mtr_portfolio_ids : ['20254767'] and first list_photo_ids : [] new path : /proc/3496612/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.9556009769439697 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 Wed Feb 5 11:42:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5706 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-05 11:42:36.129807: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-02-05 11:42:36.507171: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-05 11:42:36.508813: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7efd14000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-05 11:42:36.508851: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-05 11:42:36.515152: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-05 11:42:36.769025: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2cf029b0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-05 11:42:36.769058: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-05 11:42:36.769938: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-05 11:42:36.772272: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-05 11:42:36.803405: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-05 11:42:36.821664: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-05 11:42:36.826880: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-05 11:42:36.858780: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-05 11:42:36.864084: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-05 11:42:36.933595: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-05 11:42:36.935082: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-05 11:42:36.935527: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-05 11:42:36.936786: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-05 11:42:36.936806: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-05 11:42:36.936817: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-05 11:42:36.938907: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5221 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-02-05 11:42:37.338116: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-05 11:42:37.338210: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-05 11:42:37.338231: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-05 11:42:37.338250: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-05 11:42:37.338269: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-05 11:42:37.338286: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-05 11:42:37.338304: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-05 11:42:37.338322: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-05 11:42:37.339586: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-05 11:42:37.340714: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-05 11:42:37.340754: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-05 11:42:37.340769: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-05 11:42:37.340783: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-05 11:42:37.340798: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-05 11:42:37.340812: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-05 11:42:37.340826: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-05 11:42:37.340840: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-05 11:42:37.341858: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-05 11:42:37.341886: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-05 11:42:37.341894: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-05 11:42:37.341902: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-05 11:42:37.342982: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5221 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-02-05 11:42:43.139540: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 51380224 exceeds 10% of free system memory. 2025-02-05 11:42:47.159515: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-05 11:42:47.446031: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 150.69198 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 23 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 27 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 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 : 15 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 : 20 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 19 Detection mask done ! Trying to reset tf kernel 3497066 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 10998 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.0033838748931884766 nb_pixel_total : 108667 time to create 1 rle with old method : 0.11966276168823242 length of segment : 388 time for calcul the mask position with numpy : 0.0003826618194580078 nb_pixel_total : 11091 time to create 1 rle with old method : 0.013426780700683594 length of segment : 235 time for calcul the mask position with numpy : 0.004506587982177734 nb_pixel_total : 173272 time to create 1 rle with new method : 0.016469240188598633 length of segment : 893 time for calcul the mask position with numpy : 0.0008301734924316406 nb_pixel_total : 39849 time to create 1 rle with old method : 0.04434370994567871 length of segment : 262 time for calcul the mask position with numpy : 0.007063388824462891 nb_pixel_total : 334652 time to create 1 rle with new method : 0.022771596908569336 length of segment : 919 time for calcul the mask position with numpy : 0.00020051002502441406 nb_pixel_total : 7181 time to create 1 rle with old method : 0.008823394775390625 length of segment : 139 time for calcul the mask position with numpy : 0.00022721290588378906 nb_pixel_total : 11497 time to create 1 rle with old method : 0.014173269271850586 length of segment : 94 time for calcul the mask position with numpy : 0.007305622100830078 nb_pixel_total : 326547 time to create 1 rle with new method : 0.02472233772277832 length of segment : 1152 time for calcul the mask position with numpy : 0.0032510757446289062 nb_pixel_total : 143375 time to create 1 rle with old method : 0.16985440254211426 length of segment : 473 time for calcul the mask position with numpy : 0.0008203983306884766 nb_pixel_total : 42222 time to create 1 rle with old method : 0.04837489128112793 length of segment : 261 time for calcul the mask position with numpy : 0.005308628082275391 nb_pixel_total : 161090 time to create 1 rle with new method : 0.024643421173095703 length of segment : 1154 time for calcul the mask position with numpy : 0.001001119613647461 nb_pixel_total : 34826 time to create 1 rle with old method : 0.05390167236328125 length of segment : 620 time for calcul the mask position with numpy : 0.015439987182617188 nb_pixel_total : 418637 time to create 1 rle with new method : 0.03680682182312012 length of segment : 566 time for calcul the mask position with numpy : 0.000652313232421875 nb_pixel_total : 14009 time to create 1 rle with old method : 0.023382902145385742 length of segment : 253 time for calcul the mask position with numpy : 0.00147247314453125 nb_pixel_total : 50082 time to create 1 rle with old method : 0.07936382293701172 length of segment : 152 time for calcul the mask position with numpy : 0.00032067298889160156 nb_pixel_total : 9408 time to create 1 rle with old method : 0.013493537902832031 length of segment : 94 time for calcul the mask position with numpy : 0.0002510547637939453 nb_pixel_total : 6829 time to create 1 rle with old method : 0.011728525161743164 length of segment : 96 time for calcul the mask position with numpy : 0.0002193450927734375 nb_pixel_total : 4925 time to create 1 rle with old method : 0.0073664188385009766 length of segment : 128 time for calcul the mask position with numpy : 0.0007367134094238281 nb_pixel_total : 25447 time to create 1 rle with old method : 0.04022836685180664 length of segment : 279 time for calcul the mask position with numpy : 0.0021948814392089844 nb_pixel_total : 58959 time to create 1 rle with old method : 0.08834242820739746 length of segment : 714 time for calcul the mask position with numpy : 0.007923126220703125 nb_pixel_total : 357863 time to create 1 rle with new method : 0.028020620346069336 length of segment : 861 time for calcul the mask position with numpy : 0.003276824951171875 nb_pixel_total : 142550 time to create 1 rle with old method : 0.18760919570922852 length of segment : 549 time for calcul the mask position with numpy : 0.0003752708435058594 nb_pixel_total : 8555 time to create 1 rle with old method : 0.010603666305541992 length of segment : 145 time for calcul the mask position with numpy : 0.0008728504180908203 nb_pixel_total : 34687 time to create 1 rle with old method : 0.04134082794189453 length of segment : 339 time for calcul the mask position with numpy : 0.00045299530029296875 nb_pixel_total : 13425 time to create 1 rle with old method : 0.01602315902709961 length of segment : 195 time for calcul the mask position with numpy : 0.0029594898223876953 nb_pixel_total : 108796 time to create 1 rle with old method : 0.13289475440979004 length of segment : 778 time for calcul the mask position with numpy : 0.0011410713195800781 nb_pixel_total : 62702 time to create 1 rle with old method : 0.07089018821716309 length of segment : 262 time for calcul the mask position with numpy : 0.0003719329833984375 nb_pixel_total : 17658 time to create 1 rle with old method : 0.020518779754638672 length of segment : 146 time for calcul the mask position with numpy : 0.0001895427703857422 nb_pixel_total : 5993 time to create 1 rle with old method : 0.007543325424194336 length of segment : 78 time for calcul the mask position with numpy : 0.01769852638244629 nb_pixel_total : 660691 time to create 1 rle with new method : 0.05292201042175293 length of segment : 1009 time for calcul the mask position with numpy : 0.0026094913482666016 nb_pixel_total : 94122 time to create 1 rle with old method : 0.12078452110290527 length of segment : 407 time for calcul the mask position with numpy : 0.003270387649536133 nb_pixel_total : 137921 time to create 1 rle with old method : 0.15445232391357422 length of segment : 446 time for calcul the mask position with numpy : 0.00031447410583496094 nb_pixel_total : 4005 time to create 1 rle with old method : 0.004696846008300781 length of segment : 113 time for calcul the mask position with numpy : 0.004636526107788086 nb_pixel_total : 155262 time to create 1 rle with new method : 0.007107734680175781 length of segment : 445 time for calcul the mask position with numpy : 0.0007534027099609375 nb_pixel_total : 16823 time to create 1 rle with old method : 0.018729448318481445 length of segment : 165 time for calcul the mask position with numpy : 0.0025260448455810547 nb_pixel_total : 39413 time to create 1 rle with old method : 0.04700160026550293 length of segment : 515 time for calcul the mask position with numpy : 0.002254486083984375 nb_pixel_total : 65550 time to create 1 rle with old method : 0.06960892677307129 length of segment : 339 time for calcul the mask position with numpy : 0.0007364749908447266 nb_pixel_total : 18712 time to create 1 rle with old method : 0.021136760711669922 length of segment : 172 time for calcul the mask position with numpy : 0.00018453598022460938 nb_pixel_total : 3611 time to create 1 rle with old method : 0.004427433013916016 length of segment : 49 time for calcul the mask position with numpy : 0.000989675521850586 nb_pixel_total : 24299 time to create 1 rle with old method : 0.028382062911987305 length of segment : 213 time for calcul the mask position with numpy : 0.003042936325073242 nb_pixel_total : 71078 time to create 1 rle with old method : 0.07870292663574219 length of segment : 506 time for calcul the mask position with numpy : 0.0003814697265625 nb_pixel_total : 11449 time to create 1 rle with old method : 0.01276254653930664 length of segment : 113 time for calcul the mask position with numpy : 0.00013518333435058594 nb_pixel_total : 1130 time to create 1 rle with old method : 0.00142669677734375 length of segment : 37 time for calcul the mask position with numpy : 0.0019292831420898438 nb_pixel_total : 58828 time to create 1 rle with old method : 0.06382441520690918 length of segment : 342 time for calcul the mask position with numpy : 0.0009262561798095703 nb_pixel_total : 24530 time to create 1 rle with old method : 0.027666330337524414 length of segment : 229 time for calcul the mask position with numpy : 0.01052999496459961 nb_pixel_total : 370901 time to create 1 rle with new method : 0.016900062561035156 length of segment : 532 time for calcul the mask position with numpy : 0.0053098201751708984 nb_pixel_total : 230905 time to create 1 rle with new method : 0.008246183395385742 length of segment : 643 time for calcul the mask position with numpy : 0.0009474754333496094 nb_pixel_total : 25703 time to create 1 rle with old method : 0.030211210250854492 length of segment : 248 time for calcul the mask position with numpy : 0.00035881996154785156 nb_pixel_total : 5532 time to create 1 rle with old method : 0.006786346435546875 length of segment : 115 time for calcul the mask position with numpy : 0.0007739067077636719 nb_pixel_total : 22596 time to create 1 rle with old method : 0.026513338088989258 length of segment : 202 time for calcul the mask position with numpy : 0.0010726451873779297 nb_pixel_total : 33485 time to create 1 rle with old method : 0.03967928886413574 length of segment : 546 time for calcul the mask position with numpy : 0.00018024444580078125 nb_pixel_total : 2789 time to create 1 rle with old method : 0.0034732818603515625 length of segment : 48 time for calcul the mask position with numpy : 0.0013477802276611328 nb_pixel_total : 22533 time to create 1 rle with old method : 0.026215791702270508 length of segment : 217 time for calcul the mask position with numpy : 0.0008909702301025391 nb_pixel_total : 17403 time to create 1 rle with old method : 0.019774913787841797 length of segment : 204 time for calcul the mask position with numpy : 0.00047326087951660156 nb_pixel_total : 9543 time to create 1 rle with old method : 0.011716842651367188 length of segment : 181 time for calcul the mask position with numpy : 0.0005102157592773438 nb_pixel_total : 8128 time to create 1 rle with old method : 0.010032176971435547 length of segment : 88 time for calcul the mask position with numpy : 0.0005404949188232422 nb_pixel_total : 21973 time to create 1 rle with old method : 0.025969266891479492 length of segment : 209 time for calcul the mask position with numpy : 0.0045511722564697266 nb_pixel_total : 128638 time to create 1 rle with old method : 0.16842222213745117 length of segment : 760 time for calcul the mask position with numpy : 0.0007076263427734375 nb_pixel_total : 16161 time to create 1 rle with old method : 0.018001794815063477 length of segment : 258 time for calcul the mask position with numpy : 0.00014734268188476562 nb_pixel_total : 2666 time to create 1 rle with old method : 0.0034134387969970703 length of segment : 50 time for calcul the mask position with numpy : 0.0035915374755859375 nb_pixel_total : 227183 time to create 1 rle with new method : 0.00878596305847168 length of segment : 573 time for calcul the mask position with numpy : 0.0014922618865966797 nb_pixel_total : 16953 time to create 1 rle with old method : 0.020417451858520508 length of segment : 278 time for calcul the mask position with numpy : 0.001538991928100586 nb_pixel_total : 30521 time to create 1 rle with old method : 0.049772024154663086 length of segment : 321 time for calcul the mask position with numpy : 0.0013568401336669922 nb_pixel_total : 56254 time to create 1 rle with old method : 0.06346559524536133 length of segment : 414 time for calcul the mask position with numpy : 0.0004200935363769531 nb_pixel_total : 10301 time to create 1 rle with old method : 0.011847496032714844 length of segment : 143 time for calcul the mask position with numpy : 0.0019683837890625 nb_pixel_total : 73966 time to create 1 rle with old method : 0.0838463306427002 length of segment : 359 time for calcul the mask position with numpy : 0.0003619194030761719 nb_pixel_total : 4861 time to create 1 rle with old method : 0.008232831954956055 length of segment : 95 time for calcul the mask position with numpy : 0.0014586448669433594 nb_pixel_total : 45068 time to create 1 rle with old method : 0.05698728561401367 length of segment : 237 time for calcul the mask position with numpy : 0.003284931182861328 nb_pixel_total : 144450 time to create 1 rle with old method : 0.1610548496246338 length of segment : 639 time for calcul the mask position with numpy : 0.0006530284881591797 nb_pixel_total : 16545 time to create 1 rle with old method : 0.019023895263671875 length of segment : 202 time for calcul the mask position with numpy : 0.0001800060272216797 nb_pixel_total : 2699 time to create 1 rle with old method : 0.0033020973205566406 length of segment : 97 time for calcul the mask position with numpy : 0.0008215904235839844 nb_pixel_total : 19096 time to create 1 rle with old method : 0.022224903106689453 length of segment : 199 time for calcul the mask position with numpy : 0.00010919570922851562 nb_pixel_total : 1125 time to create 1 rle with old method : 0.001512765884399414 length of segment : 33 time for calcul the mask position with numpy : 0.00010967254638671875 nb_pixel_total : 1658 time to create 1 rle with old method : 0.0022308826446533203 length of segment : 49 time for calcul the mask position with numpy : 0.0002105236053466797 nb_pixel_total : 3900 time to create 1 rle with old method : 0.004586696624755859 length of segment : 102 time for calcul the mask position with numpy : 0.003387451171875 nb_pixel_total : 159387 time to create 1 rle with new method : 0.0045359134674072266 length of segment : 525 time for calcul the mask position with numpy : 0.00235748291015625 nb_pixel_total : 141887 time to create 1 rle with old method : 0.15940451622009277 length of segment : 669 time for calcul the mask position with numpy : 0.040120601654052734 nb_pixel_total : 1379350 time to create 1 rle with new method : 0.10497522354125977 length of segment : 2859 time for calcul the mask position with numpy : 0.0008513927459716797 nb_pixel_total : 12573 time to create 1 rle with old method : 0.014342546463012695 length of segment : 201 time for calcul the mask position with numpy : 0.0002014636993408203 nb_pixel_total : 4037 time to create 1 rle with old method : 0.0047855377197265625 length of segment : 93 time for calcul the mask position with numpy : 0.0003349781036376953 nb_pixel_total : 6512 time to create 1 rle with old method : 0.00798344612121582 length of segment : 104 time for calcul the mask position with numpy : 0.008460044860839844 nb_pixel_total : 375109 time to create 1 rle with new method : 0.013530969619750977 length of segment : 828 time for calcul the mask position with numpy : 0.0005550384521484375 nb_pixel_total : 16032 time to create 1 rle with old method : 0.018679141998291016 length of segment : 189 time for calcul the mask position with numpy : 0.014343500137329102 nb_pixel_total : 670719 time to create 1 rle with new method : 0.02734375 length of segment : 915 time for calcul the mask position with numpy : 0.0013697147369384766 nb_pixel_total : 55465 time to create 1 rle with old method : 0.06311750411987305 length of segment : 490 time for calcul the mask position with numpy : 0.00019812583923339844 nb_pixel_total : 3381 time to create 1 rle with old method : 0.0041043758392333984 length of segment : 118 time for calcul the mask position with numpy : 0.001707315444946289 nb_pixel_total : 46117 time to create 1 rle with old method : 0.05179548263549805 length of segment : 670 time for calcul the mask position with numpy : 0.0001850128173828125 nb_pixel_total : 3071 time to create 1 rle with old method : 0.0038988590240478516 length of segment : 61 time for calcul the mask position with numpy : 0.010258913040161133 nb_pixel_total : 466261 time to create 1 rle with new method : 0.02103447914123535 length of segment : 792 time for calcul the mask position with numpy : 0.0012595653533935547 nb_pixel_total : 80750 time to create 1 rle with old method : 0.09038829803466797 length of segment : 426 time for calcul the mask position with numpy : 0.0022389888763427734 nb_pixel_total : 97295 time to create 1 rle with old method : 0.12312078475952148 length of segment : 403 time for calcul the mask position with numpy : 0.001669168472290039 nb_pixel_total : 60176 time to create 1 rle with old method : 0.06768250465393066 length of segment : 249 time for calcul the mask position with numpy : 0.0009038448333740234 nb_pixel_total : 25731 time to create 1 rle with old method : 0.031091928482055664 length of segment : 274 time for calcul the mask position with numpy : 0.015116453170776367 nb_pixel_total : 643082 time to create 1 rle with new method : 0.028650522232055664 length of segment : 1543 time for calcul the mask position with numpy : 0.0009884834289550781 nb_pixel_total : 20280 time to create 1 rle with old method : 0.02325296401977539 length of segment : 316 time for calcul the mask position with numpy : 0.008025407791137695 nb_pixel_total : 278180 time to create 1 rle with new method : 0.014935493469238281 length of segment : 833 time for calcul the mask position with numpy : 0.005061149597167969 nb_pixel_total : 193979 time to create 1 rle with new method : 0.008118867874145508 length of segment : 778 time for calcul the mask position with numpy : 0.0001246929168701172 nb_pixel_total : 1639 time to create 1 rle with old method : 0.0022699832916259766 length of segment : 49 time for calcul the mask position with numpy : 0.00029087066650390625 nb_pixel_total : 6924 time to create 1 rle with old method : 0.008420944213867188 length of segment : 92 time for calcul the mask position with numpy : 0.0015108585357666016 nb_pixel_total : 46896 time to create 1 rle with old method : 0.055316925048828125 length of segment : 255 time for calcul the mask position with numpy : 0.0004620552062988281 nb_pixel_total : 14785 time to create 1 rle with old method : 0.017229557037353516 length of segment : 123 time for calcul the mask position with numpy : 0.006285667419433594 nb_pixel_total : 246894 time to create 1 rle with new method : 0.008649826049804688 length of segment : 618 time for calcul the mask position with numpy : 0.00017523765563964844 nb_pixel_total : 1991 time to create 1 rle with old method : 0.002511739730834961 length of segment : 73 time for calcul the mask position with numpy : 0.005463600158691406 nb_pixel_total : 177904 time to create 1 rle with new method : 0.007905244827270508 length of segment : 730 time for calcul the mask position with numpy : 0.00013875961303710938 nb_pixel_total : 1932 time to create 1 rle with old method : 0.0024499893188476562 length of segment : 94 time for calcul the mask position with numpy : 0.00012731552124023438 nb_pixel_total : 3113 time to create 1 rle with old method : 0.004000186920166016 length of segment : 51 time for calcul the mask position with numpy : 0.0017018318176269531 nb_pixel_total : 31296 time to create 1 rle with old method : 0.03513741493225098 length of segment : 385 time for calcul the mask position with numpy : 0.0013279914855957031 nb_pixel_total : 4060 time to create 1 rle with old method : 0.005667209625244141 length of segment : 114 time for calcul the mask position with numpy : 0.004778146743774414 nb_pixel_total : 41080 time to create 1 rle with old method : 0.04734921455383301 length of segment : 487 time for calcul the mask position with numpy : 0.000522613525390625 nb_pixel_total : 7381 time to create 1 rle with old method : 0.009194135665893555 length of segment : 166 time for calcul the mask position with numpy : 0.0001232624053955078 nb_pixel_total : 2297 time to create 1 rle with old method : 0.0030562877655029297 length of segment : 76 time for calcul the mask position with numpy : 0.0002930164337158203 nb_pixel_total : 9450 time to create 1 rle with old method : 0.01193547248840332 length of segment : 131 time for calcul the mask position with numpy : 0.0007266998291015625 nb_pixel_total : 22852 time to create 1 rle with old method : 0.02700948715209961 length of segment : 198 time for calcul the mask position with numpy : 0.0006906986236572266 nb_pixel_total : 33964 time to create 1 rle with old method : 0.040705204010009766 length of segment : 376 time for calcul the mask position with numpy : 0.0003311634063720703 nb_pixel_total : 10841 time to create 1 rle with old method : 0.012970924377441406 length of segment : 108 time for calcul the mask position with numpy : 0.002979755401611328 nb_pixel_total : 167449 time to create 1 rle with new method : 0.009637594223022461 length of segment : 666 time for calcul the mask position with numpy : 0.0012445449829101562 nb_pixel_total : 34066 time to create 1 rle with old method : 0.04012727737426758 length of segment : 227 time for calcul the mask position with numpy : 0.0005214214324951172 nb_pixel_total : 7701 time to create 1 rle with old method : 0.010152101516723633 length of segment : 88 time for calcul the mask position with numpy : 0.0003056526184082031 nb_pixel_total : 2109 time to create 1 rle with old method : 0.0034322738647460938 length of segment : 115 time for calcul the mask position with numpy : 0.0019533634185791016 nb_pixel_total : 33960 time to create 1 rle with old method : 0.0398099422454834 length of segment : 327 time for calcul the mask position with numpy : 0.002519369125366211 nb_pixel_total : 98190 time to create 1 rle with old method : 0.11138486862182617 length of segment : 441 time for calcul the mask position with numpy : 0.0005548000335693359 nb_pixel_total : 20970 time to create 1 rle with old method : 0.03297853469848633 length of segment : 232 time for calcul the mask position with numpy : 0.0009443759918212891 nb_pixel_total : 20329 time to create 1 rle with old method : 0.023984432220458984 length of segment : 265 time for calcul the mask position with numpy : 0.0008225440979003906 nb_pixel_total : 19101 time to create 1 rle with old method : 0.022655725479125977 length of segment : 232 time for calcul the mask position with numpy : 0.019069433212280273 nb_pixel_total : 656231 time to create 1 rle with new method : 0.03519272804260254 length of segment : 1823 time for calcul the mask position with numpy : 0.0018870830535888672 nb_pixel_total : 44561 time to create 1 rle with old method : 0.05475807189941406 length of segment : 340 time for calcul the mask position with numpy : 0.0012917518615722656 nb_pixel_total : 15015 time to create 1 rle with old method : 0.01807546615600586 length of segment : 253 time for calcul the mask position with numpy : 0.006006717681884766 nb_pixel_total : 197381 time to create 1 rle with new method : 0.007438182830810547 length of segment : 557 time for calcul the mask position with numpy : 0.0009369850158691406 nb_pixel_total : 22205 time to create 1 rle with old method : 0.028650283813476562 length of segment : 260 time for calcul the mask position with numpy : 0.00023651123046875 nb_pixel_total : 11004 time to create 1 rle with old method : 0.01328277587890625 length of segment : 120 time for calcul the mask position with numpy : 0.0006902217864990234 nb_pixel_total : 14855 time to create 1 rle with old method : 0.01788616180419922 length of segment : 246 time for calcul the mask position with numpy : 0.004660844802856445 nb_pixel_total : 246035 time to create 1 rle with new method : 0.010001182556152344 length of segment : 783 time for calcul the mask position with numpy : 0.0014336109161376953 nb_pixel_total : 43913 time to create 1 rle with old method : 0.050473690032958984 length of segment : 298 time for calcul the mask position with numpy : 0.002887248992919922 nb_pixel_total : 67759 time to create 1 rle with old method : 0.07678341865539551 length of segment : 312 time for calcul the mask position with numpy : 0.0012748241424560547 nb_pixel_total : 29498 time to create 1 rle with old method : 0.036047935485839844 length of segment : 244 time for calcul the mask position with numpy : 0.003805875778198242 nb_pixel_total : 58985 time to create 1 rle with old method : 0.06830930709838867 length of segment : 854 time for calcul the mask position with numpy : 0.0023381710052490234 nb_pixel_total : 41914 time to create 1 rle with old method : 0.04834103584289551 length of segment : 231 time for calcul the mask position with numpy : 0.0006327629089355469 nb_pixel_total : 10841 time to create 1 rle with old method : 0.01331019401550293 length of segment : 147 time for calcul the mask position with numpy : 0.0006549358367919922 nb_pixel_total : 13693 time to create 1 rle with old method : 0.01678180694580078 length of segment : 174 time for calcul the mask position with numpy : 0.000347137451171875 nb_pixel_total : 10777 time to create 1 rle with old method : 0.013077497482299805 length of segment : 211 time for calcul the mask position with numpy : 9.703636169433594e-05 nb_pixel_total : 3228 time to create 1 rle with old method : 0.004143714904785156 length of segment : 64 time for calcul the mask position with numpy : 0.00030159950256347656 nb_pixel_total : 6218 time to create 1 rle with old method : 0.007658720016479492 length of segment : 69 time for calcul the mask position with numpy : 0.005794048309326172 nb_pixel_total : 210328 time to create 1 rle with new method : 0.008436203002929688 length of segment : 572 time for calcul the mask position with numpy : 0.0004887580871582031 nb_pixel_total : 2516 time to create 1 rle with old method : 0.004326343536376953 length of segment : 145 time for calcul the mask position with numpy : 0.00021839141845703125 nb_pixel_total : 4028 time to create 1 rle with old method : 0.0049266815185546875 length of segment : 65 time for calcul the mask position with numpy : 0.01137685775756836 nb_pixel_total : 383007 time to create 1 rle with new method : 0.018890857696533203 length of segment : 972 time for calcul the mask position with numpy : 0.008955717086791992 nb_pixel_total : 258841 time to create 1 rle with new method : 0.01372981071472168 length of segment : 706 time for calcul the mask position with numpy : 0.002007722854614258 nb_pixel_total : 52468 time to create 1 rle with old method : 0.05982804298400879 length of segment : 620 time for calcul the mask position with numpy : 0.0009610652923583984 nb_pixel_total : 47320 time to create 1 rle with old method : 0.05229330062866211 length of segment : 359 time for calcul the mask position with numpy : 0.004338502883911133 nb_pixel_total : 195313 time to create 1 rle with new method : 0.0056722164154052734 length of segment : 318 time for calcul the mask position with numpy : 0.0013697147369384766 nb_pixel_total : 16147 time to create 1 rle with old method : 0.019258499145507812 length of segment : 244 time for calcul the mask position with numpy : 0.0005664825439453125 nb_pixel_total : 30007 time to create 1 rle with old method : 0.034963130950927734 length of segment : 193 time for calcul the mask position with numpy : 0.0001475811004638672 nb_pixel_total : 4616 time to create 1 rle with old method : 0.006030082702636719 length of segment : 95 time for calcul the mask position with numpy : 0.00019884109497070312 nb_pixel_total : 2912 time to create 1 rle with old method : 0.003751516342163086 length of segment : 79 time for calcul the mask position with numpy : 0.0036199092864990234 nb_pixel_total : 213862 time to create 1 rle with new method : 0.009671926498413086 length of segment : 682 time for calcul the mask position with numpy : 0.0008690357208251953 nb_pixel_total : 15739 time to create 1 rle with old method : 0.018703937530517578 length of segment : 297 time for calcul the mask position with numpy : 0.00220489501953125 nb_pixel_total : 56189 time to create 1 rle with old method : 0.063751220703125 length of segment : 567 time for calcul the mask position with numpy : 0.0006062984466552734 nb_pixel_total : 21505 time to create 1 rle with old method : 0.03577113151550293 length of segment : 134 time for calcul the mask position with numpy : 0.00019502639770507812 nb_pixel_total : 2643 time to create 1 rle with old method : 0.0036165714263916016 length of segment : 44 time for calcul the mask position with numpy : 0.0037949085235595703 nb_pixel_total : 154715 time to create 1 rle with new method : 0.004827737808227539 length of segment : 431 time for calcul the mask position with numpy : 0.0011806488037109375 nb_pixel_total : 30031 time to create 1 rle with old method : 0.03516530990600586 length of segment : 283 time for calcul the mask position with numpy : 0.00244903564453125 nb_pixel_total : 91959 time to create 1 rle with old method : 0.10338044166564941 length of segment : 488 time for calcul the mask position with numpy : 0.00041103363037109375 nb_pixel_total : 6482 time to create 1 rle with old method : 0.011119842529296875 length of segment : 84 time for calcul the mask position with numpy : 0.0009109973907470703 nb_pixel_total : 17681 time to create 1 rle with old method : 0.023833036422729492 length of segment : 197 time for calcul the mask position with numpy : 0.003929615020751953 nb_pixel_total : 164396 time to create 1 rle with new method : 0.004942655563354492 length of segment : 589 time for calcul the mask position with numpy : 0.001184701919555664 nb_pixel_total : 19424 time to create 1 rle with old method : 0.025284290313720703 length of segment : 251 time for calcul the mask position with numpy : 0.002869844436645508 nb_pixel_total : 95593 time to create 1 rle with old method : 0.11449217796325684 length of segment : 487 time for calcul the mask position with numpy : 0.00016307830810546875 nb_pixel_total : 3855 time to create 1 rle with old method : 0.004529237747192383 length of segment : 152 time for calcul the mask position with numpy : 0.0015971660614013672 nb_pixel_total : 88526 time to create 1 rle with old method : 0.1014411449432373 length of segment : 470 time for calcul the mask position with numpy : 0.0007169246673583984 nb_pixel_total : 22501 time to create 1 rle with old method : 0.026928424835205078 length of segment : 154 time for calcul the mask position with numpy : 0.00044846534729003906 nb_pixel_total : 12908 time to create 1 rle with old method : 0.01569366455078125 length of segment : 149 time for calcul the mask position with numpy : 0.0006115436553955078 nb_pixel_total : 19659 time to create 1 rle with old method : 0.023463010787963867 length of segment : 153 time for calcul the mask position with numpy : 0.0006806850433349609 nb_pixel_total : 24160 time to create 1 rle with old method : 0.0282440185546875 length of segment : 203 time for calcul the mask position with numpy : 0.0019729137420654297 nb_pixel_total : 71731 time to create 1 rle with old method : 0.08241677284240723 length of segment : 346 time for calcul the mask position with numpy : 0.0008842945098876953 nb_pixel_total : 36431 time to create 1 rle with old method : 0.04340410232543945 length of segment : 245 time for calcul the mask position with numpy : 9.369850158691406e-05 nb_pixel_total : 2313 time to create 1 rle with old method : 0.0030019283294677734 length of segment : 68 time for calcul the mask position with numpy : 0.00020551681518554688 nb_pixel_total : 3215 time to create 1 rle with old method : 0.004300594329833984 length of segment : 86 time spent for convertir_results : 16.56856679916382 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 177 chid ids of type : 3663 Number RLEs to save : 63336 save missing photos in datou_result : time spend for datou_step_exec : 62.230276584625244 time spend to save output : 3.548764944076538 total time spend for step 1 : 65.77904152870178 step2:crop_condition Wed Feb 5 11:43:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3663 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 177 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 ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 21 About to insert : list_path_to_insert length 21 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 50 About to insert : list_path_to_insert length 50 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 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 [1334675189, 1334675182, 1334675180, 1334671652, 1334669948, 1334669944, 1334628625, 1334628616, 1334624112, 1334620280] Looping around the photos to save general results len do output : 102 /-3655819950Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819951Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819963Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819979Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819989Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820017Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820016Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820038Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820032Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820044Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820050Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819925Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819920Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819913Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819914Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819917Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819926Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819924Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819947Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819945Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819937Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819940Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819944Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819971Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819972Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819964Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819987Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819982Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820010Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820026Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820068Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820045Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819941Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820001Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820018Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820037Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820057Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820047Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820061Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820072Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819921Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819911Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819923Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819919Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819946Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819942Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819929Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819936Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819933Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819931Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819930Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819960Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819968Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819973Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819966Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819958Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819956Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819961Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819954Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819965Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819978Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819976Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819986Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819992Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820007Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820006Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820003Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820020Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820024Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820023Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820014Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820012Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820019Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820042Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820043Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820030Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820031Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820065Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820059Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820053Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820046Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820058Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820067Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820070Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820079Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820077Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820076Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820080Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820083Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820075Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819938Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819939Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819948Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819959Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819977Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819975Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655819980Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820034Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820055Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820002Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820062Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655820084Didn'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, '2551128') ('3459', '20254767', '1334675189', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334675182', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334675180', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334671652', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334669948', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334669944', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334628625', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334628616', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334624112', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334620280', None, None, None, None, None, '2551128') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 316 time used for this insertion : 0.04268789291381836 save_final save missing photos in datou_result : time spend for datou_step_exec : 45.037835359573364 time spend to save output : 0.04519367218017578 total time spend for step 2 : 45.08302903175354 step3:thcl Wed Feb 5 11:44:22 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.008893013000488281 time to convert the images to numpy array : 0.042088985443115234 time to import caffe and check if the image exist : 0.012798309326171875 time to convert the images to numpy array : 0.05488419532775879 time to import caffe and check if the image exist : 0.00670170783996582 time to convert the images to numpy array : 0.09457993507385254 time to import caffe and check if the image exist : 0.009911537170410156 time to convert the images to numpy array : 0.13350653648376465 time to import caffe and check if the image exist : 0.011820316314697266 time to convert the images to numpy array : 0.1339716911315918 time to import caffe and check if the image exist : 0.012395381927490234 time to convert the images to numpy array : 0.13411593437194824 time to import caffe and check if the image exist : 0.015363216400146484 time to convert the images to numpy array : 0.1459517478942871 time to import caffe and check if the image exist : 0.008823871612548828 time to convert the images to numpy array : 0.16347479820251465 time to import caffe and check if the image exist : 0.014250755310058594 time to convert the images to numpy array : 0.15945935249328613 time to import caffe and check if the image exist : 0.01194310188293457 time to convert the images to numpy array : 0.1660749912261963 total time to convert the images to numpy array : 0.383253812789917 list photo_ids error: [] list photo_ids correct : [-3655820002, -3655820062, -3655820084, -3655820083, -3655820075, -3655819938, -3655819939, -3655819948, -3655819959, -3655819977, -3655819975, -3655819980, -3655820034, -3655820055, -3655819950, -3655819951, -3655819963, -3655819979, -3655819989, -3655820017, -3655820016, -3655820038, -3655820032, -3655820044, -3655820050, -3655820003, -3655820020, -3655820024, -3655820023, -3655820014, -3655820012, -3655820019, -3655820042, -3655820043, -3655820030, -3655820031, -3655819944, -3655819971, -3655819972, -3655819964, -3655819987, -3655819982, -3655820010, -3655820026, -3655820068, -3655820045, -3655819941, -3655819946, -3655819942, -3655819929, -3655819936, -3655819933, -3655819931, -3655819930, -3655819960, -3655819968, -3655819973, -3655819966, -3655820065, -3655820059, -3655820053, -3655820046, -3655820058, -3655820067, -3655820070, -3655820079, -3655820077, -3655820076, -3655820080, -3655820001, -3655820018, -3655820037, -3655820057, -3655820047, -3655820061, -3655820072, -3655819921, -3655819911, -3655819923, -3655819919, -3655819925, -3655819920, -3655819913, -3655819914, -3655819917, -3655819926, -3655819924, -3655819947, -3655819945, -3655819937, -3655819940, -3655819958, -3655819956, -3655819961, -3655819954, -3655819965, -3655819978, -3655819976, -3655819986, -3655819992, -3655820007, -3655820006] number of photos to traite : 102 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 : 10774 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 : 10555 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.4270305633544922 time used to do the prediction : 0.2199866771697998 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 : 10553 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 : 10553 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.3247811794281006 time used to do the prediction : 0.19317197799682617 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 : 1.7881393432617188e-05 save missing photos in datou_result : time spend for datou_step_exec : 10.443350553512573 time spend to save output : 0.0007846355438232422 total time spend for step 3 : 10.444135189056396 step4:merge_mask_thcl_custom Wed Feb 5 11:44:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 177 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 [1334675189, 1334675182, 1334675180, 1334671652, 1334669948, 1334669944, 1334628625, 1334628616, 1334624112, 1334620280] Looping around the photos to save general results len do output : 10 /1334675189Didn't retrieve data .Didn't retrieve data . /1334675182Didn't retrieve data .Didn't retrieve data . /1334675180Didn't retrieve data .Didn't retrieve data . /1334671652Didn't retrieve data .Didn't retrieve data . /1334669948Didn't retrieve data .Didn't retrieve data . /1334669944Didn't retrieve data .Didn't retrieve data . /1334628625Didn't retrieve data .Didn't retrieve data . /1334628616Didn't retrieve data .Didn't retrieve data . /1334624112Didn't retrieve data .Didn't retrieve data . /1334620280Didn'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, '2551128') ('3459', '20254767', '1334675189', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334675182', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334675180', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334671652', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334669948', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334669944', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334628625', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334628616', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334624112', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334620280', None, None, None, None, None, '2551128') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014032840728759766 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11179518699645996 time spend to save output : 0.014540433883666992 total time spend for step 4 : 0.12633562088012695 step5:rle_unique_nms_with_priority Wed Feb 5 11:44:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 16 nb_hashtags : 6 time to prepare the origin masks : 7.128461122512817 time for calcul the mask position with numpy : 0.24181056022644043 nb_pixel_total : 5336932 time to create 1 rle with new method : 0.5972864627838135 time for calcul the mask position with numpy : 0.021848678588867188 nb_pixel_total : 12068 time to create 1 rle with old method : 0.013498067855834961 time for calcul the mask position with numpy : 0.02054572105407715 nb_pixel_total : 49753 time to create 1 rle with old method : 0.05388450622558594 time for calcul the mask position with numpy : 0.020603656768798828 nb_pixel_total : 6140 time to create 1 rle with old method : 0.007177591323852539 time for calcul the mask position with numpy : 0.020351886749267578 nb_pixel_total : 39655 time to create 1 rle with old method : 0.04304981231689453 time for calcul the mask position with numpy : 0.02386641502380371 nb_pixel_total : 20690 time to create 1 rle with old method : 0.0224611759185791 time for calcul the mask position with numpy : 0.029052019119262695 nb_pixel_total : 172523 time to create 1 rle with new method : 0.7527925968170166 time for calcul the mask position with numpy : 0.027344703674316406 nb_pixel_total : 9363 time to create 1 rle with old method : 0.010468244552612305 time for calcul the mask position with numpy : 0.023494482040405273 nb_pixel_total : 324926 time to create 1 rle with new method : 0.4003760814666748 time for calcul the mask position with numpy : 0.023377418518066406 nb_pixel_total : 417798 time to create 1 rle with new method : 0.3444101810455322 time for calcul the mask position with numpy : 0.024391651153564453 nb_pixel_total : 7137 time to create 1 rle with old method : 0.008074045181274414 time for calcul the mask position with numpy : 0.02481365203857422 nb_pixel_total : 143344 time to create 1 rle with old method : 0.15327763557434082 time for calcul the mask position with numpy : 0.02751922607421875 nb_pixel_total : 334417 time to create 1 rle with new method : 0.1932525634765625 time for calcul the mask position with numpy : 0.025006532669067383 nb_pixel_total : 41894 time to create 1 rle with old method : 0.04347681999206543 time for calcul the mask position with numpy : 0.024593591690063477 nb_pixel_total : 11091 time to create 1 rle with old method : 0.01189422607421875 time for calcul the mask position with numpy : 0.026302099227905273 nb_pixel_total : 108554 time to create 1 rle with old method : 0.11462569236755371 time for calcul the mask position with numpy : 0.024834394454956055 nb_pixel_total : 13955 time to create 1 rle with old method : 0.015573263168334961 create new chi : 3.5179972648620605 time to delete rle : 0.013724803924560547 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 15465 TO DO : save crop sub photo not yet done ! save time : 0.8763525485992432 nb_obj : 20 nb_hashtags : 6 time to prepare the origin masks : 8.938433170318604 time for calcul the mask position with numpy : 0.2949237823486328 nb_pixel_total : 5376267 time to create 1 rle with new method : 0.3354175090789795 time for calcul the mask position with numpy : 0.037845611572265625 nb_pixel_total : 61674 time to create 1 rle with old method : 0.06461429595947266 time for calcul the mask position with numpy : 0.03841066360473633 nb_pixel_total : 67180 time to create 1 rle with old method : 0.07075738906860352 time for calcul the mask position with numpy : 0.03934741020202637 nb_pixel_total : 137710 time to create 1 rle with old method : 0.15856194496154785 time for calcul the mask position with numpy : 0.039820194244384766 nb_pixel_total : 17617 time to create 1 rle with old method : 0.018638134002685547 time for calcul the mask position with numpy : 0.0389866828918457 nb_pixel_total : 62627 time to create 1 rle with old method : 0.07281708717346191 time for calcul the mask position with numpy : 0.03975224494934082 nb_pixel_total : 154909 time to create 1 rle with new method : 0.26111912727355957 time for calcul the mask position with numpy : 0.04089832305908203 nb_pixel_total : 25421 time to create 1 rle with old method : 0.02759552001953125 time for calcul the mask position with numpy : 0.042687416076660156 nb_pixel_total : 325267 time to create 1 rle with new method : 0.6244091987609863 time for calcul the mask position with numpy : 0.03859400749206543 nb_pixel_total : 16777 time to create 1 rle with old method : 0.017727375030517578 time for calcul the mask position with numpy : 0.03923201560974121 nb_pixel_total : 13375 time to create 1 rle with old method : 0.014503955841064453 time for calcul the mask position with numpy : 0.03828120231628418 nb_pixel_total : 34534 time to create 1 rle with old method : 0.035631656646728516 time for calcul the mask position with numpy : 0.03834867477416992 nb_pixel_total : 8514 time to create 1 rle with old method : 0.008765220642089844 time for calcul the mask position with numpy : 0.04746747016906738 nb_pixel_total : 129675 time to create 1 rle with old method : 0.13656282424926758 time for calcul the mask position with numpy : 0.05011773109436035 nb_pixel_total : 5982 time to create 1 rle with old method : 0.00648045539855957 time for calcul the mask position with numpy : 0.04501175880432129 nb_pixel_total : 358405 time to create 1 rle with new method : 0.4248013496398926 time for calcul the mask position with numpy : 0.0416567325592041 nb_pixel_total : 4882 time to create 1 rle with old method : 0.005419015884399414 time for calcul the mask position with numpy : 0.04036664962768555 nb_pixel_total : 6798 time to create 1 rle with old method : 0.007576465606689453 time for calcul the mask position with numpy : 0.041463613510131836 nb_pixel_total : 39433 time to create 1 rle with old method : 0.04220747947692871 time for calcul the mask position with numpy : 0.03951621055603027 nb_pixel_total : 94042 time to create 1 rle with old method : 0.09976840019226074 time for calcul the mask position with numpy : 0.0394284725189209 nb_pixel_total : 109151 time to create 1 rle with old method : 0.11664891242980957 create new chi : 3.746309995651245 time to delete rle : 0.0015676021575927734 batch 1 Loaded 21 chid ids of type : 3726 Number RLEs to save : 16623 TO DO : save crop sub photo not yet done ! save time : 0.9240953922271729 nb_obj : 26 nb_hashtags : 6 time to prepare the origin masks : 9.969710111618042 time for calcul the mask position with numpy : 0.07732748985290527 nb_pixel_total : 5879333 time to create 1 rle with new method : 0.1387488842010498 time for calcul the mask position with numpy : 0.029657602310180664 nb_pixel_total : 11424 time to create 1 rle with old method : 0.014952659606933594 time for calcul the mask position with numpy : 0.027164936065673828 nb_pixel_total : 2662 time to create 1 rle with old method : 0.002858877182006836 time for calcul the mask position with numpy : 0.027132272720336914 nb_pixel_total : 21907 time to create 1 rle with old method : 0.02346181869506836 time for calcul the mask position with numpy : 0.030044078826904297 nb_pixel_total : 230919 time to create 1 rle with new method : 0.11834883689880371 time for calcul the mask position with numpy : 0.026831865310668945 nb_pixel_total : 2818 time to create 1 rle with old method : 0.003557443618774414 time for calcul the mask position with numpy : 0.02785348892211914 nb_pixel_total : 6623 time to create 1 rle with old method : 0.007475376129150391 time for calcul the mask position with numpy : 0.02798318862915039 nb_pixel_total : 71851 time to create 1 rle with old method : 0.07305335998535156 time for calcul the mask position with numpy : 0.026639223098754883 nb_pixel_total : 16808 time to create 1 rle with old method : 0.01737213134765625 time for calcul the mask position with numpy : 0.02684640884399414 nb_pixel_total : 5523 time to create 1 rle with old method : 0.006003379821777344 time for calcul the mask position with numpy : 0.02694845199584961 nb_pixel_total : 24510 time to create 1 rle with old method : 0.025824546813964844 time for calcul the mask position with numpy : 0.02689194679260254 nb_pixel_total : 2772 time to create 1 rle with old method : 0.0032422542572021484 time for calcul the mask position with numpy : 0.02660989761352539 nb_pixel_total : 3595 time to create 1 rle with old method : 0.003814220428466797 time for calcul the mask position with numpy : 0.026396751403808594 nb_pixel_total : 16135 time to create 1 rle with old method : 0.01714611053466797 time for calcul the mask position with numpy : 0.026140451431274414 nb_pixel_total : 22403 time to create 1 rle with old method : 0.024035215377807617 time for calcul the mask position with numpy : 0.027574777603149414 nb_pixel_total : 8036 time to create 1 rle with old method : 0.008672237396240234 time for calcul the mask position with numpy : 0.02773261070251465 nb_pixel_total : 1118 time to create 1 rle with old method : 0.001199483871459961 time for calcul the mask position with numpy : 0.026276111602783203 nb_pixel_total : 25632 time to create 1 rle with old method : 0.026819705963134766 time for calcul the mask position with numpy : 0.02594137191772461 nb_pixel_total : 24223 time to create 1 rle with old method : 0.025180578231811523 time for calcul the mask position with numpy : 0.02745366096496582 nb_pixel_total : 57865 time to create 1 rle with old method : 0.061012983322143555 time for calcul the mask position with numpy : 0.027025699615478516 nb_pixel_total : 30476 time to create 1 rle with old method : 0.032277584075927734 time for calcul the mask position with numpy : 0.026180505752563477 nb_pixel_total : 9754 time to create 1 rle with old method : 0.010728597640991211 time for calcul the mask position with numpy : 0.02730417251586914 nb_pixel_total : 34404 time to create 1 rle with old method : 0.03754115104675293 time for calcul the mask position with numpy : 0.03116464614868164 nb_pixel_total : 370282 time to create 1 rle with new method : 0.12569713592529297 time for calcul the mask position with numpy : 0.02939915657043457 nb_pixel_total : 128046 time to create 1 rle with old method : 0.13541316986083984 time for calcul the mask position with numpy : 0.027291297912597656 nb_pixel_total : 18636 time to create 1 rle with old method : 0.019685983657836914 time for calcul the mask position with numpy : 0.028410911560058594 nb_pixel_total : 22485 time to create 1 rle with old method : 0.02363896369934082 create new chi : 1.8195891380310059 time to delete rle : 0.0014469623565673828 batch 1 Loaded 27 chid ids of type : 3726 Number RLEs to save : 15269 TO DO : save crop sub photo not yet done ! save time : 0.8357634544372559 nb_obj : 13 nb_hashtags : 4 time to prepare the origin masks : 3.1219682693481445 time for calcul the mask position with numpy : 0.09755253791809082 nb_pixel_total : 6504946 time to create 1 rle with new method : 0.9554042816162109 time for calcul the mask position with numpy : 0.039723873138427734 nb_pixel_total : 16521 time to create 1 rle with old method : 0.01848769187927246 time for calcul the mask position with numpy : 0.039185285568237305 nb_pixel_total : 4840 time to create 1 rle with old method : 0.005390167236328125 time for calcul the mask position with numpy : 0.03989148139953613 nb_pixel_total : 10277 time to create 1 rle with old method : 0.011554241180419922 time for calcul the mask position with numpy : 0.038338661193847656 nb_pixel_total : 1656 time to create 1 rle with old method : 0.001890420913696289 time for calcul the mask position with numpy : 0.03801107406616211 nb_pixel_total : 144178 time to create 1 rle with old method : 0.15361452102661133 time for calcul the mask position with numpy : 0.038141489028930664 nb_pixel_total : 1119 time to create 1 rle with old method : 0.00121307373046875 time for calcul the mask position with numpy : 0.03854823112487793 nb_pixel_total : 44952 time to create 1 rle with old method : 0.047719478607177734 time for calcul the mask position with numpy : 0.03889751434326172 nb_pixel_total : 2693 time to create 1 rle with old method : 0.0029838085174560547 time for calcul the mask position with numpy : 0.03769373893737793 nb_pixel_total : 19071 time to create 1 rle with old method : 0.020744800567626953 time for calcul the mask position with numpy : 0.03891777992248535 nb_pixel_total : 73804 time to create 1 rle with old method : 0.08120298385620117 time for calcul the mask position with numpy : 0.0381779670715332 nb_pixel_total : 21012 time to create 1 rle with old method : 0.022881031036376953 time for calcul the mask position with numpy : 0.038475751876831055 nb_pixel_total : 141263 time to create 1 rle with old method : 0.14750027656555176 time for calcul the mask position with numpy : 0.03779888153076172 nb_pixel_total : 63908 time to create 1 rle with old method : 0.06695008277893066 create new chi : 2.158811330795288 time to delete rle : 0.0009081363677978516 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 8879 TO DO : save crop sub photo not yet done ! save time : 0.5086033344268799 nb_obj : 8 nb_hashtags : 2 time to prepare the origin masks : 2.254230499267578 time for calcul the mask position with numpy : 0.08104062080383301 nb_pixel_total : 4809465 time to create 1 rle with new method : 0.16999554634094238 time for calcul the mask position with numpy : 0.03971219062805176 nb_pixel_total : 10567 time to create 1 rle with old method : 0.011483430862426758 time for calcul the mask position with numpy : 0.03918910026550293 nb_pixel_total : 159948 time to create 1 rle with new method : 0.1605997085571289 time for calcul the mask position with numpy : 0.03901410102844238 nb_pixel_total : 40001 time to create 1 rle with old method : 0.04245805740356445 time for calcul the mask position with numpy : 0.04332089424133301 nb_pixel_total : 626201 time to create 1 rle with new method : 0.16660046577453613 time for calcul the mask position with numpy : 0.04000139236450195 nb_pixel_total : 15979 time to create 1 rle with old method : 0.01738762855529785 time for calcul the mask position with numpy : 0.038739681243896484 nb_pixel_total : 5975 time to create 1 rle with old method : 0.0065228939056396484 time for calcul the mask position with numpy : 0.03814840316772461 nb_pixel_total : 4027 time to create 1 rle with old method : 0.004498958587646484 time for calcul the mask position with numpy : 0.04794168472290039 nb_pixel_total : 1378077 time to create 1 rle with new method : 0.17039752006530762 create new chi : 1.207853078842163 time to delete rle : 0.0010194778442382812 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 12836 TO DO : save crop sub photo not yet done ! save time : 0.7041170597076416 nb_obj : 12 nb_hashtags : 5 time to prepare the origin masks : 3.872983455657959 time for calcul the mask position with numpy : 0.20581436157226562 nb_pixel_total : 5240533 time to create 1 rle with new method : 1.6153373718261719 time for calcul the mask position with numpy : 0.043988943099975586 nb_pixel_total : 99353 time to create 1 rle with old method : 0.11125397682189941 time for calcul the mask position with numpy : 0.04384756088256836 nb_pixel_total : 276698 time to create 1 rle with new method : 0.17076635360717773 time for calcul the mask position with numpy : 0.039923667907714844 nb_pixel_total : 25640 time to create 1 rle with old method : 0.030367136001586914 time for calcul the mask position with numpy : 0.03741049766540527 nb_pixel_total : 1621 time to create 1 rle with old method : 0.0018243789672851562 time for calcul the mask position with numpy : 0.038249969482421875 nb_pixel_total : 13347 time to create 1 rle with old method : 0.015209436416625977 time for calcul the mask position with numpy : 0.04468178749084473 nb_pixel_total : 615728 time to create 1 rle with new method : 0.17898130416870117 time for calcul the mask position with numpy : 0.03973650932312012 nb_pixel_total : 193607 time to create 1 rle with new method : 0.16584062576293945 time for calcul the mask position with numpy : 0.038063764572143555 nb_pixel_total : 6738 time to create 1 rle with old method : 0.007642030715942383 time for calcul the mask position with numpy : 0.041353464126586914 nb_pixel_total : 467866 time to create 1 rle with new method : 0.16434550285339355 time for calcul the mask position with numpy : 0.03901100158691406 nb_pixel_total : 60158 time to create 1 rle with old method : 0.06428241729736328 time for calcul the mask position with numpy : 0.03766298294067383 nb_pixel_total : 3059 time to create 1 rle with old method : 0.003286123275756836 time for calcul the mask position with numpy : 0.037380218505859375 nb_pixel_total : 45892 time to create 1 rle with old method : 0.04779839515686035 create new chi : 3.343083620071411 time to delete rle : 0.0013239383697509766 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 13875 TO DO : save crop sub photo not yet done ! save time : 0.7960820198059082 nb_obj : 17 nb_hashtags : 5 time to prepare the origin masks : 5.128572225570679 time for calcul the mask position with numpy : 0.35149264335632324 nb_pixel_total : 6429637 time to create 1 rle with new method : 0.7922160625457764 time for calcul the mask position with numpy : 0.03947734832763672 nb_pixel_total : 1146 time to create 1 rle with old method : 0.001733541488647461 time for calcul the mask position with numpy : 0.039903879165649414 nb_pixel_total : 46768 time to create 1 rle with old method : 0.05126214027404785 time for calcul the mask position with numpy : 0.04117393493652344 nb_pixel_total : 246218 time to create 1 rle with new method : 0.17992019653320312 time for calcul the mask position with numpy : 0.041184186935424805 nb_pixel_total : 177124 time to create 1 rle with new method : 0.17837285995483398 time for calcul the mask position with numpy : 0.039546966552734375 nb_pixel_total : 9327 time to create 1 rle with old method : 0.010296106338500977 time for calcul the mask position with numpy : 0.03927946090698242 nb_pixel_total : 2267 time to create 1 rle with old method : 0.002626180648803711 time for calcul the mask position with numpy : 0.039093971252441406 nb_pixel_total : 1921 time to create 1 rle with old method : 0.002163410186767578 time for calcul the mask position with numpy : 0.03930234909057617 nb_pixel_total : 3120 time to create 1 rle with old method : 0.003804922103881836 time for calcul the mask position with numpy : 0.03918290138244629 nb_pixel_total : 31153 time to create 1 rle with old method : 0.03383493423461914 time for calcul the mask position with numpy : 0.03892803192138672 nb_pixel_total : 1986 time to create 1 rle with old method : 0.0021257400512695312 time for calcul the mask position with numpy : 0.038668155670166016 nb_pixel_total : 22823 time to create 1 rle with old method : 0.024907588958740234 time for calcul the mask position with numpy : 0.03853297233581543 nb_pixel_total : 14763 time to create 1 rle with old method : 0.015999794006347656 time for calcul the mask position with numpy : 0.03904318809509277 nb_pixel_total : 3089 time to create 1 rle with old method : 0.003641843795776367 time for calcul the mask position with numpy : 0.04051518440246582 nb_pixel_total : 6907 time to create 1 rle with old method : 0.007894754409790039 time for calcul the mask position with numpy : 0.0404360294342041 nb_pixel_total : 40641 time to create 1 rle with old method : 0.04483532905578613 time for calcul the mask position with numpy : 0.04269981384277344 nb_pixel_total : 7316 time to create 1 rle with old method : 0.008913993835449219 time for calcul the mask position with numpy : 0.04402613639831543 nb_pixel_total : 4034 time to create 1 rle with old method : 0.004855155944824219 create new chi : 2.455256223678589 time to delete rle : 0.0010235309600830078 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 10303 TO DO : save crop sub photo not yet done ! save time : 0.6034114360809326 nb_obj : 16 nb_hashtags : 4 time to prepare the origin masks : 5.156621694564819 time for calcul the mask position with numpy : 0.30129265785217285 nb_pixel_total : 5681541 time to create 1 rle with new method : 0.946192741394043 time for calcul the mask position with numpy : 0.041749000549316406 nb_pixel_total : 18944 time to create 1 rle with old method : 0.020867109298706055 time for calcul the mask position with numpy : 0.04048943519592285 nb_pixel_total : 15057 time to create 1 rle with old method : 0.01711893081665039 time for calcul the mask position with numpy : 0.04147505760192871 nb_pixel_total : 210716 time to create 1 rle with new method : 1.1183476448059082 time for calcul the mask position with numpy : 0.04060649871826172 nb_pixel_total : 14775 time to create 1 rle with old method : 0.016791582107543945 time for calcul the mask position with numpy : 0.043615102767944336 nb_pixel_total : 10231 time to create 1 rle with old method : 0.011677026748657227 time for calcul the mask position with numpy : 0.04065966606140137 nb_pixel_total : 6932 time to create 1 rle with old method : 0.007881402969360352 time for calcul the mask position with numpy : 0.04572319984436035 nb_pixel_total : 655367 time to create 1 rle with new method : 1.3192219734191895 time for calcul the mask position with numpy : 0.043250322341918945 nb_pixel_total : 197028 time to create 1 rle with new method : 0.35242342948913574 time for calcul the mask position with numpy : 0.04131603240966797 nb_pixel_total : 43746 time to create 1 rle with old method : 0.04828834533691406 time for calcul the mask position with numpy : 0.04070854187011719 nb_pixel_total : 20274 time to create 1 rle with old method : 0.03242349624633789 time for calcul the mask position with numpy : 0.04005026817321777 nb_pixel_total : 13128 time to create 1 rle with old method : 0.01493692398071289 time for calcul the mask position with numpy : 0.039371490478515625 nb_pixel_total : 2103 time to create 1 rle with old method : 0.0024204254150390625 time for calcul the mask position with numpy : 0.04000449180603027 nb_pixel_total : 7598 time to create 1 rle with old method : 0.009130477905273438 time for calcul the mask position with numpy : 0.04046511650085449 nb_pixel_total : 20914 time to create 1 rle with old method : 0.022945165634155273 time for calcul the mask position with numpy : 0.044823408126831055 nb_pixel_total : 33891 time to create 1 rle with old method : 0.053466081619262695 time for calcul the mask position with numpy : 0.04664421081542969 nb_pixel_total : 97995 time to create 1 rle with old method : 0.10785079002380371 create new chi : 5.164407253265381 time to delete rle : 0.0012056827545166016 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 13746 TO DO : save crop sub photo not yet done ! save time : 0.817023754119873 nb_obj : 25 nb_hashtags : 7 time to prepare the origin masks : 14.552117109298706 time for calcul the mask position with numpy : 0.31278157234191895 nb_pixel_total : 5569671 time to create 1 rle with new method : 0.8121657371520996 time for calcul the mask position with numpy : 0.0394587516784668 nb_pixel_total : 15538 time to create 1 rle with old method : 0.018418550491333008 time for calcul the mask position with numpy : 0.0385594367980957 nb_pixel_total : 14701 time to create 1 rle with old method : 0.01676177978515625 time for calcul the mask position with numpy : 0.03913736343383789 nb_pixel_total : 16025 time to create 1 rle with old method : 0.018134355545043945 time for calcul the mask position with numpy : 0.03962969779968262 nb_pixel_total : 2905 time to create 1 rle with old method : 0.0034258365631103516 time for calcul the mask position with numpy : 0.040699005126953125 nb_pixel_total : 10260 time to create 1 rle with old method : 0.010944128036499023 time for calcul the mask position with numpy : 0.04193520545959473 nb_pixel_total : 2515 time to create 1 rle with old method : 0.0029523372650146484 time for calcul the mask position with numpy : 0.039259910583496094 nb_pixel_total : 56529 time to create 1 rle with old method : 0.061472415924072266 time for calcul the mask position with numpy : 0.038784027099609375 nb_pixel_total : 12482 time to create 1 rle with old method : 0.014013051986694336 time for calcul the mask position with numpy : 0.03963184356689453 nb_pixel_total : 194861 time to create 1 rle with new method : 0.27051329612731934 time for calcul the mask position with numpy : 0.03920912742614746 nb_pixel_total : 3999 time to create 1 rle with old method : 0.0046427249908447266 time for calcul the mask position with numpy : 0.040781497955322266 nb_pixel_total : 1428 time to create 1 rle with old method : 0.0020487308502197266 time for calcul the mask position with numpy : 0.04419255256652832 nb_pixel_total : 382322 time to create 1 rle with new method : 0.21601200103759766 time for calcul the mask position with numpy : 0.04086112976074219 nb_pixel_total : 2487 time to create 1 rle with old method : 0.0029709339141845703 time for calcul the mask position with numpy : 0.040410518646240234 nb_pixel_total : 67531 time to create 1 rle with old method : 0.07841014862060547 time for calcul the mask position with numpy : 0.04096364974975586 nb_pixel_total : 257415 time to create 1 rle with new method : 0.23122620582580566 time for calcul the mask position with numpy : 0.039469003677368164 nb_pixel_total : 6185 time to create 1 rle with old method : 0.007075309753417969 time for calcul the mask position with numpy : 0.040849924087524414 nb_pixel_total : 30005 time to create 1 rle with old method : 0.03272891044616699 time for calcul the mask position with numpy : 0.04108142852783203 nb_pixel_total : 3215 time to create 1 rle with old method : 0.0035958290100097656 time for calcul the mask position with numpy : 0.04003572463989258 nb_pixel_total : 13622 time to create 1 rle with old method : 0.015170097351074219 time for calcul the mask position with numpy : 0.039633750915527344 nb_pixel_total : 51813 time to create 1 rle with old method : 0.057057857513427734 time for calcul the mask position with numpy : 0.03986859321594238 nb_pixel_total : 10721 time to create 1 rle with old method : 0.011882543563842773 time for calcul the mask position with numpy : 0.04209446907043457 nb_pixel_total : 210233 time to create 1 rle with new method : 0.25630974769592285 time for calcul the mask position with numpy : 0.039984941482543945 nb_pixel_total : 47120 time to create 1 rle with old method : 0.050575971603393555 time for calcul the mask position with numpy : 0.04003477096557617 nb_pixel_total : 10758 time to create 1 rle with old method : 0.011881589889526367 time for calcul the mask position with numpy : 0.03991103172302246 nb_pixel_total : 55899 time to create 1 rle with old method : 0.06146049499511719 create new chi : 3.683943748474121 time to delete rle : 0.001398324966430664 batch 1 Loaded 26 chid ids of type : 3726 Number RLEs to save : 16758 TO DO : save crop sub photo not yet done ! save time : 0.9312055110931396 nb_obj : 17 nb_hashtags : 6 time to prepare the origin masks : 5.236994028091431 time for calcul the mask position with numpy : 1.0819108486175537 nb_pixel_total : 6305012 time to create 1 rle with new method : 0.9981081485748291 time for calcul the mask position with numpy : 0.04322314262390137 nb_pixel_total : 22397 time to create 1 rle with old method : 0.02475881576538086 time for calcul the mask position with numpy : 0.03998422622680664 nb_pixel_total : 19357 time to create 1 rle with old method : 0.021538496017456055 time for calcul the mask position with numpy : 0.040786027908325195 nb_pixel_total : 71587 time to create 1 rle with old method : 0.07834577560424805 time for calcul the mask position with numpy : 0.040456295013427734 nb_pixel_total : 3197 time to create 1 rle with old method : 0.003838062286376953 time for calcul the mask position with numpy : 0.040177106857299805 nb_pixel_total : 95077 time to create 1 rle with old method : 0.1038672924041748 time for calcul the mask position with numpy : 0.03944563865661621 nb_pixel_total : 346 time to create 1 rle with old method : 0.0004754066467285156 time for calcul the mask position with numpy : 0.040036678314208984 nb_pixel_total : 36280 time to create 1 rle with old method : 0.03971076011657715 time for calcul the mask position with numpy : 0.03839230537414551 nb_pixel_total : 4146 time to create 1 rle with old method : 0.005115985870361328 time for calcul the mask position with numpy : 0.03961038589477539 nb_pixel_total : 25008 time to create 1 rle with old method : 0.027974843978881836 time for calcul the mask position with numpy : 0.039693593978881836 nb_pixel_total : 3658 time to create 1 rle with old method : 0.00412297248840332 time for calcul the mask position with numpy : 0.04039573669433594 nb_pixel_total : 164282 time to create 1 rle with new method : 0.4825911521911621 time for calcul the mask position with numpy : 0.04077792167663574 nb_pixel_total : 154627 time to create 1 rle with new method : 0.749913215637207 time for calcul the mask position with numpy : 0.040326833724975586 nb_pixel_total : 17664 time to create 1 rle with old method : 0.01912093162536621 time for calcul the mask position with numpy : 0.040352582931518555 nb_pixel_total : 6452 time to create 1 rle with old method : 0.007213115692138672 time for calcul the mask position with numpy : 0.04011130332946777 nb_pixel_total : 88609 time to create 1 rle with old method : 0.09737825393676758 time for calcul the mask position with numpy : 0.04181957244873047 nb_pixel_total : 29958 time to create 1 rle with old method : 0.033684492111206055 time for calcul the mask position with numpy : 0.0409541130065918 nb_pixel_total : 2583 time to create 1 rle with old method : 0.0033168792724609375 create new chi : 4.540373086929321 time to delete rle : 0.001066446304321289 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 10867 TO DO : save crop sub photo not yet done ! save time : 0.6145472526550293 map_output_result : {1334675189: (0.0, 'Should be the crop_list due to order', 0.0), 1334675182: (0.0, 'Should be the crop_list due to order', 0.0), 1334675180: (0.0, 'Should be the crop_list due to order', 0.0), 1334671652: (0.0, 'Should be the crop_list due to order', 0.0), 1334669948: (0.0, 'Should be the crop_list due to order', 0.0), 1334669944: (0.0, 'Should be the crop_list due to order', 0.0), 1334628625: (0.0, 'Should be the crop_list due to order', 0.0), 1334628616: (0.0, 'Should be the crop_list due to order', 0.0), 1334624112: (0.0, 'Should be the crop_list due to order', 0.0), 1334620280: (0.0, 'Should be the crop_list due to order', 0.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 [1334675189, 1334675182, 1334675180, 1334671652, 1334669948, 1334669944, 1334628625, 1334628616, 1334624112, 1334620280] Looping around the photos to save general results len do output : 10 /1334675189.Didn't retrieve data . /1334675182.Didn't retrieve data . /1334675180.Didn't retrieve data . /1334671652.Didn't retrieve data . /1334669948.Didn't retrieve data . /1334669944.Didn't retrieve data . /1334628625.Didn't retrieve data . /1334628616.Didn't retrieve data . /1334624112.Didn't retrieve data . /1334620280.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, '2551128') ('3459', '20254767', '1334675189', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334675182', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334675180', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334671652', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334669948', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334669944', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334628625', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334628616', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334624112', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334620280', None, None, None, None, None, '2551128') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013735055923461914 save_final save missing photos in datou_result : time spend for datou_step_exec : 105.5001494884491 time spend to save output : 0.014278888702392578 total time spend for step 5 : 105.51442837715149 step6:crop_condition Wed Feb 5 11:46:18 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 10 ! batch 1 Loaded 180 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 ! 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 ! About to upload 6 photos upload in portfolio : 4869462 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738752381_3496612 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.5059657096862793 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 ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! About to upload 10 photos upload in portfolio : 4869462 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738752390_3496612 we have uploaded 10 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.71492338180542 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/1738752398_3496612 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.574125051498413 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 ! 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/1738752401_3496612 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.3643298149108887 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 ! Next one ! 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 ! About to upload 7 photos upload in portfolio : 4869462 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738752405_3496612 we have uploaded 7 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.8678369522094727 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 ! 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/1738752411_3496612 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.2516255378723145 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 [1334675189, 1334675182, 1334675180, 1334671652, 1334669948, 1334669944, 1334628625, 1334628616, 1334624112, 1334620280] Looping around the photos to save general results len do output : 37 /1334899478Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899480Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899482Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899484Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899486Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899488Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899524Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899525Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899526Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899527Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899528Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899529Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899530Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899531Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899532Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899533Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899550Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899551Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899552Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899553Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899554Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899558Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899559Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899560Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899561Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899562Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899577Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899578Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899579Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899580Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899581Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899582Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899583Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899593Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899594Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899595Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334899596Didn'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, '2551128') ('3459', '20254767', '1334675189', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334675182', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334675180', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334671652', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334669948', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334669944', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334628625', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334628616', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334624112', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334620280', None, None, None, None, None, '2551128') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 121 time used for this insertion : 0.034659385681152344 save_final save missing photos in datou_result : time spend for datou_step_exec : 35.43531107902527 time spend to save output : 0.03583097457885742 total time spend for step 6 : 35.471142053604126 step7:ventilate_hashtags_in_portfolio Wed Feb 5 11:46:53 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 : 20254767 get user id for portfolio 20254767 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`=20254767 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','cartonnette','Teint_Dans_La_Masse','Carton_gris','plastique','papier','mal_croppe','kraft','metal','autre_refus','Carton_brun','flou')) 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`=20254767 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','cartonnette','Teint_Dans_La_Masse','Carton_gris','plastique','papier','mal_croppe','kraft','metal','autre_refus','Carton_brun','flou')) 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`=20254767 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','cartonnette','Teint_Dans_La_Masse','Carton_gris','plastique','papier','mal_croppe','kraft','metal','autre_refus','Carton_brun','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20255117,20255118,20255119,20255120,20255121,20255122,20255123,20255124,20255125,20255126,20255127,20255128?tags=environnement,cartonnette,Teint_Dans_La_Masse,Carton_gris,plastique,papier,mal_croppe,kraft,metal,autre_refus,Carton_brun,flou Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1334675189, 1334675182, 1334675180, 1334671652, 1334669948, 1334669944, 1334628625, 1334628616, 1334624112, 1334620280] Looping around the photos to save general results len do output : 1 /20254767. 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, '2551128') ('3459', '20254767', '1334675189', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334675182', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334675180', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334671652', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334669948', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334669944', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334628625', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334628616', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334624112', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334620280', None, None, None, None, None, '2551128') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.02497577667236328 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.6946067810058594 time spend to save output : 0.02533102035522461 total time spend for step 7 : 2.719937801361084 step8:final Wed Feb 5 11:46:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1334675189: ('0.09993071763572346',), 1334675182: ('0.09993071763572346',), 1334675180: ('0.09993071763572346',), 1334671652: ('0.09993071763572346',), 1334669948: ('0.09993071763572346',), 1334669944: ('0.09993071763572346',), 1334628625: ('0.09993071763572346',), 1334628616: ('0.09993071763572346',), 1334624112: ('0.09993071763572346',), 1334620280: ('0.09993071763572346',)} new output for save of step final : {1334675189: ('0.09993071763572346',), 1334675182: ('0.09993071763572346',), 1334675180: ('0.09993071763572346',), 1334671652: ('0.09993071763572346',), 1334669948: ('0.09993071763572346',), 1334669944: ('0.09993071763572346',), 1334628625: ('0.09993071763572346',), 1334628616: ('0.09993071763572346',), 1334624112: ('0.09993071763572346',), 1334620280: ('0.09993071763572346',)} [1334675189, 1334675182, 1334675180, 1334671652, 1334669948, 1334669944, 1334628625, 1334628616, 1334624112, 1334620280] Looping around the photos to save general results len do output : 10 /1334675189.Didn't retrieve data . /1334675182.Didn't retrieve data . /1334675180.Didn't retrieve data . /1334671652.Didn't retrieve data . /1334669948.Didn't retrieve data . /1334669944.Didn't retrieve data . /1334628625.Didn't retrieve data . /1334628616.Didn't retrieve data . /1334624112.Didn't retrieve data . /1334620280.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, '2551128') ('3459', '20254767', '1334675189', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334675182', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334675180', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334671652', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334669948', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334669944', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334628625', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334628616', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334624112', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334620280', None, None, None, None, None, '2551128') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013835906982421875 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10213255882263184 time spend to save output : 0.014463186264038086 total time spend for step 8 : 0.11659574508666992 step9:velours_tree Wed Feb 5 11:46: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 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 : 0.03489208221435547 time spend to save output : 6.818771362304688e-05 total time spend for step 9 : 0.034960269927978516 step10:send_mail_cod Wed Feb 5 11:46:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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_P20254767_05-02-2025_11_46_56.pdf 20255118 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette202551181738752416 20255121 change filename to text .change filename to text .change filename to text .change filename to text .imagette202551211738752417 20255123 imagette202551231738752417 20255124 imagette202551241738752417 20255125 imagette202551251738752417 20255126 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette202551261738752417 20255128 imagette202551281738752418 20255119 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette202551191738752418 20255120 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette202551201738752418 20255127 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette202551271738752418 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20254767 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20255117,20255118,20255119,20255120,20255121,20255122,20255123,20255124,20255125,20255126,20255127,20255128?tags=environnement,cartonnette,Teint_Dans_La_Masse,Carton_gris,plastique,papier,mal_croppe,kraft,metal,autre_refus,Carton_brun,flou your option no_mail is active, we will not send the real mail to your client args[1334675189] : ('0.09993071763572346',) no score found for photo 1334675189 We are sending mail with results at report@fotonower.com args[1334675182] : ('0.09993071763572346',) no score found for photo 1334675182 We are sending mail with results at report@fotonower.com args[1334675180] : ('0.09993071763572346',) no score found for photo 1334675180 We are sending mail with results at report@fotonower.com args[1334671652] : ('0.09993071763572346',) no score found for photo 1334671652 We are sending mail with results at report@fotonower.com args[1334669948] : ('0.09993071763572346',) no score found for photo 1334669948 We are sending mail with results at report@fotonower.com args[1334669944] : ('0.09993071763572346',) no score found for photo 1334669944 We are sending mail with results at report@fotonower.com args[1334628625] : ('0.09993071763572346',) no score found for photo 1334628625 We are sending mail with results at report@fotonower.com args[1334628616] : ('0.09993071763572346',) no score found for photo 1334628616 We are sending mail with results at report@fotonower.com args[1334624112] : ('0.09993071763572346',) no score found for photo 1334624112 We are sending mail with results at report@fotonower.com args[1334620280] : ('0.09993071763572346',) no score found for photo 1334620280 We are sending mail with results at report@fotonower.com refus_total : 0.09993071763572346 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=20254767 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1334619846,1334619885,1334620082,1334620269,1334620280,1334624112,1334628616,1334628625,1334669944,1334671652,1334675180,1334619843,1334669948,1334675182,1334675189) Found this number of photos: 15 begin to download photo : 1334619846 begin to download photo : 1334620280 begin to download photo : 1334669944 begin to download photo : 1334669948 download finish for photo 1334669944 begin to download photo : 1334671652 download finish for photo 1334620280 begin to download photo : 1334624112 download finish for photo 1334619846 begin to download photo : 1334619885 download finish for photo 1334669948 begin to download photo : 1334675182 download finish for photo 1334624112 begin to download photo : 1334628616 download finish for photo 1334671652 begin to download photo : 1334675180 download finish for photo 1334675182 begin to download photo : 1334675189 download finish for photo 1334619885 begin to download photo : 1334620082 download finish for photo 1334675189 download finish for photo 1334675180 begin to download photo : 1334619843 download finish for photo 1334628616 begin to download photo : 1334628625 download finish for photo 1334620082 begin to download photo : 1334620269 download finish for photo 1334628625 download finish for photo 1334620269 download finish for photo 1334619843 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20254767_05-02-2025_11_46_56.pdf results_Auto_P20254767_05-02-2025_11_46_56.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20254767_05-02-2025_11_46_56.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','20254767','results_Auto_P20254767_05-02-2025_11_46_56.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20254767_05-02-2025_11_46_56.pdf','pdf','','0.77','0.09993071763572346') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1334675189, 1334675182, 1334675180, 1334671652, 1334669948, 1334669944, 1334628625, 1334628616, 1334624112, 1334620280] 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, '2551128') ('3459', '20254767', '1334675189', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334675182', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334675180', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334671652', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334669948', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334669944', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334628625', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334628616', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334624112', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334620280', None, None, None, None, None, '2551128') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.014629840850830078 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.997313499450684 time spend to save output : 0.014963388442993164 total time spend for step 10 : 6.012276887893677 step11:split_time_score Wed Feb 5 11:47:02 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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 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'}] (('18', 9), ('19', 6)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 04022025 20254767 Nombre de photos uploadées : 15 / 23040 (0%) 04022025 20254767 Nombre de photos taguées (types de déchets): 0 / 15 (0%) 04022025 20254767 Nombre de photos taguées (volume) : 0 / 15 (0%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ??????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005970001220703125 elapsed_time : insert_dashboard_record_day_entry 0.02305459976196289 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 = 20254648 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254650 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254653 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254655 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254657 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254660 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254661 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254663 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254664 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254666 order by id desc limit 1 Qualite : 0.03827887555059262 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20208806_04-02-2025_12_29_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20208806 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 ! 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 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 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 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : 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 ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 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`=20208806 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254668 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254669 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254671 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254672 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254674 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254675 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254688 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254690 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254691 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254692 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254693 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254694 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254695 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254696 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254697 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254698 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254699 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254700 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254701 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254716 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254727 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254728 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254729 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254730 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254731 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254732 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254733 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254734 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254735 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254736 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254737 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254738 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254739 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254740 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254741 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254742 order by id desc limit 1 Qualite : 0.09993071763572346 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20254767_05-02-2025_11_46_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254767 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`=20254767 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254768 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254769 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254770 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254771 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254772 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254773 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'04022025': {'nb_upload': 15, '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 [1334675189, 1334675182, 1334675180, 1334671652, 1334669948, 1334669944, 1334628625, 1334628616, 1334624112, 1334620280] Looping around the photos to save general results len do output : 1 /20254767Didn'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, '2551128') ('3459', '20254767', '1334675189', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334675182', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334675180', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334671652', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334669948', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334669944', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334628625', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334628616', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334624112', None, None, None, None, None, '2551128') ('3459', None, None, None, None, None, None, None, '2551128') ('3459', '20254767', '1334620280', None, None, None, None, None, '2551128') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013666629791259766 save_final save missing photos in datou_result : time spend for datou_step_exec : 38.40313363075256 time spend to save output : 0.01398158073425293 total time spend for step 11 : 38.417115211486816 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 182.93user 80.70system 5:15.56elapsed 83%CPU (0avgtext+0avgdata 4578364maxresident)k 2486816inputs+137512outputs (8437major+9716556minor)pagefaults 0swaps