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 : 2331011 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 : 21>10 please execute split_portfolio.py -i 20782993 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2610884'] with mtr_portfolio_ids : ['20782993'] and first list_photo_ids : [] new path : /proc/2331011/ 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 : 2.219132900238037 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 Mon Feb 24 22:14: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 : 10372 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-24 22:14:34.548968: 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-24 22:14:34.575085: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-24 22:14:34.577212: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f8028000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-24 22:14:34.577270: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-24 22:14:34.581892: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-24 22:14:34.923057: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3726ef30 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-24 22:14:34.923106: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-24 22:14:34.923891: 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-24 22:14:34.924250: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-24 22:14:34.931553: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-24 22:14:34.935217: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-24 22:14:34.935726: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-24 22:14:34.939200: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-24 22:14:34.940574: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-24 22:14:34.946436: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-24 22:14:34.947961: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-24 22:14:34.948043: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-24 22:14:34.948848: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-24 22:14:34.948863: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-24 22:14:34.948873: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-24 22:14:34.950147: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9607 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-24 22:14:35.235148: 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-24 22:14:35.235315: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-24 22:14:35.235346: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-24 22:14:35.235375: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-24 22:14:35.235402: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-24 22:14:35.235429: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-24 22:14:35.235456: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-24 22:14:35.235483: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-24 22:14:35.236863: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-24 22:14:35.238048: 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-24 22:14:35.238091: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-24 22:14:35.238111: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-24 22:14:35.238129: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-24 22:14:35.238143: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-24 22:14:35.238158: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-24 22:14:35.238176: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-24 22:14:35.238192: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-24 22:14:35.239448: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-24 22:14:35.239491: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-24 22:14:35.239503: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-24 22:14:35.239513: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-24 22:14:35.240751: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9607 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-24 22:14:46.367101: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-24 22:14:46.574739: 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 : 23 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 20 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 7 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 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 : 17 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 34 Detection mask done ! Trying to reset tf kernel 2331309 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5083 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 : 10372 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.0014710426330566406 nb_pixel_total : 34107 time to create 1 rle with old method : 0.04291820526123047 length of segment : 240 time for calcul the mask position with numpy : 0.001913309097290039 nb_pixel_total : 78757 time to create 1 rle with old method : 0.09483456611633301 length of segment : 564 time for calcul the mask position with numpy : 0.000164031982421875 nb_pixel_total : 4160 time to create 1 rle with old method : 0.005975961685180664 length of segment : 85 time for calcul the mask position with numpy : 0.6582410335540771 nb_pixel_total : 538490 time to create 1 rle with new method : 0.11149883270263672 length of segment : 996 time for calcul the mask position with numpy : 0.0022954940795898438 nb_pixel_total : 146245 time to create 1 rle with old method : 0.1649339199066162 length of segment : 381 time for calcul the mask position with numpy : 0.0008883476257324219 nb_pixel_total : 24117 time to create 1 rle with old method : 0.03143024444580078 length of segment : 353 time for calcul the mask position with numpy : 0.0014374256134033203 nb_pixel_total : 56695 time to create 1 rle with old method : 0.0641777515411377 length of segment : 288 time for calcul the mask position with numpy : 0.0034983158111572266 nb_pixel_total : 140416 time to create 1 rle with old method : 0.15748262405395508 length of segment : 384 time for calcul the mask position with numpy : 0.0027723312377929688 nb_pixel_total : 80502 time to create 1 rle with old method : 0.08960890769958496 length of segment : 337 time for calcul the mask position with numpy : 0.003726482391357422 nb_pixel_total : 151008 time to create 1 rle with new method : 0.008285999298095703 length of segment : 627 time for calcul the mask position with numpy : 0.00023031234741210938 nb_pixel_total : 2631 time to create 1 rle with old method : 0.003131389617919922 length of segment : 76 time for calcul the mask position with numpy : 0.0008437633514404297 nb_pixel_total : 30249 time to create 1 rle with old method : 0.0363466739654541 length of segment : 278 time for calcul the mask position with numpy : 0.00040531158447265625 nb_pixel_total : 4770 time to create 1 rle with old method : 0.005598783493041992 length of segment : 92 time for calcul the mask position with numpy : 0.0026841163635253906 nb_pixel_total : 113201 time to create 1 rle with old method : 0.1299595832824707 length of segment : 413 time for calcul the mask position with numpy : 0.0011413097381591797 nb_pixel_total : 57662 time to create 1 rle with old method : 0.0661780834197998 length of segment : 305 time for calcul the mask position with numpy : 0.0007078647613525391 nb_pixel_total : 36257 time to create 1 rle with old method : 0.040137529373168945 length of segment : 268 time for calcul the mask position with numpy : 0.00033926963806152344 nb_pixel_total : 4497 time to create 1 rle with old method : 0.005384922027587891 length of segment : 132 time for calcul the mask position with numpy : 0.000133514404296875 nb_pixel_total : 1574 time to create 1 rle with old method : 0.0020110607147216797 length of segment : 47 time for calcul the mask position with numpy : 0.0007195472717285156 nb_pixel_total : 24840 time to create 1 rle with old method : 0.030246496200561523 length of segment : 345 time for calcul the mask position with numpy : 0.010387659072875977 nb_pixel_total : 209956 time to create 1 rle with new method : 0.012459754943847656 length of segment : 802 time for calcul the mask position with numpy : 0.002966165542602539 nb_pixel_total : 108774 time to create 1 rle with old method : 0.12224245071411133 length of segment : 413 time for calcul the mask position with numpy : 0.0024755001068115234 nb_pixel_total : 129556 time to create 1 rle with old method : 0.15094828605651855 length of segment : 401 time for calcul the mask position with numpy : 0.0028607845306396484 nb_pixel_total : 130158 time to create 1 rle with old method : 0.1504056453704834 length of segment : 526 time for calcul the mask position with numpy : 0.0002620220184326172 nb_pixel_total : 2102 time to create 1 rle with old method : 0.002618074417114258 length of segment : 110 time for calcul the mask position with numpy : 0.008213520050048828 nb_pixel_total : 348910 time to create 1 rle with new method : 0.03003835678100586 length of segment : 692 time for calcul the mask position with numpy : 0.0002243518829345703 nb_pixel_total : 2094 time to create 1 rle with old method : 0.0026297569274902344 length of segment : 85 time for calcul the mask position with numpy : 0.002165555953979492 nb_pixel_total : 76244 time to create 1 rle with old method : 0.08522152900695801 length of segment : 537 time for calcul the mask position with numpy : 0.0024368762969970703 nb_pixel_total : 80175 time to create 1 rle with old method : 0.11184883117675781 length of segment : 646 time for calcul the mask position with numpy : 0.0001347064971923828 nb_pixel_total : 4429 time to create 1 rle with old method : 0.005351066589355469 length of segment : 88 time for calcul the mask position with numpy : 0.0014121532440185547 nb_pixel_total : 84439 time to create 1 rle with old method : 0.09908151626586914 length of segment : 582 time for calcul the mask position with numpy : 0.00014448165893554688 nb_pixel_total : 1764 time to create 1 rle with old method : 0.002241373062133789 length of segment : 48 time for calcul the mask position with numpy : 0.0021088123321533203 nb_pixel_total : 67207 time to create 1 rle with old method : 0.07910990715026855 length of segment : 478 time for calcul the mask position with numpy : 0.0036096572875976562 nb_pixel_total : 153143 time to create 1 rle with new method : 0.006240129470825195 length of segment : 405 time for calcul the mask position with numpy : 0.0007152557373046875 nb_pixel_total : 19728 time to create 1 rle with old method : 0.022727251052856445 length of segment : 198 time for calcul the mask position with numpy : 0.00030684471130371094 nb_pixel_total : 8858 time to create 1 rle with old method : 0.010811090469360352 length of segment : 138 time for calcul the mask position with numpy : 0.004709482192993164 nb_pixel_total : 175907 time to create 1 rle with new method : 0.008752584457397461 length of segment : 640 time for calcul the mask position with numpy : 0.010372161865234375 nb_pixel_total : 357204 time to create 1 rle with new method : 0.051505088806152344 length of segment : 718 time for calcul the mask position with numpy : 0.005805492401123047 nb_pixel_total : 226798 time to create 1 rle with new method : 0.013316869735717773 length of segment : 470 time for calcul the mask position with numpy : 0.001043081283569336 nb_pixel_total : 23120 time to create 1 rle with old method : 0.030614137649536133 length of segment : 254 time for calcul the mask position with numpy : 0.0006237030029296875 nb_pixel_total : 31317 time to create 1 rle with old method : 0.03552889823913574 length of segment : 251 time for calcul the mask position with numpy : 0.0027840137481689453 nb_pixel_total : 114484 time to create 1 rle with old method : 0.13019204139709473 length of segment : 348 time for calcul the mask position with numpy : 0.0007102489471435547 nb_pixel_total : 16361 time to create 1 rle with old method : 0.018642663955688477 length of segment : 203 time for calcul the mask position with numpy : 0.0023756027221679688 nb_pixel_total : 125015 time to create 1 rle with old method : 0.1422591209411621 length of segment : 349 time for calcul the mask position with numpy : 0.003809690475463867 nb_pixel_total : 132553 time to create 1 rle with old method : 0.15047216415405273 length of segment : 468 time for calcul the mask position with numpy : 0.00010371208190917969 nb_pixel_total : 3178 time to create 1 rle with old method : 0.003744363784790039 length of segment : 77 time for calcul the mask position with numpy : 0.0014858245849609375 nb_pixel_total : 37219 time to create 1 rle with old method : 0.04350161552429199 length of segment : 382 time for calcul the mask position with numpy : 0.0030908584594726562 nb_pixel_total : 104114 time to create 1 rle with old method : 0.11544513702392578 length of segment : 524 time for calcul the mask position with numpy : 0.002125978469848633 nb_pixel_total : 41094 time to create 1 rle with old method : 0.04633927345275879 length of segment : 405 time for calcul the mask position with numpy : 0.002274036407470703 nb_pixel_total : 113572 time to create 1 rle with old method : 0.127150297164917 length of segment : 637 time for calcul the mask position with numpy : 0.0010683536529541016 nb_pixel_total : 32673 time to create 1 rle with old method : 0.03757023811340332 length of segment : 351 time for calcul the mask position with numpy : 0.0006136894226074219 nb_pixel_total : 29405 time to create 1 rle with old method : 0.03428053855895996 length of segment : 149 time for calcul the mask position with numpy : 0.001191854476928711 nb_pixel_total : 48571 time to create 1 rle with old method : 0.056409358978271484 length of segment : 329 time for calcul the mask position with numpy : 0.00043964385986328125 nb_pixel_total : 4873 time to create 1 rle with old method : 0.00824880599975586 length of segment : 116 time for calcul the mask position with numpy : 0.0017261505126953125 nb_pixel_total : 65368 time to create 1 rle with old method : 0.09182333946228027 length of segment : 387 time for calcul the mask position with numpy : 0.0002090930938720703 nb_pixel_total : 2412 time to create 1 rle with old method : 0.002992868423461914 length of segment : 66 time for calcul the mask position with numpy : 0.0017445087432861328 nb_pixel_total : 45472 time to create 1 rle with old method : 0.054056644439697266 length of segment : 295 time for calcul the mask position with numpy : 0.0005886554718017578 nb_pixel_total : 23081 time to create 1 rle with old method : 0.026830196380615234 length of segment : 135 time for calcul the mask position with numpy : 0.0012066364288330078 nb_pixel_total : 45396 time to create 1 rle with old method : 0.05268454551696777 length of segment : 242 time for calcul the mask position with numpy : 0.00048661231994628906 nb_pixel_total : 8294 time to create 1 rle with old method : 0.009612798690795898 length of segment : 131 time for calcul the mask position with numpy : 0.0009109973907470703 nb_pixel_total : 13564 time to create 1 rle with old method : 0.016164541244506836 length of segment : 169 time for calcul the mask position with numpy : 0.0009407997131347656 nb_pixel_total : 23251 time to create 1 rle with old method : 0.026598691940307617 length of segment : 266 time for calcul the mask position with numpy : 0.43836355209350586 nb_pixel_total : 1102382 time to create 1 rle with new method : 0.26956892013549805 length of segment : 2112 time for calcul the mask position with numpy : 0.0017161369323730469 nb_pixel_total : 59743 time to create 1 rle with old method : 0.0652627944946289 length of segment : 378 time for calcul the mask position with numpy : 0.005206584930419922 nb_pixel_total : 249552 time to create 1 rle with new method : 0.011356353759765625 length of segment : 696 time for calcul the mask position with numpy : 0.023468732833862305 nb_pixel_total : 871851 time to create 1 rle with new method : 0.20965790748596191 length of segment : 1075 time for calcul the mask position with numpy : 0.0027205944061279297 nb_pixel_total : 68300 time to create 1 rle with old method : 0.10768461227416992 length of segment : 463 time for calcul the mask position with numpy : 0.00016045570373535156 nb_pixel_total : 2389 time to create 1 rle with old method : 0.0030052661895751953 length of segment : 60 time for calcul the mask position with numpy : 0.0005600452423095703 nb_pixel_total : 39444 time to create 1 rle with old method : 0.04513835906982422 length of segment : 242 time for calcul the mask position with numpy : 0.0004241466522216797 nb_pixel_total : 29960 time to create 1 rle with old method : 0.032907724380493164 length of segment : 184 time for calcul the mask position with numpy : 0.0012590885162353516 nb_pixel_total : 82771 time to create 1 rle with old method : 0.09132003784179688 length of segment : 482 time for calcul the mask position with numpy : 0.0006415843963623047 nb_pixel_total : 25215 time to create 1 rle with old method : 0.028165102005004883 length of segment : 224 time for calcul the mask position with numpy : 0.4238142967224121 nb_pixel_total : 3737065 time to create 1 rle with new method : 0.659203052520752 length of segment : 3228 time for calcul the mask position with numpy : 0.0006129741668701172 nb_pixel_total : 34845 time to create 1 rle with old method : 0.04064631462097168 length of segment : 304 time for calcul the mask position with numpy : 0.0006971359252929688 nb_pixel_total : 29459 time to create 1 rle with old method : 0.033132314682006836 length of segment : 256 time for calcul the mask position with numpy : 0.004472255706787109 nb_pixel_total : 233618 time to create 1 rle with new method : 0.011923789978027344 length of segment : 1165 time for calcul the mask position with numpy : 0.0018265247344970703 nb_pixel_total : 95218 time to create 1 rle with old method : 0.10879707336425781 length of segment : 402 time for calcul the mask position with numpy : 0.0007460117340087891 nb_pixel_total : 27936 time to create 1 rle with old method : 0.032174110412597656 length of segment : 449 time for calcul the mask position with numpy : 0.0009827613830566406 nb_pixel_total : 28097 time to create 1 rle with old method : 0.03374981880187988 length of segment : 174 time for calcul the mask position with numpy : 0.0015137195587158203 nb_pixel_total : 23650 time to create 1 rle with old method : 0.02735424041748047 length of segment : 469 time for calcul the mask position with numpy : 0.0010256767272949219 nb_pixel_total : 21476 time to create 1 rle with old method : 0.028983116149902344 length of segment : 328 time for calcul the mask position with numpy : 0.002058267593383789 nb_pixel_total : 74261 time to create 1 rle with old method : 0.08343744277954102 length of segment : 322 time for calcul the mask position with numpy : 0.00042748451232910156 nb_pixel_total : 11138 time to create 1 rle with old method : 0.013932943344116211 length of segment : 104 time for calcul the mask position with numpy : 0.0022263526916503906 nb_pixel_total : 62708 time to create 1 rle with old method : 0.06979584693908691 length of segment : 313 time for calcul the mask position with numpy : 0.0004901885986328125 nb_pixel_total : 12240 time to create 1 rle with old method : 0.014268636703491211 length of segment : 149 time for calcul the mask position with numpy : 0.005484819412231445 nb_pixel_total : 110215 time to create 1 rle with old method : 0.12731337547302246 length of segment : 589 time for calcul the mask position with numpy : 0.0002574920654296875 nb_pixel_total : 4895 time to create 1 rle with old method : 0.0057239532470703125 length of segment : 64 time for calcul the mask position with numpy : 0.0007491111755371094 nb_pixel_total : 18174 time to create 1 rle with old method : 0.02066802978515625 length of segment : 145 time for calcul the mask position with numpy : 0.0001862049102783203 nb_pixel_total : 2258 time to create 1 rle with old method : 0.0027611255645751953 length of segment : 73 time for calcul the mask position with numpy : 0.00020694732666015625 nb_pixel_total : 5589 time to create 1 rle with old method : 0.006927490234375 length of segment : 70 time for calcul the mask position with numpy : 0.0008516311645507812 nb_pixel_total : 22842 time to create 1 rle with old method : 0.027643203735351562 length of segment : 206 time for calcul the mask position with numpy : 0.00016570091247558594 nb_pixel_total : 1197 time to create 1 rle with old method : 0.0014569759368896484 length of segment : 54 time for calcul the mask position with numpy : 0.001374959945678711 nb_pixel_total : 17555 time to create 1 rle with old method : 0.026866436004638672 length of segment : 201 time for calcul the mask position with numpy : 0.00035858154296875 nb_pixel_total : 6115 time to create 1 rle with old method : 0.010655403137207031 length of segment : 70 time for calcul the mask position with numpy : 0.0009009838104248047 nb_pixel_total : 15201 time to create 1 rle with old method : 0.019295454025268555 length of segment : 205 time for calcul the mask position with numpy : 0.00047326087951660156 nb_pixel_total : 7429 time to create 1 rle with old method : 0.009378671646118164 length of segment : 120 time for calcul the mask position with numpy : 0.0005784034729003906 nb_pixel_total : 12648 time to create 1 rle with old method : 0.015447139739990234 length of segment : 135 time for calcul the mask position with numpy : 0.0019178390502929688 nb_pixel_total : 49660 time to create 1 rle with old method : 0.05547142028808594 length of segment : 316 time for calcul the mask position with numpy : 0.0008769035339355469 nb_pixel_total : 20023 time to create 1 rle with old method : 0.023342609405517578 length of segment : 264 time for calcul the mask position with numpy : 0.0009608268737792969 nb_pixel_total : 17726 time to create 1 rle with old method : 0.02097773551940918 length of segment : 213 time for calcul the mask position with numpy : 0.0004596710205078125 nb_pixel_total : 10470 time to create 1 rle with old method : 0.012652397155761719 length of segment : 95 time for calcul the mask position with numpy : 0.0006318092346191406 nb_pixel_total : 16872 time to create 1 rle with old method : 0.020317554473876953 length of segment : 142 time for calcul the mask position with numpy : 0.00104522705078125 nb_pixel_total : 20339 time to create 1 rle with old method : 0.023877620697021484 length of segment : 233 time for calcul the mask position with numpy : 0.0003647804260253906 nb_pixel_total : 11045 time to create 1 rle with old method : 0.01304769515991211 length of segment : 106 time for calcul the mask position with numpy : 0.0001926422119140625 nb_pixel_total : 3893 time to create 1 rle with old method : 0.004583120346069336 length of segment : 76 time for calcul the mask position with numpy : 0.00032901763916015625 nb_pixel_total : 7219 time to create 1 rle with old method : 0.009220600128173828 length of segment : 80 time for calcul the mask position with numpy : 0.004817962646484375 nb_pixel_total : 133223 time to create 1 rle with old method : 0.14810800552368164 length of segment : 819 time for calcul the mask position with numpy : 0.00015425682067871094 nb_pixel_total : 1199 time to create 1 rle with old method : 0.0014667510986328125 length of segment : 55 time for calcul the mask position with numpy : 0.0019550323486328125 nb_pixel_total : 44116 time to create 1 rle with old method : 0.06537771224975586 length of segment : 243 time for calcul the mask position with numpy : 0.005338430404663086 nb_pixel_total : 154495 time to create 1 rle with new method : 0.011468648910522461 length of segment : 821 time for calcul the mask position with numpy : 0.0006420612335205078 nb_pixel_total : 15852 time to create 1 rle with old method : 0.02019357681274414 length of segment : 162 time for calcul the mask position with numpy : 0.0010595321655273438 nb_pixel_total : 25183 time to create 1 rle with old method : 0.04138016700744629 length of segment : 167 time for calcul the mask position with numpy : 0.00025081634521484375 nb_pixel_total : 1883 time to create 1 rle with old method : 0.002393007278442383 length of segment : 47 time for calcul the mask position with numpy : 0.0007257461547851562 nb_pixel_total : 26829 time to create 1 rle with old method : 0.03235650062561035 length of segment : 193 time for calcul the mask position with numpy : 0.0015912055969238281 nb_pixel_total : 13977 time to create 1 rle with old method : 0.01838994026184082 length of segment : 190 time for calcul the mask position with numpy : 0.0020716190338134766 nb_pixel_total : 63118 time to create 1 rle with old method : 0.07161235809326172 length of segment : 323 time for calcul the mask position with numpy : 0.0014927387237548828 nb_pixel_total : 39963 time to create 1 rle with old method : 0.04436469078063965 length of segment : 316 time for calcul the mask position with numpy : 0.002699136734008789 nb_pixel_total : 121400 time to create 1 rle with old method : 0.1458573341369629 length of segment : 369 time for calcul the mask position with numpy : 0.000614166259765625 nb_pixel_total : 13331 time to create 1 rle with old method : 0.01741480827331543 length of segment : 172 time for calcul the mask position with numpy : 0.0008332729339599609 nb_pixel_total : 23052 time to create 1 rle with old method : 0.027189254760742188 length of segment : 168 time for calcul the mask position with numpy : 0.003191709518432617 nb_pixel_total : 128713 time to create 1 rle with old method : 0.14269399642944336 length of segment : 391 time for calcul the mask position with numpy : 0.00043010711669921875 nb_pixel_total : 9610 time to create 1 rle with old method : 0.011505603790283203 length of segment : 126 time for calcul the mask position with numpy : 0.0014276504516601562 nb_pixel_total : 67092 time to create 1 rle with old method : 0.0778815746307373 length of segment : 208 time for calcul the mask position with numpy : 0.0011916160583496094 nb_pixel_total : 28575 time to create 1 rle with old method : 0.033233642578125 length of segment : 313 time for calcul the mask position with numpy : 0.0007188320159912109 nb_pixel_total : 22740 time to create 1 rle with old method : 0.02733469009399414 length of segment : 175 time for calcul the mask position with numpy : 0.00173187255859375 nb_pixel_total : 80106 time to create 1 rle with old method : 0.09200906753540039 length of segment : 458 time for calcul the mask position with numpy : 0.0005044937133789062 nb_pixel_total : 13590 time to create 1 rle with old method : 0.018114805221557617 length of segment : 122 time for calcul the mask position with numpy : 0.00074005126953125 nb_pixel_total : 17182 time to create 1 rle with old method : 0.020650386810302734 length of segment : 220 time for calcul the mask position with numpy : 0.005366086959838867 nb_pixel_total : 138575 time to create 1 rle with old method : 0.1598057746887207 length of segment : 837 time for calcul the mask position with numpy : 0.00030994415283203125 nb_pixel_total : 5750 time to create 1 rle with old method : 0.007425546646118164 length of segment : 53 time for calcul the mask position with numpy : 0.0027954578399658203 nb_pixel_total : 109003 time to create 1 rle with old method : 0.12515926361083984 length of segment : 736 time for calcul the mask position with numpy : 0.0026025772094726562 nb_pixel_total : 60505 time to create 1 rle with old method : 0.06956601142883301 length of segment : 435 time for calcul the mask position with numpy : 0.0014889240264892578 nb_pixel_total : 26809 time to create 1 rle with old method : 0.03183937072753906 length of segment : 296 time for calcul the mask position with numpy : 0.0013451576232910156 nb_pixel_total : 33185 time to create 1 rle with old method : 0.0383453369140625 length of segment : 293 time for calcul the mask position with numpy : 0.0021123886108398438 nb_pixel_total : 35572 time to create 1 rle with old method : 0.04203057289123535 length of segment : 322 time for calcul the mask position with numpy : 0.0013127326965332031 nb_pixel_total : 29939 time to create 1 rle with old method : 0.035069942474365234 length of segment : 189 time for calcul the mask position with numpy : 0.0004317760467529297 nb_pixel_total : 2995 time to create 1 rle with old method : 0.003774881362915039 length of segment : 116 time for calcul the mask position with numpy : 0.004346132278442383 nb_pixel_total : 94727 time to create 1 rle with old method : 0.12121248245239258 length of segment : 469 time for calcul the mask position with numpy : 0.0015535354614257812 nb_pixel_total : 23007 time to create 1 rle with old method : 0.026638031005859375 length of segment : 440 time for calcul the mask position with numpy : 0.004656076431274414 nb_pixel_total : 139682 time to create 1 rle with old method : 0.15745949745178223 length of segment : 472 time for calcul the mask position with numpy : 0.0011832714080810547 nb_pixel_total : 32159 time to create 1 rle with old method : 0.03735494613647461 length of segment : 351 time for calcul the mask position with numpy : 0.0016977787017822266 nb_pixel_total : 22427 time to create 1 rle with old method : 0.026940584182739258 length of segment : 222 time for calcul the mask position with numpy : 0.0009407997131347656 nb_pixel_total : 14346 time to create 1 rle with old method : 0.017022132873535156 length of segment : 164 time for calcul the mask position with numpy : 0.00015091896057128906 nb_pixel_total : 1610 time to create 1 rle with old method : 0.00212860107421875 length of segment : 35 time for calcul the mask position with numpy : 0.0016543865203857422 nb_pixel_total : 23739 time to create 1 rle with old method : 0.02871084213256836 length of segment : 250 time for calcul the mask position with numpy : 0.007707834243774414 nb_pixel_total : 184211 time to create 1 rle with new method : 0.01198720932006836 length of segment : 766 time for calcul the mask position with numpy : 0.0017504692077636719 nb_pixel_total : 45237 time to create 1 rle with old method : 0.05325818061828613 length of segment : 463 time for calcul the mask position with numpy : 0.0002694129943847656 nb_pixel_total : 2410 time to create 1 rle with old method : 0.0030291080474853516 length of segment : 71 time for calcul the mask position with numpy : 0.0033292770385742188 nb_pixel_total : 116101 time to create 1 rle with old method : 0.13372492790222168 length of segment : 400 time for calcul the mask position with numpy : 0.008656740188598633 nb_pixel_total : 297521 time to create 1 rle with new method : 0.01513814926147461 length of segment : 785 time for calcul the mask position with numpy : 0.0031235218048095703 nb_pixel_total : 48734 time to create 1 rle with old method : 0.05728340148925781 length of segment : 382 time for calcul the mask position with numpy : 0.0018970966339111328 nb_pixel_total : 55366 time to create 1 rle with old method : 0.06330561637878418 length of segment : 267 time for calcul the mask position with numpy : 0.006495952606201172 nb_pixel_total : 302559 time to create 1 rle with new method : 0.01814556121826172 length of segment : 908 time for calcul the mask position with numpy : 0.015556097030639648 nb_pixel_total : 356362 time to create 1 rle with new method : 0.03571629524230957 length of segment : 931 time for calcul the mask position with numpy : 0.0001621246337890625 nb_pixel_total : 2879 time to create 1 rle with old method : 0.0038788318634033203 length of segment : 44 time for calcul the mask position with numpy : 0.0003101825714111328 nb_pixel_total : 3629 time to create 1 rle with old method : 0.0046231746673583984 length of segment : 240 time for calcul the mask position with numpy : 0.0058095455169677734 nb_pixel_total : 271368 time to create 1 rle with new method : 0.015807151794433594 length of segment : 777 time for calcul the mask position with numpy : 0.00031304359436035156 nb_pixel_total : 3990 time to create 1 rle with old method : 0.006959438323974609 length of segment : 61 time for calcul the mask position with numpy : 0.0002484321594238281 nb_pixel_total : 3694 time to create 1 rle with old method : 0.0068814754486083984 length of segment : 54 time for calcul the mask position with numpy : 0.0004298686981201172 nb_pixel_total : 13912 time to create 1 rle with old method : 0.023568153381347656 length of segment : 171 time for calcul the mask position with numpy : 0.0005693435668945312 nb_pixel_total : 20700 time to create 1 rle with old method : 0.023825645446777344 length of segment : 219 time spent for convertir_results : 19.257939338684082 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 160 chid ids of type : 3663 Number RLEs to save : 56035 save missing photos in datou_result : time spend for datou_step_exec : 76.31759929656982 time spend to save output : 5.734705448150635 total time spend for step 1 : 82.05230474472046 step2:crop_condition Mon Feb 24 22:15:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 160 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 17 About to insert : list_path_to_insert length 17 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! we have finished the crop for the class : carton_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 ! map_result returned by crop_photo_return_map_crop : length : 49 About to insert : list_path_to_insert length 49 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 ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! we have finished the crop for the class : carton_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 ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1339346898, 1339346895, 1339346853, 1339346852, 1339346851, 1339346850, 1339341887, 1339341886, 1339341880, 1339341874] Looping around the photos to save general results len do output : 97 /-3685660525Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660535Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660537Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660539Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660555Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660553Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660549Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660548Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660557Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660563Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660564Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660567Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660594Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660633Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660635Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660647Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660654Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660550Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660576Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660575Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660590Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660608Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660632Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660627Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660613Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660630Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660643Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660665Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660521Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660531Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660577Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660601Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660625Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660524Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660530Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660523Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660522Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660532Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660526Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660541Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660538Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660536Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660546Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660544Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660556Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660562Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660552Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660554Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660559Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660570Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660566Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660573Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660568Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660572Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660565Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660580Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660586Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660582Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660592Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660599Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660595Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660596Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660622Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660624Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660631Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660615Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660614Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660640Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660636Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660638Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660646Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660658Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660662Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660672Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660651Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660660Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660664Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660655Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660653Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660656Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660648Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660666Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660517Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660593Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660603Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660617Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660616Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660637Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660657Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660543Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660584Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660583Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660606Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660597Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660629Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660667Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685660574Didn'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, '2610884') ('3459', '20782993', '1339346898', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346895', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346853', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346852', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346851', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346850', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341887', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341886', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341880', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341874', None, None, None, None, None, '2610884') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 301 time used for this insertion : 0.6207265853881836 save_final save missing photos in datou_result : time spend for datou_step_exec : 43.01255440711975 time spend to save output : 0.6239748001098633 total time spend for step 2 : 43.636529207229614 step3:thcl Mon Feb 24 22:16:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.008328914642333984 time to convert the images to numpy array : 0.08984899520874023 time to import caffe and check if the image exist : 0.010857105255126953 time to convert the images to numpy array : 0.09908461570739746 time to import caffe and check if the image exist : 0.014338970184326172 time to convert the images to numpy array : 0.10327506065368652 time to import caffe and check if the image exist : 0.007555484771728516 time to convert the images to numpy array : 0.14602422714233398 time to import caffe and check if the image exist : 0.01300501823425293 time to convert the images to numpy array : 0.420595645904541 time to import caffe and check if the image exist : 0.011203765869140625 time to convert the images to numpy array : 0.43186473846435547 time to import caffe and check if the image exist : 0.008387327194213867 time to convert the images to numpy array : 0.44300365447998047 time to import caffe and check if the image exist : 0.014459609985351562 time to convert the images to numpy array : 0.4406013488769531 time to import caffe and check if the image exist : 0.009682178497314453 time to convert the images to numpy array : 0.4607977867126465 time to import caffe and check if the image exist : 0.012086153030395508 time to convert the images to numpy array : 0.4792037010192871 total time to convert the images to numpy array : 0.8705403804779053 list photo_ids error: [] list photo_ids correct : [-3685660584, -3685660583, -3685660606, -3685660597, -3685660629, -3685660667, -3685660574, -3685660564, -3685660567, -3685660594, -3685660633, -3685660635, -3685660647, -3685660654, -3685660550, -3685660576, -3685660575, -3685660648, -3685660666, -3685660517, -3685660593, -3685660603, -3685660617, -3685660616, -3685660637, -3685660657, -3685660543, -3685660595, -3685660596, -3685660622, -3685660624, -3685660631, -3685660615, -3685660614, -3685660640, -3685660636, -3685660638, -3685660590, -3685660608, -3685660632, -3685660627, -3685660613, -3685660630, -3685660643, -3685660665, -3685660521, -3685660531, -3685660646, -3685660658, -3685660662, -3685660672, -3685660651, -3685660660, -3685660664, -3685660655, -3685660653, -3685660656, -3685660525, -3685660535, -3685660537, -3685660539, -3685660555, -3685660553, -3685660549, -3685660548, -3685660557, -3685660563, -3685660566, -3685660573, -3685660568, -3685660572, -3685660565, -3685660580, -3685660586, -3685660582, -3685660592, -3685660599, -3685660538, -3685660536, -3685660546, -3685660544, -3685660556, -3685660562, -3685660552, -3685660554, -3685660559, -3685660570, -3685660577, -3685660601, -3685660625, -3685660524, -3685660530, -3685660523, -3685660522, -3685660532, -3685660526, -3685660541] number of photos to traite : 97 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 : 10219 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 : 6770 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.9989128112792969 time used to do the prediction : 0.2744333744049072 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 : 6929 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 : 6595 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.1034760475158691 time used to do the prediction : 0.1803281307220459 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.059906005859375e-06 save missing photos in datou_result : time spend for datou_step_exec : 10.245658159255981 time spend to save output : 0.0006508827209472656 total time spend for step 3 : 10.246309041976929 step4:merge_mask_thcl_custom Mon Feb 24 22:16:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 160 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 [1339346898, 1339346895, 1339346853, 1339346852, 1339346851, 1339346850, 1339341887, 1339341886, 1339341880, 1339341874] Looping around the photos to save general results len do output : 10 /1339346898Didn't retrieve data .Didn't retrieve data . /1339346895Didn't retrieve data .Didn't retrieve data . /1339346853Didn't retrieve data .Didn't retrieve data . /1339346852Didn't retrieve data .Didn't retrieve data . /1339346851Didn't retrieve data .Didn't retrieve data . /1339346850Didn't retrieve data .Didn't retrieve data . /1339341887Didn't retrieve data .Didn't retrieve data . /1339341886Didn't retrieve data .Didn't retrieve data . /1339341880Didn't retrieve data .Didn't retrieve data . /1339341874Didn'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, '2610884') ('3459', '20782993', '1339346898', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346895', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346853', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346852', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346851', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346850', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341887', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341886', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341880', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341874', None, None, None, None, None, '2610884') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013077974319458008 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06360697746276855 time spend to save output : 0.013662576675415039 total time spend for step 4 : 0.0772695541381836 step5:rle_unique_nms_with_priority Mon Feb 24 22:16:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 14 nb_hashtags : 5 time to prepare the origin masks : 11.656029224395752 time for calcul the mask position with numpy : 0.5241062641143799 nb_pixel_total : 5784208 time to create 1 rle with new method : 0.5280835628509521 time for calcul the mask position with numpy : 0.023151397705078125 nb_pixel_total : 149921 time to create 1 rle with old method : 0.16430974006652832 time for calcul the mask position with numpy : 0.020954132080078125 nb_pixel_total : 24044 time to create 1 rle with old method : 0.026393890380859375 time for calcul the mask position with numpy : 0.03289461135864258 nb_pixel_total : 2609 time to create 1 rle with old method : 0.0032308101654052734 time for calcul the mask position with numpy : 0.03282785415649414 nb_pixel_total : 56468 time to create 1 rle with old method : 0.06119251251220703 time for calcul the mask position with numpy : 0.03288602828979492 nb_pixel_total : 2613 time to create 1 rle with old method : 0.002788066864013672 time for calcul the mask position with numpy : 0.032546043395996094 nb_pixel_total : 6408 time to create 1 rle with old method : 0.007609128952026367 time for calcul the mask position with numpy : 0.02232217788696289 nb_pixel_total : 140266 time to create 1 rle with old method : 0.14911937713623047 time for calcul the mask position with numpy : 0.02140069007873535 nb_pixel_total : 33967 time to create 1 rle with old method : 0.036780357360839844 time for calcul the mask position with numpy : 0.026880502700805664 nb_pixel_total : 537422 time to create 1 rle with new method : 0.8781192302703857 time for calcul the mask position with numpy : 0.021602392196655273 nb_pixel_total : 4112 time to create 1 rle with old method : 0.004691600799560547 time for calcul the mask position with numpy : 0.02112126350402832 nb_pixel_total : 112929 time to create 1 rle with old method : 0.12138843536376953 time for calcul the mask position with numpy : 0.020729541778564453 nb_pixel_total : 36175 time to create 1 rle with old method : 0.03931403160095215 time for calcul the mask position with numpy : 0.021676063537597656 nb_pixel_total : 78819 time to create 1 rle with old method : 0.08585906028747559 time for calcul the mask position with numpy : 0.021426916122436523 nb_pixel_total : 80279 time to create 1 rle with old method : 0.09037566184997559 create new chi : 3.129077672958374 time to delete rle : 0.013906478881835938 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 12317 TO DO : save crop sub photo not yet done ! save time : 0.8485846519470215 nb_obj : 13 nb_hashtags : 6 time to prepare the origin masks : 12.723430871963501 time for calcul the mask position with numpy : 0.5303752422332764 nb_pixel_total : 5921734 time to create 1 rle with new method : 0.6779389381408691 time for calcul the mask position with numpy : 0.021559715270996094 nb_pixel_total : 126902 time to create 1 rle with old method : 0.1689314842224121 time for calcul the mask position with numpy : 0.02171802520751953 nb_pixel_total : 25020 time to create 1 rle with old method : 0.027245283126831055 time for calcul the mask position with numpy : 0.021212339401245117 nb_pixel_total : 7325 time to create 1 rle with old method : 0.00801992416381836 time for calcul the mask position with numpy : 0.021475791931152344 nb_pixel_total : 4395 time to create 1 rle with old method : 0.0048143863677978516 time for calcul the mask position with numpy : 0.021098613739013672 nb_pixel_total : 80088 time to create 1 rle with old method : 0.08679580688476562 time for calcul the mask position with numpy : 0.02075982093811035 nb_pixel_total : 84325 time to create 1 rle with old method : 0.09195804595947266 time for calcul the mask position with numpy : 0.01986408233642578 nb_pixel_total : 2085 time to create 1 rle with old method : 0.002382040023803711 time for calcul the mask position with numpy : 0.01982569694519043 nb_pixel_total : 2087 time to create 1 rle with old method : 0.0023734569549560547 time for calcul the mask position with numpy : 0.021114349365234375 nb_pixel_total : 207761 time to create 1 rle with new method : 0.6217617988586426 time for calcul the mask position with numpy : 0.03270602226257324 nb_pixel_total : 348774 time to create 1 rle with new method : 0.5720715522766113 time for calcul the mask position with numpy : 0.02349710464477539 nb_pixel_total : 129876 time to create 1 rle with old method : 0.1453394889831543 time for calcul the mask position with numpy : 0.022569894790649414 nb_pixel_total : 108302 time to create 1 rle with old method : 0.11880898475646973 time for calcul the mask position with numpy : 0.02204442024230957 nb_pixel_total : 1566 time to create 1 rle with old method : 0.0018033981323242188 create new chi : 3.4430222511291504 time to delete rle : 0.0010721683502197266 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 11802 TO DO : save crop sub photo not yet done ! save time : 1.2940454483032227 nb_obj : 14 nb_hashtags : 5 time to prepare the origin masks : 9.081467866897583 time for calcul the mask position with numpy : 0.30568718910217285 nb_pixel_total : 5844457 time to create 1 rle with new method : 0.605679988861084 time for calcul the mask position with numpy : 0.03278613090515137 nb_pixel_total : 19656 time to create 1 rle with old method : 0.02115654945373535 time for calcul the mask position with numpy : 0.03003692626953125 nb_pixel_total : 11368 time to create 1 rle with old method : 0.012955188751220703 time for calcul the mask position with numpy : 0.03380274772644043 nb_pixel_total : 175688 time to create 1 rle with new method : 0.5702636241912842 time for calcul the mask position with numpy : 0.01987433433532715 nb_pixel_total : 2893 time to create 1 rle with old method : 0.003340482711791992 time for calcul the mask position with numpy : 0.019957542419433594 nb_pixel_total : 265 time to create 1 rle with old method : 0.00041604042053222656 time for calcul the mask position with numpy : 0.020870685577392578 nb_pixel_total : 114253 time to create 1 rle with old method : 0.1235959529876709 time for calcul the mask position with numpy : 0.02240586280822754 nb_pixel_total : 152708 time to create 1 rle with new method : 0.5363073348999023 time for calcul the mask position with numpy : 0.0233917236328125 nb_pixel_total : 226629 time to create 1 rle with new method : 0.533909797668457 time for calcul the mask position with numpy : 0.03525376319885254 nb_pixel_total : 31246 time to create 1 rle with old method : 0.03557300567626953 time for calcul the mask position with numpy : 0.03689861297607422 nb_pixel_total : 356011 time to create 1 rle with new method : 0.4620532989501953 time for calcul the mask position with numpy : 0.03368544578552246 nb_pixel_total : 8796 time to create 1 rle with old method : 0.010009288787841797 time for calcul the mask position with numpy : 0.03440093994140625 nb_pixel_total : 67076 time to create 1 rle with old method : 0.07263922691345215 time for calcul the mask position with numpy : 0.033869266510009766 nb_pixel_total : 1750 time to create 1 rle with old method : 0.0021941661834716797 time for calcul the mask position with numpy : 0.03394484519958496 nb_pixel_total : 37444 time to create 1 rle with old method : 0.03984355926513672 create new chi : 3.889178514480591 time to delete rle : 0.0010099411010742188 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 10996 TO DO : save crop sub photo not yet done ! save time : 0.5966660976409912 nb_obj : 14 nb_hashtags : 8 time to prepare the origin masks : 11.766637325286865 time for calcul the mask position with numpy : 0.7001245021820068 nb_pixel_total : 6472893 time to create 1 rle with new method : 0.8681635856628418 time for calcul the mask position with numpy : 0.01939868927001953 nb_pixel_total : 32596 time to create 1 rle with old method : 0.033208608627319336 time for calcul the mask position with numpy : 0.019076824188232422 nb_pixel_total : 13477 time to create 1 rle with old method : 0.014058589935302734 time for calcul the mask position with numpy : 0.01958155632019043 nb_pixel_total : 22977 time to create 1 rle with old method : 0.02462291717529297 time for calcul the mask position with numpy : 0.019940853118896484 nb_pixel_total : 48543 time to create 1 rle with old method : 0.05146980285644531 time for calcul the mask position with numpy : 0.019654512405395508 nb_pixel_total : 67380 time to create 1 rle with old method : 0.07113027572631836 time for calcul the mask position with numpy : 0.020368337631225586 nb_pixel_total : 45244 time to create 1 rle with old method : 0.04756283760070801 time for calcul the mask position with numpy : 0.01996302604675293 nb_pixel_total : 8294 time to create 1 rle with old method : 0.009193181991577148 time for calcul the mask position with numpy : 0.019946575164794922 nb_pixel_total : 39592 time to create 1 rle with old method : 0.041646480560302734 time for calcul the mask position with numpy : 0.019525766372680664 nb_pixel_total : 2398 time to create 1 rle with old method : 0.0025734901428222656 time for calcul the mask position with numpy : 0.020163774490356445 nb_pixel_total : 29283 time to create 1 rle with old method : 0.030396699905395508 time for calcul the mask position with numpy : 0.01981043815612793 nb_pixel_total : 4854 time to create 1 rle with old method : 0.005110263824462891 time for calcul the mask position with numpy : 0.020434141159057617 nb_pixel_total : 103951 time to create 1 rle with old method : 0.10807585716247559 time for calcul the mask position with numpy : 0.020563125610351562 nb_pixel_total : 45364 time to create 1 rle with old method : 0.047660112380981445 time for calcul the mask position with numpy : 0.020045042037963867 nb_pixel_total : 113394 time to create 1 rle with old method : 0.1188957691192627 create new chi : 2.4881627559661865 time to delete rle : 0.0009260177612304688 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 9689 TO DO : save crop sub photo not yet done ! save time : 0.5503365993499756 nb_obj : 9 nb_hashtags : 5 time to prepare the origin masks : 6.093536138534546 time for calcul the mask position with numpy : 0.4690897464752197 nb_pixel_total : 4574660 time to create 1 rle with new method : 0.8179430961608887 time for calcul the mask position with numpy : 0.03341507911682129 nb_pixel_total : 82698 time to create 1 rle with old method : 0.08536553382873535 time for calcul the mask position with numpy : 0.031856536865234375 nb_pixel_total : 2374 time to create 1 rle with old method : 0.0025217533111572266 time for calcul the mask position with numpy : 0.019474029541015625 nb_pixel_total : 23264 time to create 1 rle with old method : 0.024721860885620117 time for calcul the mask position with numpy : 0.020636320114135742 nb_pixel_total : 68049 time to create 1 rle with old method : 0.07037043571472168 time for calcul the mask position with numpy : 0.02528095245361328 nb_pixel_total : 870544 time to create 1 rle with new method : 0.7956154346466064 time for calcul the mask position with numpy : 0.021890640258789062 nb_pixel_total : 248461 time to create 1 rle with new method : 0.6078977584838867 time for calcul the mask position with numpy : 0.020130157470703125 nb_pixel_total : 59665 time to create 1 rle with old method : 0.06128239631652832 time for calcul the mask position with numpy : 0.026930809020996094 nb_pixel_total : 1080922 time to create 1 rle with new method : 0.7153506278991699 time for calcul the mask position with numpy : 0.020888566970825195 nb_pixel_total : 39603 time to create 1 rle with old method : 0.041747093200683594 create new chi : 4.005521297454834 time to delete rle : 0.0010859966278076172 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 13584 TO DO : save crop sub photo not yet done ! save time : 0.7634909152984619 nb_obj : 6 nb_hashtags : 4 time to prepare the origin masks : 4.8155834674835205 time for calcul the mask position with numpy : 0.2426612377166748 nb_pixel_total : 2768882 time to create 1 rle with new method : 0.7088422775268555 time for calcul the mask position with numpy : 0.02127814292907715 nb_pixel_total : 27823 time to create 1 rle with old method : 0.03206443786621094 time for calcul the mask position with numpy : 0.024408340454101562 nb_pixel_total : 29319 time to create 1 rle with old method : 0.03240180015563965 time for calcul the mask position with numpy : 0.021893024444580078 nb_pixel_total : 188085 time to create 1 rle with new method : 0.6054887771606445 time for calcul the mask position with numpy : 0.02051091194152832 nb_pixel_total : 34828 time to create 1 rle with old method : 0.037628889083862305 time for calcul the mask position with numpy : 0.020832061767578125 nb_pixel_total : 94813 time to create 1 rle with old method : 0.1038823127746582 time for calcul the mask position with numpy : 0.18573355674743652 nb_pixel_total : 3906490 time to create 1 rle with new method : 0.8902528285980225 create new chi : 3.0274384021759033 time to delete rle : 0.001294851303100586 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 12631 TO DO : save crop sub photo not yet done ! save time : 0.9577984809875488 nb_obj : 16 nb_hashtags : 6 time to prepare the origin masks : 10.879935026168823 time for calcul the mask position with numpy : 1.373835563659668 nb_pixel_total : 6622265 time to create 1 rle with new method : 0.8617990016937256 time for calcul the mask position with numpy : 0.03420424461364746 nb_pixel_total : 62651 time to create 1 rle with old method : 0.06723403930664062 time for calcul the mask position with numpy : 0.03195977210998535 nb_pixel_total : 12552 time to create 1 rle with old method : 0.013885021209716797 time for calcul the mask position with numpy : 0.020443439483642578 nb_pixel_total : 22916 time to create 1 rle with old method : 0.024826765060424805 time for calcul the mask position with numpy : 0.020787954330444336 nb_pixel_total : 110176 time to create 1 rle with old method : 0.11728310585021973 time for calcul the mask position with numpy : 0.021409273147583008 nb_pixel_total : 1189 time to create 1 rle with old method : 0.001386404037475586 time for calcul the mask position with numpy : 0.020972728729248047 nb_pixel_total : 18119 time to create 1 rle with old method : 0.01969456672668457 time for calcul the mask position with numpy : 0.02102494239807129 nb_pixel_total : 27982 time to create 1 rle with old method : 0.0297853946685791 time for calcul the mask position with numpy : 0.01990342140197754 nb_pixel_total : 17531 time to create 1 rle with old method : 0.019638776779174805 time for calcul the mask position with numpy : 0.02082967758178711 nb_pixel_total : 5586 time to create 1 rle with old method : 0.006349802017211914 time for calcul the mask position with numpy : 0.020679712295532227 nb_pixel_total : 2246 time to create 1 rle with old method : 0.0026662349700927734 time for calcul the mask position with numpy : 0.020922422409057617 nb_pixel_total : 4881 time to create 1 rle with old method : 0.005494356155395508 time for calcul the mask position with numpy : 0.02131795883178711 nb_pixel_total : 21389 time to create 1 rle with old method : 0.02507758140563965 time for calcul the mask position with numpy : 0.023657560348510742 nb_pixel_total : 12198 time to create 1 rle with old method : 0.014358997344970703 time for calcul the mask position with numpy : 0.0245363712310791 nb_pixel_total : 11088 time to create 1 rle with old method : 0.016507863998413086 time for calcul the mask position with numpy : 0.023099422454833984 nb_pixel_total : 73992 time to create 1 rle with old method : 0.08856534957885742 time for calcul the mask position with numpy : 0.02195882797241211 nb_pixel_total : 23479 time to create 1 rle with old method : 0.024554729461669922 create new chi : 3.117929220199585 time to delete rle : 0.0008471012115478516 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 9004 TO DO : save crop sub photo not yet done ! save time : 0.538092851638794 nb_obj : 20 nb_hashtags : 8 time to prepare the origin masks : 17.88224506378174 time for calcul the mask position with numpy : 0.6629185676574707 nb_pixel_total : 6552494 time to create 1 rle with new method : 1.2555570602416992 time for calcul the mask position with numpy : 0.03115081787109375 nb_pixel_total : 17653 time to create 1 rle with old method : 0.019583702087402344 time for calcul the mask position with numpy : 0.035079240798950195 nb_pixel_total : 44039 time to create 1 rle with old method : 0.048712968826293945 time for calcul the mask position with numpy : 0.020612716674804688 nb_pixel_total : 38887 time to create 1 rle with old method : 0.04297304153442383 time for calcul the mask position with numpy : 0.021755456924438477 nb_pixel_total : 543 time to create 1 rle with old method : 0.0009312629699707031 time for calcul the mask position with numpy : 0.02102208137512207 nb_pixel_total : 16791 time to create 1 rle with old method : 0.018867015838623047 time for calcul the mask position with numpy : 0.0220794677734375 nb_pixel_total : 2258 time to create 1 rle with old method : 0.002718210220336914 time for calcul the mask position with numpy : 0.021950483322143555 nb_pixel_total : 25100 time to create 1 rle with old method : 0.02807474136352539 time for calcul the mask position with numpy : 0.023977279663085938 nb_pixel_total : 154731 time to create 1 rle with new method : 1.0771450996398926 time for calcul the mask position with numpy : 0.021987199783325195 nb_pixel_total : 1878 time to create 1 rle with old method : 0.0019655227661132812 time for calcul the mask position with numpy : 0.02117919921875 nb_pixel_total : 10420 time to create 1 rle with old method : 0.011100530624389648 time for calcul the mask position with numpy : 0.021167993545532227 nb_pixel_total : 15835 time to create 1 rle with old method : 0.017401933670043945 time for calcul the mask position with numpy : 0.02190399169921875 nb_pixel_total : 43050 time to create 1 rle with old method : 0.04629039764404297 time for calcul the mask position with numpy : 0.022192001342773438 nb_pixel_total : 19934 time to create 1 rle with old method : 0.02209162712097168 time for calcul the mask position with numpy : 0.022667407989501953 nb_pixel_total : 1198 time to create 1 rle with old method : 0.0013632774353027344 time for calcul the mask position with numpy : 0.02185368537902832 nb_pixel_total : 49334 time to create 1 rle with old method : 0.05346250534057617 time for calcul the mask position with numpy : 0.022858142852783203 nb_pixel_total : 7190 time to create 1 rle with old method : 0.009954690933227539 time for calcul the mask position with numpy : 0.02251267433166504 nb_pixel_total : 3885 time to create 1 rle with old method : 0.004591703414916992 time for calcul the mask position with numpy : 0.021420717239379883 nb_pixel_total : 10980 time to create 1 rle with old method : 0.013616561889648438 time for calcul the mask position with numpy : 0.030913352966308594 nb_pixel_total : 20170 time to create 1 rle with old method : 0.023964643478393555 time for calcul the mask position with numpy : 0.022094249725341797 nb_pixel_total : 13870 time to create 1 rle with old method : 0.015736818313598633 create new chi : 3.9087414741516113 time to delete rle : 0.0010690689086914062 batch 1 Loaded 21 chid ids of type : 3726 Number RLEs to save : 10232 TO DO : save crop sub photo not yet done ! save time : 0.6551022529602051 nb_obj : 12 nb_hashtags : 6 time to prepare the origin masks : 14.454652547836304 time for calcul the mask position with numpy : 0.9992010593414307 nb_pixel_total : 6503291 time to create 1 rle with new method : 1.0499000549316406 time for calcul the mask position with numpy : 0.03453493118286133 nb_pixel_total : 14046 time to create 1 rle with old method : 0.015782594680786133 time for calcul the mask position with numpy : 0.03550410270690918 nb_pixel_total : 9557 time to create 1 rle with old method : 0.010572433471679688 time for calcul the mask position with numpy : 0.033757686614990234 nb_pixel_total : 22624 time to create 1 rle with old method : 0.024961471557617188 time for calcul the mask position with numpy : 0.03476357460021973 nb_pixel_total : 5603 time to create 1 rle with old method : 0.006321430206298828 time for calcul the mask position with numpy : 0.03390908241271973 nb_pixel_total : 22935 time to create 1 rle with old method : 0.024967193603515625 time for calcul the mask position with numpy : 0.03215765953063965 nb_pixel_total : 28142 time to create 1 rle with old method : 0.03159904479980469 time for calcul the mask position with numpy : 0.022976398468017578 nb_pixel_total : 121095 time to create 1 rle with old method : 0.13507962226867676 time for calcul the mask position with numpy : 0.021872282028198242 nb_pixel_total : 5377 time to create 1 rle with old method : 0.0063741207122802734 time for calcul the mask position with numpy : 0.022452116012573242 nb_pixel_total : 66907 time to create 1 rle with old method : 0.07464814186096191 time for calcul the mask position with numpy : 0.023885250091552734 nb_pixel_total : 128515 time to create 1 rle with old method : 0.13906431198120117 time for calcul the mask position with numpy : 0.0225985050201416 nb_pixel_total : 108902 time to create 1 rle with old method : 0.12084770202636719 time for calcul the mask position with numpy : 0.02167344093322754 nb_pixel_total : 13246 time to create 1 rle with old method : 0.015152931213378906 create new chi : 3.041724681854248 time to delete rle : 0.0009086132049560547 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 8670 TO DO : save crop sub photo not yet done ! save time : 0.6840438842773438 nb_obj : 28 nb_hashtags : 7 time to prepare the origin masks : 10.103956699371338 time for calcul the mask position with numpy : 0.5491235256195068 nb_pixel_total : 5402283 time to create 1 rle with new method : 0.9976012706756592 time for calcul the mask position with numpy : 0.03343701362609863 nb_pixel_total : 60412 time to create 1 rle with old method : 0.08380126953125 time for calcul the mask position with numpy : 0.030411243438720703 nb_pixel_total : 183786 time to create 1 rle with new method : 0.6483168601989746 time for calcul the mask position with numpy : 0.033152103424072266 nb_pixel_total : 9920 time to create 1 rle with old method : 0.011525630950927734 time for calcul the mask position with numpy : 0.02766561508178711 nb_pixel_total : 38176 time to create 1 rle with old method : 0.04203462600708008 time for calcul the mask position with numpy : 0.030973196029663086 nb_pixel_total : 356218 time to create 1 rle with new method : 0.6739342212677002 time for calcul the mask position with numpy : 0.03697013854980469 nb_pixel_total : 270558 time to create 1 rle with new method : 0.8932962417602539 time for calcul the mask position with numpy : 0.02911233901977539 nb_pixel_total : 22278 time to create 1 rle with old method : 0.033107757568359375 time for calcul the mask position with numpy : 0.03758859634399414 nb_pixel_total : 17045 time to create 1 rle with old method : 0.019489049911499023 time for calcul the mask position with numpy : 0.029421567916870117 nb_pixel_total : 35248 time to create 1 rle with old method : 0.04323244094848633 time for calcul the mask position with numpy : 0.031247377395629883 nb_pixel_total : 1813 time to create 1 rle with old method : 0.0027265548706054688 time for calcul the mask position with numpy : 0.030187606811523438 nb_pixel_total : 48474 time to create 1 rle with old method : 0.06422233581542969 time for calcul the mask position with numpy : 0.03345775604248047 nb_pixel_total : 139357 time to create 1 rle with old method : 0.16289567947387695 time for calcul the mask position with numpy : 0.02931690216064453 nb_pixel_total : 32054 time to create 1 rle with old method : 0.036353349685668945 time for calcul the mask position with numpy : 0.029425859451293945 nb_pixel_total : 55258 time to create 1 rle with old method : 0.06103682518005371 time for calcul the mask position with numpy : 0.029762983322143555 nb_pixel_total : 116053 time to create 1 rle with old method : 0.1310586929321289 time for calcul the mask position with numpy : 0.028595685958862305 nb_pixel_total : 23616 time to create 1 rle with old method : 0.02596282958984375 time for calcul the mask position with numpy : 0.028004169464111328 nb_pixel_total : 1604 time to create 1 rle with old method : 0.0017664432525634766 time for calcul the mask position with numpy : 0.027650833129882812 nb_pixel_total : 3585 time to create 1 rle with old method : 0.004121541976928711 time for calcul the mask position with numpy : 0.02916550636291504 nb_pixel_total : 12280 time to create 1 rle with old method : 0.01415705680847168 time for calcul the mask position with numpy : 0.0283811092376709 nb_pixel_total : 2396 time to create 1 rle with old method : 0.003962993621826172 time for calcul the mask position with numpy : 0.04245615005493164 nb_pixel_total : 3672 time to create 1 rle with old method : 0.004203081130981445 time for calcul the mask position with numpy : 0.028882741928100586 nb_pixel_total : 29837 time to create 1 rle with old method : 0.03340625762939453 time for calcul the mask position with numpy : 0.028728961944580078 nb_pixel_total : 23044 time to create 1 rle with old method : 0.030090808868408203 time for calcul the mask position with numpy : 0.03664088249206543 nb_pixel_total : 26697 time to create 1 rle with old method : 0.030068635940551758 time for calcul the mask position with numpy : 0.02972245216369629 nb_pixel_total : 94543 time to create 1 rle with old method : 0.10965728759765625 time for calcul the mask position with numpy : 0.03213620185852051 nb_pixel_total : 33089 time to create 1 rle with old method : 0.03675055503845215 time for calcul the mask position with numpy : 0.03138136863708496 nb_pixel_total : 2983 time to create 1 rle with old method : 0.0034117698669433594 time for calcul the mask position with numpy : 0.029161930084228516 nb_pixel_total : 3961 time to create 1 rle with old method : 0.004317045211791992 create new chi : 5.755207777023315 time to delete rle : 0.002704620361328125 batch 1 Loaded 29 chid ids of type : 3726 Number RLEs to save : 20418 TO DO : save crop sub photo not yet done ! save time : 1.1437678337097168 map_output_result : {1339346898: (0.0, 'Should be the crop_list due to order', 0), 1339346895: (0.0, 'Should be the crop_list due to order', 0), 1339346853: (0.0, 'Should be the crop_list due to order', 0), 1339346852: (0.0, 'Should be the crop_list due to order', 0), 1339346851: (0.0, 'Should be the crop_list due to order', 0), 1339346850: (0.0, 'Should be the crop_list due to order', 0), 1339341887: (0.0, 'Should be the crop_list due to order', 0), 1339341886: (0.0, 'Should be the crop_list due to order', 0), 1339341880: (0.0, 'Should be the crop_list due to order', 0), 1339341874: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1339346898, 1339346895, 1339346853, 1339346852, 1339346851, 1339346850, 1339341887, 1339341886, 1339341880, 1339341874] Looping around the photos to save general results len do output : 10 /1339346898.Didn't retrieve data . /1339346895.Didn't retrieve data . /1339346853.Didn't retrieve data . /1339346852.Didn't retrieve data . /1339346851.Didn't retrieve data . /1339346850.Didn't retrieve data . /1339341887.Didn't retrieve data . /1339341886.Didn't retrieve data . /1339341880.Didn't retrieve data . /1339341874.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, '2610884') ('3459', '20782993', '1339346898', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346895', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346853', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346852', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346851', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346850', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341887', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341886', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341880', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341874', None, None, None, None, None, '2610884') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01314401626586914 save_final save missing photos in datou_result : time spend for datou_step_exec : 154.4691948890686 time spend to save output : 0.013963460922241211 total time spend for step 5 : 154.48315834999084 step6:crop_condition Mon Feb 24 22:19:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 156 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/1740431965_2331011 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.376821994781494 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/1740431972_2331011 we have uploaded 9 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.236525058746338 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 ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 12 About to insert : list_path_to_insert length 12 new photo from crops ! About to upload 12 photos upload in portfolio : 4869462 init cache_photo without model_param we have 12 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740431981_2331011 we have uploaded 12 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.2645516395568848 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740431986_2331011 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.2164804935455322 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/1740431989_2331011 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.6416428089141846 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740431993_2331011 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.1907615661621094 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/1740431998_2331011 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.128666639328003 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 [1339346898, 1339346895, 1339346853, 1339346852, 1339346851, 1339346850, 1339341887, 1339341886, 1339341880, 1339341874] Looping around the photos to save general results len do output : 38 /1339422025Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422026Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422027Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422028Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422029Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422030Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422035Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422036Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422037Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422038Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422039Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422040Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422041Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422042Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422043Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422051Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422052Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422053Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422054Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422055Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422056Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422057Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422058Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422059Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422060Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422061Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422062Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422063Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422064Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422065Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422066Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422067Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422068Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422069Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422070Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422071Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422072Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339422073Didn'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, '2610884') ('3459', '20782993', '1339346898', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346895', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346853', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346852', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346851', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346850', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341887', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341886', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341880', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341874', None, None, None, None, None, '2610884') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 124 time used for this insertion : 0.03388786315917969 save_final save missing photos in datou_result : time spend for datou_step_exec : 37.795371532440186 time spend to save output : 0.03499722480773926 total time spend for step 6 : 37.830368757247925 step7:ventilate_hashtags_in_portfolio Mon Feb 24 22:19:59 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 : 20782993 get user id for portfolio 20782993 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`=20782993 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','kraft','mal_croppe','environnement','autre_refus','Carton_brun','plastique','flou','cartonnette','metal','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`=20782993 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','kraft','mal_croppe','environnement','autre_refus','Carton_brun','plastique','flou','cartonnette','metal','papier')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20782993 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','kraft','mal_croppe','environnement','autre_refus','Carton_brun','plastique','flou','cartonnette','metal','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20783122,20783123,20783124,20783125,20783126,20783127,20783128,20783129,20783130,20783131,20783132,20783133?tags=Carton_gris,Teint_Dans_La_Masse,kraft,mal_croppe,environnement,autre_refus,Carton_brun,plastique,flou,cartonnette,metal,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339346898, 1339346895, 1339346853, 1339346852, 1339346851, 1339346850, 1339341887, 1339341886, 1339341880, 1339341874] Looping around the photos to save general results len do output : 1 /20782993. 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, '2610884') ('3459', '20782993', '1339346898', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346895', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346853', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346852', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346851', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346850', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341887', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341886', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341880', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341874', None, None, None, None, None, '2610884') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.014387845993041992 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.5748865604400635 time spend to save output : 0.014664173126220703 total time spend for step 7 : 2.589550733566284 step8:final Mon Feb 24 22:20:02 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1339346898: ('0.08146381333007933',), 1339346895: ('0.08146381333007933',), 1339346853: ('0.08146381333007933',), 1339346852: ('0.08146381333007933',), 1339346851: ('0.08146381333007933',), 1339346850: ('0.08146381333007933',), 1339341887: ('0.08146381333007933',), 1339341886: ('0.08146381333007933',), 1339341880: ('0.08146381333007933',), 1339341874: ('0.08146381333007933',)} new output for save of step final : {1339346898: ('0.08146381333007933',), 1339346895: ('0.08146381333007933',), 1339346853: ('0.08146381333007933',), 1339346852: ('0.08146381333007933',), 1339346851: ('0.08146381333007933',), 1339346850: ('0.08146381333007933',), 1339341887: ('0.08146381333007933',), 1339341886: ('0.08146381333007933',), 1339341880: ('0.08146381333007933',), 1339341874: ('0.08146381333007933',)} [1339346898, 1339346895, 1339346853, 1339346852, 1339346851, 1339346850, 1339341887, 1339341886, 1339341880, 1339341874] Looping around the photos to save general results len do output : 10 /1339346898.Didn't retrieve data . /1339346895.Didn't retrieve data . /1339346853.Didn't retrieve data . /1339346852.Didn't retrieve data . /1339346851.Didn't retrieve data . /1339346850.Didn't retrieve data . /1339341887.Didn't retrieve data . /1339341886.Didn't retrieve data . /1339341880.Didn't retrieve data . /1339341874.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, '2610884') ('3459', '20782993', '1339346898', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346895', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346853', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346852', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346851', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346850', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341887', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341886', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341880', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341874', None, None, None, None, None, '2610884') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014104604721069336 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6708550453186035 time spend to save output : 0.014621257781982422 total time spend for step 8 : 0.6854763031005859 step9:velours_tree Mon Feb 24 22:20:03 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.07897543907165527 time spend to save output : 2.9087066650390625e-05 total time spend for step 9 : 0.07900452613830566 step10:send_mail_cod Mon Feb 24 22:20:03 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_P20782993_24-02-2025_22_20_03.pdf 20783124 change filename to text .imagette207831241740432003 20783125 imagette207831251740432003 20783127 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 .imagette207831271740432003 20783129 change filename to text .change filename to text .change filename to text .imagette207831291740432003 20783130 imagette207831301740432004 20783131 change filename to text .change filename to text .imagette207831311740432004 20783132 imagette207831321740432004 20783122 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette207831221740432004 20783123 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette207831231740432005 20783128 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette207831281740432005 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20782993 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20783122,20783123,20783124,20783125,20783126,20783127,20783128,20783129,20783130,20783131,20783132,20783133?tags=Carton_gris,Teint_Dans_La_Masse,kraft,mal_croppe,environnement,autre_refus,Carton_brun,plastique,flou,cartonnette,metal,papier your option no_mail is active, we will not send the real mail to your client args[1339346898] : ('0.08146381333007933',) no score found for photo 1339346898 We are sending mail with results at report@fotonower.com args[1339346895] : ('0.08146381333007933',) no score found for photo 1339346895 We are sending mail with results at report@fotonower.com args[1339346853] : ('0.08146381333007933',) no score found for photo 1339346853 We are sending mail with results at report@fotonower.com args[1339346852] : ('0.08146381333007933',) no score found for photo 1339346852 We are sending mail with results at report@fotonower.com args[1339346851] : ('0.08146381333007933',) no score found for photo 1339346851 We are sending mail with results at report@fotonower.com args[1339346850] : ('0.08146381333007933',) no score found for photo 1339346850 We are sending mail with results at report@fotonower.com args[1339341887] : ('0.08146381333007933',) no score found for photo 1339341887 We are sending mail with results at report@fotonower.com args[1339341886] : ('0.08146381333007933',) no score found for photo 1339341886 We are sending mail with results at report@fotonower.com args[1339341880] : ('0.08146381333007933',) no score found for photo 1339341880 We are sending mail with results at report@fotonower.com args[1339341874] : ('0.08146381333007933',) no score found for photo 1339341874 We are sending mail with results at report@fotonower.com refus_total : 0.08146381333007933 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=20782993 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1339341854,1339346898,1339346895,1339346852,1339341887,1339341886,1339341880,1339341874,1339341853,1339341852,1339341851,1339341847,1339341827,1339341826,1339341825,1339341849,1339341778,1339341829,1339346850,1339346851) Found this number of photos: 20 begin to download photo : 1339341854 begin to download photo : 1339341886 begin to download photo : 1339341851 begin to download photo : 1339341849 download finish for photo 1339341886 begin to download photo : 1339341880 download finish for photo 1339341849 begin to download photo : 1339341778 download finish for photo 1339341851 begin to download photo : 1339341847 download finish for photo 1339341854 begin to download photo : 1339346898 download finish for photo 1339341880 begin to download photo : 1339341874 download finish for photo 1339341847 begin to download photo : 1339341827 download finish for photo 1339346898 begin to download photo : 1339346895 download finish for photo 1339341827 begin to download photo : 1339341826 download finish for photo 1339341778 begin to download photo : 1339341829 download finish for photo 1339341874 begin to download photo : 1339341853 download finish for photo 1339341829 begin to download photo : 1339346850 download finish for photo 1339346895 begin to download photo : 1339346852 download finish for photo 1339341826 begin to download photo : 1339341825 download finish for photo 1339341853 begin to download photo : 1339341852 download finish for photo 1339346850 begin to download photo : 1339346851 download finish for photo 1339341825 download finish for photo 1339346852 begin to download photo : 1339341887 download finish for photo 1339341852 download finish for photo 1339346851 download finish for photo 1339341887 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20782993_24-02-2025_22_20_03.pdf results_Auto_P20782993_24-02-2025_22_20_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20782993_24-02-2025_22_20_03.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','20782993','results_Auto_P20782993_24-02-2025_22_20_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20782993_24-02-2025_22_20_03.pdf','pdf','','0.85','0.08146381333007933') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339346898, 1339346895, 1339346853, 1339346852, 1339346851, 1339346850, 1339341887, 1339341886, 1339341880, 1339341874] 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, '2610884') ('3459', '20782993', '1339346898', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346895', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346853', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346852', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346851', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346850', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341887', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341886', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341880', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341874', None, None, None, None, None, '2610884') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.01645803451538086 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.4900147914886475 time spend to save output : 0.01666092872619629 total time spend for step 10 : 6.506675720214844 step11:split_time_score Mon Feb 24 22:20:09 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'}] (('13', 21),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 24022025 20782993 Nombre de photos uploadées : 21 / 23040 (0%) 24022025 20782993 Nombre de photos taguées (types de déchets): 0 / 21 (0%) 24022025 20782993 Nombre de photos taguées (volume) : 0 / 21 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014300346374511719 elapsed_time : insert_dashboard_record_day_entry 0.02605605125427246 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782976 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782977 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782978 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782979 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782980 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782981 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782982 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782983 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782984 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782985 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782986 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782987 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782988 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782989 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782990 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782991 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782992 order by id desc limit 1 Qualite : 0.08146381333007933 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20782993_24-02-2025_22_20_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782993 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`=20782993 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782994 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782995 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782996 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782997 order by id desc limit 1 Qualite : 0.048543972049013485 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20782998_24-02-2025_22_17_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782998 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20782998 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782999 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783000 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783001 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783002 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783003 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783004 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783005 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783006 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783007 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783008 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783009 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783010 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783011 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783012 order by id desc limit 1 Qualite : 0.052401843008330756 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20783013_24-02-2025_22_16_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783013 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`=20783013 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783014 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783015 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'24022025': {'nb_upload': 21, '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 [1339346898, 1339346895, 1339346853, 1339346852, 1339346851, 1339346850, 1339341887, 1339341886, 1339341880, 1339341874] Looping around the photos to save general results len do output : 1 /20782993Didn'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, '2610884') ('3459', '20782993', '1339346898', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346895', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346853', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346852', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346851', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339346850', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341887', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341886', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341880', None, None, None, None, None, '2610884') ('3459', None, None, None, None, None, None, None, '2610884') ('3459', '20782993', '1339341874', None, None, None, None, None, '2610884') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.014868974685668945 save_final save missing photos in datou_result : time spend for datou_step_exec : 28.94351291656494 time spend to save output : 0.01512002944946289 total time spend for step 11 : 28.958632946014404 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 158.27user 164.60system 6:14.00elapsed 86%CPU (0avgtext+0avgdata 4619352maxresident)k 279520inputs+137832outputs (7562major+13164388minor)pagefaults 0swaps