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 : 2296663 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 : 17>10 please execute split_portfolio.py -i 20814195 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2613629'] with mtr_portfolio_ids : ['20814195'] and first list_photo_ids : [] new path : /proc/2296663/ 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 : 5.970209360122681 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Tue Feb 25 19:04:34 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 : 3851 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-25 19:04:37.359343: 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-25 19:04:37.391160: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-25 19:04:37.393386: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7ff5e4000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-25 19:04:37.393445: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-25 19:04:37.397568: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-25 19:04:37.638162: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x4310ceb0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-25 19:04:37.638227: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-25 19:04:37.639428: 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-25 19:04:37.639886: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-25 19:04:37.643216: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-25 19:04:37.646313: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-25 19:04:37.646878: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-25 19:04:37.649531: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-25 19:04:37.650694: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-25 19:04:37.655553: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-25 19:04:37.656732: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-25 19:04:37.656824: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-25 19:04:37.657459: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-25 19:04:37.657477: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-25 19:04:37.657486: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-25 19:04:37.658436: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3399 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-25 19:04:37.924969: 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-25 19:04:37.925099: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-25 19:04:37.925131: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-25 19:04:37.925156: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-25 19:04:37.925181: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-25 19:04:37.925208: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-25 19:04:37.925235: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-25 19:04:37.925263: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-25 19:04:37.926438: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-25 19:04:37.929520: 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-25 19:04:37.929575: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-25 19:04:37.929596: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-25 19:04:37.929614: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-25 19:04:37.929633: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-25 19:04:37.929651: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-25 19:04:37.929669: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-25 19:04:37.929687: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-25 19:04:37.930918: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-25 19:04:37.930957: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-25 19:04:37.930971: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-25 19:04:37.930983: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-25 19:04:37.932265: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3399 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-25 19:04:46.641577: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-25 19:04:46.831624: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-25 19:04:48.229126: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:48.981787: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-02-25 19:04:49.045933: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.046058: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-25 19:04:49.047244: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.047275: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-25 19:04:49.054930: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-25 19:04:49.054975: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-25 19:04:49.061369: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.061395: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-25 19:04:49.061977: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.061995: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-25 19:04:49.091104: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.091196: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 19.91MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-25 19:04:49.091215: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-02-25 19:04:49.092323: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.092354: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-25 19:04:49.093452: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.093491: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-25 19:04:49.101276: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.101337: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-25 19:04:49.102250: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.103199: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.104196: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.112655: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.113318: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.131463: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.132155: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.132786: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.133385: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.137423: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.138007: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.138588: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.139215: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.140276: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.150383: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.151011: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.160130: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.160763: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.161365: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.161956: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.162573: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:04:49.163197: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 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 : 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 : 29 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 13 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 22 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 19 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 19 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 29 Detection mask done ! Trying to reset tf kernel 2297237 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 2658 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 : 3851 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.0009100437164306641 nb_pixel_total : 35222 time to create 1 rle with old method : 0.04047536849975586 length of segment : 210 time for calcul the mask position with numpy : 0.0028693675994873047 nb_pixel_total : 121392 time to create 1 rle with old method : 0.13305091857910156 length of segment : 540 time for calcul the mask position with numpy : 0.0032434463500976562 nb_pixel_total : 124062 time to create 1 rle with old method : 0.13576364517211914 length of segment : 538 time for calcul the mask position with numpy : 0.001422882080078125 nb_pixel_total : 78741 time to create 1 rle with old method : 0.09270191192626953 length of segment : 408 time for calcul the mask position with numpy : 0.0003387928009033203 nb_pixel_total : 17965 time to create 1 rle with old method : 0.021100521087646484 length of segment : 152 time for calcul the mask position with numpy : 6.29425048828125e-05 nb_pixel_total : 1819 time to create 1 rle with old method : 0.0021429061889648438 length of segment : 28 time for calcul the mask position with numpy : 0.0014772415161132812 nb_pixel_total : 80675 time to create 1 rle with old method : 0.08952188491821289 length of segment : 413 time for calcul the mask position with numpy : 0.0013530254364013672 nb_pixel_total : 87947 time to create 1 rle with old method : 0.09835386276245117 length of segment : 568 time for calcul the mask position with numpy : 0.0009570121765136719 nb_pixel_total : 67982 time to create 1 rle with old method : 0.07819819450378418 length of segment : 271 time for calcul the mask position with numpy : 0.0021524429321289062 nb_pixel_total : 140722 time to create 1 rle with old method : 0.15864181518554688 length of segment : 465 time for calcul the mask position with numpy : 0.001005411148071289 nb_pixel_total : 65618 time to create 1 rle with old method : 0.07195115089416504 length of segment : 273 time for calcul the mask position with numpy : 0.0017731189727783203 nb_pixel_total : 119475 time to create 1 rle with old method : 0.1280965805053711 length of segment : 520 time for calcul the mask position with numpy : 0.000812530517578125 nb_pixel_total : 52144 time to create 1 rle with old method : 0.05927705764770508 length of segment : 307 time for calcul the mask position with numpy : 0.0011692047119140625 nb_pixel_total : 79731 time to create 1 rle with old method : 0.08801436424255371 length of segment : 297 time for calcul the mask position with numpy : 0.00019550323486328125 nb_pixel_total : 6053 time to create 1 rle with old method : 0.007558107376098633 length of segment : 93 time for calcul the mask position with numpy : 0.0001380443572998047 nb_pixel_total : 1942 time to create 1 rle with old method : 0.0023512840270996094 length of segment : 40 time for calcul the mask position with numpy : 0.0007627010345458984 nb_pixel_total : 51984 time to create 1 rle with old method : 0.060476064682006836 length of segment : 299 time for calcul the mask position with numpy : 0.004250049591064453 nb_pixel_total : 144017 time to create 1 rle with old method : 0.15923810005187988 length of segment : 492 time for calcul the mask position with numpy : 0.000835418701171875 nb_pixel_total : 37059 time to create 1 rle with old method : 0.042894840240478516 length of segment : 248 time for calcul the mask position with numpy : 0.0009622573852539062 nb_pixel_total : 32081 time to create 1 rle with old method : 0.03653216361999512 length of segment : 253 time for calcul the mask position with numpy : 0.0005278587341308594 nb_pixel_total : 12564 time to create 1 rle with old method : 0.014703035354614258 length of segment : 157 time for calcul the mask position with numpy : 0.0009219646453857422 nb_pixel_total : 23429 time to create 1 rle with old method : 0.02777266502380371 length of segment : 304 time for calcul the mask position with numpy : 0.003964424133300781 nb_pixel_total : 112585 time to create 1 rle with old method : 0.1334085464477539 length of segment : 520 time for calcul the mask position with numpy : 0.033082008361816406 nb_pixel_total : 360108 time to create 1 rle with new method : 0.025766611099243164 length of segment : 650 time for calcul the mask position with numpy : 0.0007929801940917969 nb_pixel_total : 13479 time to create 1 rle with old method : 0.016117572784423828 length of segment : 259 time for calcul the mask position with numpy : 0.0006256103515625 nb_pixel_total : 16854 time to create 1 rle with old method : 0.019464731216430664 length of segment : 141 time for calcul the mask position with numpy : 0.00013947486877441406 nb_pixel_total : 2470 time to create 1 rle with old method : 0.0030100345611572266 length of segment : 102 time for calcul the mask position with numpy : 0.0008537769317626953 nb_pixel_total : 20076 time to create 1 rle with old method : 0.023251771926879883 length of segment : 205 time for calcul the mask position with numpy : 0.0007724761962890625 nb_pixel_total : 22714 time to create 1 rle with old method : 0.026235342025756836 length of segment : 148 time for calcul the mask position with numpy : 0.00035500526428222656 nb_pixel_total : 22973 time to create 1 rle with old method : 0.02620840072631836 length of segment : 150 time for calcul the mask position with numpy : 0.0002951622009277344 nb_pixel_total : 5467 time to create 1 rle with old method : 0.006983518600463867 length of segment : 59 time for calcul the mask position with numpy : 0.007923603057861328 nb_pixel_total : 269035 time to create 1 rle with new method : 0.016751766204833984 length of segment : 597 time for calcul the mask position with numpy : 0.004620552062988281 nb_pixel_total : 84033 time to create 1 rle with old method : 0.0924384593963623 length of segment : 489 time for calcul the mask position with numpy : 0.0020825862884521484 nb_pixel_total : 68260 time to create 1 rle with old method : 0.0754396915435791 length of segment : 236 time for calcul the mask position with numpy : 0.0008397102355957031 nb_pixel_total : 12847 time to create 1 rle with old method : 0.01535344123840332 length of segment : 200 time for calcul the mask position with numpy : 0.0008733272552490234 nb_pixel_total : 61323 time to create 1 rle with old method : 0.06783270835876465 length of segment : 231 time for calcul the mask position with numpy : 0.0013270378112792969 nb_pixel_total : 27377 time to create 1 rle with old method : 0.030026674270629883 length of segment : 243 time for calcul the mask position with numpy : 0.008566856384277344 nb_pixel_total : 293221 time to create 1 rle with new method : 0.026904582977294922 length of segment : 831 time for calcul the mask position with numpy : 0.00019598007202148438 nb_pixel_total : 5359 time to create 1 rle with old method : 0.006600141525268555 length of segment : 59 time for calcul the mask position with numpy : 0.0005750656127929688 nb_pixel_total : 13038 time to create 1 rle with old method : 0.01500248908996582 length of segment : 147 time for calcul the mask position with numpy : 0.0034613609313964844 nb_pixel_total : 132036 time to create 1 rle with old method : 0.1388547420501709 length of segment : 542 time for calcul the mask position with numpy : 0.00028777122497558594 nb_pixel_total : 14171 time to create 1 rle with old method : 0.01604175567626953 length of segment : 143 time for calcul the mask position with numpy : 0.001627206802368164 nb_pixel_total : 56728 time to create 1 rle with old method : 0.06404399871826172 length of segment : 495 time for calcul the mask position with numpy : 0.004149198532104492 nb_pixel_total : 329533 time to create 1 rle with new method : 0.015644550323486328 length of segment : 738 time for calcul the mask position with numpy : 0.003087759017944336 nb_pixel_total : 91779 time to create 1 rle with old method : 0.11480212211608887 length of segment : 421 time for calcul the mask position with numpy : 0.0014336109161376953 nb_pixel_total : 47431 time to create 1 rle with old method : 0.05373883247375488 length of segment : 247 time for calcul the mask position with numpy : 0.0006616115570068359 nb_pixel_total : 15136 time to create 1 rle with old method : 0.018440961837768555 length of segment : 228 time for calcul the mask position with numpy : 0.0010170936584472656 nb_pixel_total : 27638 time to create 1 rle with old method : 0.04443645477294922 length of segment : 178 time for calcul the mask position with numpy : 0.0016121864318847656 nb_pixel_total : 46741 time to create 1 rle with old method : 0.05522894859313965 length of segment : 361 time for calcul the mask position with numpy : 0.0006768703460693359 nb_pixel_total : 20215 time to create 1 rle with old method : 0.024082183837890625 length of segment : 161 time for calcul the mask position with numpy : 0.0007734298706054688 nb_pixel_total : 14987 time to create 1 rle with old method : 0.018107891082763672 length of segment : 235 time for calcul the mask position with numpy : 0.0006682872772216797 nb_pixel_total : 24455 time to create 1 rle with old method : 0.06430745124816895 length of segment : 117 time for calcul the mask position with numpy : 0.0008721351623535156 nb_pixel_total : 27995 time to create 1 rle with old method : 0.03328227996826172 length of segment : 155 time for calcul the mask position with numpy : 0.00063323974609375 nb_pixel_total : 13031 time to create 1 rle with old method : 0.015598297119140625 length of segment : 130 time for calcul the mask position with numpy : 0.003701925277709961 nb_pixel_total : 129956 time to create 1 rle with old method : 0.14783954620361328 length of segment : 483 time for calcul the mask position with numpy : 0.0018181800842285156 nb_pixel_total : 83773 time to create 1 rle with old method : 0.09241986274719238 length of segment : 538 time for calcul the mask position with numpy : 0.0039708614349365234 nb_pixel_total : 153559 time to create 1 rle with new method : 0.008179187774658203 length of segment : 581 time for calcul the mask position with numpy : 0.00020432472229003906 nb_pixel_total : 3727 time to create 1 rle with old method : 0.0045163631439208984 length of segment : 84 time for calcul the mask position with numpy : 0.0024521350860595703 nb_pixel_total : 95456 time to create 1 rle with old method : 0.10844898223876953 length of segment : 466 time for calcul the mask position with numpy : 0.0018851757049560547 nb_pixel_total : 53274 time to create 1 rle with old method : 0.061379194259643555 length of segment : 605 time for calcul the mask position with numpy : 0.00019073486328125 nb_pixel_total : 6880 time to create 1 rle with old method : 0.008266448974609375 length of segment : 107 time for calcul the mask position with numpy : 0.00235748291015625 nb_pixel_total : 72090 time to create 1 rle with old method : 0.0817723274230957 length of segment : 373 time for calcul the mask position with numpy : 0.6915733814239502 nb_pixel_total : 1580651 time to create 1 rle with new method : 0.2513124942779541 length of segment : 2558 time for calcul the mask position with numpy : 0.00044083595275878906 nb_pixel_total : 14128 time to create 1 rle with old method : 0.016295671463012695 length of segment : 176 time for calcul the mask position with numpy : 0.0019702911376953125 nb_pixel_total : 170539 time to create 1 rle with new method : 0.006339311599731445 length of segment : 452 time for calcul the mask position with numpy : 0.002135753631591797 nb_pixel_total : 152885 time to create 1 rle with new method : 0.0050313472747802734 length of segment : 497 time for calcul the mask position with numpy : 0.0012753009796142578 nb_pixel_total : 63414 time to create 1 rle with old method : 0.07307887077331543 length of segment : 461 time for calcul the mask position with numpy : 0.011931657791137695 nb_pixel_total : 539796 time to create 1 rle with new method : 0.06424522399902344 length of segment : 1487 time for calcul the mask position with numpy : 0.00014543533325195312 nb_pixel_total : 1491 time to create 1 rle with old method : 0.002029895782470703 length of segment : 76 time for calcul the mask position with numpy : 0.004774808883666992 nb_pixel_total : 227481 time to create 1 rle with new method : 0.010650157928466797 length of segment : 588 time for calcul the mask position with numpy : 0.00023746490478515625 nb_pixel_total : 6291 time to create 1 rle with old method : 0.007627010345458984 length of segment : 65 time for calcul the mask position with numpy : 0.002271890640258789 nb_pixel_total : 88230 time to create 1 rle with old method : 0.10104846954345703 length of segment : 759 time for calcul the mask position with numpy : 0.0016472339630126953 nb_pixel_total : 121455 time to create 1 rle with old method : 0.13593101501464844 length of segment : 309 time for calcul the mask position with numpy : 0.0015873908996582031 nb_pixel_total : 56576 time to create 1 rle with old method : 0.06447625160217285 length of segment : 330 time for calcul the mask position with numpy : 0.0005011558532714844 nb_pixel_total : 12894 time to create 1 rle with old method : 0.015059471130371094 length of segment : 127 time for calcul the mask position with numpy : 0.0003046989440917969 nb_pixel_total : 6099 time to create 1 rle with old method : 0.006830692291259766 length of segment : 112 time for calcul the mask position with numpy : 0.001844644546508789 nb_pixel_total : 60109 time to create 1 rle with old method : 0.06768250465393066 length of segment : 309 time for calcul the mask position with numpy : 0.0024385452270507812 nb_pixel_total : 93168 time to create 1 rle with old method : 0.10007381439208984 length of segment : 343 time for calcul the mask position with numpy : 0.00027298927307128906 nb_pixel_total : 4318 time to create 1 rle with old method : 0.004744291305541992 length of segment : 99 time for calcul the mask position with numpy : 0.0016443729400634766 nb_pixel_total : 73246 time to create 1 rle with old method : 0.08306479454040527 length of segment : 260 time for calcul the mask position with numpy : 0.00014400482177734375 nb_pixel_total : 1357 time to create 1 rle with old method : 0.0017025470733642578 length of segment : 30 time for calcul the mask position with numpy : 0.004012584686279297 nb_pixel_total : 151807 time to create 1 rle with new method : 0.007425546646118164 length of segment : 437 time for calcul the mask position with numpy : 0.0008325576782226562 nb_pixel_total : 26961 time to create 1 rle with old method : 0.030087709426879883 length of segment : 177 time for calcul the mask position with numpy : 0.002712726593017578 nb_pixel_total : 105402 time to create 1 rle with old method : 0.11132431030273438 length of segment : 355 time for calcul the mask position with numpy : 0.0008502006530761719 nb_pixel_total : 24536 time to create 1 rle with old method : 0.026374101638793945 length of segment : 224 time for calcul the mask position with numpy : 0.0010366439819335938 nb_pixel_total : 85451 time to create 1 rle with old method : 0.09515094757080078 length of segment : 316 time for calcul the mask position with numpy : 0.0005571842193603516 nb_pixel_total : 12561 time to create 1 rle with old method : 0.014513969421386719 length of segment : 125 time for calcul the mask position with numpy : 0.00023245811462402344 nb_pixel_total : 3766 time to create 1 rle with old method : 0.004345417022705078 length of segment : 65 time for calcul the mask position with numpy : 0.0009965896606445312 nb_pixel_total : 25635 time to create 1 rle with old method : 0.030027151107788086 length of segment : 218 time for calcul the mask position with numpy : 0.00029754638671875 nb_pixel_total : 9567 time to create 1 rle with old method : 0.01147317886352539 length of segment : 165 time for calcul the mask position with numpy : 0.0003807544708251953 nb_pixel_total : 12005 time to create 1 rle with old method : 0.013542652130126953 length of segment : 127 time for calcul the mask position with numpy : 0.0040128231048583984 nb_pixel_total : 138314 time to create 1 rle with old method : 0.1598193645477295 length of segment : 524 time for calcul the mask position with numpy : 0.00045013427734375 nb_pixel_total : 12815 time to create 1 rle with old method : 0.015093326568603516 length of segment : 151 time for calcul the mask position with numpy : 0.0015370845794677734 nb_pixel_total : 55730 time to create 1 rle with old method : 0.06273770332336426 length of segment : 518 time for calcul the mask position with numpy : 0.00027370452880859375 nb_pixel_total : 4520 time to create 1 rle with old method : 0.005074501037597656 length of segment : 114 time for calcul the mask position with numpy : 0.0024290084838867188 nb_pixel_total : 89675 time to create 1 rle with old method : 0.12402749061584473 length of segment : 449 time for calcul the mask position with numpy : 0.00032973289489746094 nb_pixel_total : 6760 time to create 1 rle with old method : 0.007771492004394531 length of segment : 106 time for calcul the mask position with numpy : 0.03165078163146973 nb_pixel_total : 841850 time to create 1 rle with new method : 0.35902953147888184 length of segment : 1781 time for calcul the mask position with numpy : 0.0050106048583984375 nb_pixel_total : 266213 time to create 1 rle with new method : 0.008337259292602539 length of segment : 823 time for calcul the mask position with numpy : 0.00022554397583007812 nb_pixel_total : 4232 time to create 1 rle with old method : 0.004894733428955078 length of segment : 77 time for calcul the mask position with numpy : 0.004964590072631836 nb_pixel_total : 290558 time to create 1 rle with new method : 0.009077072143554688 length of segment : 751 time for calcul the mask position with numpy : 0.004402637481689453 nb_pixel_total : 209865 time to create 1 rle with new method : 0.011604785919189453 length of segment : 1584 time for calcul the mask position with numpy : 0.00048065185546875 nb_pixel_total : 17417 time to create 1 rle with old method : 0.02046823501586914 length of segment : 149 time for calcul the mask position with numpy : 0.0024471282958984375 nb_pixel_total : 135190 time to create 1 rle with old method : 0.1556861400604248 length of segment : 555 time for calcul the mask position with numpy : 0.005486488342285156 nb_pixel_total : 255971 time to create 1 rle with new method : 0.008296489715576172 length of segment : 650 time for calcul the mask position with numpy : 0.0001800060272216797 nb_pixel_total : 1432 time to create 1 rle with old method : 0.0017707347869873047 length of segment : 61 time for calcul the mask position with numpy : 0.00211334228515625 nb_pixel_total : 134853 time to create 1 rle with old method : 0.1540210247039795 length of segment : 559 time for calcul the mask position with numpy : 0.000598907470703125 nb_pixel_total : 19785 time to create 1 rle with old method : 0.0329592227935791 length of segment : 205 time for calcul the mask position with numpy : 0.00040984153747558594 nb_pixel_total : 20398 time to create 1 rle with old method : 0.023185253143310547 length of segment : 227 time for calcul the mask position with numpy : 0.3311746120452881 nb_pixel_total : 3438322 time to create 1 rle with new method : 0.7051475048065186 length of segment : 4628 time for calcul the mask position with numpy : 0.0021021366119384766 nb_pixel_total : 38326 time to create 1 rle with old method : 0.061112403869628906 length of segment : 354 time for calcul the mask position with numpy : 6.651878356933594e-05 nb_pixel_total : 1030 time to create 1 rle with old method : 0.0012521743774414062 length of segment : 40 time for calcul the mask position with numpy : 0.000823974609375 nb_pixel_total : 31845 time to create 1 rle with old method : 0.03623509407043457 length of segment : 352 time for calcul the mask position with numpy : 0.0037169456481933594 nb_pixel_total : 225890 time to create 1 rle with new method : 0.008112668991088867 length of segment : 669 time for calcul the mask position with numpy : 0.0007152557373046875 nb_pixel_total : 30160 time to create 1 rle with old method : 0.035906314849853516 length of segment : 357 time for calcul the mask position with numpy : 0.0009667873382568359 nb_pixel_total : 76817 time to create 1 rle with old method : 0.08575677871704102 length of segment : 295 time for calcul the mask position with numpy : 0.0006098747253417969 nb_pixel_total : 7335 time to create 1 rle with old method : 0.008493423461914062 length of segment : 249 time for calcul the mask position with numpy : 0.00072479248046875 nb_pixel_total : 22381 time to create 1 rle with old method : 0.025785446166992188 length of segment : 151 time for calcul the mask position with numpy : 0.004141092300415039 nb_pixel_total : 157733 time to create 1 rle with new method : 0.005867719650268555 length of segment : 451 time for calcul the mask position with numpy : 0.002020120620727539 nb_pixel_total : 67022 time to create 1 rle with old method : 0.07348918914794922 length of segment : 347 time for calcul the mask position with numpy : 0.013608932495117188 nb_pixel_total : 410539 time to create 1 rle with new method : 0.043202877044677734 length of segment : 809 time for calcul the mask position with numpy : 0.0019202232360839844 nb_pixel_total : 69303 time to create 1 rle with old method : 0.0795431137084961 length of segment : 364 time for calcul the mask position with numpy : 0.005610466003417969 nb_pixel_total : 30749 time to create 1 rle with old method : 0.03879570960998535 length of segment : 304 time for calcul the mask position with numpy : 0.0007719993591308594 nb_pixel_total : 28301 time to create 1 rle with old method : 0.03151893615722656 length of segment : 135 time for calcul the mask position with numpy : 0.002737283706665039 nb_pixel_total : 130910 time to create 1 rle with old method : 0.1418290138244629 length of segment : 440 time for calcul the mask position with numpy : 0.024660110473632812 nb_pixel_total : 829042 time to create 1 rle with new method : 0.11075139045715332 length of segment : 1327 time for calcul the mask position with numpy : 0.0022783279418945312 nb_pixel_total : 69808 time to create 1 rle with old method : 0.07697343826293945 length of segment : 444 time for calcul the mask position with numpy : 0.002652883529663086 nb_pixel_total : 90966 time to create 1 rle with old method : 0.10088062286376953 length of segment : 355 time for calcul the mask position with numpy : 0.0008914470672607422 nb_pixel_total : 23713 time to create 1 rle with old method : 0.0266420841217041 length of segment : 273 time for calcul the mask position with numpy : 0.00017881393432617188 nb_pixel_total : 1147 time to create 1 rle with old method : 0.0014111995697021484 length of segment : 67 time for calcul the mask position with numpy : 0.000240325927734375 nb_pixel_total : 5764 time to create 1 rle with old method : 0.006615638732910156 length of segment : 138 time for calcul the mask position with numpy : 0.0003056526184082031 nb_pixel_total : 3927 time to create 1 rle with old method : 0.004681110382080078 length of segment : 122 time for calcul the mask position with numpy : 0.0015244483947753906 nb_pixel_total : 83222 time to create 1 rle with old method : 0.09306788444519043 length of segment : 248 time for calcul the mask position with numpy : 0.0007085800170898438 nb_pixel_total : 43329 time to create 1 rle with old method : 0.04967784881591797 length of segment : 232 time for calcul the mask position with numpy : 0.003233671188354492 nb_pixel_total : 245491 time to create 1 rle with new method : 0.007948160171508789 length of segment : 897 time for calcul the mask position with numpy : 0.0002715587615966797 nb_pixel_total : 7140 time to create 1 rle with old method : 0.008171558380126953 length of segment : 130 time for calcul the mask position with numpy : 0.002007722854614258 nb_pixel_total : 129375 time to create 1 rle with old method : 0.14473986625671387 length of segment : 417 time for calcul the mask position with numpy : 0.0011794567108154297 nb_pixel_total : 22580 time to create 1 rle with old method : 0.02684640884399414 length of segment : 245 time for calcul the mask position with numpy : 0.0038328170776367188 nb_pixel_total : 156590 time to create 1 rle with new method : 0.0053255558013916016 length of segment : 458 time for calcul the mask position with numpy : 0.0009479522705078125 nb_pixel_total : 29877 time to create 1 rle with old method : 0.03381967544555664 length of segment : 190 time for calcul the mask position with numpy : 0.0007042884826660156 nb_pixel_total : 22186 time to create 1 rle with old method : 0.02496051788330078 length of segment : 160 time for calcul the mask position with numpy : 0.003039836883544922 nb_pixel_total : 129318 time to create 1 rle with old method : 0.14447379112243652 length of segment : 418 time for calcul the mask position with numpy : 0.011347293853759766 nb_pixel_total : 401796 time to create 1 rle with new method : 0.032733917236328125 length of segment : 759 time for calcul the mask position with numpy : 0.0060231685638427734 nb_pixel_total : 169402 time to create 1 rle with new method : 0.010705709457397461 length of segment : 836 time for calcul the mask position with numpy : 0.03073430061340332 nb_pixel_total : 765652 time to create 1 rle with new method : 0.43407225608825684 length of segment : 2036 time for calcul the mask position with numpy : 0.004428863525390625 nb_pixel_total : 142139 time to create 1 rle with old method : 0.15694236755371094 length of segment : 866 time for calcul the mask position with numpy : 0.016718626022338867 nb_pixel_total : 774000 time to create 1 rle with new method : 1.0531635284423828 length of segment : 1327 time for calcul the mask position with numpy : 0.0006487369537353516 nb_pixel_total : 13564 time to create 1 rle with old method : 0.022505760192871094 length of segment : 225 time for calcul the mask position with numpy : 0.0009596347808837891 nb_pixel_total : 43725 time to create 1 rle with old method : 0.048211097717285156 length of segment : 233 time for calcul the mask position with numpy : 0.0019478797912597656 nb_pixel_total : 104025 time to create 1 rle with old method : 0.11293148994445801 length of segment : 320 time for calcul the mask position with numpy : 0.0018291473388671875 nb_pixel_total : 106511 time to create 1 rle with old method : 0.12458157539367676 length of segment : 449 time for calcul the mask position with numpy : 0.0007035732269287109 nb_pixel_total : 46153 time to create 1 rle with old method : 0.051517486572265625 length of segment : 249 time for calcul the mask position with numpy : 0.0043792724609375 nb_pixel_total : 313302 time to create 1 rle with new method : 0.010225296020507812 length of segment : 929 time for calcul the mask position with numpy : 0.004033327102661133 nb_pixel_total : 203365 time to create 1 rle with new method : 0.012346267700195312 length of segment : 890 time for calcul the mask position with numpy : 0.0007827281951904297 nb_pixel_total : 25348 time to create 1 rle with old method : 0.029879331588745117 length of segment : 136 time for calcul the mask position with numpy : 0.0013899803161621094 nb_pixel_total : 95753 time to create 1 rle with old method : 0.11012816429138184 length of segment : 381 time for calcul the mask position with numpy : 0.013432979583740234 nb_pixel_total : 435691 time to create 1 rle with new method : 0.019376277923583984 length of segment : 891 time for calcul the mask position with numpy : 0.004492044448852539 nb_pixel_total : 138159 time to create 1 rle with old method : 0.15253663063049316 length of segment : 480 time for calcul the mask position with numpy : 0.0006561279296875 nb_pixel_total : 18809 time to create 1 rle with old method : 0.0214235782623291 length of segment : 137 time for calcul the mask position with numpy : 0.002566814422607422 nb_pixel_total : 85344 time to create 1 rle with old method : 0.09279727935791016 length of segment : 470 time for calcul the mask position with numpy : 0.005963802337646484 nb_pixel_total : 168132 time to create 1 rle with new method : 0.008119344711303711 length of segment : 722 time for calcul the mask position with numpy : 0.003224611282348633 nb_pixel_total : 116259 time to create 1 rle with old method : 0.13116765022277832 length of segment : 398 time for calcul the mask position with numpy : 0.0003731250762939453 nb_pixel_total : 4700 time to create 1 rle with old method : 0.005433797836303711 length of segment : 154 time for calcul the mask position with numpy : 0.0023221969604492188 nb_pixel_total : 71976 time to create 1 rle with old method : 0.08115243911743164 length of segment : 282 time for calcul the mask position with numpy : 0.0002617835998535156 nb_pixel_total : 3553 time to create 1 rle with old method : 0.004608869552612305 length of segment : 63 time for calcul the mask position with numpy : 0.00014448165893554688 nb_pixel_total : 1805 time to create 1 rle with old method : 0.0022840499877929688 length of segment : 74 time for calcul the mask position with numpy : 0.0031592845916748047 nb_pixel_total : 91414 time to create 1 rle with old method : 0.10182690620422363 length of segment : 725 time for calcul the mask position with numpy : 0.0012938976287841797 nb_pixel_total : 47037 time to create 1 rle with old method : 0.0750434398651123 length of segment : 225 time for calcul the mask position with numpy : 0.0020062923431396484 nb_pixel_total : 52954 time to create 1 rle with old method : 0.0591883659362793 length of segment : 556 time for calcul the mask position with numpy : 0.008219003677368164 nb_pixel_total : 305446 time to create 1 rle with new method : 0.013879537582397461 length of segment : 847 time for calcul the mask position with numpy : 0.0041942596435546875 nb_pixel_total : 209774 time to create 1 rle with new method : 0.010155200958251953 length of segment : 403 time for calcul the mask position with numpy : 0.0037603378295898438 nb_pixel_total : 181886 time to create 1 rle with new method : 0.009922266006469727 length of segment : 330 time for calcul the mask position with numpy : 0.011102914810180664 nb_pixel_total : 284609 time to create 1 rle with new method : 0.33458757400512695 length of segment : 976 time for calcul the mask position with numpy : 0.0008203983306884766 nb_pixel_total : 40516 time to create 1 rle with old method : 0.046874046325683594 length of segment : 227 time for calcul the mask position with numpy : 0.007582902908325195 nb_pixel_total : 282845 time to create 1 rle with new method : 0.017267227172851562 length of segment : 850 time for calcul the mask position with numpy : 0.0015039443969726562 nb_pixel_total : 83525 time to create 1 rle with old method : 0.09302544593811035 length of segment : 484 time for calcul the mask position with numpy : 0.00024175643920898438 nb_pixel_total : 2491 time to create 1 rle with old method : 0.0031757354736328125 length of segment : 61 time for calcul the mask position with numpy : 0.003117799758911133 nb_pixel_total : 98713 time to create 1 rle with old method : 0.1403055191040039 length of segment : 442 time for calcul the mask position with numpy : 0.002877473831176758 nb_pixel_total : 95762 time to create 1 rle with old method : 0.10650324821472168 length of segment : 390 time for calcul the mask position with numpy : 0.001958608627319336 nb_pixel_total : 97571 time to create 1 rle with old method : 0.1106100082397461 length of segment : 334 time spent for convertir_results : 27.439340591430664 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 180 chid ids of type : 3663 Number RLEs to save : 76285 save missing photos in datou_result : time spend for datou_step_exec : 73.79461336135864 time spend to save output : 4.320967197418213 total time spend for step 1 : 78.11558055877686 step2:crop_condition Tue Feb 25 19:05:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 180 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 28 About to insert : list_path_to_insert length 28 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 ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 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 ! map_result returned by crop_photo_return_map_crop : length : 45 About to insert : list_path_to_insert length 45 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 ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : 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 [1339536497, 1339535611, 1339535609, 1339535468, 1339535398, 1339535383, 1339535158, 1339534686, 1339534683, 1339534679] Looping around the photos to save general results len do output : 108 /-3686643989Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644013Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644011Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644023Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644009Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644016Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644022Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644018Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644032Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644035Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644049Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644063Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644061Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644079Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644083Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644115Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644110Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644112Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644108Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644106Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644116Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644133Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644129Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644126Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644130Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644135Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644145Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644144Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686643998Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644019Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644010Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644059Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644071Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644075Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644070Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644092Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644141Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644148Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644157Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686643990Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686643994Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644005Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644029Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644095Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644091Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644121Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644139Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644140Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644166Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644155Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686643999Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686643991Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644007Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686643995Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686643997Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644004Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644000Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686643996Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644001Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644031Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644021Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644020Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644017Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644042Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644040Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644047Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644046Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644043Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644053Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644052Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644054Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644069Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644064Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644067Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644076Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644065Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644086Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644096Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644081Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644094Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644089Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644103Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644100Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644124Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644120Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644137Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644138Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644156Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644165Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644149Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644163Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644158Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644167Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644162Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644154Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686643993Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644015Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644041Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644051Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644084Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644090Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644136Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644030Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644044Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644073Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644028Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644027Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686644078Didn'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, '2613629') ('3459', '20814195', '1339536497', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535611', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535609', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535468', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535398', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535383', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535158', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534686', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534683', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534679', None, None, None, None, None, '2613629') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 334 time used for this insertion : 0.03960418701171875 save_final save missing photos in datou_result : time spend for datou_step_exec : 57.46104598045349 time spend to save output : 0.041878461837768555 total time spend for step 2 : 57.50292444229126 step3:thcl Tue Feb 25 19:06:50 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.0073702335357666016 time to convert the images to numpy array : 0.7407331466674805 time to import caffe and check if the image exist : 0.012552261352539062 time to convert the images to numpy array : 0.7548966407775879 time to import caffe and check if the image exist : 0.01346731185913086 time to convert the images to numpy array : 0.7989473342895508 time to import caffe and check if the image exist : 0.018499374389648438 time to convert the images to numpy array : 1.0232150554656982 time to import caffe and check if the image exist : 0.010683536529541016 time to convert the images to numpy array : 1.0382130146026611 time to import caffe and check if the image exist : 0.012277364730834961 time to convert the images to numpy array : 1.036785364151001 time to import caffe and check if the image exist : 0.009800910949707031 time to convert the images to numpy array : 1.0403251647949219 time to import caffe and check if the image exist : 0.011652469635009766 time to convert the images to numpy array : 1.0517807006835938 time to import caffe and check if the image exist : 0.014393091201782227 time to convert the images to numpy array : 1.0747790336608887 time to import caffe and check if the image exist : 0.009360313415527344 time to convert the images to numpy array : 1.0986154079437256 total time to convert the images to numpy array : 1.2958922386169434 list photo_ids error: [] list photo_ids correct : [-3686644084, -3686644090, -3686644136, -3686644030, -3686644044, -3686644073, -3686644028, -3686644027, -3686644078, -3686643989, -3686644013, -3686644011, -3686644023, -3686644009, -3686644016, -3686644022, -3686644018, -3686644032, -3686644035, -3686644049, -3686644096, -3686644081, -3686644094, -3686644089, -3686644103, -3686644100, -3686644124, -3686644120, -3686644137, -3686644138, -3686644156, -3686644004, -3686644000, -3686643996, -3686644001, -3686644031, -3686644021, -3686644020, -3686644017, -3686644042, -3686644040, -3686644047, -3686644046, -3686644043, -3686644053, -3686644052, -3686644054, -3686644069, -3686644064, -3686644067, -3686644076, -3686644065, -3686644086, -3686644091, -3686644121, -3686644139, -3686644140, -3686644166, -3686644155, -3686643999, -3686643991, -3686644007, -3686643995, -3686643997, -3686644165, -3686644149, -3686644163, -3686644158, -3686644167, -3686644162, -3686644154, -3686643993, -3686644015, -3686644041, -3686644051, -3686644075, -3686644070, -3686644092, -3686644141, -3686644148, -3686644157, -3686643990, -3686643994, -3686644005, -3686644029, -3686644095, -3686644129, -3686644126, -3686644130, -3686644135, -3686644145, -3686644144, -3686643998, -3686644019, -3686644010, -3686644059, -3686644071, -3686644063, -3686644061, -3686644079, -3686644083, -3686644115, -3686644110, -3686644112, -3686644108, -3686644106, -3686644116, -3686644133] number of photos to traite : 108 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 : 3630 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 : 3411 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.5775978565216064 time used to do the prediction : 0.23351144790649414 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 : 3409 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 : 3409 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.456805944442749 time used to do the prediction : 0.1887054443359375 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 1.0967254638671875e-05 save missing photos in datou_result : time spend for datou_step_exec : 11.73765754699707 time spend to save output : 0.0006923675537109375 total time spend for step 3 : 11.738349914550781 step4:merge_mask_thcl_custom Tue Feb 25 19:07: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 ! 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 180 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 [1339536497, 1339535611, 1339535609, 1339535468, 1339535398, 1339535383, 1339535158, 1339534686, 1339534683, 1339534679] Looping around the photos to save general results len do output : 10 /1339536497Didn't retrieve data .Didn't retrieve data . /1339535611Didn't retrieve data .Didn't retrieve data . /1339535609Didn't retrieve data .Didn't retrieve data . /1339535468Didn't retrieve data .Didn't retrieve data . /1339535398Didn't retrieve data .Didn't retrieve data . /1339535383Didn't retrieve data .Didn't retrieve data . /1339535158Didn't retrieve data .Didn't retrieve data . /1339534686Didn't retrieve data .Didn't retrieve data . /1339534683Didn't retrieve data .Didn't retrieve data . /1339534679Didn'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, '2613629') ('3459', '20814195', '1339536497', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535611', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535609', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535468', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535398', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535383', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535158', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534686', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534683', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534679', None, None, None, None, None, '2613629') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013805150985717773 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08578300476074219 time spend to save output : 0.01427912712097168 total time spend for step 4 : 0.10006213188171387 step5:rle_unique_nms_with_priority Tue Feb 25 19:07:02 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 19 nb_hashtags : 6 time to prepare the origin masks : 9.847092866897583 time for calcul the mask position with numpy : 0.44849538803100586 nb_pixel_total : 6262310 time to create 1 rle with new method : 0.2780768871307373 time for calcul the mask position with numpy : 0.03559136390686035 nb_pixel_total : 31846 time to create 1 rle with old method : 0.03481411933898926 time for calcul the mask position with numpy : 0.034368276596069336 nb_pixel_total : 79413 time to create 1 rle with old method : 0.09030580520629883 time for calcul the mask position with numpy : 0.034339189529418945 nb_pixel_total : 87716 time to create 1 rle with old method : 0.09500813484191895 time for calcul the mask position with numpy : 0.0327146053314209 nb_pixel_total : 3768 time to create 1 rle with old method : 0.00449681282043457 time for calcul the mask position with numpy : 0.029173612594604492 nb_pixel_total : 4027 time to create 1 rle with old method : 0.004587888717651367 time for calcul the mask position with numpy : 0.03126263618469238 nb_pixel_total : 51931 time to create 1 rle with old method : 0.060636281967163086 time for calcul the mask position with numpy : 0.028355836868286133 nb_pixel_total : 1932 time to create 1 rle with old method : 0.0021560192108154297 time for calcul the mask position with numpy : 0.021872520446777344 nb_pixel_total : 5180 time to create 1 rle with old method : 0.005968809127807617 time for calcul the mask position with numpy : 0.021579504013061523 nb_pixel_total : 1812 time to create 1 rle with old method : 0.0019910335540771484 time for calcul the mask position with numpy : 0.02117133140563965 nb_pixel_total : 1298 time to create 1 rle with old method : 0.0016558170318603516 time for calcul the mask position with numpy : 0.020812511444091797 nb_pixel_total : 3093 time to create 1 rle with old method : 0.00380706787109375 time for calcul the mask position with numpy : 0.0204010009765625 nb_pixel_total : 1461 time to create 1 rle with old method : 0.002077817916870117 time for calcul the mask position with numpy : 0.02133941650390625 nb_pixel_total : 78630 time to create 1 rle with old method : 0.08878827095031738 time for calcul the mask position with numpy : 0.02214837074279785 nb_pixel_total : 143737 time to create 1 rle with old method : 0.15485596656799316 time for calcul the mask position with numpy : 0.025053739547729492 nb_pixel_total : 17875 time to create 1 rle with old method : 0.01934814453125 time for calcul the mask position with numpy : 0.03323769569396973 nb_pixel_total : 67804 time to create 1 rle with old method : 0.0763406753540039 time for calcul the mask position with numpy : 0.03383469581604004 nb_pixel_total : 119443 time to create 1 rle with old method : 0.13247084617614746 time for calcul the mask position with numpy : 0.03286600112915039 nb_pixel_total : 34927 time to create 1 rle with old method : 0.0391080379486084 time for calcul the mask position with numpy : 0.033876895904541016 nb_pixel_total : 52037 time to create 1 rle with old method : 0.05976057052612305 create new chi : 2.1683506965637207 time to delete rle : 0.019829273223876953 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 12123 TO DO : save crop sub photo not yet done ! save time : 0.7283711433410645 nb_obj : 22 nb_hashtags : 7 time to prepare the origin masks : 9.509963035583496 time for calcul the mask position with numpy : 0.21715021133422852 nb_pixel_total : 5529618 time to create 1 rle with new method : 0.4153425693511963 time for calcul the mask position with numpy : 0.042809247970581055 nb_pixel_total : 319 time to create 1 rle with old method : 0.0006775856018066406 time for calcul the mask position with numpy : 0.04106783866882324 nb_pixel_total : 22909 time to create 1 rle with old method : 0.035073041915893555 time for calcul the mask position with numpy : 0.053189992904663086 nb_pixel_total : 328961 time to create 1 rle with new method : 0.3897116184234619 time for calcul the mask position with numpy : 0.03457236289978027 nb_pixel_total : 20030 time to create 1 rle with old method : 0.03266501426696777 time for calcul the mask position with numpy : 0.03838825225830078 nb_pixel_total : 4642 time to create 1 rle with old method : 0.005498170852661133 time for calcul the mask position with numpy : 0.03543877601623535 nb_pixel_total : 359064 time to create 1 rle with new method : 0.3332812786102295 time for calcul the mask position with numpy : 0.03475046157836914 nb_pixel_total : 132084 time to create 1 rle with old method : 0.14684748649597168 time for calcul the mask position with numpy : 0.036955833435058594 nb_pixel_total : 16780 time to create 1 rle with old method : 0.01882767677307129 time for calcul the mask position with numpy : 0.036836862564086914 nb_pixel_total : 420 time to create 1 rle with old method : 0.0008311271667480469 time for calcul the mask position with numpy : 0.03375101089477539 nb_pixel_total : 5385 time to create 1 rle with old method : 0.005972862243652344 time for calcul the mask position with numpy : 0.0343928337097168 nb_pixel_total : 23375 time to create 1 rle with old method : 0.026929378509521484 time for calcul the mask position with numpy : 0.03356480598449707 nb_pixel_total : 67958 time to create 1 rle with old method : 0.07664895057678223 time for calcul the mask position with numpy : 0.02074718475341797 nb_pixel_total : 83841 time to create 1 rle with old method : 0.09006142616271973 time for calcul the mask position with numpy : 0.020064592361450195 nb_pixel_total : 377 time to create 1 rle with old method : 0.0005245208740234375 time for calcul the mask position with numpy : 0.02126312255859375 nb_pixel_total : 14134 time to create 1 rle with old method : 0.01600170135498047 time for calcul the mask position with numpy : 0.025085926055908203 nb_pixel_total : 2462 time to create 1 rle with old method : 0.0048639774322509766 time for calcul the mask position with numpy : 0.023357629776000977 nb_pixel_total : 12783 time to create 1 rle with old method : 0.01403045654296875 time for calcul the mask position with numpy : 0.026409387588500977 nb_pixel_total : 13478 time to create 1 rle with old method : 0.016838788986206055 time for calcul the mask position with numpy : 0.029542207717895508 nb_pixel_total : 229950 time to create 1 rle with new method : 0.43102240562438965 time for calcul the mask position with numpy : 0.021712303161621094 nb_pixel_total : 12528 time to create 1 rle with old method : 0.018273353576660156 time for calcul the mask position with numpy : 0.024547576904296875 nb_pixel_total : 56631 time to create 1 rle with old method : 0.06395459175109863 time for calcul the mask position with numpy : 0.023398160934448242 nb_pixel_total : 112511 time to create 1 rle with old method : 0.1704120635986328 create new chi : 3.3296306133270264 time to delete rle : 0.0018758773803710938 batch 1 Loaded 23 chid ids of type : 3726 Number RLEs to save : 14312 TO DO : save crop sub photo not yet done ! save time : 0.8249151706695557 nb_obj : 15 nb_hashtags : 5 time to prepare the origin masks : 7.855726480484009 time for calcul the mask position with numpy : 0.22550654411315918 nb_pixel_total : 6213887 time to create 1 rle with new method : 0.290081262588501 time for calcul the mask position with numpy : 0.021119356155395508 nb_pixel_total : 53720 time to create 1 rle with old method : 0.05941462516784668 time for calcul the mask position with numpy : 0.022971153259277344 nb_pixel_total : 91424 time to create 1 rle with old method : 0.10637831687927246 time for calcul the mask position with numpy : 0.024172544479370117 nb_pixel_total : 13008 time to create 1 rle with old method : 0.019885540008544922 time for calcul the mask position with numpy : 0.030400991439819336 nb_pixel_total : 83667 time to create 1 rle with old method : 0.11851739883422852 time for calcul the mask position with numpy : 0.02885746955871582 nb_pixel_total : 20139 time to create 1 rle with old method : 0.02688121795654297 time for calcul the mask position with numpy : 0.025889873504638672 nb_pixel_total : 27878 time to create 1 rle with old method : 0.045333147048950195 time for calcul the mask position with numpy : 0.023308992385864258 nb_pixel_total : 24294 time to create 1 rle with old method : 0.0267794132232666 time for calcul the mask position with numpy : 0.022619962692260742 nb_pixel_total : 14854 time to create 1 rle with old method : 0.017401695251464844 time for calcul the mask position with numpy : 0.02352738380432129 nb_pixel_total : 95300 time to create 1 rle with old method : 0.10394001007080078 time for calcul the mask position with numpy : 0.021062612533569336 nb_pixel_total : 20142 time to create 1 rle with old method : 0.022429227828979492 time for calcul the mask position with numpy : 0.021823406219482422 nb_pixel_total : 46606 time to create 1 rle with old method : 0.0509648323059082 time for calcul the mask position with numpy : 0.021545886993408203 nb_pixel_total : 15076 time to create 1 rle with old method : 0.016903400421142578 time for calcul the mask position with numpy : 0.023366928100585938 nb_pixel_total : 129759 time to create 1 rle with old method : 0.1566164493560791 time for calcul the mask position with numpy : 0.028784990310668945 nb_pixel_total : 47275 time to create 1 rle with old method : 0.07518625259399414 time for calcul the mask position with numpy : 0.02375507354736328 nb_pixel_total : 153211 time to create 1 rle with new method : 0.33361053466796875 create new chi : 2.116802453994751 time to delete rle : 0.0011622905731201172 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 11743 TO DO : save crop sub photo not yet done ! save time : 0.6594541072845459 nb_obj : 10 nb_hashtags : 4 time to prepare the origin masks : 7.700066804885864 time for calcul the mask position with numpy : 0.3657217025756836 nb_pixel_total : 4199893 time to create 1 rle with new method : 0.411419153213501 time for calcul the mask position with numpy : 0.03352761268615723 nb_pixel_total : 13999 time to create 1 rle with old method : 0.015049219131469727 time for calcul the mask position with numpy : 0.03517961502075195 nb_pixel_total : 152710 time to create 1 rle with new method : 0.5538921356201172 time for calcul the mask position with numpy : 0.03598952293395996 nb_pixel_total : 199353 time to create 1 rle with new method : 0.44843029975891113 time for calcul the mask position with numpy : 0.033445119857788086 nb_pixel_total : 1480 time to create 1 rle with old method : 0.001678466796875 time for calcul the mask position with numpy : 0.03933596611022949 nb_pixel_total : 513361 time to create 1 rle with new method : 0.3822460174560547 time for calcul the mask position with numpy : 0.04035472869873047 nb_pixel_total : 168874 time to create 1 rle with new method : 0.5443971157073975 time for calcul the mask position with numpy : 0.03505086898803711 nb_pixel_total : 61928 time to create 1 rle with old method : 0.06677627563476562 time for calcul the mask position with numpy : 0.0356752872467041 nb_pixel_total : 1578773 time to create 1 rle with new method : 0.36585187911987305 time for calcul the mask position with numpy : 0.020534515380859375 nb_pixel_total : 71967 time to create 1 rle with old method : 0.07647132873535156 time for calcul the mask position with numpy : 0.021314382553100586 nb_pixel_total : 87902 time to create 1 rle with old method : 0.0948631763458252 create new chi : 3.8093721866607666 time to delete rle : 0.0020093917846679688 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 16377 TO DO : save crop sub photo not yet done ! save time : 0.9137799739837646 nb_obj : 17 nb_hashtags : 8 time to prepare the origin masks : 8.571570873260498 time for calcul the mask position with numpy : 0.3996090888977051 nb_pixel_total : 6383099 time to create 1 rle with new method : 0.3342249393463135 time for calcul the mask position with numpy : 0.03331303596496582 nb_pixel_total : 3756 time to create 1 rle with old method : 0.004031181335449219 time for calcul the mask position with numpy : 0.03612399101257324 nb_pixel_total : 26897 time to create 1 rle with old method : 0.028795957565307617 time for calcul the mask position with numpy : 0.03299427032470703 nb_pixel_total : 60073 time to create 1 rle with old method : 0.06740689277648926 time for calcul the mask position with numpy : 0.03259730339050293 nb_pixel_total : 6075 time to create 1 rle with old method : 0.0067522525787353516 time for calcul the mask position with numpy : 0.03267478942871094 nb_pixel_total : 25566 time to create 1 rle with old method : 0.02908468246459961 time for calcul the mask position with numpy : 0.03433728218078613 nb_pixel_total : 9515 time to create 1 rle with old method : 0.011087656021118164 time for calcul the mask position with numpy : 0.03415560722351074 nb_pixel_total : 92984 time to create 1 rle with old method : 0.10085225105285645 time for calcul the mask position with numpy : 0.0353388786315918 nb_pixel_total : 24458 time to create 1 rle with old method : 0.02722907066345215 time for calcul the mask position with numpy : 0.034662723541259766 nb_pixel_total : 21088 time to create 1 rle with old method : 0.024053096771240234 time for calcul the mask position with numpy : 0.033391475677490234 nb_pixel_total : 1350 time to create 1 rle with old method : 0.0014338493347167969 time for calcul the mask position with numpy : 0.03290677070617676 nb_pixel_total : 73011 time to create 1 rle with old method : 0.07936906814575195 time for calcul the mask position with numpy : 0.03267621994018555 nb_pixel_total : 4312 time to create 1 rle with old method : 0.004910469055175781 time for calcul the mask position with numpy : 0.033650875091552734 nb_pixel_total : 85157 time to create 1 rle with old method : 0.09249544143676758 time for calcul the mask position with numpy : 0.03194165229797363 nb_pixel_total : 11982 time to create 1 rle with old method : 0.01212453842163086 time for calcul the mask position with numpy : 0.03177952766418457 nb_pixel_total : 12855 time to create 1 rle with old method : 0.013360738754272461 time for calcul the mask position with numpy : 0.031187772750854492 nb_pixel_total : 56521 time to create 1 rle with old method : 0.06384944915771484 time for calcul the mask position with numpy : 0.03710365295410156 nb_pixel_total : 151541 time to create 1 rle with new method : 0.3829214572906494 create new chi : 2.310504674911499 time to delete rle : 0.0013992786407470703 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 9518 TO DO : save crop sub photo not yet done ! save time : 0.5572509765625 nb_obj : 18 nb_hashtags : 7 time to prepare the origin masks : 10.199511051177979 time for calcul the mask position with numpy : 0.3636150360107422 nb_pixel_total : 4958349 time to create 1 rle with new method : 0.3156430721282959 time for calcul the mask position with numpy : 0.0369260311126709 nb_pixel_total : 31988 time to create 1 rle with old method : 0.05224275588989258 time for calcul the mask position with numpy : 0.03862810134887695 nb_pixel_total : 226210 time to create 1 rle with new method : 0.3625016212463379 time for calcul the mask position with numpy : 0.0341181755065918 nb_pixel_total : 6736 time to create 1 rle with old method : 0.007504463195800781 time for calcul the mask position with numpy : 0.03356337547302246 nb_pixel_total : 20356 time to create 1 rle with old method : 0.022792577743530273 time for calcul the mask position with numpy : 0.031783103942871094 nb_pixel_total : 2533 time to create 1 rle with old method : 0.003087282180786133 time for calcul the mask position with numpy : 0.0316011905670166 nb_pixel_total : 17364 time to create 1 rle with old method : 0.019608497619628906 time for calcul the mask position with numpy : 0.03239083290100098 nb_pixel_total : 1426 time to create 1 rle with old method : 0.001613616943359375 time for calcul the mask position with numpy : 0.03331637382507324 nb_pixel_total : 255324 time to create 1 rle with new method : 0.36750006675720215 time for calcul the mask position with numpy : 0.022427082061767578 nb_pixel_total : 185773 time to create 1 rle with new method : 0.3650813102722168 time for calcul the mask position with numpy : 0.02189016342163086 nb_pixel_total : 2561 time to create 1 rle with old method : 0.003374338150024414 time for calcul the mask position with numpy : 0.0216214656829834 nb_pixel_total : 4211 time to create 1 rle with old method : 0.0048732757568359375 time for calcul the mask position with numpy : 0.03370952606201172 nb_pixel_total : 838588 time to create 1 rle with new method : 0.5085487365722656 time for calcul the mask position with numpy : 0.02816486358642578 nb_pixel_total : 4494 time to create 1 rle with old method : 0.005234479904174805 time for calcul the mask position with numpy : 0.0218658447265625 nb_pixel_total : 134871 time to create 1 rle with old method : 0.14652609825134277 time for calcul the mask position with numpy : 0.021045684814453125 nb_pixel_total : 251 time to create 1 rle with old method : 0.00039768218994140625 time for calcul the mask position with numpy : 0.020639657974243164 nb_pixel_total : 12737 time to create 1 rle with old method : 0.014149188995361328 time for calcul the mask position with numpy : 0.02149653434753418 nb_pixel_total : 208290 time to create 1 rle with new method : 0.3505403995513916 time for calcul the mask position with numpy : 0.0212247371673584 nb_pixel_total : 138178 time to create 1 rle with old method : 0.14542055130004883 create new chi : 3.815276861190796 time to delete rle : 0.0015463829040527344 batch 1 Loaded 19 chid ids of type : 3726 Number RLEs to save : 17613 TO DO : save crop sub photo not yet done ! save time : 0.9929075241088867 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 3.5338516235351562 time for calcul the mask position with numpy : 0.3493523597717285 nb_pixel_total : 3251257 time to create 1 rle with new method : 0.5040335655212402 time for calcul the mask position with numpy : 0.02127361297607422 nb_pixel_total : 31754 time to create 1 rle with old method : 0.035594940185546875 time for calcul the mask position with numpy : 0.02216649055480957 nb_pixel_total : 225664 time to create 1 rle with new method : 0.5046548843383789 time for calcul the mask position with numpy : 0.023131370544433594 nb_pixel_total : 1017 time to create 1 rle with old method : 0.001827239990234375 time for calcul the mask position with numpy : 0.024398088455200195 nb_pixel_total : 38218 time to create 1 rle with old method : 0.06005096435546875 time for calcul the mask position with numpy : 0.021697998046875 nb_pixel_total : 73898 time to create 1 rle with old method : 0.08099007606506348 time for calcul the mask position with numpy : 0.1598668098449707 nb_pixel_total : 3428432 time to create 1 rle with new method : 0.9670701026916504 create new chi : 2.874131679534912 time to delete rle : 0.002524852752685547 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 14628 TO DO : save crop sub photo not yet done ! save time : 0.8506717681884766 nb_obj : 20 nb_hashtags : 4 time to prepare the origin masks : 9.933653116226196 time for calcul the mask position with numpy : 0.25476551055908203 nb_pixel_total : 5021532 time to create 1 rle with new method : 0.6215872764587402 time for calcul the mask position with numpy : 0.03818154335021973 nb_pixel_total : 362483 time to create 1 rle with new method : 0.4666321277618408 time for calcul the mask position with numpy : 0.03377342224121094 nb_pixel_total : 23643 time to create 1 rle with old method : 0.025749683380126953 time for calcul the mask position with numpy : 0.03471040725708008 nb_pixel_total : 7104 time to create 1 rle with old method : 0.007786273956298828 time for calcul the mask position with numpy : 0.03380775451660156 nb_pixel_total : 81344 time to create 1 rle with old method : 0.09001016616821289 time for calcul the mask position with numpy : 0.03379511833190918 nb_pixel_total : 43206 time to create 1 rle with old method : 0.04591059684753418 time for calcul the mask position with numpy : 0.0314640998840332 nb_pixel_total : 3922 time to create 1 rle with old method : 0.003992557525634766 time for calcul the mask position with numpy : 0.03209185600280762 nb_pixel_total : 5758 time to create 1 rle with old method : 0.0060558319091796875 time for calcul the mask position with numpy : 0.03360104560852051 nb_pixel_total : 1140 time to create 1 rle with old method : 0.00135040283203125 time for calcul the mask position with numpy : 0.03373837471008301 nb_pixel_total : 69394 time to create 1 rle with old method : 0.07452988624572754 time for calcul the mask position with numpy : 0.04230475425720215 nb_pixel_total : 827628 time to create 1 rle with new method : 0.4380667209625244 time for calcul the mask position with numpy : 0.037868499755859375 nb_pixel_total : 90545 time to create 1 rle with old method : 0.10041570663452148 time for calcul the mask position with numpy : 0.03506350517272949 nb_pixel_total : 3320 time to create 1 rle with old method : 0.0041980743408203125 time for calcul the mask position with numpy : 0.03576016426086426 nb_pixel_total : 28149 time to create 1 rle with old method : 0.03235173225402832 time for calcul the mask position with numpy : 0.03581070899963379 nb_pixel_total : 129166 time to create 1 rle with old method : 0.14402151107788086 time for calcul the mask position with numpy : 0.03311467170715332 nb_pixel_total : 69216 time to create 1 rle with old method : 0.07685351371765137 time for calcul the mask position with numpy : 0.02224588394165039 nb_pixel_total : 29250 time to create 1 rle with old method : 0.03269243240356445 time for calcul the mask position with numpy : 0.022589921951293945 nb_pixel_total : 157131 time to create 1 rle with new method : 0.4149186611175537 time for calcul the mask position with numpy : 0.03917074203491211 nb_pixel_total : 66809 time to create 1 rle with old method : 0.0781395435333252 time for calcul the mask position with numpy : 0.03226780891418457 nb_pixel_total : 22236 time to create 1 rle with old method : 0.024254798889160156 time for calcul the mask position with numpy : 0.033019304275512695 nb_pixel_total : 7264 time to create 1 rle with old method : 0.007879495620727539 create new chi : 3.7418479919433594 time to delete rle : 0.0022208690643310547 batch 1 Loaded 21 chid ids of type : 3726 Number RLEs to save : 15205 TO DO : save crop sub photo not yet done ! save time : 0.8484301567077637 nb_obj : 18 nb_hashtags : 5 time to prepare the origin masks : 14.048828840255737 time for calcul the mask position with numpy : 0.3647654056549072 nb_pixel_total : 4385920 time to create 1 rle with new method : 0.6713476181030273 time for calcul the mask position with numpy : 0.022870302200317383 nb_pixel_total : 376360 time to create 1 rle with new method : 0.5439443588256836 time for calcul the mask position with numpy : 0.020140886306762695 nb_pixel_total : 280 time to create 1 rle with old method : 0.0007710456848144531 time for calcul the mask position with numpy : 0.02149343490600586 nb_pixel_total : 25179 time to create 1 rle with old method : 0.0277864933013916 time for calcul the mask position with numpy : 0.02125072479248047 nb_pixel_total : 100612 time to create 1 rle with old method : 0.1087651252746582 time for calcul the mask position with numpy : 0.021333932876586914 nb_pixel_total : 13544 time to create 1 rle with old method : 0.015366315841674805 time for calcul the mask position with numpy : 0.035587310791015625 nb_pixel_total : 478558 time to create 1 rle with new method : 0.5803086757659912 time for calcul the mask position with numpy : 0.021504878997802734 nb_pixel_total : 103677 time to create 1 rle with old method : 0.12016105651855469 time for calcul the mask position with numpy : 0.030549287796020508 nb_pixel_total : 656985 time to create 1 rle with new method : 0.508753776550293 time for calcul the mask position with numpy : 0.024129867553710938 nb_pixel_total : 169201 time to create 1 rle with new method : 0.5395636558532715 time for calcul the mask position with numpy : 0.020504236221313477 nb_pixel_total : 2665 time to create 1 rle with old method : 0.003138303756713867 time for calcul the mask position with numpy : 0.02291584014892578 nb_pixel_total : 22050 time to create 1 rle with old method : 0.024278640747070312 time for calcul the mask position with numpy : 0.03253459930419922 nb_pixel_total : 29765 time to create 1 rle with old method : 0.03280282020568848 time for calcul the mask position with numpy : 0.03498697280883789 nb_pixel_total : 129064 time to create 1 rle with old method : 0.13953804969787598 time for calcul the mask position with numpy : 0.0343475341796875 nb_pixel_total : 121276 time to create 1 rle with old method : 0.13402915000915527 time for calcul the mask position with numpy : 0.03455519676208496 nb_pixel_total : 156200 time to create 1 rle with new method : 0.46973276138305664 time for calcul the mask position with numpy : 0.03557562828063965 nb_pixel_total : 32605 time to create 1 rle with old method : 0.03672385215759277 time for calcul the mask position with numpy : 0.03261756896972656 nb_pixel_total : 43678 time to create 1 rle with old method : 0.04932665824890137 time for calcul the mask position with numpy : 0.03310251235961914 nb_pixel_total : 202621 time to create 1 rle with new method : 0.46369385719299316 create new chi : 5.5094451904296875 time to delete rle : 0.0018050670623779297 batch 1 Loaded 19 chid ids of type : 3726 Number RLEs to save : 19867 TO DO : save crop sub photo not yet done ! save time : 1.2326459884643555 nb_obj : 23 nb_hashtags : 7 time to prepare the origin masks : 17.815667152404785 time for calcul the mask position with numpy : 0.3808765411376953 nb_pixel_total : 5043298 time to create 1 rle with new method : 0.5620772838592529 time for calcul the mask position with numpy : 0.02599811553955078 nb_pixel_total : 43060 time to create 1 rle with old method : 0.04761767387390137 time for calcul the mask position with numpy : 0.02276897430419922 nb_pixel_total : 269979 time to create 1 rle with new method : 0.5039551258087158 time for calcul the mask position with numpy : 0.020276308059692383 nb_pixel_total : 2482 time to create 1 rle with old method : 0.0027713775634765625 time for calcul the mask position with numpy : 0.021048784255981445 nb_pixel_total : 91398 time to create 1 rle with old method : 0.10228204727172852 time for calcul the mask position with numpy : 0.022789478302001953 nb_pixel_total : 7555 time to create 1 rle with old method : 0.00916433334350586 time for calcul the mask position with numpy : 0.023540973663330078 nb_pixel_total : 168138 time to create 1 rle with new method : 0.53269362449646 time for calcul the mask position with numpy : 0.0213015079498291 nb_pixel_total : 276 time to create 1 rle with old method : 0.0010144710540771484 time for calcul the mask position with numpy : 0.021233797073364258 nb_pixel_total : 2623 time to create 1 rle with old method : 0.003187894821166992 time for calcul the mask position with numpy : 0.02472686767578125 nb_pixel_total : 383020 time to create 1 rle with new method : 0.5767185688018799 time for calcul the mask position with numpy : 0.0224001407623291 nb_pixel_total : 205259 time to create 1 rle with new method : 0.5298502445220947 time for calcul the mask position with numpy : 0.022409677505493164 nb_pixel_total : 98522 time to create 1 rle with old method : 0.10502028465270996 time for calcul the mask position with numpy : 0.02115035057067871 nb_pixel_total : 1795 time to create 1 rle with old method : 0.0020399093627929688 time for calcul the mask position with numpy : 0.020868301391601562 nb_pixel_total : 3532 time to create 1 rle with old method : 0.004087924957275391 time for calcul the mask position with numpy : 0.03204751014709473 nb_pixel_total : 71815 time to create 1 rle with old method : 0.0891115665435791 time for calcul the mask position with numpy : 0.035216569900512695 nb_pixel_total : 4684 time to create 1 rle with old method : 0.005205392837524414 time for calcul the mask position with numpy : 0.03460860252380371 nb_pixel_total : 87603 time to create 1 rle with old method : 0.12083578109741211 time for calcul the mask position with numpy : 0.03293347358703613 nb_pixel_total : 18609 time to create 1 rle with old method : 0.020586729049682617 time for calcul the mask position with numpy : 0.03356647491455078 nb_pixel_total : 115997 time to create 1 rle with old method : 0.1255784034729004 time for calcul the mask position with numpy : 0.021569252014160156 nb_pixel_total : 46916 time to create 1 rle with old method : 0.05090737342834473 time for calcul the mask position with numpy : 0.02169036865234375 nb_pixel_total : 137868 time to create 1 rle with old method : 0.1522810459136963 time for calcul the mask position with numpy : 0.021694183349609375 nb_pixel_total : 95667 time to create 1 rle with old method : 0.10151124000549316 time for calcul the mask position with numpy : 0.02129530906677246 nb_pixel_total : 97418 time to create 1 rle with old method : 0.10613584518432617 time for calcul the mask position with numpy : 0.022165775299072266 nb_pixel_total : 52726 time to create 1 rle with old method : 0.060729265213012695 create new chi : 4.894575119018555 time to delete rle : 0.0018804073333740234 batch 1 Loaded 24 chid ids of type : 3726 Number RLEs to save : 18043 TO DO : save crop sub photo not yet done ! save time : 1.1593730449676514 map_output_result : {1339536497: (0.0, 'Should be the crop_list due to order', 0), 1339535611: (0.0, 'Should be the crop_list due to order', 0), 1339535609: (0.0, 'Should be the crop_list due to order', 0), 1339535468: (0.0, 'Should be the crop_list due to order', 0), 1339535398: (0.0, 'Should be the crop_list due to order', 0), 1339535383: (0.0, 'Should be the crop_list due to order', 0), 1339535158: (0.0, 'Should be the crop_list due to order', 0), 1339534686: (0.0, 'Should be the crop_list due to order', 0), 1339534683: (0.0, 'Should be the crop_list due to order', 0), 1339534679: (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 [1339536497, 1339535611, 1339535609, 1339535468, 1339535398, 1339535383, 1339535158, 1339534686, 1339534683, 1339534679] Looping around the photos to save general results len do output : 10 /1339536497.Didn't retrieve data . /1339535611.Didn't retrieve data . /1339535609.Didn't retrieve data . /1339535468.Didn't retrieve data . /1339535398.Didn't retrieve data . /1339535383.Didn't retrieve data . /1339535158.Didn't retrieve data . /1339534686.Didn't retrieve data . /1339534683.Didn't retrieve data . /1339534679.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, '2613629') ('3459', '20814195', '1339536497', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535611', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535609', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535468', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535398', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535383', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535158', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534686', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534683', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534679', None, None, None, None, None, '2613629') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.02718210220336914 save_final save missing photos in datou_result : time spend for datou_step_exec : 143.8376657962799 time spend to save output : 0.027834177017211914 total time spend for step 5 : 143.86549997329712 step6:crop_condition Tue Feb 25 19:09:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure 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 178 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 ! Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 4869462 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740506971_2296663 we have uploaded 7 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.8548407554626465 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 ! 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/1740506977_2296663 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.6632487773895264 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740506983_2296663 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.4399333000183105 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740506988_2296663 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.524888277053833 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 ! 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/1740506992_2296663 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.12367582321167 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! Next one ! Next one ! Next one ! 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/1740506998_2296663 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.502427577972412 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1339536497, 1339535611, 1339535609, 1339535468, 1339535398, 1339535383, 1339535158, 1339534686, 1339534683, 1339534679] Looping around the photos to save general results len do output : 30 /1339581189Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581190Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581191Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581192Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581193Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581194Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581195Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581198Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581199Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581200Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581201Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581202Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581209Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581210Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581211Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581212Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581213Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581217Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581218Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581219Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581220Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581221Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581225Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581226Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581227Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581230Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581231Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581232Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581233Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581234Didn'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, '2613629') ('3459', '20814195', '1339536497', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535611', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535609', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535468', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535398', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535383', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535158', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534686', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534683', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534679', None, None, None, None, None, '2613629') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 100 time used for this insertion : 0.036382198333740234 save_final save missing photos in datou_result : time spend for datou_step_exec : 34.304765462875366 time spend to save output : 0.037499427795410156 total time spend for step 6 : 34.342264890670776 step7:ventilate_hashtags_in_portfolio Tue Feb 25 19:10:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 20814195 get user id for portfolio 20814195 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`=20814195 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','flou','Carton_gris','Carton_brun','kraft','metal','Teint_Dans_La_Masse','plastique','autre_refus','mal_croppe','cartonnette')) 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`=20814195 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','flou','Carton_gris','Carton_brun','kraft','metal','Teint_Dans_La_Masse','plastique','autre_refus','mal_croppe','cartonnette')) 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`=20814195 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','flou','Carton_gris','Carton_brun','kraft','metal','Teint_Dans_La_Masse','plastique','autre_refus','mal_croppe','cartonnette')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20814496,20814497,20814498,20814499,20814500,20814501,20814502,20814503,20814504,20814505,20814506,20814507?tags=papier,environnement,flou,Carton_gris,Carton_brun,kraft,metal,Teint_Dans_La_Masse,plastique,autre_refus,mal_croppe,cartonnette Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339536497, 1339535611, 1339535609, 1339535468, 1339535398, 1339535383, 1339535158, 1339534686, 1339534683, 1339534679] Looping around the photos to save general results len do output : 1 /20814195. 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, '2613629') ('3459', '20814195', '1339536497', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535611', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535609', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535468', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535398', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535383', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535158', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534686', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534683', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534679', None, None, None, None, None, '2613629') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.03186941146850586 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7145307064056396 time spend to save output : 0.0321497917175293 total time spend for step 7 : 1.746680498123169 step8:final Tue Feb 25 19:10: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 : {1339536497: ('0.10889541616965961',), 1339535611: ('0.10889541616965961',), 1339535609: ('0.10889541616965961',), 1339535468: ('0.10889541616965961',), 1339535398: ('0.10889541616965961',), 1339535383: ('0.10889541616965961',), 1339535158: ('0.10889541616965961',), 1339534686: ('0.10889541616965961',), 1339534683: ('0.10889541616965961',), 1339534679: ('0.10889541616965961',)} new output for save of step final : {1339536497: ('0.10889541616965961',), 1339535611: ('0.10889541616965961',), 1339535609: ('0.10889541616965961',), 1339535468: ('0.10889541616965961',), 1339535398: ('0.10889541616965961',), 1339535383: ('0.10889541616965961',), 1339535158: ('0.10889541616965961',), 1339534686: ('0.10889541616965961',), 1339534683: ('0.10889541616965961',), 1339534679: ('0.10889541616965961',)} [1339536497, 1339535611, 1339535609, 1339535468, 1339535398, 1339535383, 1339535158, 1339534686, 1339534683, 1339534679] Looping around the photos to save general results len do output : 10 /1339536497.Didn't retrieve data . /1339535611.Didn't retrieve data . /1339535609.Didn't retrieve data . /1339535468.Didn't retrieve data . /1339535398.Didn't retrieve data . /1339535383.Didn't retrieve data . /1339535158.Didn't retrieve data . /1339534686.Didn't retrieve data . /1339534683.Didn't retrieve data . /1339534679.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, '2613629') ('3459', '20814195', '1339536497', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535611', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535609', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535468', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535398', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535383', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535158', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534686', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534683', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534679', None, None, None, None, None, '2613629') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013473033905029297 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10165143013000488 time spend to save output : 0.013979196548461914 total time spend for step 8 : 0.1156306266784668 step9:velours_tree Tue Feb 25 19:10:02 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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.029343366622924805 time spend to save output : 3.0517578125e-05 total time spend for step 9 : 0.029373884201049805 step10:send_mail_cod Tue Feb 25 19:10: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 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_P20814195_25-02-2025_19_10_02.pdf 20814498 imagette208144981740507002 20814501 imagette208145011740507002 20814502 imagette208145021740507002 20814504 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette208145041740507002 20814505 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette208145051740507002 20814506 imagette208145061740507002 20814507 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette208145071740507002 20814499 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette208144991740507003 20814500 change filename to text .change filename to text .change filename to text .imagette208145001740507003 20814503 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 .imagette208145031740507007 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20814195 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20814496,20814497,20814498,20814499,20814500,20814501,20814502,20814503,20814504,20814505,20814506,20814507?tags=papier,environnement,flou,Carton_gris,Carton_brun,kraft,metal,Teint_Dans_La_Masse,plastique,autre_refus,mal_croppe,cartonnette your option no_mail is active, we will not send the real mail to your client args[1339536497] : ('0.10889541616965961',) no score found for photo 1339536497 We are sending mail with results at report@fotonower.com args[1339535611] : ('0.10889541616965961',) no score found for photo 1339535611 We are sending mail with results at report@fotonower.com args[1339535609] : ('0.10889541616965961',) no score found for photo 1339535609 We are sending mail with results at report@fotonower.com args[1339535468] : ('0.10889541616965961',) no score found for photo 1339535468 We are sending mail with results at report@fotonower.com args[1339535398] : ('0.10889541616965961',) no score found for photo 1339535398 We are sending mail with results at report@fotonower.com args[1339535383] : ('0.10889541616965961',) no score found for photo 1339535383 We are sending mail with results at report@fotonower.com args[1339535158] : ('0.10889541616965961',) no score found for photo 1339535158 We are sending mail with results at report@fotonower.com args[1339534686] : ('0.10889541616965961',) no score found for photo 1339534686 We are sending mail with results at report@fotonower.com args[1339534683] : ('0.10889541616965961',) no score found for photo 1339534683 We are sending mail with results at report@fotonower.com args[1339534679] : ('0.10889541616965961',) no score found for photo 1339534679 We are sending mail with results at report@fotonower.com refus_total : 0.10889541616965961 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=20814195 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1339534683,1339536497,1339535611,1339535609,1339535468,1339535398,1339535383,1339534686,1339534643,1339534675,1339534661,1339534651,1339534645,1339534679,1339535158,1339534674,1339534656) Found this number of photos: 17 begin to download photo : 1339534683 begin to download photo : 1339535468 begin to download photo : 1339534643 begin to download photo : 1339534645 begin to download photo : 1339534656 download finish for photo 1339534683 begin to download photo : 1339536497 download finish for photo 1339534656 download finish for photo 1339534645 begin to download photo : 1339534679 download finish for photo 1339535468 begin to download photo : 1339535398 download finish for photo 1339534643 begin to download photo : 1339534675 download finish for photo 1339536497 begin to download photo : 1339535611 download finish for photo 1339534679 begin to download photo : 1339535158 download finish for photo 1339535398 begin to download photo : 1339535383 download finish for photo 1339534675 begin to download photo : 1339534661 download finish for photo 1339535383 begin to download photo : 1339534686 download finish for photo 1339535611 begin to download photo : 1339535609 download finish for photo 1339535158 begin to download photo : 1339534674 download finish for photo 1339534686 download finish for photo 1339534661 begin to download photo : 1339534651 download finish for photo 1339535609 download finish for photo 1339534674 download finish for photo 1339534651 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20814195_25-02-2025_19_10_02.pdf results_Auto_P20814195_25-02-2025_19_10_02.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20814195_25-02-2025_19_10_02.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','20814195','results_Auto_P20814195_25-02-2025_19_10_02.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20814195_25-02-2025_19_10_02.pdf','pdf','','0.8','0.10889541616965961') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339536497, 1339535611, 1339535609, 1339535468, 1339535398, 1339535383, 1339535158, 1339534686, 1339534683, 1339534679] 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, '2613629') ('3459', '20814195', '1339536497', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535611', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535609', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535468', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535398', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535383', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535158', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534686', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534683', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534679', None, None, None, None, None, '2613629') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.014245986938476562 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.863362550735474 time spend to save output : 0.014484882354736328 total time spend for step 10 : 9.87784743309021 step11:split_time_score Tue Feb 25 19:10:12 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'}] (('12', 17),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 25022025 20814195 Nombre de photos uploadées : 17 / 23040 (0%) 25022025 20814195 Nombre de photos taguées (types de déchets): 0 / 17 (0%) 25022025 20814195 Nombre de photos taguées (volume) : 0 / 17 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.5299530029296875e-06 ????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0013446807861328125 elapsed_time : insert_dashboard_record_day_entry 0.023380279541015625 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.04867932522865563 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20793862_25-02-2025_08_21_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20793862 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`=20793862 AND mptpi.`type`=4207 To do Qualite : 0.10909208319701416 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20793863_25-02-2025_08_28_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20793863 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 11512 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11521 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11520 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11516 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11516 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11519 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 11519 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11513 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11513 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11577 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11577 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11515 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11514 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11514 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11523 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 11515 doesn't seem to be define in the database( WARNING : type of input 3 of step 11514 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11512 doesn't seem to be define in the database( WARNING : type of input 2 of step 11516 doesn't seem to be define in the database( WARNING : output 1 of step 11512 have datatype=2 whereas input 1 of step 11519 have datatype=7 WARNING : type of output 2 of step 11519 doesn't seem to be define in the database( WARNING : type of input 1 of step 11513 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11515 have datatype=10 whereas input 3 of step 11522 have datatype=6 WARNING : type of input 2 of step 11577 doesn't seem to be define in the database( WARNING : output 1 of step 11513 have datatype=7 whereas input 2 of step 11577 have datatype=None WARNING : type of output 3 of step 11577 doesn't seem to be define in the database( WARNING : type of input 1 of step 11515 doesn't seem to be define in the database( WARNING : output 0 of step 11515 have datatype=10 whereas input 0 of step 11583 have datatype=18 WARNING : type of input 5 of step 11522 doesn't seem to be define in the database( WARNING : output 0 of step 11583 have datatype=11 whereas input 5 of step 11522 have datatype=None WARNING : type of output 1 of step 11521 doesn't seem to be define in the database( WARNING : type of input 3 of step 11516 doesn't seem to be define in the database( WARNING : type of output 1 of step 11520 doesn't seem to be define in the database( WARNING : type of input 3 of step 11516 doesn't seem to be define in the database( WARNING : output 0 of step 11519 have datatype=1 whereas input 0 of step 11513 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`=20793863 AND mptpi.`type`=4203 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814186 order by id desc limit 1 Qualite : 0.04678010487409261 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20796748_25-02-2025_11_57_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20796748 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 11488 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11496 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11497 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11495 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 11495 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11575 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11575 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11491 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11490 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11490 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11498 send_mail_cod have less outputs used (0) than in the step definition (1) : some outputs may be not used ! Step 11499 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 11491 doesn't seem to be define in the database( WARNING : type of input 3 of step 11490 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11488 doesn't seem to be define in the database( WARNING : type of input 2 of step 11492 doesn't seem to be define in the database( WARNING : output 1 of step 11488 have datatype=2 whereas input 1 of step 11495 have datatype=7 WARNING : type of output 2 of step 11495 doesn't seem to be define in the database( WARNING : type of input 1 of step 11489 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11491 have datatype=10 whereas input 3 of step 11498 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11575 doesn't seem to be define in the database( WARNING : output 1 of step 11489 have datatype=7 whereas input 2 of step 11575 have datatype=None WARNING : type of output 3 of step 11575 doesn't seem to be define in the database( WARNING : type of input 1 of step 11491 doesn't seem to be define in the database( WARNING : output 0 of step 11491 have datatype=10 whereas input 0 of step 11581 have datatype=18 WARNING : type of input 5 of step 11498 doesn't seem to be define in the database( WARNING : output 0 of step 11581 have datatype=11 whereas input 5 of step 11498 have datatype=None WARNING : type of output 1 of step 11496 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : type of output 1 of step 11497 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : output 0 of step 11495 have datatype=1 whereas input 0 of step 11489 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`=20796748 AND mptpi.`type`=4209 To do Qualite : 0.10322400102661251 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20796749_25-02-2025_09_15_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20796749 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`=20796749 AND mptpi.`type`=3726 To do Qualite : 0.18228824929969129 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20796750_25-02-2025_09_49_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20796750 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 ! 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 11560 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11567 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11567 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11563 crop_condition is not consistent : 4 used against 2 in the step definition ! Step 11563 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11564 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 11564 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11573 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11573 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11566 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11566 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! 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 11560 doesn't seem to be define in the database( WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 1 of step 11560 have datatype=2 whereas input 1 of step 11564 have datatype=7 WARNING : type of output 2 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11565 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11567 doesn't seem to be define in the database( WARNING : type of input 3 of step 11563 doesn't seem to be define in the database( WARNING : type of output 3 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11568 doesn't seem to be define in the database( WARNING : type of output 1 of step 11568 doesn't seem to be define in the database( WARNING : type of input 3 of step 11566 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11570 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11569 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11570 doesn't seem to be define in the database( WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11569 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11568 have datatype=10 whereas input 3 of step 11571 have datatype=6 WARNING : type of input 2 of step 11573 doesn't seem to be define in the database( WARNING : output 1 of step 11565 have datatype=7 whereas input 2 of step 11573 have datatype=None WARNING : type of output 3 of step 11573 doesn't seem to be define in the database( WARNING : type of input 3 of step 11568 doesn't seem to be define in the database( WARNING : output 0 of step 11568 have datatype=10 whereas input 0 of step 11587 have datatype=18 WARNING : type of input 5 of step 11571 doesn't seem to be define in the database( WARNING : output 0 of step 11587 have datatype=11 whereas input 5 of step 11571 have datatype=None WARNING : output 0 of step 11564 have datatype=1 whereas input 0 of step 11565 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`=20796750 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814187 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814188 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814189 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814190 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814191 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814192 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814193 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814194 order by id desc limit 1 Qualite : 0.10889541616965961 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20814195_25-02-2025_19_10_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814195 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`=20814195 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814196 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814197 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814198 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814199 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814200 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814201 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814202 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814203 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814204 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814206 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814207 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814208 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814210 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814211 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814212 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814213 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814215 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814216 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'25022025': {'nb_upload': 17, '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 [1339536497, 1339535611, 1339535609, 1339535468, 1339535398, 1339535383, 1339535158, 1339534686, 1339534683, 1339534679] Looping around the photos to save general results len do output : 1 /20814195Didn'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, '2613629') ('3459', '20814195', '1339536497', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535611', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535609', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535468', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535398', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535383', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339535158', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534686', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534683', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', '20814195', '1339534679', None, None, None, None, None, '2613629') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.016597270965576172 save_final save missing photos in datou_result : time spend for datou_step_exec : 22.411611318588257 time spend to save output : 0.016844987869262695 total time spend for step 11 : 22.42845630645752 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 184.21user 144.39system 6:08.81elapsed 89%CPU (0avgtext+0avgdata 4509448maxresident)k 814648inputs+139992outputs (3029major+15515684minor)pagefaults 0swaps