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 : 3813920 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 : 22>10 please execute split_portfolio.py -i 20208808 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2544845'] with mtr_portfolio_ids : ['20208808'] and first list_photo_ids : [] new path : /proc/3813920/ 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.795656681060791 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 Tue Feb 4 12:18: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 : 5905 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-04 12:18:34.431679: 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-04 12:18:34.459048: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-04 12:18:34.460681: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f0c60000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-04 12:18:34.460735: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-04 12:18:34.464441: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-04 12:18:34.690478: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x119864c0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-04 12:18:34.690519: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-04 12:18:34.691759: 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-04 12:18:34.692123: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-04 12:18:34.695027: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-04 12:18:34.697683: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-04 12:18:34.698153: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-04 12:18:34.700824: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-04 12:18:34.701750: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-04 12:18:34.705467: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-04 12:18:34.706578: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-04 12:18:34.706629: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-04 12:18:34.707263: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-04 12:18:34.707279: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-04 12:18:34.707287: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-04 12:18:34.708330: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5408 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-04 12:18:34.954131: 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-04 12:18:34.954237: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-04 12:18:34.954265: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-04 12:18:34.954290: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-04 12:18:34.954314: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-04 12:18:34.954338: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-04 12:18:34.954361: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-04 12:18:34.954385: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-04 12:18:34.956125: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-04 12:18:34.957103: 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-04 12:18:34.957128: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-04 12:18:34.957141: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-04 12:18:34.957154: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-04 12:18:34.957166: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-04 12:18:34.957179: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-04 12:18:34.957191: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-04 12:18:34.957203: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-04 12:18:34.958164: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-04 12:18:34.958188: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-04 12:18:34.958196: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-04 12:18:34.958203: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-04 12:18:34.959214: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5408 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-04 12:18:42.572326: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-04 12:18:42.739082: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 16 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 : 21 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 : 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 : 32 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 : 16 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 : 16 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 26 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 25 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 24 Detection mask done ! Trying to reset tf kernel 3814332 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 616 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 : 5905 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.0005409717559814453 nb_pixel_total : 15866 time to create 1 rle with old method : 0.016374588012695312 length of segment : 226 time for calcul the mask position with numpy : 8.463859558105469e-05 nb_pixel_total : 1557 time to create 1 rle with old method : 0.0018732547760009766 length of segment : 77 time for calcul the mask position with numpy : 0.020205020904541016 nb_pixel_total : 874806 time to create 1 rle with new method : 0.05294013023376465 length of segment : 1663 time for calcul the mask position with numpy : 0.0008046627044677734 nb_pixel_total : 47120 time to create 1 rle with old method : 0.05037355422973633 length of segment : 226 time for calcul the mask position with numpy : 0.003643512725830078 nb_pixel_total : 219911 time to create 1 rle with new method : 0.009668350219726562 length of segment : 567 time for calcul the mask position with numpy : 0.0002219676971435547 nb_pixel_total : 5187 time to create 1 rle with old method : 0.005849599838256836 length of segment : 100 time for calcul the mask position with numpy : 0.008855581283569336 nb_pixel_total : 522772 time to create 1 rle with new method : 0.026243925094604492 length of segment : 959 time for calcul the mask position with numpy : 0.0021843910217285156 nb_pixel_total : 150698 time to create 1 rle with new method : 0.005116939544677734 length of segment : 415 time for calcul the mask position with numpy : 0.0004646778106689453 nb_pixel_total : 22955 time to create 1 rle with old method : 0.023591995239257812 length of segment : 213 time for calcul the mask position with numpy : 0.0004019737243652344 nb_pixel_total : 22841 time to create 1 rle with old method : 0.024716854095458984 length of segment : 209 time for calcul the mask position with numpy : 0.0012884140014648438 nb_pixel_total : 80508 time to create 1 rle with old method : 0.08569049835205078 length of segment : 321 time for calcul the mask position with numpy : 0.007359743118286133 nb_pixel_total : 348651 time to create 1 rle with new method : 0.032998085021972656 length of segment : 890 time for calcul the mask position with numpy : 0.0005235671997070312 nb_pixel_total : 22637 time to create 1 rle with old method : 0.025477886199951172 length of segment : 192 time for calcul the mask position with numpy : 0.0004813671112060547 nb_pixel_total : 18409 time to create 1 rle with old method : 0.01887822151184082 length of segment : 223 time for calcul the mask position with numpy : 0.0007789134979248047 nb_pixel_total : 33696 time to create 1 rle with old method : 0.03640007972717285 length of segment : 264 time for calcul the mask position with numpy : 0.0007300376892089844 nb_pixel_total : 37435 time to create 1 rle with old method : 0.03880119323730469 length of segment : 348 time for calcul the mask position with numpy : 0.0006413459777832031 nb_pixel_total : 30216 time to create 1 rle with old method : 0.041075944900512695 length of segment : 243 time for calcul the mask position with numpy : 0.0006010532379150391 nb_pixel_total : 23924 time to create 1 rle with old method : 0.03489422798156738 length of segment : 180 time for calcul the mask position with numpy : 0.0015902519226074219 nb_pixel_total : 96172 time to create 1 rle with old method : 0.10552024841308594 length of segment : 449 time for calcul the mask position with numpy : 0.0008041858673095703 nb_pixel_total : 33773 time to create 1 rle with old method : 0.03757071495056152 length of segment : 234 time for calcul the mask position with numpy : 0.0006201267242431641 nb_pixel_total : 26519 time to create 1 rle with old method : 0.02820420265197754 length of segment : 379 time for calcul the mask position with numpy : 0.0002849102020263672 nb_pixel_total : 12746 time to create 1 rle with old method : 0.013951778411865234 length of segment : 194 time for calcul the mask position with numpy : 0.0010128021240234375 nb_pixel_total : 16085 time to create 1 rle with old method : 0.016798019409179688 length of segment : 338 time for calcul the mask position with numpy : 0.0007567405700683594 nb_pixel_total : 37012 time to create 1 rle with old method : 0.03948163986206055 length of segment : 460 time for calcul the mask position with numpy : 0.002045154571533203 nb_pixel_total : 109173 time to create 1 rle with old method : 0.11624383926391602 length of segment : 348 time for calcul the mask position with numpy : 0.00030875205993652344 nb_pixel_total : 13879 time to create 1 rle with old method : 0.013939857482910156 length of segment : 178 time for calcul the mask position with numpy : 0.005403280258178711 nb_pixel_total : 257891 time to create 1 rle with new method : 0.01658773422241211 length of segment : 683 time for calcul the mask position with numpy : 0.003913402557373047 nb_pixel_total : 173897 time to create 1 rle with new method : 0.010733366012573242 length of segment : 408 time for calcul the mask position with numpy : 0.0007262229919433594 nb_pixel_total : 36322 time to create 1 rle with old method : 0.039946794509887695 length of segment : 288 time for calcul the mask position with numpy : 0.0003483295440673828 nb_pixel_total : 15938 time to create 1 rle with old method : 0.01768207550048828 length of segment : 137 time for calcul the mask position with numpy : 0.013414382934570312 nb_pixel_total : 809626 time to create 1 rle with new method : 0.03428316116333008 length of segment : 1203 time for calcul the mask position with numpy : 0.00012063980102539062 nb_pixel_total : 1722 time to create 1 rle with old method : 0.0021965503692626953 length of segment : 44 time for calcul the mask position with numpy : 0.00026988983154296875 nb_pixel_total : 8178 time to create 1 rle with old method : 0.008661746978759766 length of segment : 188 time for calcul the mask position with numpy : 0.0006268024444580078 nb_pixel_total : 25499 time to create 1 rle with old method : 0.027215242385864258 length of segment : 218 time for calcul the mask position with numpy : 0.002765655517578125 nb_pixel_total : 147354 time to create 1 rle with old method : 0.15113139152526855 length of segment : 510 time for calcul the mask position with numpy : 0.004568576812744141 nb_pixel_total : 160018 time to create 1 rle with new method : 0.01716470718383789 length of segment : 700 time for calcul the mask position with numpy : 0.001970052719116211 nb_pixel_total : 94949 time to create 1 rle with old method : 0.09866571426391602 length of segment : 494 time for calcul the mask position with numpy : 0.0008707046508789062 nb_pixel_total : 50244 time to create 1 rle with old method : 0.05199909210205078 length of segment : 295 time for calcul the mask position with numpy : 0.005617618560791016 nb_pixel_total : 373368 time to create 1 rle with new method : 0.015953540802001953 length of segment : 724 time for calcul the mask position with numpy : 0.0005347728729248047 nb_pixel_total : 17826 time to create 1 rle with old method : 0.017789125442504883 length of segment : 284 time for calcul the mask position with numpy : 0.00017642974853515625 nb_pixel_total : 7897 time to create 1 rle with old method : 0.008314847946166992 length of segment : 86 time for calcul the mask position with numpy : 0.0003185272216796875 nb_pixel_total : 10516 time to create 1 rle with old method : 0.010901212692260742 length of segment : 124 time for calcul the mask position with numpy : 5.841255187988281e-05 nb_pixel_total : 738 time to create 1 rle with old method : 0.0008218288421630859 length of segment : 42 time for calcul the mask position with numpy : 0.0015845298767089844 nb_pixel_total : 89100 time to create 1 rle with old method : 0.08862829208374023 length of segment : 351 time for calcul the mask position with numpy : 0.0006923675537109375 nb_pixel_total : 33579 time to create 1 rle with old method : 0.03704380989074707 length of segment : 178 time for calcul the mask position with numpy : 0.00016808509826660156 nb_pixel_total : 3086 time to create 1 rle with old method : 0.003501415252685547 length of segment : 81 time for calcul the mask position with numpy : 0.00017523765563964844 nb_pixel_total : 6998 time to create 1 rle with old method : 0.007288217544555664 length of segment : 96 time for calcul the mask position with numpy : 0.000148773193359375 nb_pixel_total : 5350 time to create 1 rle with old method : 0.005843639373779297 length of segment : 62 time for calcul the mask position with numpy : 0.0011227130889892578 nb_pixel_total : 69833 time to create 1 rle with old method : 0.07247495651245117 length of segment : 441 time for calcul the mask position with numpy : 0.0011477470397949219 nb_pixel_total : 11671 time to create 1 rle with old method : 0.013298749923706055 length of segment : 304 time for calcul the mask position with numpy : 0.00011801719665527344 nb_pixel_total : 2170 time to create 1 rle with old method : 0.002700328826904297 length of segment : 61 time for calcul the mask position with numpy : 0.005952358245849609 nb_pixel_total : 339926 time to create 1 rle with new method : 0.01768636703491211 length of segment : 584 time for calcul the mask position with numpy : 0.0017132759094238281 nb_pixel_total : 109995 time to create 1 rle with old method : 0.11477327346801758 length of segment : 361 time for calcul the mask position with numpy : 0.00015234947204589844 nb_pixel_total : 3772 time to create 1 rle with old method : 0.0042133331298828125 length of segment : 100 time for calcul the mask position with numpy : 0.001459360122680664 nb_pixel_total : 60683 time to create 1 rle with old method : 0.06017351150512695 length of segment : 617 time for calcul the mask position with numpy : 0.00016260147094726562 nb_pixel_total : 6259 time to create 1 rle with old method : 0.006723165512084961 length of segment : 78 time for calcul the mask position with numpy : 0.0001475811004638672 nb_pixel_total : 6236 time to create 1 rle with old method : 0.0066683292388916016 length of segment : 66 time for calcul the mask position with numpy : 0.00011801719665527344 nb_pixel_total : 3423 time to create 1 rle with old method : 0.0036797523498535156 length of segment : 78 time for calcul the mask position with numpy : 9.369850158691406e-05 nb_pixel_total : 3880 time to create 1 rle with old method : 0.004082441329956055 length of segment : 65 time for calcul the mask position with numpy : 0.0005092620849609375 nb_pixel_total : 26468 time to create 1 rle with old method : 0.029031991958618164 length of segment : 362 time for calcul the mask position with numpy : 0.00011849403381347656 nb_pixel_total : 3913 time to create 1 rle with old method : 0.004621982574462891 length of segment : 57 time for calcul the mask position with numpy : 0.00015544891357421875 nb_pixel_total : 5589 time to create 1 rle with old method : 0.005924224853515625 length of segment : 109 time for calcul the mask position with numpy : 6.699562072753906e-05 nb_pixel_total : 1617 time to create 1 rle with old method : 0.0017292499542236328 length of segment : 73 time for calcul the mask position with numpy : 9.036064147949219e-05 nb_pixel_total : 2885 time to create 1 rle with old method : 0.003289461135864258 length of segment : 63 time for calcul the mask position with numpy : 0.00020742416381835938 nb_pixel_total : 9498 time to create 1 rle with old method : 0.009886980056762695 length of segment : 138 time for calcul the mask position with numpy : 0.00020384788513183594 nb_pixel_total : 4135 time to create 1 rle with old method : 0.004415988922119141 length of segment : 181 time for calcul the mask position with numpy : 0.0009496212005615234 nb_pixel_total : 67570 time to create 1 rle with old method : 0.07150650024414062 length of segment : 416 time for calcul the mask position with numpy : 7.033348083496094e-05 nb_pixel_total : 1015 time to create 1 rle with old method : 0.0012476444244384766 length of segment : 34 time for calcul the mask position with numpy : 0.0002243518829345703 nb_pixel_total : 4467 time to create 1 rle with old method : 0.005129575729370117 length of segment : 139 time for calcul the mask position with numpy : 6.985664367675781e-05 nb_pixel_total : 1446 time to create 1 rle with old method : 0.0017547607421875 length of segment : 44 time for calcul the mask position with numpy : 0.00016427040100097656 nb_pixel_total : 6689 time to create 1 rle with old method : 0.007653713226318359 length of segment : 127 time for calcul the mask position with numpy : 0.0004172325134277344 nb_pixel_total : 24467 time to create 1 rle with old method : 0.02593708038330078 length of segment : 176 time for calcul the mask position with numpy : 0.0008294582366943359 nb_pixel_total : 8874 time to create 1 rle with old method : 0.00960850715637207 length of segment : 240 time for calcul the mask position with numpy : 0.0051727294921875 nb_pixel_total : 143585 time to create 1 rle with old method : 0.16166234016418457 length of segment : 591 time for calcul the mask position with numpy : 0.0018644332885742188 nb_pixel_total : 30331 time to create 1 rle with old method : 0.03225564956665039 length of segment : 239 time for calcul the mask position with numpy : 0.0015799999237060547 nb_pixel_total : 49520 time to create 1 rle with old method : 0.0494685173034668 length of segment : 312 time for calcul the mask position with numpy : 0.0004951953887939453 nb_pixel_total : 7029 time to create 1 rle with old method : 0.007260322570800781 length of segment : 127 time for calcul the mask position with numpy : 0.003660440444946289 nb_pixel_total : 86973 time to create 1 rle with old method : 0.08736562728881836 length of segment : 475 time for calcul the mask position with numpy : 0.00047278404235839844 nb_pixel_total : 3713 time to create 1 rle with old method : 0.004076242446899414 length of segment : 115 time for calcul the mask position with numpy : 0.0002655982971191406 nb_pixel_total : 4523 time to create 1 rle with old method : 0.0048635005950927734 length of segment : 77 time for calcul the mask position with numpy : 0.0008099079132080078 nb_pixel_total : 14936 time to create 1 rle with old method : 0.014762163162231445 length of segment : 147 time for calcul the mask position with numpy : 0.0004887580871582031 nb_pixel_total : 7089 time to create 1 rle with old method : 0.007361412048339844 length of segment : 138 time for calcul the mask position with numpy : 0.00015854835510253906 nb_pixel_total : 1261 time to create 1 rle with old method : 0.0014443397521972656 length of segment : 45 time for calcul the mask position with numpy : 0.0007989406585693359 nb_pixel_total : 18603 time to create 1 rle with old method : 0.01882147789001465 length of segment : 198 time for calcul the mask position with numpy : 0.00021886825561523438 nb_pixel_total : 2241 time to create 1 rle with old method : 0.0023980140686035156 length of segment : 49 time for calcul the mask position with numpy : 0.00012493133544921875 nb_pixel_total : 931 time to create 1 rle with old method : 0.0010917186737060547 length of segment : 37 time for calcul the mask position with numpy : 0.002136707305908203 nb_pixel_total : 61756 time to create 1 rle with old method : 0.05926322937011719 length of segment : 383 time for calcul the mask position with numpy : 0.0004353523254394531 nb_pixel_total : 7492 time to create 1 rle with old method : 0.0076901912689208984 length of segment : 157 time for calcul the mask position with numpy : 0.0018146038055419922 nb_pixel_total : 53890 time to create 1 rle with old method : 0.053295135498046875 length of segment : 210 time for calcul the mask position with numpy : 0.007422924041748047 nb_pixel_total : 210652 time to create 1 rle with new method : 0.010654211044311523 length of segment : 658 time for calcul the mask position with numpy : 0.00033545494079589844 nb_pixel_total : 6013 time to create 1 rle with old method : 0.00672602653503418 length of segment : 68 time for calcul the mask position with numpy : 0.0007092952728271484 nb_pixel_total : 12900 time to create 1 rle with old method : 0.013796567916870117 length of segment : 220 time for calcul the mask position with numpy : 0.0013234615325927734 nb_pixel_total : 28989 time to create 1 rle with old method : 0.028751134872436523 length of segment : 317 time for calcul the mask position with numpy : 0.00012755393981933594 nb_pixel_total : 1723 time to create 1 rle with old method : 0.0019316673278808594 length of segment : 73 time for calcul the mask position with numpy : 0.0020284652709960938 nb_pixel_total : 47232 time to create 1 rle with old method : 0.04703330993652344 length of segment : 311 time for calcul the mask position with numpy : 0.0002639293670654297 nb_pixel_total : 5845 time to create 1 rle with old method : 0.006853342056274414 length of segment : 83 time for calcul the mask position with numpy : 0.0006442070007324219 nb_pixel_total : 13892 time to create 1 rle with old method : 0.01437830924987793 length of segment : 205 time for calcul the mask position with numpy : 0.0004677772521972656 nb_pixel_total : 7621 time to create 1 rle with old method : 0.008610963821411133 length of segment : 99 time for calcul the mask position with numpy : 0.005152225494384766 nb_pixel_total : 228973 time to create 1 rle with new method : 0.013192415237426758 length of segment : 666 time for calcul the mask position with numpy : 0.0005800724029541016 nb_pixel_total : 10295 time to create 1 rle with old method : 0.011187076568603516 length of segment : 101 time for calcul the mask position with numpy : 0.0016384124755859375 nb_pixel_total : 39827 time to create 1 rle with old method : 0.0393526554107666 length of segment : 268 time for calcul the mask position with numpy : 0.007853031158447266 nb_pixel_total : 148008 time to create 1 rle with old method : 0.14402055740356445 length of segment : 737 time for calcul the mask position with numpy : 0.005479097366333008 nb_pixel_total : 69547 time to create 1 rle with old method : 0.07168126106262207 length of segment : 600 time for calcul the mask position with numpy : 0.002073526382446289 nb_pixel_total : 54521 time to create 1 rle with old method : 0.05641627311706543 length of segment : 605 time for calcul the mask position with numpy : 0.0014276504516601562 nb_pixel_total : 49493 time to create 1 rle with old method : 0.05065655708312988 length of segment : 261 time for calcul the mask position with numpy : 0.0015528202056884766 nb_pixel_total : 50834 time to create 1 rle with old method : 0.05121159553527832 length of segment : 326 time for calcul the mask position with numpy : 0.0011870861053466797 nb_pixel_total : 36733 time to create 1 rle with old method : 0.0383148193359375 length of segment : 230 time for calcul the mask position with numpy : 0.0002713203430175781 nb_pixel_total : 5477 time to create 1 rle with old method : 0.0060155391693115234 length of segment : 143 time for calcul the mask position with numpy : 0.002390146255493164 nb_pixel_total : 83119 time to create 1 rle with old method : 0.08662033081054688 length of segment : 376 time for calcul the mask position with numpy : 0.0005545616149902344 nb_pixel_total : 13534 time to create 1 rle with old method : 0.013959169387817383 length of segment : 192 time for calcul the mask position with numpy : 0.0004291534423828125 nb_pixel_total : 11804 time to create 1 rle with old method : 0.012337446212768555 length of segment : 114 time for calcul the mask position with numpy : 0.00040411949157714844 nb_pixel_total : 6368 time to create 1 rle with old method : 0.006996631622314453 length of segment : 78 time for calcul the mask position with numpy : 0.0004184246063232422 nb_pixel_total : 11267 time to create 1 rle with old method : 0.011406660079956055 length of segment : 138 time for calcul the mask position with numpy : 0.0008041858673095703 nb_pixel_total : 14104 time to create 1 rle with old method : 0.015410184860229492 length of segment : 190 time for calcul the mask position with numpy : 0.000331878662109375 nb_pixel_total : 12123 time to create 1 rle with old method : 0.013090372085571289 length of segment : 96 time for calcul the mask position with numpy : 0.0002675056457519531 nb_pixel_total : 12263 time to create 1 rle with old method : 0.013415813446044922 length of segment : 145 time for calcul the mask position with numpy : 0.0010519027709960938 nb_pixel_total : 28681 time to create 1 rle with old method : 0.029036283493041992 length of segment : 275 time for calcul the mask position with numpy : 0.002603769302368164 nb_pixel_total : 97405 time to create 1 rle with old method : 0.09745383262634277 length of segment : 506 time for calcul the mask position with numpy : 0.0009105205535888672 nb_pixel_total : 23740 time to create 1 rle with old method : 0.023890972137451172 length of segment : 217 time for calcul the mask position with numpy : 0.0005972385406494141 nb_pixel_total : 14883 time to create 1 rle with old method : 0.01585102081298828 length of segment : 154 time for calcul the mask position with numpy : 0.00036978721618652344 nb_pixel_total : 7328 time to create 1 rle with old method : 0.00809931755065918 length of segment : 58 time for calcul the mask position with numpy : 0.0014185905456542969 nb_pixel_total : 47867 time to create 1 rle with old method : 0.05120658874511719 length of segment : 316 time for calcul the mask position with numpy : 0.0005884170532226562 nb_pixel_total : 12808 time to create 1 rle with old method : 0.01409292221069336 length of segment : 190 time for calcul the mask position with numpy : 0.0017998218536376953 nb_pixel_total : 45853 time to create 1 rle with old method : 0.04875898361206055 length of segment : 287 time for calcul the mask position with numpy : 0.0005850791931152344 nb_pixel_total : 13752 time to create 1 rle with old method : 0.015619516372680664 length of segment : 153 time for calcul the mask position with numpy : 0.0013568401336669922 nb_pixel_total : 45053 time to create 1 rle with old method : 0.04653000831604004 length of segment : 275 time for calcul the mask position with numpy : 0.0013115406036376953 nb_pixel_total : 6293 time to create 1 rle with old method : 0.0074920654296875 length of segment : 204 time for calcul the mask position with numpy : 0.0029609203338623047 nb_pixel_total : 132568 time to create 1 rle with old method : 0.13546466827392578 length of segment : 470 time for calcul the mask position with numpy : 0.002435922622680664 nb_pixel_total : 86483 time to create 1 rle with old method : 0.08884072303771973 length of segment : 275 time for calcul the mask position with numpy : 0.0008268356323242188 nb_pixel_total : 30524 time to create 1 rle with old method : 0.033941030502319336 length of segment : 184 time for calcul the mask position with numpy : 0.0005927085876464844 nb_pixel_total : 12890 time to create 1 rle with old method : 0.013731956481933594 length of segment : 195 time for calcul the mask position with numpy : 0.00040078163146972656 nb_pixel_total : 7886 time to create 1 rle with old method : 0.008976936340332031 length of segment : 141 time for calcul the mask position with numpy : 0.0010406970977783203 nb_pixel_total : 39741 time to create 1 rle with old method : 0.03936123847961426 length of segment : 259 time for calcul the mask position with numpy : 0.00019359588623046875 nb_pixel_total : 1434 time to create 1 rle with old method : 0.0025937557220458984 length of segment : 65 time for calcul the mask position with numpy : 0.0075075626373291016 nb_pixel_total : 189680 time to create 1 rle with new method : 0.010024070739746094 length of segment : 562 time for calcul the mask position with numpy : 0.0007100105285644531 nb_pixel_total : 19643 time to create 1 rle with old method : 0.020186901092529297 length of segment : 101 time for calcul the mask position with numpy : 0.002992391586303711 nb_pixel_total : 112980 time to create 1 rle with old method : 0.11301541328430176 length of segment : 403 time for calcul the mask position with numpy : 0.005761384963989258 nb_pixel_total : 305548 time to create 1 rle with new method : 0.013100624084472656 length of segment : 1244 time for calcul the mask position with numpy : 0.0011858940124511719 nb_pixel_total : 48043 time to create 1 rle with old method : 0.05133652687072754 length of segment : 255 time for calcul the mask position with numpy : 0.00010800361633300781 nb_pixel_total : 786 time to create 1 rle with old method : 0.0009682178497314453 length of segment : 33 time for calcul the mask position with numpy : 6.508827209472656e-05 nb_pixel_total : 1658 time to create 1 rle with old method : 0.0018913745880126953 length of segment : 59 time for calcul the mask position with numpy : 0.0018124580383300781 nb_pixel_total : 72482 time to create 1 rle with old method : 0.07233119010925293 length of segment : 444 time for calcul the mask position with numpy : 0.005773305892944336 nb_pixel_total : 206695 time to create 1 rle with new method : 0.008172750473022461 length of segment : 568 time for calcul the mask position with numpy : 0.004937887191772461 nb_pixel_total : 154710 time to create 1 rle with new method : 0.007642030715942383 length of segment : 485 time for calcul the mask position with numpy : 0.0008230209350585938 nb_pixel_total : 14990 time to create 1 rle with old method : 0.0159451961517334 length of segment : 189 time for calcul the mask position with numpy : 0.0003058910369873047 nb_pixel_total : 3996 time to create 1 rle with old method : 0.004369497299194336 length of segment : 133 time for calcul the mask position with numpy : 0.001318216323852539 nb_pixel_total : 77404 time to create 1 rle with old method : 0.07971334457397461 length of segment : 424 time for calcul the mask position with numpy : 0.002436399459838867 nb_pixel_total : 55295 time to create 1 rle with old method : 0.06121826171875 length of segment : 434 time for calcul the mask position with numpy : 0.0018932819366455078 nb_pixel_total : 109818 time to create 1 rle with old method : 0.11286425590515137 length of segment : 451 time for calcul the mask position with numpy : 0.0030868053436279297 nb_pixel_total : 110772 time to create 1 rle with old method : 0.10837554931640625 length of segment : 446 time for calcul the mask position with numpy : 0.00010061264038085938 nb_pixel_total : 991 time to create 1 rle with old method : 0.0012102127075195312 length of segment : 29 time for calcul the mask position with numpy : 0.004082679748535156 nb_pixel_total : 167717 time to create 1 rle with new method : 0.008642196655273438 length of segment : 437 time for calcul the mask position with numpy : 0.0005657672882080078 nb_pixel_total : 11000 time to create 1 rle with old method : 0.011988639831542969 length of segment : 190 time for calcul the mask position with numpy : 0.0029430389404296875 nb_pixel_total : 114291 time to create 1 rle with old method : 0.11477923393249512 length of segment : 422 time for calcul the mask position with numpy : 0.0044956207275390625 nb_pixel_total : 132748 time to create 1 rle with old method : 0.13268589973449707 length of segment : 543 time for calcul the mask position with numpy : 0.004543781280517578 nb_pixel_total : 195101 time to create 1 rle with new method : 0.0064601898193359375 length of segment : 557 time for calcul the mask position with numpy : 0.0034394264221191406 nb_pixel_total : 114736 time to create 1 rle with old method : 0.11835122108459473 length of segment : 457 time for calcul the mask position with numpy : 0.00021195411682128906 nb_pixel_total : 6990 time to create 1 rle with old method : 0.008091211318969727 length of segment : 100 time for calcul the mask position with numpy : 0.0012030601501464844 nb_pixel_total : 38863 time to create 1 rle with old method : 0.03905224800109863 length of segment : 290 time for calcul the mask position with numpy : 0.0004017353057861328 nb_pixel_total : 10793 time to create 1 rle with old method : 0.011675596237182617 length of segment : 91 time for calcul the mask position with numpy : 0.00011515617370605469 nb_pixel_total : 1462 time to create 1 rle with old method : 0.0015790462493896484 length of segment : 61 time for calcul the mask position with numpy : 0.00102996826171875 nb_pixel_total : 30592 time to create 1 rle with old method : 0.031018972396850586 length of segment : 283 time for calcul the mask position with numpy : 0.0002651214599609375 nb_pixel_total : 4144 time to create 1 rle with old method : 0.004511356353759766 length of segment : 147 time for calcul the mask position with numpy : 0.0008525848388671875 nb_pixel_total : 22193 time to create 1 rle with old method : 0.023578882217407227 length of segment : 328 time for calcul the mask position with numpy : 0.004814624786376953 nb_pixel_total : 186405 time to create 1 rle with new method : 0.0075283050537109375 length of segment : 532 time for calcul the mask position with numpy : 0.0021436214447021484 nb_pixel_total : 56439 time to create 1 rle with old method : 0.05755257606506348 length of segment : 448 time for calcul the mask position with numpy : 0.0015630722045898438 nb_pixel_total : 83635 time to create 1 rle with old method : 0.08597540855407715 length of segment : 342 time for calcul the mask position with numpy : 0.0014064311981201172 nb_pixel_total : 57356 time to create 1 rle with old method : 0.06133008003234863 length of segment : 420 time for calcul the mask position with numpy : 0.002130270004272461 nb_pixel_total : 81065 time to create 1 rle with old method : 0.08290886878967285 length of segment : 471 time for calcul the mask position with numpy : 0.0011904239654541016 nb_pixel_total : 65616 time to create 1 rle with old method : 0.06910443305969238 length of segment : 420 time for calcul the mask position with numpy : 0.0041272640228271484 nb_pixel_total : 163456 time to create 1 rle with new method : 0.011193513870239258 length of segment : 709 time for calcul the mask position with numpy : 0.0026226043701171875 nb_pixel_total : 81590 time to create 1 rle with old method : 0.1028282642364502 length of segment : 355 time for calcul the mask position with numpy : 0.0018198490142822266 nb_pixel_total : 81956 time to create 1 rle with old method : 0.0844731330871582 length of segment : 407 time for calcul the mask position with numpy : 0.002602815628051758 nb_pixel_total : 86512 time to create 1 rle with old method : 0.09230589866638184 length of segment : 543 time for calcul the mask position with numpy : 0.0026044845581054688 nb_pixel_total : 116011 time to create 1 rle with old method : 0.11861586570739746 length of segment : 551 time for calcul the mask position with numpy : 0.0006024837493896484 nb_pixel_total : 39933 time to create 1 rle with old method : 0.04257535934448242 length of segment : 215 time for calcul the mask position with numpy : 0.002176046371459961 nb_pixel_total : 65272 time to create 1 rle with old method : 0.06908750534057617 length of segment : 404 time for calcul the mask position with numpy : 0.0009779930114746094 nb_pixel_total : 20954 time to create 1 rle with old method : 0.022876977920532227 length of segment : 264 time for calcul the mask position with numpy : 0.0017910003662109375 nb_pixel_total : 56247 time to create 1 rle with old method : 0.060442209243774414 length of segment : 192 time for calcul the mask position with numpy : 0.004033327102661133 nb_pixel_total : 148877 time to create 1 rle with old method : 0.1472940444946289 length of segment : 403 time for calcul the mask position with numpy : 0.0014908313751220703 nb_pixel_total : 27924 time to create 1 rle with old method : 0.02926015853881836 length of segment : 362 time for calcul the mask position with numpy : 0.00014090538024902344 nb_pixel_total : 1457 time to create 1 rle with old method : 0.0017156600952148438 length of segment : 60 time for calcul the mask position with numpy : 0.0004999637603759766 nb_pixel_total : 15143 time to create 1 rle with old method : 0.016675233840942383 length of segment : 136 time for calcul the mask position with numpy : 0.003455638885498047 nb_pixel_total : 135299 time to create 1 rle with old method : 0.14016938209533691 length of segment : 645 time for calcul the mask position with numpy : 0.00017690658569335938 nb_pixel_total : 2755 time to create 1 rle with old method : 0.002991199493408203 length of segment : 83 time for calcul the mask position with numpy : 0.0037822723388671875 nb_pixel_total : 155073 time to create 1 rle with new method : 0.008231163024902344 length of segment : 919 time for calcul the mask position with numpy : 0.0005261898040771484 nb_pixel_total : 9484 time to create 1 rle with old method : 0.010055780410766602 length of segment : 175 time for calcul the mask position with numpy : 0.0029871463775634766 nb_pixel_total : 134805 time to create 1 rle with old method : 0.1433093547821045 length of segment : 818 time for calcul the mask position with numpy : 0.0011610984802246094 nb_pixel_total : 38363 time to create 1 rle with old method : 0.042456865310668945 length of segment : 251 time for calcul the mask position with numpy : 0.0006465911865234375 nb_pixel_total : 5148 time to create 1 rle with old method : 0.006594419479370117 length of segment : 265 time for calcul the mask position with numpy : 0.00032520294189453125 nb_pixel_total : 16891 time to create 1 rle with old method : 0.018938541412353516 length of segment : 189 time for calcul the mask position with numpy : 0.0029506683349609375 nb_pixel_total : 108264 time to create 1 rle with old method : 0.11894488334655762 length of segment : 381 time for calcul the mask position with numpy : 0.003807544708251953 nb_pixel_total : 67207 time to create 1 rle with old method : 0.07733297348022461 length of segment : 670 time spent for convertir_results : 15.222414493560791 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 193 chid ids of type : 3663 Number RLEs to save : 58626 save missing photos in datou_result : time spend for datou_step_exec : 51.182488441467285 time spend to save output : 3.1893975734710693 total time spend for step 1 : 54.371886014938354 step2:crop_condition Tue Feb 4 12:19:26 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 193 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! we have finished the crop for the class : 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 ! 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 : 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 ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! we have finished the crop for the class : 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 ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 51 About to insert : list_path_to_insert length 51 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1334513930, 1334513927, 1334497467, 1334497463, 1334497458, 1334497454, 1334497450, 1334497447, 1334497444, 1334497441] Looping around the photos to save general results len do output : 98 /-3653455177Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455202Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455222Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455234Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455231Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455232Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455270Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455261Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455273Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455295Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455312Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455342Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455340Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455184Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455258Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455301Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455302Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455304Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455306Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455327Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455349Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455170Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455201Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455256Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455259Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455309Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455294Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455325Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455314Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455336Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455341Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455162Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455171Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455168Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455176Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455185Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455180Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455172Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455181Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455183Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455193Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455209Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455194Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455212Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455197Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455195Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455192Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455196Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455207Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455230Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455224Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455235Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455260Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455244Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455246Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455252Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455254Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455266Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455264Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455263Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455275Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455271Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455279Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455283Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455281Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455284Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455286Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455307Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455300Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455319Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455330Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455324Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455323Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455322Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455311Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455337Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455332Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455333Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455331Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455350Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455343Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455347Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455165Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455178Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455173Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455174Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455179Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455204Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455238Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455282Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455280Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455338Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455161Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455188Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455247Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455287Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455167Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3653455186Didn'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, '2544845') ('3459', '20208808', '1334513930', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334513927', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497467', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497463', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497458', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497454', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497450', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497447', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497444', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497441', None, None, None, None, None, '2544845') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 304 time used for this insertion : 0.03435850143432617 save_final save missing photos in datou_result : time spend for datou_step_exec : 41.76023006439209 time spend to save output : 0.037181854248046875 total time spend for step 2 : 41.79741191864014 step3:thcl Tue Feb 4 12:20:07 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.01601386070251465 time to convert the images to numpy array : 0.07813501358032227 time to import caffe and check if the image exist : 0.010174274444580078 time to convert the images to numpy array : 0.09934830665588379 time to import caffe and check if the image exist : 0.011759281158447266 time to convert the images to numpy array : 0.11708188056945801 time to import caffe and check if the image exist : 0.011300086975097656 time to convert the images to numpy array : 0.12018609046936035 time to import caffe and check if the image exist : 0.01868462562561035 time to convert the images to numpy array : 0.1301107406616211 time to import caffe and check if the image exist : 0.01687788963317871 time to convert the images to numpy array : 0.14119911193847656 time to import caffe and check if the image exist : 0.016257762908935547 time to convert the images to numpy array : 0.15064001083374023 time to import caffe and check if the image exist : 0.014434337615966797 time to convert the images to numpy array : 0.15469121932983398 time to import caffe and check if the image exist : 0.013944387435913086 time to convert the images to numpy array : 0.16049790382385254 time to import caffe and check if the image exist : 0.015392303466796875 time to convert the images to numpy array : 0.16051959991455078 total time to convert the images to numpy array : 0.45360565185546875 list photo_ids error: [] list photo_ids correct : [-3653455343, -3653455347, -3653455165, -3653455178, -3653455173, -3653455174, -3653455179, -3653455204, -3653455238, -3653455282, -3653455177, -3653455202, -3653455222, -3653455234, -3653455231, -3653455232, -3653455270, -3653455261, -3653455273, -3653455295, -3653455224, -3653455235, -3653455260, -3653455244, -3653455246, -3653455252, -3653455254, -3653455266, -3653455264, -3653455263, -3653455275, -3653455271, -3653455279, -3653455283, -3653455281, -3653455284, -3653455286, -3653455307, -3653455300, -3653455319, -3653455341, -3653455162, -3653455171, -3653455168, -3653455176, -3653455185, -3653455180, -3653455172, -3653455181, -3653455183, -3653455312, -3653455342, -3653455340, -3653455184, -3653455258, -3653455301, -3653455302, -3653455304, -3653455306, -3653455327, -3653455330, -3653455324, -3653455323, -3653455322, -3653455311, -3653455337, -3653455332, -3653455333, -3653455331, -3653455350, -3653455193, -3653455209, -3653455194, -3653455212, -3653455197, -3653455195, -3653455192, -3653455196, -3653455207, -3653455230, -3653455280, -3653455338, -3653455161, -3653455188, -3653455247, -3653455287, -3653455167, -3653455186, -3653455349, -3653455170, -3653455201, -3653455256, -3653455259, -3653455309, -3653455294, -3653455325, -3653455314, -3653455336] number of photos to traite : 98 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 : 6347 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 : 6128 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.1148109436035156 time used to do the prediction : 0.20191335678100586 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 : 6126 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 : 6126 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.1784157752990723 time used to do the prediction : 0.17507100105285645 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 : 9.5367431640625e-06 save missing photos in datou_result : time spend for datou_step_exec : 9.905498504638672 time spend to save output : 0.0005867481231689453 total time spend for step 3 : 9.90608525276184 step4:merge_mask_thcl_custom Tue Feb 4 12:20:17 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 193 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 [1334513930, 1334513927, 1334497467, 1334497463, 1334497458, 1334497454, 1334497450, 1334497447, 1334497444, 1334497441] Looping around the photos to save general results len do output : 10 /1334513930Didn't retrieve data .Didn't retrieve data . /1334513927Didn't retrieve data .Didn't retrieve data . /1334497467Didn't retrieve data .Didn't retrieve data . /1334497463Didn't retrieve data .Didn't retrieve data . /1334497458Didn't retrieve data .Didn't retrieve data . /1334497454Didn't retrieve data .Didn't retrieve data . /1334497450Didn't retrieve data .Didn't retrieve data . /1334497447Didn't retrieve data .Didn't retrieve data . /1334497444Didn't retrieve data .Didn't retrieve data . /1334497441Didn'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, '2544845') ('3459', '20208808', '1334513930', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334513927', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497467', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497463', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497458', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497454', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497450', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497447', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497444', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497441', None, None, None, None, None, '2544845') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013794898986816406 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06908798217773438 time spend to save output : 0.014312267303466797 total time spend for step 4 : 0.08340024948120117 step5:rle_unique_nms_with_priority Tue Feb 4 12:20:17 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 : 13 nb_hashtags : 5 time to prepare the origin masks : 2.901170492172241 time for calcul the mask position with numpy : 0.06206798553466797 nb_pixel_total : 4970799 time to create 1 rle with new method : 0.136124849319458 time for calcul the mask position with numpy : 0.02370166778564453 nb_pixel_total : 348078 time to create 1 rle with new method : 0.13674592971801758 time for calcul the mask position with numpy : 0.022255420684814453 nb_pixel_total : 218946 time to create 1 rle with new method : 0.13750624656677246 time for calcul the mask position with numpy : 0.022742271423339844 nb_pixel_total : 295542 time to create 1 rle with new method : 0.1268627643585205 time for calcul the mask position with numpy : 0.020711660385131836 nb_pixel_total : 5142 time to create 1 rle with old method : 0.005584239959716797 time for calcul the mask position with numpy : 0.019809722900390625 nb_pixel_total : 1032 time to create 1 rle with old method : 0.0014078617095947266 time for calcul the mask position with numpy : 0.020209550857543945 nb_pixel_total : 150353 time to create 1 rle with new method : 0.12474441528320312 time for calcul the mask position with numpy : 0.020038843154907227 nb_pixel_total : 18346 time to create 1 rle with old method : 0.018950462341308594 time for calcul the mask position with numpy : 0.019804000854492188 nb_pixel_total : 22578 time to create 1 rle with old method : 0.023201704025268555 time for calcul the mask position with numpy : 0.025249958038330078 nb_pixel_total : 875041 time to create 1 rle with new method : 0.1287388801574707 time for calcul the mask position with numpy : 0.019093036651611328 nb_pixel_total : 1544 time to create 1 rle with old method : 0.0016429424285888672 time for calcul the mask position with numpy : 0.018908262252807617 nb_pixel_total : 46926 time to create 1 rle with old method : 0.04714012145996094 time for calcul the mask position with numpy : 0.019083261489868164 nb_pixel_total : 15828 time to create 1 rle with old method : 0.01564645767211914 time for calcul the mask position with numpy : 0.01909637451171875 nb_pixel_total : 80085 time to create 1 rle with old method : 0.07777094841003418 create new chi : 1.393082618713379 time to delete rle : 0.010039091110229492 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 13335 TO DO : save crop sub photo not yet done ! save time : 0.6935045719146729 nb_obj : 15 nb_hashtags : 7 time to prepare the origin masks : 6.934229135513306 time for calcul the mask position with numpy : 0.6165597438812256 nb_pixel_total : 5434833 time to create 1 rle with new method : 1.0215415954589844 time for calcul the mask position with numpy : 0.01963353157043457 nb_pixel_total : 33654 time to create 1 rle with old method : 0.0334317684173584 time for calcul the mask position with numpy : 0.020114421844482422 nb_pixel_total : 95946 time to create 1 rle with old method : 0.09671282768249512 time for calcul the mask position with numpy : 0.019253253936767578 nb_pixel_total : 13846 time to create 1 rle with old method : 0.014596700668334961 time for calcul the mask position with numpy : 0.019536733627319336 nb_pixel_total : 20523 time to create 1 rle with old method : 0.021684646606445312 time for calcul the mask position with numpy : 0.019475698471069336 nb_pixel_total : 36225 time to create 1 rle with old method : 0.03622317314147949 time for calcul the mask position with numpy : 0.019224882125854492 nb_pixel_total : 36985 time to create 1 rle with old method : 0.03601193428039551 time for calcul the mask position with numpy : 0.019324541091918945 nb_pixel_total : 19689 time to create 1 rle with old method : 0.020574331283569336 time for calcul the mask position with numpy : 0.019281625747680664 nb_pixel_total : 30125 time to create 1 rle with old method : 0.031722307205200195 time for calcul the mask position with numpy : 0.020315170288085938 nb_pixel_total : 13566 time to create 1 rle with old method : 0.014269351959228516 time for calcul the mask position with numpy : 0.020843982696533203 nb_pixel_total : 23817 time to create 1 rle with old method : 0.02697134017944336 time for calcul the mask position with numpy : 0.02291250228881836 nb_pixel_total : 257502 time to create 1 rle with new method : 0.13437438011169434 time for calcul the mask position with numpy : 0.021720170974731445 nb_pixel_total : 15995 time to create 1 rle with old method : 0.017046689987182617 time for calcul the mask position with numpy : 0.021510601043701172 nb_pixel_total : 35842 time to create 1 rle with old method : 0.0548248291015625 time for calcul the mask position with numpy : 0.029764652252197266 nb_pixel_total : 808198 time to create 1 rle with new method : 0.14226484298706055 time for calcul the mask position with numpy : 0.024379253387451172 nb_pixel_total : 173494 time to create 1 rle with new method : 0.14353442192077637 create new chi : 2.847140312194824 time to delete rle : 0.0017366409301757812 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 13570 TO DO : save crop sub photo not yet done ! save time : 2.959306001663208 nb_obj : 24 nb_hashtags : 4 time to prepare the origin masks : 10.536062002182007 time for calcul the mask position with numpy : 0.3173189163208008 nb_pixel_total : 5532845 time to create 1 rle with new method : 1.1738662719726562 time for calcul the mask position with numpy : 0.024103403091430664 nb_pixel_total : 4413 time to create 1 rle with old method : 0.00506901741027832 time for calcul the mask position with numpy : 0.025573015213012695 nb_pixel_total : 331220 time to create 1 rle with new method : 0.5111961364746094 time for calcul the mask position with numpy : 0.025569915771484375 nb_pixel_total : 146906 time to create 1 rle with old method : 0.15883255004882812 time for calcul the mask position with numpy : 0.02130913734436035 nb_pixel_total : 3746 time to create 1 rle with old method : 0.0042569637298583984 time for calcul the mask position with numpy : 0.023527145385742188 nb_pixel_total : 109686 time to create 1 rle with old method : 0.17398691177368164 time for calcul the mask position with numpy : 0.023527145385742188 nb_pixel_total : 33465 time to create 1 rle with old method : 0.037319183349609375 time for calcul the mask position with numpy : 0.02062678337097168 nb_pixel_total : 17824 time to create 1 rle with old method : 0.01898479461669922 time for calcul the mask position with numpy : 0.022255420684814453 nb_pixel_total : 88815 time to create 1 rle with old method : 0.0956885814666748 time for calcul the mask position with numpy : 0.02121281623840332 nb_pixel_total : 2159 time to create 1 rle with old method : 0.0025701522827148438 time for calcul the mask position with numpy : 0.021633386611938477 nb_pixel_total : 56209 time to create 1 rle with old method : 0.06049370765686035 time for calcul the mask position with numpy : 0.025298118591308594 nb_pixel_total : 5307 time to create 1 rle with old method : 0.0060765743255615234 time for calcul the mask position with numpy : 0.022017717361450195 nb_pixel_total : 3036 time to create 1 rle with old method : 0.0036880970001220703 time for calcul the mask position with numpy : 0.02291131019592285 nb_pixel_total : 733 time to create 1 rle with old method : 0.0008728504180908203 time for calcul the mask position with numpy : 0.022670269012451172 nb_pixel_total : 10444 time to create 1 rle with old method : 0.011503219604492188 time for calcul the mask position with numpy : 0.020923852920532227 nb_pixel_total : 7818 time to create 1 rle with old method : 0.00858759880065918 time for calcul the mask position with numpy : 0.022289752960205078 nb_pixel_total : 11616 time to create 1 rle with old method : 0.012542963027954102 time for calcul the mask position with numpy : 0.02954840660095215 nb_pixel_total : 159612 time to create 1 rle with new method : 0.5513012409210205 time for calcul the mask position with numpy : 0.03934168815612793 nb_pixel_total : 60258 time to create 1 rle with old method : 0.06503033638000488 time for calcul the mask position with numpy : 0.022587299346923828 nb_pixel_total : 25350 time to create 1 rle with old method : 0.042658090591430664 time for calcul the mask position with numpy : 0.046655893325805664 nb_pixel_total : 40286 time to create 1 rle with old method : 0.043804168701171875 time for calcul the mask position with numpy : 0.03594660758972168 nb_pixel_total : 7799 time to create 1 rle with old method : 0.00896763801574707 time for calcul the mask position with numpy : 0.03962135314941406 nb_pixel_total : 338915 time to create 1 rle with new method : 1.5227446556091309 time for calcul the mask position with numpy : 0.034575462341308594 nb_pixel_total : 1711 time to create 1 rle with old method : 0.0020046234130859375 time for calcul the mask position with numpy : 0.034775733947753906 nb_pixel_total : 50067 time to create 1 rle with old method : 0.05341506004333496 create new chi : 5.64508056640625 time to delete rle : 0.0014026165008544922 batch 1 Loaded 25 chid ids of type : 3726 Number RLEs to save : 14808 TO DO : save crop sub photo not yet done ! save time : 0.8121774196624756 nb_obj : 17 nb_hashtags : 3 time to prepare the origin masks : 5.229022264480591 time for calcul the mask position with numpy : 0.38045620918273926 nb_pixel_total : 6875892 time to create 1 rle with new method : 0.7560815811157227 time for calcul the mask position with numpy : 0.026809215545654297 nb_pixel_total : 61337 time to create 1 rle with old method : 0.07624506950378418 time for calcul the mask position with numpy : 0.024096250534057617 nb_pixel_total : 24346 time to create 1 rle with old method : 0.02664923667907715 time for calcul the mask position with numpy : 0.025208234786987305 nb_pixel_total : 1362 time to create 1 rle with old method : 0.0015454292297363281 time for calcul the mask position with numpy : 0.025557994842529297 nb_pixel_total : 4432 time to create 1 rle with old method : 0.005095481872558594 time for calcul the mask position with numpy : 0.024085283279418945 nb_pixel_total : 1008 time to create 1 rle with old method : 0.0012640953063964844 time for calcul the mask position with numpy : 0.02317023277282715 nb_pixel_total : 4109 time to create 1 rle with old method : 0.004710674285888672 time for calcul the mask position with numpy : 0.022745132446289062 nb_pixel_total : 2872 time to create 1 rle with old method : 0.003218412399291992 time for calcul the mask position with numpy : 0.025957822799682617 nb_pixel_total : 1612 time to create 1 rle with old method : 0.0018765926361083984 time for calcul the mask position with numpy : 0.023247718811035156 nb_pixel_total : 5545 time to create 1 rle with old method : 0.006400346755981445 time for calcul the mask position with numpy : 0.02269744873046875 nb_pixel_total : 3892 time to create 1 rle with old method : 0.004324197769165039 time for calcul the mask position with numpy : 0.023141145706176758 nb_pixel_total : 25859 time to create 1 rle with old method : 0.027368545532226562 time for calcul the mask position with numpy : 0.022129297256469727 nb_pixel_total : 3873 time to create 1 rle with old method : 0.004172325134277344 time for calcul the mask position with numpy : 0.021972179412841797 nb_pixel_total : 3399 time to create 1 rle with old method : 0.0037360191345214844 time for calcul the mask position with numpy : 0.022891521453857422 nb_pixel_total : 9484 time to create 1 rle with old method : 0.010179281234741211 time for calcul the mask position with numpy : 0.0242764949798584 nb_pixel_total : 8833 time to create 1 rle with old method : 0.009667634963989258 time for calcul the mask position with numpy : 0.023610830307006836 nb_pixel_total : 6166 time to create 1 rle with old method : 0.006995439529418945 time for calcul the mask position with numpy : 0.0421452522277832 nb_pixel_total : 6219 time to create 1 rle with old method : 0.010548591613769531 create new chi : 1.812232255935669 time to delete rle : 0.001478433609008789 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 6622 TO DO : save crop sub photo not yet done ! save time : 0.4133791923522949 nb_obj : 29 nb_hashtags : 6 time to prepare the origin masks : 9.736937522888184 time for calcul the mask position with numpy : 0.09770989418029785 nb_pixel_total : 5949853 time to create 1 rle with new method : 0.14373111724853516 time for calcul the mask position with numpy : 0.028891563415527344 nb_pixel_total : 1259 time to create 1 rle with old method : 0.0014667510986328125 time for calcul the mask position with numpy : 0.028814077377319336 nb_pixel_total : 4476 time to create 1 rle with old method : 0.005272865295410156 time for calcul the mask position with numpy : 0.031514883041381836 nb_pixel_total : 210508 time to create 1 rle with new method : 0.13805723190307617 time for calcul the mask position with numpy : 0.029229402542114258 nb_pixel_total : 3689 time to create 1 rle with old method : 0.004165172576904297 time for calcul the mask position with numpy : 0.028425931930541992 nb_pixel_total : 19665 time to create 1 rle with old method : 0.02168750762939453 time for calcul the mask position with numpy : 0.028726577758789062 nb_pixel_total : 2216 time to create 1 rle with old method : 0.0025634765625 time for calcul the mask position with numpy : 0.028692007064819336 nb_pixel_total : 920 time to create 1 rle with old method : 0.0011219978332519531 time for calcul the mask position with numpy : 0.0285797119140625 nb_pixel_total : 10244 time to create 1 rle with old method : 0.011582374572753906 time for calcul the mask position with numpy : 0.028721094131469727 nb_pixel_total : 922 time to create 1 rle with old method : 0.0011124610900878906 time for calcul the mask position with numpy : 0.028849124908447266 nb_pixel_total : 47083 time to create 1 rle with old method : 0.05020618438720703 time for calcul the mask position with numpy : 0.02893233299255371 nb_pixel_total : 147575 time to create 1 rle with old method : 0.15413451194763184 time for calcul the mask position with numpy : 0.02954554557800293 nb_pixel_total : 86846 time to create 1 rle with old method : 0.09814763069152832 time for calcul the mask position with numpy : 0.028731107711791992 nb_pixel_total : 12853 time to create 1 rle with old method : 0.014470100402832031 time for calcul the mask position with numpy : 0.028901100158691406 nb_pixel_total : 18773 time to create 1 rle with old method : 0.02104949951171875 time for calcul the mask position with numpy : 0.02884221076965332 nb_pixel_total : 14902 time to create 1 rle with old method : 0.01611042022705078 time for calcul the mask position with numpy : 0.02903270721435547 nb_pixel_total : 30051 time to create 1 rle with old method : 0.03217768669128418 time for calcul the mask position with numpy : 0.028753042221069336 nb_pixel_total : 13846 time to create 1 rle with old method : 0.015030145645141602 time for calcul the mask position with numpy : 0.029375076293945312 nb_pixel_total : 74968 time to create 1 rle with old method : 0.07968306541442871 time for calcul the mask position with numpy : 0.029072999954223633 nb_pixel_total : 53549 time to create 1 rle with old method : 0.056853294372558594 time for calcul the mask position with numpy : 0.029239892959594727 nb_pixel_total : 5969 time to create 1 rle with old method : 0.006756305694580078 time for calcul the mask position with numpy : 0.02880692481994629 nb_pixel_total : 7474 time to create 1 rle with old method : 0.008269071578979492 time for calcul the mask position with numpy : 0.02910470962524414 nb_pixel_total : 143532 time to create 1 rle with old method : 0.1517326831817627 time for calcul the mask position with numpy : 0.02883458137512207 nb_pixel_total : 7009 time to create 1 rle with old method : 0.007930755615234375 time for calcul the mask position with numpy : 0.02940082550048828 nb_pixel_total : 18551 time to create 1 rle with old method : 0.02002573013305664 time for calcul the mask position with numpy : 0.029572248458862305 nb_pixel_total : 61683 time to create 1 rle with old method : 0.06597471237182617 time for calcul the mask position with numpy : 0.029293537139892578 nb_pixel_total : 39660 time to create 1 rle with old method : 0.042243003845214844 time for calcul the mask position with numpy : 0.029344797134399414 nb_pixel_total : 49273 time to create 1 rle with old method : 0.052524566650390625 time for calcul the mask position with numpy : 0.028990745544433594 nb_pixel_total : 5809 time to create 1 rle with old method : 0.0065822601318359375 time for calcul the mask position with numpy : 0.030905485153198242 nb_pixel_total : 7082 time to create 1 rle with old method : 0.008136749267578125 create new chi : 2.2142364978790283 time to delete rle : 0.0015716552734375 batch 1 Loaded 30 chid ids of type : 3726 Number RLEs to save : 16678 TO DO : save crop sub photo not yet done ! save time : 0.8896350860595703 nb_obj : 14 nb_hashtags : 5 time to prepare the origin masks : 3.962109088897705 time for calcul the mask position with numpy : 0.09990501403808594 nb_pixel_total : 6595190 time to create 1 rle with new method : 0.1525437831878662 time for calcul the mask position with numpy : 0.022662878036499023 nb_pixel_total : 51554 time to create 1 rle with old method : 0.05564093589782715 time for calcul the mask position with numpy : 0.02390432357788086 nb_pixel_total : 83023 time to create 1 rle with old method : 0.08880257606506348 time for calcul the mask position with numpy : 0.02324700355529785 nb_pixel_total : 11207 time to create 1 rle with old method : 0.011741161346435547 time for calcul the mask position with numpy : 0.023798227310180664 nb_pixel_total : 12188 time to create 1 rle with old method : 0.012806177139282227 time for calcul the mask position with numpy : 0.022639989852905273 nb_pixel_total : 12000 time to create 1 rle with old method : 0.012185811996459961 time for calcul the mask position with numpy : 0.02202010154724121 nb_pixel_total : 6284 time to create 1 rle with old method : 0.00687408447265625 time for calcul the mask position with numpy : 0.023445844650268555 nb_pixel_total : 14056 time to create 1 rle with old method : 0.01497340202331543 time for calcul the mask position with numpy : 0.022623538970947266 nb_pixel_total : 11673 time to create 1 rle with old method : 0.012503623962402344 time for calcul the mask position with numpy : 0.02317070960998535 nb_pixel_total : 97409 time to create 1 rle with old method : 0.10393738746643066 time for calcul the mask position with numpy : 0.023484230041503906 nb_pixel_total : 36663 time to create 1 rle with old method : 0.03833818435668945 time for calcul the mask position with numpy : 0.02359604835510254 nb_pixel_total : 13491 time to create 1 rle with old method : 0.01517796516418457 time for calcul the mask position with numpy : 0.02364063262939453 nb_pixel_total : 5456 time to create 1 rle with old method : 0.006108283996582031 time for calcul the mask position with numpy : 0.023773670196533203 nb_pixel_total : 50768 time to create 1 rle with old method : 0.05467057228088379 time for calcul the mask position with numpy : 0.024448394775390625 nb_pixel_total : 49278 time to create 1 rle with old method : 0.051660776138305664 create new chi : 1.082277774810791 time to delete rle : 0.001271963119506836 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 8699 TO DO : save crop sub photo not yet done ! save time : 0.5053150653839111 nb_obj : 11 nb_hashtags : 5 time to prepare the origin masks : 2.5956952571868896 time for calcul the mask position with numpy : 0.07335066795349121 nb_pixel_total : 6719759 time to create 1 rle with new method : 0.128129243850708 time for calcul the mask position with numpy : 0.019557476043701172 nb_pixel_total : 45581 time to create 1 rle with old method : 0.04616236686706543 time for calcul the mask position with numpy : 0.01969599723815918 nb_pixel_total : 86148 time to create 1 rle with old method : 0.08402323722839355 time for calcul the mask position with numpy : 0.019632577896118164 nb_pixel_total : 12772 time to create 1 rle with old method : 0.01288294792175293 time for calcul the mask position with numpy : 0.019058942794799805 nb_pixel_total : 11339 time to create 1 rle with old method : 0.011513948440551758 time for calcul the mask position with numpy : 0.019374847412109375 nb_pixel_total : 47763 time to create 1 rle with old method : 0.048104047775268555 time for calcul the mask position with numpy : 0.019487857818603516 nb_pixel_total : 5962 time to create 1 rle with old method : 0.006338357925415039 time for calcul the mask position with numpy : 0.019869089126586914 nb_pixel_total : 30438 time to create 1 rle with old method : 0.032444000244140625 time for calcul the mask position with numpy : 0.020797252655029297 nb_pixel_total : 44951 time to create 1 rle with old method : 0.050485849380493164 time for calcul the mask position with numpy : 0.0208737850189209 nb_pixel_total : 7254 time to create 1 rle with old method : 0.007949590682983398 time for calcul the mask position with numpy : 0.020142078399658203 nb_pixel_total : 14776 time to create 1 rle with old method : 0.015822887420654297 time for calcul the mask position with numpy : 0.020531654357910156 nb_pixel_total : 23497 time to create 1 rle with old method : 0.024072647094726562 create new chi : 0.7738611698150635 time to delete rle : 0.0007178783416748047 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 6686 TO DO : save crop sub photo not yet done ! save time : 0.39586734771728516 nb_obj : 21 nb_hashtags : 4 time to prepare the origin masks : 8.23226284980774 time for calcul the mask position with numpy : 0.13448095321655273 nb_pixel_total : 5879908 time to create 1 rle with new method : 0.8992137908935547 time for calcul the mask position with numpy : 0.02663874626159668 nb_pixel_total : 2070 time to create 1 rle with old method : 0.0032041072845458984 time for calcul the mask position with numpy : 0.027252674102783203 nb_pixel_total : 987 time to create 1 rle with old method : 0.0011279582977294922 time for calcul the mask position with numpy : 0.023012638092041016 nb_pixel_total : 6607 time to create 1 rle with old method : 0.007272005081176758 time for calcul the mask position with numpy : 0.023627281188964844 nb_pixel_total : 3995 time to create 1 rle with old method : 0.004483461380004883 time for calcul the mask position with numpy : 0.023941755294799805 nb_pixel_total : 112638 time to create 1 rle with old method : 0.11532330513000488 time for calcul the mask position with numpy : 0.02337026596069336 nb_pixel_total : 140117 time to create 1 rle with old method : 0.17038178443908691 time for calcul the mask position with numpy : 0.02436971664428711 nb_pixel_total : 73396 time to create 1 rle with old method : 0.07848906517028809 time for calcul the mask position with numpy : 0.023817777633666992 nb_pixel_total : 1645 time to create 1 rle with old method : 0.0019228458404541016 time for calcul the mask position with numpy : 0.02535104751586914 nb_pixel_total : 206271 time to create 1 rle with new method : 0.15427494049072266 time for calcul the mask position with numpy : 0.027383804321289062 nb_pixel_total : 772 time to create 1 rle with old method : 0.0009503364562988281 time for calcul the mask position with numpy : 0.022911787033081055 nb_pixel_total : 47959 time to create 1 rle with old method : 0.04903149604797363 time for calcul the mask position with numpy : 0.024546384811401367 nb_pixel_total : 14581 time to create 1 rle with old method : 0.01931476593017578 time for calcul the mask position with numpy : 0.024053096771240234 nb_pixel_total : 19474 time to create 1 rle with old method : 0.02085113525390625 time for calcul the mask position with numpy : 0.02469611167907715 nb_pixel_total : 189617 time to create 1 rle with new method : 0.15710973739624023 time for calcul the mask position with numpy : 0.023311376571655273 nb_pixel_total : 1425 time to create 1 rle with old method : 0.0016531944274902344 time for calcul the mask position with numpy : 0.023366689682006836 nb_pixel_total : 39609 time to create 1 rle with old method : 0.045130014419555664 time for calcul the mask position with numpy : 0.025623559951782227 nb_pixel_total : 110701 time to create 1 rle with old method : 0.13684678077697754 time for calcul the mask position with numpy : 0.031050682067871094 nb_pixel_total : 7821 time to create 1 rle with old method : 0.012954950332641602 time for calcul the mask position with numpy : 0.040039777755737305 nb_pixel_total : 12849 time to create 1 rle with old method : 0.014077901840209961 time for calcul the mask position with numpy : 0.04070782661437988 nb_pixel_total : 23388 time to create 1 rle with old method : 0.025732040405273438 time for calcul the mask position with numpy : 0.041913747787475586 nb_pixel_total : 154410 time to create 1 rle with new method : 0.15877890586853027 create new chi : 2.853815793991089 time to delete rle : 0.0014903545379638672 batch 1 Loaded 22 chid ids of type : 3726 Number RLEs to save : 13611 TO DO : save crop sub photo not yet done ! save time : 0.8966236114501953 nb_obj : 19 nb_hashtags : 6 time to prepare the origin masks : 5.961656332015991 time for calcul the mask position with numpy : 0.2356092929840088 nb_pixel_total : 5874222 time to create 1 rle with new method : 0.9495246410369873 time for calcul the mask position with numpy : 0.022393226623535156 nb_pixel_total : 113645 time to create 1 rle with old method : 0.12040114402770996 time for calcul the mask position with numpy : 0.02120351791381836 nb_pixel_total : 14891 time to create 1 rle with old method : 0.016160249710083008 time for calcul the mask position with numpy : 0.020760774612426758 nb_pixel_total : 114178 time to create 1 rle with old method : 0.11758804321289062 time for calcul the mask position with numpy : 0.02055072784423828 nb_pixel_total : 68779 time to create 1 rle with old method : 0.07180285453796387 time for calcul the mask position with numpy : 0.020084381103515625 nb_pixel_total : 5553 time to create 1 rle with old method : 0.006161212921142578 time for calcul the mask position with numpy : 0.020473957061767578 nb_pixel_total : 30521 time to create 1 rle with old method : 0.032257795333862305 time for calcul the mask position with numpy : 0.021566152572631836 nb_pixel_total : 81810 time to create 1 rle with old method : 0.08577895164489746 time for calcul the mask position with numpy : 0.020543336868286133 nb_pixel_total : 80920 time to create 1 rle with old method : 0.08518147468566895 time for calcul the mask position with numpy : 0.024346113204956055 nb_pixel_total : 57180 time to create 1 rle with old method : 0.05953717231750488 time for calcul the mask position with numpy : 0.023106813430786133 nb_pixel_total : 22173 time to create 1 rle with old method : 0.023415327072143555 time for calcul the mask position with numpy : 0.02347540855407715 nb_pixel_total : 4126 time to create 1 rle with old method : 0.004366874694824219 time for calcul the mask position with numpy : 0.021820783615112305 nb_pixel_total : 186389 time to create 1 rle with new method : 0.13109660148620605 time for calcul the mask position with numpy : 0.020109176635742188 nb_pixel_total : 1457 time to create 1 rle with old method : 0.0016243457794189453 time for calcul the mask position with numpy : 0.02163839340209961 nb_pixel_total : 10743 time to create 1 rle with old method : 0.014634132385253906 time for calcul the mask position with numpy : 0.02014756202697754 nb_pixel_total : 38602 time to create 1 rle with old method : 0.04076528549194336 time for calcul the mask position with numpy : 0.02022266387939453 nb_pixel_total : 6934 time to create 1 rle with old method : 0.007874250411987305 time for calcul the mask position with numpy : 0.0336756706237793 nb_pixel_total : 194637 time to create 1 rle with new method : 0.13050150871276855 time for calcul the mask position with numpy : 0.03408622741699219 nb_pixel_total : 10972 time to create 1 rle with old method : 0.012039422988891602 time for calcul the mask position with numpy : 0.03423738479614258 nb_pixel_total : 132508 time to create 1 rle with old method : 0.14065194129943848 create new chi : 2.7851755619049072 time to delete rle : 0.0014278888702392578 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 14454 TO DO : save crop sub photo not yet done ! save time : 0.7821221351623535 nb_obj : 18 nb_hashtags : 4 time to prepare the origin masks : 12.908035039901733 time for calcul the mask position with numpy : 0.16534805297851562 nb_pixel_total : 6121507 time to create 1 rle with new method : 0.5594272613525391 time for calcul the mask position with numpy : 0.027712583541870117 nb_pixel_total : 66280 time to create 1 rle with old method : 0.0772242546081543 time for calcul the mask position with numpy : 0.031005859375 nb_pixel_total : 15115 time to create 1 rle with old method : 0.01892256736755371 time for calcul the mask position with numpy : 0.022231578826904297 nb_pixel_total : 55996 time to create 1 rle with old method : 0.06289219856262207 time for calcul the mask position with numpy : 0.022182703018188477 nb_pixel_total : 2745 time to create 1 rle with old method : 0.003192424774169922 time for calcul the mask position with numpy : 0.03642892837524414 nb_pixel_total : 38550 time to create 1 rle with old method : 0.04311060905456543 time for calcul the mask position with numpy : 0.025144100189208984 nb_pixel_total : 5330 time to create 1 rle with old method : 0.006658077239990234 time for calcul the mask position with numpy : 0.025522947311401367 nb_pixel_total : 9398 time to create 1 rle with old method : 0.012555837631225586 time for calcul the mask position with numpy : 0.02549576759338379 nb_pixel_total : 107934 time to create 1 rle with old method : 0.11722087860107422 time for calcul the mask position with numpy : 0.021721363067626953 nb_pixel_total : 115994 time to create 1 rle with old method : 0.12633967399597168 time for calcul the mask position with numpy : 0.021154165267944336 nb_pixel_total : 1448 time to create 1 rle with old method : 0.0017158985137939453 time for calcul the mask position with numpy : 0.020862340927124023 nb_pixel_total : 3310 time to create 1 rle with old method : 0.005044698715209961 time for calcul the mask position with numpy : 0.021062135696411133 nb_pixel_total : 39792 time to create 1 rle with old method : 0.04373455047607422 time for calcul the mask position with numpy : 0.022530794143676758 nb_pixel_total : 20907 time to create 1 rle with old method : 0.023617267608642578 time for calcul the mask position with numpy : 0.02185654640197754 nb_pixel_total : 65152 time to create 1 rle with old method : 0.07169103622436523 time for calcul the mask position with numpy : 0.02307748794555664 nb_pixel_total : 30007 time to create 1 rle with old method : 0.03723573684692383 time for calcul the mask position with numpy : 0.024089574813842773 nb_pixel_total : 135145 time to create 1 rle with old method : 0.15163612365722656 time for calcul the mask position with numpy : 0.022515296936035156 nb_pixel_total : 148620 time to create 1 rle with old method : 0.15932035446166992 time for calcul the mask position with numpy : 0.021559476852416992 nb_pixel_total : 67010 time to create 1 rle with old method : 0.0739450454711914 create new chi : 2.241438388824463 time to delete rle : 0.01031184196472168 batch 1 Loaded 19 chid ids of type : 3726 Number RLEs to save : 13941 TO DO : save crop sub photo not yet done ! save time : 0.8532381057739258 map_output_result : {1334513930: (0.0, 'Should be the crop_list due to order', 0.0), 1334513927: (0.0, 'Should be the crop_list due to order', 0.0), 1334497467: (0.0, 'Should be the crop_list due to order', 0.0), 1334497463: (0.0, 'Should be the crop_list due to order', 0.0), 1334497458: (0.0, 'Should be the crop_list due to order', 0.0), 1334497454: (0.0, 'Should be the crop_list due to order', 0.0), 1334497450: (0.0, 'Should be the crop_list due to order', 0.0), 1334497447: (0.0, 'Should be the crop_list due to order', 0.0), 1334497444: (0.0, 'Should be the crop_list due to order', 0.0), 1334497441: (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 [1334513930, 1334513927, 1334497467, 1334497463, 1334497458, 1334497454, 1334497450, 1334497447, 1334497444, 1334497441] Looping around the photos to save general results len do output : 10 /1334513930.Didn't retrieve data . /1334513927.Didn't retrieve data . /1334497467.Didn't retrieve data . /1334497463.Didn't retrieve data . /1334497458.Didn't retrieve data . /1334497454.Didn't retrieve data . /1334497450.Didn't retrieve data . /1334497447.Didn't retrieve data . /1334497444.Didn't retrieve data . /1334497441.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, '2544845') ('3459', '20208808', '1334513930', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334513927', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497467', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497463', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497458', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497454', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497450', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497447', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497444', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497441', None, None, None, None, None, '2544845') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.012764930725097656 save_final save missing photos in datou_result : time spend for datou_step_exec : 102.71055507659912 time spend to save output : 0.01935267448425293 total time spend for step 5 : 102.72990775108337 step6:crop_condition Tue Feb 4 12:22:00 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 191 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/1738668123_3813920 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.8613612651824951 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 ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! About to upload 9 photos upload in portfolio : 4869462 init cache_photo without model_param we have 9 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738668133_3813920 we have uploaded 9 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.6827445030212402 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/1738668138_3813920 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.7714359760284424 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738668141_3813920 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5346264839172363 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738668143_3813920 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.2118382453918457 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738668148_3813920 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5292379856109619 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738668149_3813920 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5768177509307861 we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1334513930, 1334513927, 1334497467, 1334497463, 1334497458, 1334497454, 1334497450, 1334497447, 1334497444, 1334497441] Looping around the photos to save general results len do output : 28 /1334539837Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539838Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539839Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539840Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539841Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539842Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539861Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539865Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539869Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539873Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539877Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539881Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539885Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539889Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539893Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539921Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539922Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539923Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539924Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539925Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539926Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539927Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539928Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539929Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539930Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539931Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539933Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334539947Didn'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, '2544845') ('3459', '20208808', '1334513930', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334513927', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497467', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497463', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497458', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497454', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497450', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497447', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497444', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497441', None, None, None, None, None, '2544845') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 94 time used for this insertion : 0.12115073204040527 save_final save missing photos in datou_result : time spend for datou_step_exec : 30.295779943466187 time spend to save output : 0.1359391212463379 total time spend for step 6 : 30.431719064712524 step7:ventilate_hashtags_in_portfolio Tue Feb 4 12:22: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 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 : 20208808 get user id for portfolio 20208808 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`=20208808 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','mal_croppe','metal','flou','cartonnette','kraft','autre_refus','Carton_brun','plastique','Carton_gris','environnement','papier')) 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`=20208808 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','mal_croppe','metal','flou','cartonnette','kraft','autre_refus','Carton_brun','plastique','Carton_gris','environnement','papier')) AND mptpi.`min_score`=0.5 To do 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`=20208808 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','mal_croppe','metal','flou','cartonnette','kraft','autre_refus','Carton_brun','plastique','Carton_gris','environnement','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20208975,20208976,20208977,20208978,20208979,20208980,20208981,20208982,20208983,20208984,20208985,20208986?tags=Teint_Dans_La_Masse,mal_croppe,metal,flou,cartonnette,kraft,autre_refus,Carton_brun,plastique,Carton_gris,environnement,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1334513930, 1334513927, 1334497467, 1334497463, 1334497458, 1334497454, 1334497450, 1334497447, 1334497444, 1334497441] Looping around the photos to save general results len do output : 1 /20208808. 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, '2544845') ('3459', '20208808', '1334513930', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334513927', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497467', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497463', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497458', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497454', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497450', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497447', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497444', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497441', None, None, None, None, None, '2544845') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.012931346893310547 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8778891563415527 time spend to save output : 0.01323390007019043 total time spend for step 7 : 0.8911230564117432 step8:final Tue Feb 4 12:22:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1334513930: ('0.0742172029237421',), 1334513927: ('0.0742172029237421',), 1334497467: ('0.0742172029237421',), 1334497463: ('0.0742172029237421',), 1334497458: ('0.0742172029237421',), 1334497454: ('0.0742172029237421',), 1334497450: ('0.0742172029237421',), 1334497447: ('0.0742172029237421',), 1334497444: ('0.0742172029237421',), 1334497441: ('0.0742172029237421',)} new output for save of step final : {1334513930: ('0.0742172029237421',), 1334513927: ('0.0742172029237421',), 1334497467: ('0.0742172029237421',), 1334497463: ('0.0742172029237421',), 1334497458: ('0.0742172029237421',), 1334497454: ('0.0742172029237421',), 1334497450: ('0.0742172029237421',), 1334497447: ('0.0742172029237421',), 1334497444: ('0.0742172029237421',), 1334497441: ('0.0742172029237421',)} [1334513930, 1334513927, 1334497467, 1334497463, 1334497458, 1334497454, 1334497450, 1334497447, 1334497444, 1334497441] Looping around the photos to save general results len do output : 10 /1334513930.Didn't retrieve data . /1334513927.Didn't retrieve data . /1334497467.Didn't retrieve data . /1334497463.Didn't retrieve data . /1334497458.Didn't retrieve data . /1334497454.Didn't retrieve data . /1334497450.Didn't retrieve data . /1334497447.Didn't retrieve data . /1334497444.Didn't retrieve data . /1334497441.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, '2544845') ('3459', '20208808', '1334513930', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334513927', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497467', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497463', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497458', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497454', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497450', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497447', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497444', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497441', None, None, None, None, None, '2544845') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.012674331665039062 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.15884947776794434 time spend to save output : 0.013379335403442383 total time spend for step 8 : 0.17222881317138672 step9:velours_tree Tue Feb 4 12:22: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 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.466198205947876 time spend to save output : 5.9604644775390625e-05 total time spend for step 9 : 0.46625781059265137 step10:send_mail_cod Tue Feb 4 12:22:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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_P20208808_04-02-2025_12_22_32.pdf 20208976 imagette202089761738668152 20208977 imagette202089771738668152 20208978 imagette202089781738668152 20208979 change filename to text .imagette202089791738668152 20208980 change filename to text .imagette202089801738668152 20208981 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 .imagette202089811738668152 20208983 change filename to text .imagette202089831738668153 20208975 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette202089751738668153 20208982 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette202089821738668153 20208984 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette202089841738668154 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20208808 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20208975,20208976,20208977,20208978,20208979,20208980,20208981,20208982,20208983,20208984,20208985,20208986?tags=Teint_Dans_La_Masse,mal_croppe,metal,flou,cartonnette,kraft,autre_refus,Carton_brun,plastique,Carton_gris,environnement,papier your option no_mail is active, we will not send the real mail to your client args[1334513930] : ('0.0742172029237421',) no score found for photo 1334513930 We are sending mail with results at report@fotonower.com args[1334513927] : ('0.0742172029237421',) no score found for photo 1334513927 We are sending mail with results at report@fotonower.com args[1334497467] : ('0.0742172029237421',) no score found for photo 1334497467 We are sending mail with results at report@fotonower.com args[1334497463] : ('0.0742172029237421',) no score found for photo 1334497463 We are sending mail with results at report@fotonower.com args[1334497458] : ('0.0742172029237421',) no score found for photo 1334497458 We are sending mail with results at report@fotonower.com args[1334497454] : ('0.0742172029237421',) no score found for photo 1334497454 We are sending mail with results at report@fotonower.com args[1334497450] : ('0.0742172029237421',) no score found for photo 1334497450 We are sending mail with results at report@fotonower.com args[1334497447] : ('0.0742172029237421',) no score found for photo 1334497447 We are sending mail with results at report@fotonower.com args[1334497444] : ('0.0742172029237421',) no score found for photo 1334497444 We are sending mail with results at report@fotonower.com args[1334497441] : ('0.0742172029237421',) no score found for photo 1334497441 We are sending mail with results at report@fotonower.com refus_total : 0.0742172029237421 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=20208808 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1334496996,1334497467,1334497463,1334497458,1334497454,1334497450,1334497444,1334497441,1334497438,1334497411,1334497400,1334497358,1334497355,1334497331,1334497302,1334497008,1334496991,1334497434,1334497447,1334497012) Found this number of photos: 20 begin to download photo : 1334496996 begin to download photo : 1334497450 begin to download photo : 1334497400 begin to download photo : 1334497008 download finish for photo 1334497008 begin to download photo : 1334496991 download finish for photo 1334497400 begin to download photo : 1334497358 download finish for photo 1334496996 begin to download photo : 1334497467 download finish for photo 1334497450 begin to download photo : 1334497444 download finish for photo 1334497358 begin to download photo : 1334497355 download finish for photo 1334497467 begin to download photo : 1334497463 download finish for photo 1334497444 begin to download photo : 1334497441 download finish for photo 1334496991 begin to download photo : 1334497434 download finish for photo 1334497463 begin to download photo : 1334497458 download finish for photo 1334497355 begin to download photo : 1334497331 download finish for photo 1334497434 begin to download photo : 1334497447 download finish for photo 1334497441 begin to download photo : 1334497438 download finish for photo 1334497458 begin to download photo : 1334497454 download finish for photo 1334497447 begin to download photo : 1334497012 download finish for photo 1334497331 begin to download photo : 1334497302 download finish for photo 1334497454 download finish for photo 1334497438 begin to download photo : 1334497411 download finish for photo 1334497012 download finish for photo 1334497302 download finish for photo 1334497411 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20208808_04-02-2025_12_22_32.pdf results_Auto_P20208808_04-02-2025_12_22_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20208808_04-02-2025_12_22_32.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','20208808','results_Auto_P20208808_04-02-2025_12_22_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20208808_04-02-2025_12_22_32.pdf','pdf','','0.8','0.0742172029237421') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1334513930, 1334513927, 1334497467, 1334497463, 1334497458, 1334497454, 1334497450, 1334497447, 1334497444, 1334497441] 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, '2544845') ('3459', '20208808', '1334513930', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334513927', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497467', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497463', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497458', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497454', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497450', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497447', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497444', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497441', None, None, None, None, None, '2544845') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.013552665710449219 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.76843786239624 time spend to save output : 0.013720273971557617 total time spend for step 10 : 5.782158136367798 step11:split_time_score Tue Feb 4 12:22:38 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'}] (('09', 20), ('10', 2)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 04022025 20208808 Nombre de photos uploadées : 22 / 23040 (0%) 04022025 20208808 Nombre de photos taguées (types de déchets): 0 / 22 (0%) 04022025 20208808 Nombre de photos taguées (volume) : 0 / 22 (0%) elapsed_time : load_data_split_time_score 3.5762786865234375e-06 elapsed_time : order_list_meta_photo_and_scores 1.0013580322265625e-05 ?????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0013034343719482422 elapsed_time : insert_dashboard_record_day_entry 0.02961874008178711 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.0 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20208798_04-02-2025_12_21_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20208798 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 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 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( 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`=20208798 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20208799 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20208800 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20208801 order by id desc limit 1 Qualite : 0.21029873529916088 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20208802_04-02-2025_12_17_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20208802 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 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 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( 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`=20208802 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20208803 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20208804 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20208805 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20208806 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20208807 order by id desc limit 1 Qualite : 0.0742172029237421 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20208808_04-02-2025_12_22_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20208808 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`=20208808 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20208809 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'04022025': {'nb_upload': 22, '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 [1334513930, 1334513927, 1334497467, 1334497463, 1334497458, 1334497454, 1334497450, 1334497447, 1334497444, 1334497441] Looping around the photos to save general results len do output : 1 /20208808Didn'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, '2544845') ('3459', '20208808', '1334513930', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334513927', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497467', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497463', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497458', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497454', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497450', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497447', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497444', None, None, None, None, None, '2544845') ('3459', None, None, None, None, None, None, None, '2544845') ('3459', '20208808', '1334497441', None, None, None, None, None, '2544845') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.014734506607055664 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.887450218200684 time spend to save output : 0.015018701553344727 total time spend for step 11 : 7.902468919754028 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 173.87user 72.49system 4:22.71elapsed 93%CPU (0avgtext+0avgdata 4827256maxresident)k 753304inputs+146104outputs (17758major+8358324minor)pagefaults 0swaps