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 : 1413893 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 : 34>10 please execute split_portfolio.py -i 21164247 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2650183'] with mtr_portfolio_ids : ['21164247'] and first list_photo_ids : [] new path : /proc/1413893/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 2.288832902908325 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 Sat Mar 8 00:14:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5399 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-08 00:14:35.192174: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-03-08 00:14:35.219083: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-08 00:14:35.221614: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f7bf4000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-08 00:14:35.221677: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-08 00:14:35.227697: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-08 00:14:35.492618: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x10beded0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-08 00:14:35.492729: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-08 00:14:35.494792: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-03-08 00:14:35.495305: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 00:14:35.499092: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 00:14:35.508357: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-08 00:14:35.509055: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-08 00:14:35.522272: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-08 00:14:35.525944: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-08 00:14:35.550509: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-08 00:14:35.552196: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-08 00:14:35.552351: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 00:14:35.553417: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-08 00:14:35.553452: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-08 00:14:35.553469: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-08 00:14:35.554889: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4933 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-03-08 00:14:35.961621: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-03-08 00:14:35.961768: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 00:14:35.961798: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 00:14:35.961823: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-08 00:14:35.961846: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-08 00:14:35.961869: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-08 00:14:35.961892: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-08 00:14:35.961918: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-08 00:14:35.963202: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-08 00:14:35.964780: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-03-08 00:14:35.964841: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 00:14:35.964867: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 00:14:35.964890: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-08 00:14:35.964918: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-08 00:14:35.964944: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-08 00:14:35.964966: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-08 00:14:35.964988: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-08 00:14:35.966339: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-08 00:14:35.966412: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-08 00:14:35.966435: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-08 00:14:35.966449: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-08 00:14:35.967975: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4933 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-03-08 00:14:47.925758: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 00:14:48.121436: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 150.95141 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 26 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 17 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 25 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 3 Detection mask done ! Trying to reset tf kernel 1414450 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 110 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 : 5399 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.0021800994873046875 nb_pixel_total : 90602 time to create 1 rle with old method : 0.10415220260620117 length of segment : 435 time for calcul the mask position with numpy : 0.00031256675720214844 nb_pixel_total : 11262 time to create 1 rle with old method : 0.013735771179199219 length of segment : 265 time for calcul the mask position with numpy : 0.00043487548828125 nb_pixel_total : 20571 time to create 1 rle with old method : 0.02400684356689453 length of segment : 220 time for calcul the mask position with numpy : 0.0050084590911865234 nb_pixel_total : 244035 time to create 1 rle with new method : 0.013632059097290039 length of segment : 544 time for calcul the mask position with numpy : 0.00017070770263671875 nb_pixel_total : 6463 time to create 1 rle with old method : 0.00780940055847168 length of segment : 80 time for calcul the mask position with numpy : 0.0008406639099121094 nb_pixel_total : 29307 time to create 1 rle with old method : 0.037557125091552734 length of segment : 541 time for calcul the mask position with numpy : 0.001051187515258789 nb_pixel_total : 33940 time to create 1 rle with old method : 0.03859448432922363 length of segment : 454 time for calcul the mask position with numpy : 0.0002765655517578125 nb_pixel_total : 6037 time to create 1 rle with old method : 0.007757663726806641 length of segment : 102 time for calcul the mask position with numpy : 0.0011019706726074219 nb_pixel_total : 76373 time to create 1 rle with old method : 0.09168148040771484 length of segment : 222 time for calcul the mask position with numpy : 0.001592397689819336 nb_pixel_total : 105491 time to create 1 rle with old method : 0.12384700775146484 length of segment : 379 time for calcul the mask position with numpy : 0.0034117698669433594 nb_pixel_total : 109088 time to create 1 rle with old method : 0.1381855010986328 length of segment : 329 time for calcul the mask position with numpy : 0.0007371902465820312 nb_pixel_total : 35485 time to create 1 rle with old method : 0.0454709529876709 length of segment : 218 time for calcul the mask position with numpy : 0.0007355213165283203 nb_pixel_total : 42313 time to create 1 rle with old method : 0.05494546890258789 length of segment : 333 time for calcul the mask position with numpy : 0.0001125335693359375 nb_pixel_total : 1372 time to create 1 rle with old method : 0.0018355846405029297 length of segment : 80 time for calcul the mask position with numpy : 8.20159912109375e-05 nb_pixel_total : 1954 time to create 1 rle with old method : 0.002629995346069336 length of segment : 72 time for calcul the mask position with numpy : 0.0010929107666015625 nb_pixel_total : 84612 time to create 1 rle with old method : 0.11278963088989258 length of segment : 228 time for calcul the mask position with numpy : 0.001485586166381836 nb_pixel_total : 50032 time to create 1 rle with old method : 0.060205698013305664 length of segment : 393 time for calcul the mask position with numpy : 0.0020072460174560547 nb_pixel_total : 135304 time to create 1 rle with old method : 0.1768970489501953 length of segment : 383 time for calcul the mask position with numpy : 0.0002951622009277344 nb_pixel_total : 4419 time to create 1 rle with old method : 0.005449533462524414 length of segment : 95 time for calcul the mask position with numpy : 0.004198312759399414 nb_pixel_total : 136575 time to create 1 rle with old method : 0.16303539276123047 length of segment : 415 time for calcul the mask position with numpy : 0.00043201446533203125 nb_pixel_total : 7717 time to create 1 rle with old method : 0.009327411651611328 length of segment : 157 time for calcul the mask position with numpy : 0.0028765201568603516 nb_pixel_total : 57520 time to create 1 rle with old method : 0.06557726860046387 length of segment : 342 time for calcul the mask position with numpy : 0.006578683853149414 nb_pixel_total : 204552 time to create 1 rle with new method : 0.012133598327636719 length of segment : 362 time for calcul the mask position with numpy : 0.0005562305450439453 nb_pixel_total : 15441 time to create 1 rle with old method : 0.02153944969177246 length of segment : 186 time for calcul the mask position with numpy : 0.00095367431640625 nb_pixel_total : 23313 time to create 1 rle with old method : 0.028722286224365234 length of segment : 173 time for calcul the mask position with numpy : 0.0014910697937011719 nb_pixel_total : 39245 time to create 1 rle with old method : 0.04494047164916992 length of segment : 207 time for calcul the mask position with numpy : 0.005347728729248047 nb_pixel_total : 184088 time to create 1 rle with new method : 0.008955955505371094 length of segment : 715 time for calcul the mask position with numpy : 0.00012087821960449219 nb_pixel_total : 583 time to create 1 rle with old method : 0.0008008480072021484 length of segment : 22 time for calcul the mask position with numpy : 0.0026416778564453125 nb_pixel_total : 102760 time to create 1 rle with old method : 0.12116265296936035 length of segment : 636 time for calcul the mask position with numpy : 0.0023691654205322266 nb_pixel_total : 53654 time to create 1 rle with old method : 0.06529426574707031 length of segment : 331 time for calcul the mask position with numpy : 0.004526376724243164 nb_pixel_total : 186942 time to create 1 rle with new method : 0.010378837585449219 length of segment : 567 time for calcul the mask position with numpy : 0.001178741455078125 nb_pixel_total : 21949 time to create 1 rle with old method : 0.026984453201293945 length of segment : 387 time for calcul the mask position with numpy : 0.002906322479248047 nb_pixel_total : 111773 time to create 1 rle with old method : 0.14171123504638672 length of segment : 610 time for calcul the mask position with numpy : 0.00014328956604003906 nb_pixel_total : 2018 time to create 1 rle with old method : 0.0026085376739501953 length of segment : 48 time for calcul the mask position with numpy : 0.0026903152465820312 nb_pixel_total : 87747 time to create 1 rle with old method : 0.10314178466796875 length of segment : 531 time for calcul the mask position with numpy : 0.0018513202667236328 nb_pixel_total : 63987 time to create 1 rle with old method : 0.07599091529846191 length of segment : 327 time for calcul the mask position with numpy : 0.0009317398071289062 nb_pixel_total : 48555 time to create 1 rle with old method : 0.0650019645690918 length of segment : 332 time for calcul the mask position with numpy : 0.00078582763671875 nb_pixel_total : 17451 time to create 1 rle with old method : 0.02301025390625 length of segment : 222 time for calcul the mask position with numpy : 0.0018494129180908203 nb_pixel_total : 45335 time to create 1 rle with old method : 0.06758403778076172 length of segment : 212 time for calcul the mask position with numpy : 0.025120258331298828 nb_pixel_total : 794647 time to create 1 rle with new method : 0.17431378364562988 length of segment : 1233 time for calcul the mask position with numpy : 0.0022509098052978516 nb_pixel_total : 74901 time to create 1 rle with old method : 0.08959531784057617 length of segment : 943 time for calcul the mask position with numpy : 0.0007388591766357422 nb_pixel_total : 13308 time to create 1 rle with old method : 0.02023005485534668 length of segment : 148 time for calcul the mask position with numpy : 0.0023806095123291016 nb_pixel_total : 66160 time to create 1 rle with old method : 0.09225797653198242 length of segment : 326 time for calcul the mask position with numpy : 0.0016047954559326172 nb_pixel_total : 53798 time to create 1 rle with old method : 0.0625455379486084 length of segment : 304 time for calcul the mask position with numpy : 0.0015070438385009766 nb_pixel_total : 50013 time to create 1 rle with old method : 0.05959010124206543 length of segment : 554 time for calcul the mask position with numpy : 0.002658367156982422 nb_pixel_total : 84703 time to create 1 rle with old method : 0.0999593734741211 length of segment : 344 time for calcul the mask position with numpy : 0.0022623538970947266 nb_pixel_total : 62784 time to create 1 rle with old method : 0.09498834609985352 length of segment : 265 time for calcul the mask position with numpy : 0.0020363330841064453 nb_pixel_total : 91791 time to create 1 rle with old method : 0.10664010047912598 length of segment : 311 time for calcul the mask position with numpy : 0.0011782646179199219 nb_pixel_total : 71871 time to create 1 rle with old method : 0.09423708915710449 length of segment : 297 time for calcul the mask position with numpy : 0.0012409687042236328 nb_pixel_total : 43004 time to create 1 rle with old method : 0.052400827407836914 length of segment : 406 time for calcul the mask position with numpy : 0.0028638839721679688 nb_pixel_total : 103678 time to create 1 rle with old method : 0.12748003005981445 length of segment : 483 time for calcul the mask position with numpy : 0.0005710124969482422 nb_pixel_total : 27767 time to create 1 rle with old method : 0.033345937728881836 length of segment : 252 time for calcul the mask position with numpy : 0.0005922317504882812 nb_pixel_total : 35727 time to create 1 rle with old method : 0.04297900199890137 length of segment : 216 time for calcul the mask position with numpy : 0.001615762710571289 nb_pixel_total : 39475 time to create 1 rle with old method : 0.049170494079589844 length of segment : 313 time for calcul the mask position with numpy : 0.0014350414276123047 nb_pixel_total : 44793 time to create 1 rle with old method : 0.06444096565246582 length of segment : 422 time for calcul the mask position with numpy : 0.0035817623138427734 nb_pixel_total : 139511 time to create 1 rle with old method : 0.18063855171203613 length of segment : 609 time for calcul the mask position with numpy : 0.0026230812072753906 nb_pixel_total : 98669 time to create 1 rle with old method : 0.1177361011505127 length of segment : 446 time for calcul the mask position with numpy : 0.00666046142578125 nb_pixel_total : 251005 time to create 1 rle with new method : 0.010385274887084961 length of segment : 821 time for calcul the mask position with numpy : 0.0021462440490722656 nb_pixel_total : 101649 time to create 1 rle with old method : 0.1205286979675293 length of segment : 802 time for calcul the mask position with numpy : 0.0006585121154785156 nb_pixel_total : 9955 time to create 1 rle with old method : 0.01259922981262207 length of segment : 239 time for calcul the mask position with numpy : 0.0012547969818115234 nb_pixel_total : 42016 time to create 1 rle with old method : 0.05136871337890625 length of segment : 168 time for calcul the mask position with numpy : 0.0002803802490234375 nb_pixel_total : 2216 time to create 1 rle with old method : 0.0028867721557617188 length of segment : 81 time for calcul the mask position with numpy : 0.0002219676971435547 nb_pixel_total : 2990 time to create 1 rle with old method : 0.0037870407104492188 length of segment : 76 time for calcul the mask position with numpy : 0.002997159957885742 nb_pixel_total : 118376 time to create 1 rle with old method : 0.13926959037780762 length of segment : 304 time for calcul the mask position with numpy : 0.003505706787109375 nb_pixel_total : 86589 time to create 1 rle with old method : 0.10264348983764648 length of segment : 518 time for calcul the mask position with numpy : 0.0002703666687011719 nb_pixel_total : 6095 time to create 1 rle with old method : 0.007681369781494141 length of segment : 79 time for calcul the mask position with numpy : 0.0006504058837890625 nb_pixel_total : 11920 time to create 1 rle with old method : 0.014540672302246094 length of segment : 183 time for calcul the mask position with numpy : 0.0011951923370361328 nb_pixel_total : 42138 time to create 1 rle with old method : 0.05023694038391113 length of segment : 385 time for calcul the mask position with numpy : 0.0006878376007080078 nb_pixel_total : 31697 time to create 1 rle with old method : 0.038361549377441406 length of segment : 309 time for calcul the mask position with numpy : 0.003215312957763672 nb_pixel_total : 132079 time to create 1 rle with old method : 0.15674829483032227 length of segment : 473 time for calcul the mask position with numpy : 0.0008203983306884766 nb_pixel_total : 35193 time to create 1 rle with old method : 0.04210209846496582 length of segment : 485 time for calcul the mask position with numpy : 0.001512289047241211 nb_pixel_total : 30170 time to create 1 rle with old method : 0.038498640060424805 length of segment : 203 time for calcul the mask position with numpy : 0.0008435249328613281 nb_pixel_total : 20304 time to create 1 rle with old method : 0.02470111846923828 length of segment : 185 time for calcul the mask position with numpy : 0.0007228851318359375 nb_pixel_total : 19258 time to create 1 rle with old method : 0.022511720657348633 length of segment : 168 time for calcul the mask position with numpy : 0.005487203598022461 nb_pixel_total : 190140 time to create 1 rle with new method : 0.011140584945678711 length of segment : 610 time for calcul the mask position with numpy : 0.0007328987121582031 nb_pixel_total : 16463 time to create 1 rle with old method : 0.02033066749572754 length of segment : 186 time for calcul the mask position with numpy : 0.0003592967987060547 nb_pixel_total : 6203 time to create 1 rle with old method : 0.00751042366027832 length of segment : 148 time for calcul the mask position with numpy : 0.0001780986785888672 nb_pixel_total : 1460 time to create 1 rle with old method : 0.0019011497497558594 length of segment : 68 time for calcul the mask position with numpy : 0.0004780292510986328 nb_pixel_total : 8658 time to create 1 rle with old method : 0.010840892791748047 length of segment : 119 time for calcul the mask position with numpy : 0.0016608238220214844 nb_pixel_total : 29089 time to create 1 rle with old method : 0.03477621078491211 length of segment : 411 time for calcul the mask position with numpy : 0.0018353462219238281 nb_pixel_total : 34860 time to create 1 rle with old method : 0.04237699508666992 length of segment : 236 time for calcul the mask position with numpy : 0.0005266666412353516 nb_pixel_total : 5790 time to create 1 rle with old method : 0.007104396820068359 length of segment : 125 time for calcul the mask position with numpy : 0.0021097660064697266 nb_pixel_total : 81910 time to create 1 rle with old method : 0.09634280204772949 length of segment : 270 time for calcul the mask position with numpy : 0.003010272979736328 nb_pixel_total : 122926 time to create 1 rle with old method : 0.14072299003601074 length of segment : 377 time for calcul the mask position with numpy : 0.003124713897705078 nb_pixel_total : 119988 time to create 1 rle with old method : 0.13922572135925293 length of segment : 397 time for calcul the mask position with numpy : 0.002756357192993164 nb_pixel_total : 121812 time to create 1 rle with old method : 0.16300106048583984 length of segment : 400 time for calcul the mask position with numpy : 0.005647897720336914 nb_pixel_total : 195011 time to create 1 rle with new method : 0.008569955825805664 length of segment : 631 time for calcul the mask position with numpy : 0.0022020339965820312 nb_pixel_total : 98257 time to create 1 rle with old method : 0.11749672889709473 length of segment : 306 time for calcul the mask position with numpy : 0.0019016265869140625 nb_pixel_total : 53595 time to create 1 rle with old method : 0.06746768951416016 length of segment : 357 time for calcul the mask position with numpy : 0.0025053024291992188 nb_pixel_total : 43651 time to create 1 rle with old method : 0.053227901458740234 length of segment : 466 time for calcul the mask position with numpy : 0.00139617919921875 nb_pixel_total : 20597 time to create 1 rle with old method : 0.02525162696838379 length of segment : 378 time for calcul the mask position with numpy : 0.00028586387634277344 nb_pixel_total : 4293 time to create 1 rle with old method : 0.00532984733581543 length of segment : 177 time for calcul the mask position with numpy : 0.0002510547637939453 nb_pixel_total : 3321 time to create 1 rle with old method : 0.004546165466308594 length of segment : 63 time for calcul the mask position with numpy : 0.001664876937866211 nb_pixel_total : 56940 time to create 1 rle with old method : 0.06798577308654785 length of segment : 283 time for calcul the mask position with numpy : 0.002165555953979492 nb_pixel_total : 75570 time to create 1 rle with old method : 0.09086823463439941 length of segment : 510 time for calcul the mask position with numpy : 0.0007681846618652344 nb_pixel_total : 13722 time to create 1 rle with old method : 0.018262863159179688 length of segment : 155 time for calcul the mask position with numpy : 0.0004966259002685547 nb_pixel_total : 16258 time to create 1 rle with old method : 0.019986629486083984 length of segment : 127 time for calcul the mask position with numpy : 0.00031685829162597656 nb_pixel_total : 4632 time to create 1 rle with old method : 0.0056264400482177734 length of segment : 122 time for calcul the mask position with numpy : 0.00017213821411132812 nb_pixel_total : 1568 time to create 1 rle with old method : 0.002119302749633789 length of segment : 51 time for calcul the mask position with numpy : 0.0017156600952148438 nb_pixel_total : 39864 time to create 1 rle with old method : 0.049163103103637695 length of segment : 264 time for calcul the mask position with numpy : 0.0006613731384277344 nb_pixel_total : 17443 time to create 1 rle with old method : 0.021097660064697266 length of segment : 118 time for calcul the mask position with numpy : 0.0007987022399902344 nb_pixel_total : 21626 time to create 1 rle with old method : 0.03221297264099121 length of segment : 249 time for calcul the mask position with numpy : 0.0009417533874511719 nb_pixel_total : 12992 time to create 1 rle with old method : 0.021623849868774414 length of segment : 387 time for calcul the mask position with numpy : 0.0003681182861328125 nb_pixel_total : 4120 time to create 1 rle with old method : 0.005244255065917969 length of segment : 102 time for calcul the mask position with numpy : 0.0006108283996582031 nb_pixel_total : 11441 time to create 1 rle with old method : 0.014266729354858398 length of segment : 210 time for calcul the mask position with numpy : 0.003841400146484375 nb_pixel_total : 182414 time to create 1 rle with new method : 0.006875038146972656 length of segment : 580 time for calcul the mask position with numpy : 0.002485036849975586 nb_pixel_total : 91112 time to create 1 rle with old method : 0.11112284660339355 length of segment : 322 time for calcul the mask position with numpy : 0.0005514621734619141 nb_pixel_total : 14384 time to create 1 rle with old method : 0.017786741256713867 length of segment : 165 time for calcul the mask position with numpy : 0.0014770030975341797 nb_pixel_total : 45677 time to create 1 rle with old method : 0.05556750297546387 length of segment : 239 time for calcul the mask position with numpy : 0.002033233642578125 nb_pixel_total : 84737 time to create 1 rle with old method : 0.10245752334594727 length of segment : 510 time for calcul the mask position with numpy : 0.0004010200500488281 nb_pixel_total : 7755 time to create 1 rle with old method : 0.00980067253112793 length of segment : 135 time for calcul the mask position with numpy : 0.0006415843963623047 nb_pixel_total : 17907 time to create 1 rle with old method : 0.022061824798583984 length of segment : 195 time for calcul the mask position with numpy : 0.0005497932434082031 nb_pixel_total : 13632 time to create 1 rle with old method : 0.016597747802734375 length of segment : 177 time for calcul the mask position with numpy : 0.004154682159423828 nb_pixel_total : 130243 time to create 1 rle with old method : 0.15609455108642578 length of segment : 504 time for calcul the mask position with numpy : 0.0001819133758544922 nb_pixel_total : 4328 time to create 1 rle with old method : 0.005463123321533203 length of segment : 88 time for calcul the mask position with numpy : 0.004395246505737305 nb_pixel_total : 218194 time to create 1 rle with new method : 0.007561206817626953 length of segment : 617 time for calcul the mask position with numpy : 0.003962278366088867 nb_pixel_total : 241625 time to create 1 rle with new method : 0.010181903839111328 length of segment : 604 time for calcul the mask position with numpy : 0.0001659393310546875 nb_pixel_total : 1180 time to create 1 rle with old method : 0.0017354488372802734 length of segment : 64 time for calcul the mask position with numpy : 0.0019207000732421875 nb_pixel_total : 56119 time to create 1 rle with old method : 0.06731867790222168 length of segment : 435 time for calcul the mask position with numpy : 0.0029757022857666016 nb_pixel_total : 109295 time to create 1 rle with old method : 0.1296374797821045 length of segment : 616 time for calcul the mask position with numpy : 0.0007746219635009766 nb_pixel_total : 29133 time to create 1 rle with old method : 0.036542654037475586 length of segment : 123 time for calcul the mask position with numpy : 0.0022611618041992188 nb_pixel_total : 72189 time to create 1 rle with old method : 0.08373165130615234 length of segment : 393 time for calcul the mask position with numpy : 0.0003829002380371094 nb_pixel_total : 8455 time to create 1 rle with old method : 0.010953664779663086 length of segment : 99 time for calcul the mask position with numpy : 0.0008702278137207031 nb_pixel_total : 24855 time to create 1 rle with old method : 0.030771970748901367 length of segment : 208 time for calcul the mask position with numpy : 0.0007293224334716797 nb_pixel_total : 27033 time to create 1 rle with old method : 0.03350019454956055 length of segment : 139 time for calcul the mask position with numpy : 0.0014004707336425781 nb_pixel_total : 54089 time to create 1 rle with old method : 0.06791424751281738 length of segment : 345 time for calcul the mask position with numpy : 0.0007791519165039062 nb_pixel_total : 10268 time to create 1 rle with old method : 0.01310420036315918 length of segment : 160 time for calcul the mask position with numpy : 0.00018525123596191406 nb_pixel_total : 3816 time to create 1 rle with old method : 0.0049266815185546875 length of segment : 67 time for calcul the mask position with numpy : 0.00034546852111816406 nb_pixel_total : 9859 time to create 1 rle with old method : 0.012225627899169922 length of segment : 111 time for calcul the mask position with numpy : 0.00019502639770507812 nb_pixel_total : 3270 time to create 1 rle with old method : 0.0043659210205078125 length of segment : 61 time for calcul the mask position with numpy : 0.0009481906890869141 nb_pixel_total : 31319 time to create 1 rle with old method : 0.038870811462402344 length of segment : 281 time for calcul the mask position with numpy : 0.0005319118499755859 nb_pixel_total : 10287 time to create 1 rle with old method : 0.012746095657348633 length of segment : 164 time for calcul the mask position with numpy : 0.002586841583251953 nb_pixel_total : 75103 time to create 1 rle with old method : 0.08890891075134277 length of segment : 347 time for calcul the mask position with numpy : 0.005135297775268555 nb_pixel_total : 198086 time to create 1 rle with new method : 0.010174274444580078 length of segment : 478 time for calcul the mask position with numpy : 0.0008711814880371094 nb_pixel_total : 16019 time to create 1 rle with old method : 0.020230770111083984 length of segment : 218 time for calcul the mask position with numpy : 0.1682419776916504 nb_pixel_total : 2706166 time to create 1 rle with new method : 0.37125182151794434 length of segment : 3289 time for calcul the mask position with numpy : 0.0005543231964111328 nb_pixel_total : 27651 time to create 1 rle with old method : 0.03411054611206055 length of segment : 480 time for calcul the mask position with numpy : 0.0019600391387939453 nb_pixel_total : 92466 time to create 1 rle with old method : 0.11268138885498047 length of segment : 748 time for calcul the mask position with numpy : 0.0012238025665283203 nb_pixel_total : 76243 time to create 1 rle with old method : 0.09073591232299805 length of segment : 404 time for calcul the mask position with numpy : 0.003122091293334961 nb_pixel_total : 125094 time to create 1 rle with old method : 0.14868497848510742 length of segment : 571 time for calcul the mask position with numpy : 0.0012459754943847656 nb_pixel_total : 83963 time to create 1 rle with old method : 0.10261678695678711 length of segment : 404 time for calcul the mask position with numpy : 0.005584716796875 nb_pixel_total : 320114 time to create 1 rle with new method : 0.023471355438232422 length of segment : 831 time for calcul the mask position with numpy : 0.0013053417205810547 nb_pixel_total : 76730 time to create 1 rle with old method : 0.0923311710357666 length of segment : 401 time for calcul the mask position with numpy : 0.00010371208190917969 nb_pixel_total : 1765 time to create 1 rle with old method : 0.0023651123046875 length of segment : 42 time for calcul the mask position with numpy : 0.01614212989807129 nb_pixel_total : 1094424 time to create 1 rle with new method : 0.21012520790100098 length of segment : 1496 time for calcul the mask position with numpy : 0.0009646415710449219 nb_pixel_total : 56346 time to create 1 rle with old method : 0.06904125213623047 length of segment : 247 time for calcul the mask position with numpy : 0.0058727264404296875 nb_pixel_total : 362170 time to create 1 rle with new method : 0.030686378479003906 length of segment : 952 time for calcul the mask position with numpy : 0.0009748935699462891 nb_pixel_total : 54892 time to create 1 rle with old method : 0.06756186485290527 length of segment : 242 time for calcul the mask position with numpy : 0.4752185344696045 nb_pixel_total : 4476957 time to create 1 rle with new method : 1.6750884056091309 length of segment : 3149 time for calcul the mask position with numpy : 0.0009360313415527344 nb_pixel_total : 42530 time to create 1 rle with old method : 0.05073857307434082 length of segment : 416 time for calcul the mask position with numpy : 0.0029113292694091797 nb_pixel_total : 250783 time to create 1 rle with new method : 0.007184028625488281 length of segment : 557 time spent for convertir_results : 21.42094874382019 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 151 chid ids of type : 3663 Number RLEs to save : 56483 save missing photos in datou_result : time spend for datou_step_exec : 88.9003849029541 time spend to save output : 4.57588791847229 total time spend for step 1 : 93.47627282142639 step2:crop_condition Sat Mar 8 00:16:05 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 151 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 ! map_result returned by crop_photo_return_map_crop : length : 22 About to insert : list_path_to_insert length 22 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 ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! we have finished the crop for the class : 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 ! map_result returned by crop_photo_return_map_crop : length : 41 About to insert : list_path_to_insert length 41 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 12 About to insert : list_path_to_insert length 12 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1341310387, 1341310380, 1341310315, 1341310306, 1341310297, 1341310293, 1341310278, 1341310260, 1341310177, 1341310169] Looping around the photos to save general results len do output : 104 /-3698323195Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323191Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323196Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323213Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323218Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323207Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323247Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323248Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323246Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323255Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323257Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323249Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323265Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323264Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323268Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323263Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323262Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323261Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323297Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323296Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323314Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323309Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323214Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323224Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323228Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323238Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323235Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323250Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323294Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323303Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323332Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323336Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323194Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323219Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323225Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323244Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323275Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323270Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323273Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323272Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323305Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323322Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323333Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323198Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323200Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323199Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323202Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323190Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323193Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323221Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323206Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323209Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323211Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323240Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323243Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323236Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323237Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323253Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323260Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323271Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323274Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323276Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323277Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323280Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323278Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323291Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323292Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323295Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323289Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323290Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323306Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323298Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323301Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323323Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323313Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323321Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323311Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323308Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323310Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323328Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323327Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323329Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323331Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323340Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323197Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323215Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323227Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323254Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323256Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323252Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323283Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323284Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323285Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323286Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323302Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323326Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323205Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323192Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323242Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323241Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323233Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323245Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323330Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3698323337Didn'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, '2650183') ('3459', '21164247', '1341310387', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310380', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310315', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310306', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310297', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310293', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310278', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310260', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310177', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310169', None, None, None, None, None, '2650183') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 322 time used for this insertion : 0.10382223129272461 save_final save missing photos in datou_result : time spend for datou_step_exec : 46.10029697418213 time spend to save output : 0.10686254501342773 total time spend for step 2 : 46.20715951919556 step3:thcl Sat Mar 8 00:16:51 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure 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.008303642272949219 time to convert the images to numpy array : 0.5981831550598145 time to import caffe and check if the image exist : 0.014594078063964844 time to convert the images to numpy array : 0.6099824905395508 time to import caffe and check if the image exist : 0.014804840087890625 time to convert the images to numpy array : 0.9983067512512207 time to import caffe and check if the image exist : 0.015111923217773438 time to convert the images to numpy array : 1.2176153659820557 time to import caffe and check if the image exist : 0.007898807525634766 time to convert the images to numpy array : 1.226675271987915 time to import caffe and check if the image exist : 0.015704631805419922 time to convert the images to numpy array : 1.2234110832214355 time to import caffe and check if the image exist : 0.02535223960876465 time to convert the images to numpy array : 1.2287070751190186 time to import caffe and check if the image exist : 0.012781381607055664 time to convert the images to numpy array : 1.249988079071045 time to import caffe and check if the image exist : 0.017520904541015625 time to convert the images to numpy array : 1.2555561065673828 time to import caffe and check if the image exist : 0.012390613555908203 time to convert the images to numpy array : 1.8284623622894287 total time to convert the images to numpy array : 2.2205569744110107 list photo_ids error: [] list photo_ids correct : [-3698323241, -3698323233, -3698323245, -3698323330, -3698323337, -3698323256, -3698323252, -3698323283, -3698323284, -3698323285, -3698323286, -3698323302, -3698323326, -3698323205, -3698323192, -3698323242, -3698323249, -3698323265, -3698323264, -3698323268, -3698323263, -3698323262, -3698323261, -3698323297, -3698323296, -3698323314, -3698323309, -3698323219, -3698323225, -3698323244, -3698323275, -3698323270, -3698323273, -3698323272, -3698323305, -3698323322, -3698323333, -3698323198, -3698323195, -3698323191, -3698323196, -3698323213, -3698323218, -3698323207, -3698323247, -3698323248, -3698323246, -3698323255, -3698323257, -3698323292, -3698323295, -3698323289, -3698323290, -3698323306, -3698323298, -3698323301, -3698323323, -3698323313, -3698323321, -3698323311, -3698323236, -3698323237, -3698323253, -3698323260, -3698323271, -3698323274, -3698323276, -3698323277, -3698323280, -3698323278, -3698323291, -3698323200, -3698323199, -3698323202, -3698323190, -3698323193, -3698323221, -3698323206, -3698323209, -3698323211, -3698323240, -3698323243, -3698323308, -3698323310, -3698323328, -3698323327, -3698323329, -3698323331, -3698323340, -3698323197, -3698323215, -3698323227, -3698323254, -3698323214, -3698323224, -3698323228, -3698323238, -3698323235, -3698323250, -3698323294, -3698323303, -3698323332, -3698323336, -3698323194] number of photos to traite : 104 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 havn't enough memory gpu , need / 2500 l 3632 free memory gpu now : 124 wait 20 seconds l 3637 free memory gpu now : 124 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 : 5248 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.2185065746307373 time used to do the prediction : 0.25830721855163574 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 : 5246 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 : 5246 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.3103322982788086 time used to do the prediction : 0.2412116527557373 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.5735626220703125e-05 save missing photos in datou_result : time spend for datou_step_exec : 32.13823413848877 time spend to save output : 0.0007741451263427734 total time spend for step 3 : 32.13900828361511 step4:merge_mask_thcl_custom Sat Mar 8 00:17:23 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 151 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 [1341310387, 1341310380, 1341310315, 1341310306, 1341310297, 1341310293, 1341310278, 1341310260, 1341310177, 1341310169] Looping around the photos to save general results len do output : 10 /1341310387Didn't retrieve data .Didn't retrieve data . /1341310380Didn't retrieve data .Didn't retrieve data . /1341310315Didn't retrieve data .Didn't retrieve data . /1341310306Didn't retrieve data .Didn't retrieve data . /1341310297Didn't retrieve data .Didn't retrieve data . /1341310293Didn't retrieve data .Didn't retrieve data . /1341310278Didn't retrieve data .Didn't retrieve data . /1341310260Didn't retrieve data .Didn't retrieve data . /1341310177Didn't retrieve data .Didn't retrieve data . /1341310169Didn'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, '2650183') ('3459', '21164247', '1341310387', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310380', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310315', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310306', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310297', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310293', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310278', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310260', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310177', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310169', None, None, None, None, None, '2650183') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.016910552978515625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.062191009521484375 time spend to save output : 0.017503023147583008 total time spend for step 4 : 0.07969403266906738 step5:rle_unique_nms_with_priority Sat Mar 8 00:17:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 16 nb_hashtags : 7 time to prepare the origin masks : 14.514720439910889 time for calcul the mask position with numpy : 0.4423668384552002 nb_pixel_total : 6298656 time to create 1 rle with new method : 1.0853502750396729 time for calcul the mask position with numpy : 0.021529674530029297 nb_pixel_total : 20517 time to create 1 rle with old method : 0.023340225219726562 time for calcul the mask position with numpy : 0.021720409393310547 nb_pixel_total : 127 time to create 1 rle with old method : 0.00047659873962402344 time for calcul the mask position with numpy : 0.025518178939819336 nb_pixel_total : 243175 time to create 1 rle with new method : 0.46690917015075684 time for calcul the mask position with numpy : 0.02101612091064453 nb_pixel_total : 1943 time to create 1 rle with old method : 0.0023033618927001953 time for calcul the mask position with numpy : 0.021305084228515625 nb_pixel_total : 6016 time to create 1 rle with old method : 0.00695347785949707 time for calcul the mask position with numpy : 0.020995140075683594 nb_pixel_total : 820 time to create 1 rle with old method : 0.001184225082397461 time for calcul the mask position with numpy : 0.021619796752929688 nb_pixel_total : 1362 time to create 1 rle with old method : 0.001626729965209961 time for calcul the mask position with numpy : 0.02260303497314453 nb_pixel_total : 105353 time to create 1 rle with old method : 0.1246035099029541 time for calcul the mask position with numpy : 0.03522992134094238 nb_pixel_total : 84444 time to create 1 rle with old method : 0.10335111618041992 time for calcul the mask position with numpy : 0.034453392028808594 nb_pixel_total : 2604 time to create 1 rle with old method : 0.003448009490966797 time for calcul the mask position with numpy : 0.03657889366149902 nb_pixel_total : 34827 time to create 1 rle with old method : 0.04228520393371582 time for calcul the mask position with numpy : 0.03431081771850586 nb_pixel_total : 6444 time to create 1 rle with old method : 0.007464170455932617 time for calcul the mask position with numpy : 0.034934282302856445 nb_pixel_total : 108815 time to create 1 rle with old method : 0.12462306022644043 time for calcul the mask position with numpy : 0.03457331657409668 nb_pixel_total : 33799 time to create 1 rle with old method : 0.04251885414123535 time for calcul the mask position with numpy : 0.03307199478149414 nb_pixel_total : 11257 time to create 1 rle with old method : 0.013665199279785156 time for calcul the mask position with numpy : 0.03165149688720703 nb_pixel_total : 90081 time to create 1 rle with old method : 0.10179424285888672 create new chi : 3.1003201007843018 time to delete rle : 0.014407157897949219 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 9587 TO DO : save crop sub photo not yet done ! save time : 0.6107938289642334 nb_obj : 20 nb_hashtags : 8 time to prepare the origin masks : 20.908787488937378 time for calcul the mask position with numpy : 0.40393972396850586 nb_pixel_total : 5617240 time to create 1 rle with new method : 0.649040937423706 time for calcul the mask position with numpy : 0.034609079360961914 nb_pixel_total : 53433 time to create 1 rle with old method : 0.06095600128173828 time for calcul the mask position with numpy : 0.02749943733215332 nb_pixel_total : 15431 time to create 1 rle with old method : 0.01833653450012207 time for calcul the mask position with numpy : 0.0298154354095459 nb_pixel_total : 49990 time to create 1 rle with old method : 0.057807207107543945 time for calcul the mask position with numpy : 0.031404972076416016 nb_pixel_total : 104247 time to create 1 rle with old method : 0.13086748123168945 time for calcul the mask position with numpy : 0.03126096725463867 nb_pixel_total : 23208 time to create 1 rle with old method : 0.026668310165405273 time for calcul the mask position with numpy : 0.028653383255004883 nb_pixel_total : 87570 time to create 1 rle with old method : 0.11005973815917969 time for calcul the mask position with numpy : 0.02914285659790039 nb_pixel_total : 2005 time to create 1 rle with old method : 0.0023996829986572266 time for calcul the mask position with numpy : 0.027573585510253906 nb_pixel_total : 111687 time to create 1 rle with old method : 0.15674996376037598 time for calcul the mask position with numpy : 0.027386188507080078 nb_pixel_total : 39108 time to create 1 rle with old method : 0.05129289627075195 time for calcul the mask position with numpy : 0.026736021041870117 nb_pixel_total : 131868 time to create 1 rle with old method : 0.1618666648864746 time for calcul the mask position with numpy : 0.02206277847290039 nb_pixel_total : 57172 time to create 1 rle with old method : 0.06632256507873535 time for calcul the mask position with numpy : 0.022643566131591797 nb_pixel_total : 578 time to create 1 rle with old method : 0.000713348388671875 time for calcul the mask position with numpy : 0.02453327178955078 nb_pixel_total : 183235 time to create 1 rle with new method : 0.6920435428619385 time for calcul the mask position with numpy : 0.024353981018066406 nb_pixel_total : 204141 time to create 1 rle with new method : 0.8426845073699951 time for calcul the mask position with numpy : 0.022168397903442383 nb_pixel_total : 21910 time to create 1 rle with old method : 0.025274991989135742 time for calcul the mask position with numpy : 0.022186994552612305 nb_pixel_total : 135048 time to create 1 rle with old method : 0.15939784049987793 time for calcul the mask position with numpy : 0.021602153778076172 nb_pixel_total : 7692 time to create 1 rle with old method : 0.008926630020141602 time for calcul the mask position with numpy : 0.025033235549926758 nb_pixel_total : 4398 time to create 1 rle with old method : 0.0051691532135009766 time for calcul the mask position with numpy : 0.03533005714416504 nb_pixel_total : 63880 time to create 1 rle with old method : 0.07284307479858398 time for calcul the mask position with numpy : 0.035195350646972656 nb_pixel_total : 136399 time to create 1 rle with old method : 0.15970396995544434 create new chi : 4.4964213371276855 time to delete rle : 0.0014812946319580078 batch 1 Loaded 21 chid ids of type : 3726 Number RLEs to save : 15507 TO DO : save crop sub photo not yet done ! save time : 1.024202823638916 nb_obj : 19 nb_hashtags : 6 time to prepare the origin masks : 20.873324155807495 time for calcul the mask position with numpy : 0.4805419445037842 nb_pixel_total : 5418610 time to create 1 rle with new method : 1.6131789684295654 time for calcul the mask position with numpy : 0.03603053092956543 nb_pixel_total : 62658 time to create 1 rle with old method : 0.07159304618835449 time for calcul the mask position with numpy : 0.022190093994140625 nb_pixel_total : 12670 time to create 1 rle with old method : 0.019967079162597656 time for calcul the mask position with numpy : 0.02134561538696289 nb_pixel_total : 3784 time to create 1 rle with old method : 0.004458427429199219 time for calcul the mask position with numpy : 0.022442340850830078 nb_pixel_total : 103604 time to create 1 rle with old method : 0.11814308166503906 time for calcul the mask position with numpy : 0.021756410598754883 nb_pixel_total : 17351 time to create 1 rle with old method : 0.019605159759521484 time for calcul the mask position with numpy : 0.021013259887695312 nb_pixel_total : 39035 time to create 1 rle with old method : 0.04845142364501953 time for calcul the mask position with numpy : 0.02400994300842285 nb_pixel_total : 7619 time to create 1 rle with old method : 0.013291358947753906 time for calcul the mask position with numpy : 0.03924560546875 nb_pixel_total : 32229 time to create 1 rle with old method : 0.03950381278991699 time for calcul the mask position with numpy : 0.03572368621826172 nb_pixel_total : 53521 time to create 1 rle with old method : 0.06033897399902344 time for calcul the mask position with numpy : 0.03761625289916992 nb_pixel_total : 29626 time to create 1 rle with old method : 0.03782081604003906 time for calcul the mask position with numpy : 0.03953742980957031 nb_pixel_total : 2167 time to create 1 rle with old method : 0.0040435791015625 time for calcul the mask position with numpy : 0.03960084915161133 nb_pixel_total : 39413 time to create 1 rle with old method : 0.05014348030090332 time for calcul the mask position with numpy : 0.03524923324584961 nb_pixel_total : 66271 time to create 1 rle with old method : 0.07693982124328613 time for calcul the mask position with numpy : 0.03516340255737305 nb_pixel_total : 13251 time to create 1 rle with old method : 0.015177726745605469 time for calcul the mask position with numpy : 0.03593182563781738 nb_pixel_total : 75159 time to create 1 rle with old method : 0.08843755722045898 time for calcul the mask position with numpy : 0.044144630432128906 nb_pixel_total : 797090 time to create 1 rle with new method : 0.7533113956451416 time for calcul the mask position with numpy : 0.03791689872741699 nb_pixel_total : 45219 time to create 1 rle with old method : 0.05351066589355469 time for calcul the mask position with numpy : 0.0372004508972168 nb_pixel_total : 91558 time to create 1 rle with old method : 0.1064598560333252 time for calcul the mask position with numpy : 0.04082369804382324 nb_pixel_total : 139405 time to create 1 rle with old method : 0.17414569854736328 create new chi : 4.540657043457031 time to delete rle : 0.001995563507080078 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 15921 TO DO : save crop sub photo not yet done ! save time : 0.9535839557647705 nb_obj : 14 nb_hashtags : 6 time to prepare the origin masks : 14.761109352111816 time for calcul the mask position with numpy : 0.3833127021789551 nb_pixel_total : 6237395 time to create 1 rle with new method : 0.8402092456817627 time for calcul the mask position with numpy : 0.04210162162780762 nb_pixel_total : 41820 time to create 1 rle with old method : 0.054819583892822266 time for calcul the mask position with numpy : 0.050122976303100586 nb_pixel_total : 86373 time to create 1 rle with old method : 0.10544490814208984 time for calcul the mask position with numpy : 0.043616294860839844 nb_pixel_total : 6069 time to create 1 rle with old method : 0.007108211517333984 time for calcul the mask position with numpy : 0.04586505889892578 nb_pixel_total : 116302 time to create 1 rle with old method : 0.1313014030456543 time for calcul the mask position with numpy : 0.0428004264831543 nb_pixel_total : 98807 time to create 1 rle with old method : 0.1105194091796875 time for calcul the mask position with numpy : 0.04967761039733887 nb_pixel_total : 13476 time to create 1 rle with old method : 0.014844179153442383 time for calcul the mask position with numpy : 0.0300900936126709 nb_pixel_total : 31485 time to create 1 rle with old method : 0.038103342056274414 time for calcul the mask position with numpy : 0.03025197982788086 nb_pixel_total : 98495 time to create 1 rle with old method : 0.1066741943359375 time for calcul the mask position with numpy : 0.0304107666015625 nb_pixel_total : 11881 time to create 1 rle with old method : 0.013244390487670898 time for calcul the mask position with numpy : 0.03354907035827637 nb_pixel_total : 42095 time to create 1 rle with old method : 0.05130600929260254 time for calcul the mask position with numpy : 0.028491497039794922 nb_pixel_total : 2979 time to create 1 rle with old method : 0.0037529468536376953 time for calcul the mask position with numpy : 0.028480052947998047 nb_pixel_total : 250925 time to create 1 rle with new method : 1.1061792373657227 time for calcul the mask position with numpy : 0.027632713317871094 nb_pixel_total : 2197 time to create 1 rle with old method : 0.0025734901428222656 time for calcul the mask position with numpy : 0.02380061149597168 nb_pixel_total : 9941 time to create 1 rle with old method : 0.014821052551269531 create new chi : 3.5631022453308105 time to delete rle : 0.0014641284942626953 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 11352 TO DO : save crop sub photo not yet done ! save time : 0.8363072872161865 nb_obj : 21 nb_hashtags : 7 time to prepare the origin masks : 11.707959413528442 time for calcul the mask position with numpy : 0.2729339599609375 nb_pixel_total : 6256196 time to create 1 rle with new method : 0.3187692165374756 time for calcul the mask position with numpy : 0.03880119323730469 nb_pixel_total : 5759 time to create 1 rle with old method : 0.0067234039306640625 time for calcul the mask position with numpy : 0.028063058853149414 nb_pixel_total : 20263 time to create 1 rle with old method : 0.02443075180053711 time for calcul the mask position with numpy : 0.02852034568786621 nb_pixel_total : 19217 time to create 1 rle with old method : 0.02225351333618164 time for calcul the mask position with numpy : 0.02654886245727539 nb_pixel_total : 8626 time to create 1 rle with old method : 0.009971857070922852 time for calcul the mask position with numpy : 0.026764631271362305 nb_pixel_total : 53480 time to create 1 rle with old method : 0.06049966812133789 time for calcul the mask position with numpy : 0.022411823272705078 nb_pixel_total : 1639 time to create 1 rle with old method : 0.002298116683959961 time for calcul the mask position with numpy : 0.023688316345214844 nb_pixel_total : 121479 time to create 1 rle with old method : 0.14672231674194336 time for calcul the mask position with numpy : 0.02266669273376465 nb_pixel_total : 3261 time to create 1 rle with old method : 0.004417896270751953 time for calcul the mask position with numpy : 0.025322914123535156 nb_pixel_total : 4290 time to create 1 rle with old method : 0.005213260650634766 time for calcul the mask position with numpy : 0.020973920822143555 nb_pixel_total : 20499 time to create 1 rle with old method : 0.024433135986328125 time for calcul the mask position with numpy : 0.024833202362060547 nb_pixel_total : 122611 time to create 1 rle with old method : 0.15417957305908203 time for calcul the mask position with numpy : 0.021963119506835938 nb_pixel_total : 27533 time to create 1 rle with old method : 0.03325319290161133 time for calcul the mask position with numpy : 0.021893978118896484 nb_pixel_total : 16454 time to create 1 rle with old method : 0.019065141677856445 time for calcul the mask position with numpy : 0.02538466453552246 nb_pixel_total : 30067 time to create 1 rle with old method : 0.03736448287963867 time for calcul the mask position with numpy : 0.02302408218383789 nb_pixel_total : 29045 time to create 1 rle with old method : 0.037451744079589844 time for calcul the mask position with numpy : 0.02397608757019043 nb_pixel_total : 22714 time to create 1 rle with old method : 0.027636051177978516 time for calcul the mask position with numpy : 0.02196025848388672 nb_pixel_total : 1457 time to create 1 rle with old method : 0.0017135143280029297 time for calcul the mask position with numpy : 0.021326541900634766 nb_pixel_total : 6177 time to create 1 rle with old method : 0.007144451141357422 time for calcul the mask position with numpy : 0.022770404815673828 nb_pixel_total : 7978 time to create 1 rle with old method : 0.010875463485717773 time for calcul the mask position with numpy : 0.026239395141601562 nb_pixel_total : 189711 time to create 1 rle with new method : 0.5804967880249023 time for calcul the mask position with numpy : 0.04509592056274414 nb_pixel_total : 81784 time to create 1 rle with old method : 0.13101863861083984 create new chi : 2.6015682220458984 time to delete rle : 0.0018379688262939453 batch 1 Loaded 22 chid ids of type : 3726 Number RLEs to save : 12282 TO DO : save crop sub photo not yet done ! save time : 0.8407449722290039 nb_obj : 13 nb_hashtags : 5 time to prepare the origin masks : 12.364065885543823 time for calcul the mask position with numpy : 1.9378769397735596 nb_pixel_total : 6592662 time to create 1 rle with new method : 1.751741886138916 time for calcul the mask position with numpy : 0.02803182601928711 nb_pixel_total : 12930 time to create 1 rle with old method : 0.016071557998657227 time for calcul the mask position with numpy : 0.02978348731994629 nb_pixel_total : 21578 time to create 1 rle with old method : 0.03232717514038086 time for calcul the mask position with numpy : 0.028404951095581055 nb_pixel_total : 16132 time to create 1 rle with old method : 0.019147872924804688 time for calcul the mask position with numpy : 0.02424335479736328 nb_pixel_total : 17373 time to create 1 rle with old method : 0.022304534912109375 time for calcul the mask position with numpy : 0.029943466186523438 nb_pixel_total : 13668 time to create 1 rle with old method : 0.01820206642150879 time for calcul the mask position with numpy : 0.02567124366760254 nb_pixel_total : 4095 time to create 1 rle with old method : 0.006299018859863281 time for calcul the mask position with numpy : 0.026174068450927734 nb_pixel_total : 11404 time to create 1 rle with old method : 0.014068603515625 time for calcul the mask position with numpy : 0.026232242584228516 nb_pixel_total : 39485 time to create 1 rle with old method : 0.04431414604187012 time for calcul the mask position with numpy : 0.031198740005493164 nb_pixel_total : 182371 time to create 1 rle with new method : 1.2156641483306885 time for calcul the mask position with numpy : 0.027715682983398438 nb_pixel_total : 56851 time to create 1 rle with old method : 0.07781219482421875 time for calcul the mask position with numpy : 0.027571916580200195 nb_pixel_total : 75519 time to create 1 rle with old method : 0.08673620223999023 time for calcul the mask position with numpy : 0.0251922607421875 nb_pixel_total : 1549 time to create 1 rle with old method : 0.0017306804656982422 time for calcul the mask position with numpy : 0.025267601013183594 nb_pixel_total : 4623 time to create 1 rle with old method : 0.005035400390625 create new chi : 5.6863112449646 time to delete rle : 0.0009701251983642578 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 8476 TO DO : save crop sub photo not yet done ! save time : 0.5738589763641357 nb_obj : 12 nb_hashtags : 6 time to prepare the origin masks : 11.529495477676392 time for calcul the mask position with numpy : 0.5989248752593994 nb_pixel_total : 6392901 time to create 1 rle with new method : 0.7019309997558594 time for calcul the mask position with numpy : 0.06256747245788574 nb_pixel_total : 130060 time to create 1 rle with old method : 0.14309072494506836 time for calcul the mask position with numpy : 0.039560794830322266 nb_pixel_total : 17880 time to create 1 rle with old method : 0.019147872924804688 time for calcul the mask position with numpy : 0.039757490158081055 nb_pixel_total : 90949 time to create 1 rle with old method : 0.09991955757141113 time for calcul the mask position with numpy : 0.03789258003234863 nb_pixel_total : 1157 time to create 1 rle with old method : 0.001367807388305664 time for calcul the mask position with numpy : 0.04025554656982422 nb_pixel_total : 2521 time to create 1 rle with old method : 0.002810955047607422 time for calcul the mask position with numpy : 0.028384923934936523 nb_pixel_total : 7756 time to create 1 rle with old method : 0.008674860000610352 time for calcul the mask position with numpy : 0.025171518325805664 nb_pixel_total : 14369 time to create 1 rle with old method : 0.015514850616455078 time for calcul the mask position with numpy : 0.025811433792114258 nb_pixel_total : 13583 time to create 1 rle with old method : 0.014955997467041016 time for calcul the mask position with numpy : 0.026817798614501953 nb_pixel_total : 241171 time to create 1 rle with new method : 0.9312069416046143 time for calcul the mask position with numpy : 0.02457284927368164 nb_pixel_total : 7718 time to create 1 rle with old method : 0.009371757507324219 time for calcul the mask position with numpy : 0.025662660598754883 nb_pixel_total : 84678 time to create 1 rle with old method : 0.09391617774963379 time for calcul the mask position with numpy : 0.029021501541137695 nb_pixel_total : 45497 time to create 1 rle with old method : 0.05016016960144043 create new chi : 3.1717028617858887 time to delete rle : 0.001008749008178711 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 8666 TO DO : save crop sub photo not yet done ! save time : 0.6373062133789062 nb_obj : 17 nb_hashtags : 4 time to prepare the origin masks : 19.757668018341064 time for calcul the mask position with numpy : 0.9051885604858398 nb_pixel_total : 6386107 time to create 1 rle with new method : 1.163177251815796 time for calcul the mask position with numpy : 0.025391101837158203 nb_pixel_total : 10240 time to create 1 rle with old method : 0.011500835418701172 time for calcul the mask position with numpy : 0.027788162231445312 nb_pixel_total : 22272 time to create 1 rle with old method : 0.025707483291625977 time for calcul the mask position with numpy : 0.025439977645874023 nb_pixel_total : 15828 time to create 1 rle with old method : 0.022117137908935547 time for calcul the mask position with numpy : 0.028647661209106445 nb_pixel_total : 24731 time to create 1 rle with old method : 0.032440900802612305 time for calcul the mask position with numpy : 0.029572010040283203 nb_pixel_total : 31122 time to create 1 rle with old method : 0.034752845764160156 time for calcul the mask position with numpy : 0.02682185173034668 nb_pixel_total : 3227 time to create 1 rle with old method : 0.0038900375366210938 time for calcul the mask position with numpy : 0.026173830032348633 nb_pixel_total : 9793 time to create 1 rle with old method : 0.012554168701171875 time for calcul the mask position with numpy : 0.027048349380493164 nb_pixel_total : 29022 time to create 1 rle with old method : 0.036406755447387695 time for calcul the mask position with numpy : 0.027456998825073242 nb_pixel_total : 56540 time to create 1 rle with old method : 0.0661470890045166 time for calcul the mask position with numpy : 0.024668455123901367 nb_pixel_total : 3789 time to create 1 rle with old method : 0.004105091094970703 time for calcul the mask position with numpy : 0.025823593139648438 nb_pixel_total : 10190 time to create 1 rle with old method : 0.012249469757080078 time for calcul the mask position with numpy : 0.02915358543395996 nb_pixel_total : 109773 time to create 1 rle with old method : 0.13146519660949707 time for calcul the mask position with numpy : 0.029027700424194336 nb_pixel_total : 53793 time to create 1 rle with old method : 0.06310248374938965 time for calcul the mask position with numpy : 0.026843547821044922 nb_pixel_total : 197800 time to create 1 rle with new method : 0.6340360641479492 time for calcul the mask position with numpy : 0.02776050567626953 nb_pixel_total : 8347 time to create 1 rle with old method : 0.00945734977722168 time for calcul the mask position with numpy : 0.025854825973510742 nb_pixel_total : 5745 time to create 1 rle with old method : 0.007241010665893555 time for calcul the mask position with numpy : 0.026195049285888672 nb_pixel_total : 71921 time to create 1 rle with old method : 0.08058476448059082 create new chi : 3.79079270362854 time to delete rle : 0.0010688304901123047 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 10238 TO DO : save crop sub photo not yet done ! save time : 0.6376934051513672 nb_obj : 12 nb_hashtags : 6 time to prepare the origin masks : 14.857717752456665 time for calcul the mask position with numpy : 0.7905619144439697 nb_pixel_total : 3395967 time to create 1 rle with new method : 0.770240068435669 time for calcul the mask position with numpy : 0.028308629989624023 nb_pixel_total : 3184 time to create 1 rle with old method : 0.004374265670776367 time for calcul the mask position with numpy : 0.03246164321899414 nb_pixel_total : 76171 time to create 1 rle with old method : 0.10199499130249023 time for calcul the mask position with numpy : 0.0302276611328125 nb_pixel_total : 14085 time to create 1 rle with old method : 0.020203590393066406 time for calcul the mask position with numpy : 0.03153109550476074 nb_pixel_total : 122509 time to create 1 rle with old method : 0.13896608352661133 time for calcul the mask position with numpy : 0.02373480796813965 nb_pixel_total : 91450 time to create 1 rle with old method : 0.10262560844421387 time for calcul the mask position with numpy : 0.027276039123535156 nb_pixel_total : 219308 time to create 1 rle with new method : 2.5073964595794678 time for calcul the mask position with numpy : 0.030390501022338867 nb_pixel_total : 263126 time to create 1 rle with new method : 1.056649923324585 time for calcul the mask position with numpy : 0.04414534568786621 nb_pixel_total : 27539 time to create 1 rle with old method : 0.03300809860229492 time for calcul the mask position with numpy : 0.039247989654541016 nb_pixel_total : 1750 time to create 1 rle with old method : 0.002077817916870117 time for calcul the mask position with numpy : 0.03930306434631348 nb_pixel_total : 54800 time to create 1 rle with old method : 0.06532025337219238 time for calcul the mask position with numpy : 0.03957629203796387 nb_pixel_total : 76170 time to create 1 rle with old method : 0.09039878845214844 time for calcul the mask position with numpy : 0.6635980606079102 nb_pixel_total : 2704181 time to create 1 rle with new method : 1.3239014148712158 create new chi : 8.182373762130737 time to delete rle : 0.001986265182495117 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 17512 TO DO : save crop sub photo not yet done ! save time : 1.1682918071746826 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 9.006624937057495 time for calcul the mask position with numpy : 0.0913546085357666 nb_pixel_total : 2152209 time to create 1 rle with new method : 0.6746056079864502 time for calcul the mask position with numpy : 0.036287784576416016 nb_pixel_total : 242042 time to create 1 rle with new method : 0.6333706378936768 time for calcul the mask position with numpy : 0.03208446502685547 nb_pixel_total : 42501 time to create 1 rle with old method : 0.05088210105895996 time for calcul the mask position with numpy : 0.36599278450012207 nb_pixel_total : 4613488 time to create 1 rle with new method : 1.0445342063903809 create new chi : 3.050931930541992 time to delete rle : 0.0014753341674804688 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 8750 TO DO : save crop sub photo not yet done ! save time : 0.7875044345855713 map_output_result : {1341310387: (0.0, 'Should be the crop_list due to order', 0), 1341310380: (0.0, 'Should be the crop_list due to order', 0), 1341310315: (0.0, 'Should be the crop_list due to order', 0), 1341310306: (0.0, 'Should be the crop_list due to order', 0), 1341310297: (0.0, 'Should be the crop_list due to order', 0), 1341310293: (0.0, 'Should be the crop_list due to order', 0), 1341310278: (0.0, 'Should be the crop_list due to order', 0), 1341310260: (0.0, 'Should be the crop_list due to order', 0), 1341310177: (0.0, 'Should be the crop_list due to order', 0), 1341310169: (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 [1341310387, 1341310380, 1341310315, 1341310306, 1341310297, 1341310293, 1341310278, 1341310260, 1341310177, 1341310169] Looping around the photos to save general results len do output : 10 /1341310387.Didn't retrieve data . /1341310380.Didn't retrieve data . /1341310315.Didn't retrieve data . /1341310306.Didn't retrieve data . /1341310297.Didn't retrieve data . /1341310293.Didn't retrieve data . /1341310278.Didn't retrieve data . /1341310260.Didn't retrieve data . /1341310177.Didn't retrieve data . /1341310169.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, '2650183') ('3459', '21164247', '1341310387', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310380', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310315', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310306', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310297', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310293', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310278', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310260', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310177', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310169', None, None, None, None, None, '2650183') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01860213279724121 save_final save missing photos in datou_result : time spend for datou_step_exec : 201.89677000045776 time spend to save output : 0.04900789260864258 total time spend for step 5 : 201.9457778930664 step6:crop_condition Sat Mar 8 00:20:45 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure 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 157 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/1741389650_1413893 we have uploaded 7 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.5786683559417725 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! About to upload 10 photos upload in portfolio : 4869462 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741389658_1413893 we have uploaded 10 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.6576192378997803 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/1741389664_1413893 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.8105571269989014 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/1741389669_1413893 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.573720932006836 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 4869462 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741389673_1413893 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.077759265899658 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741389678_1413893 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.221644163131714 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741389682_1413893 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5858793258666992 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 [1341310387, 1341310380, 1341310315, 1341310306, 1341310297, 1341310293, 1341310278, 1341310260, 1341310177, 1341310169] Looping around the photos to save general results len do output : 38 /1341635799Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635800Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635801Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635802Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635803Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635804Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635805Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635880Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635881Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635882Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635883Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635884Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635885Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635886Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635887Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635888Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635889Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635892Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635893Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635894Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635895Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635896Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635946Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635947Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635948Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635949Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635950Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635964Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635965Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635966Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635967Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635968Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635969Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635978Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635979Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635980Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635981Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341635984Didn'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, '2650183') ('3459', '21164247', '1341310387', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310380', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310315', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310306', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310297', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310293', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310278', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310260', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310177', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310169', None, None, None, None, None, '2650183') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 124 time used for this insertion : 0.12938570976257324 save_final save missing photos in datou_result : time spend for datou_step_exec : 39.66878318786621 time spend to save output : 0.16240978240966797 total time spend for step 6 : 39.83119297027588 step7:ventilate_hashtags_in_portfolio Sat Mar 8 00:21:25 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 : 21164247 get user id for portfolio 21164247 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`=21164247 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_gris','flou','mal_croppe','environnement','plastique','kraft','Carton_brun','autre_refus','metal','papier','Teint_Dans_La_Masse')) 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`=21164247 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_gris','flou','mal_croppe','environnement','plastique','kraft','Carton_brun','autre_refus','metal','papier','Teint_Dans_La_Masse')) 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`=21164247 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_gris','flou','mal_croppe','environnement','plastique','kraft','Carton_brun','autre_refus','metal','papier','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/21164552,21164553,21164554,21164555,21164556,21164557,21164558,21164559,21164560,21164561,21164562,21164563?tags=cartonnette,Carton_gris,flou,mal_croppe,environnement,plastique,kraft,Carton_brun,autre_refus,metal,papier,Teint_Dans_La_Masse Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1341310387, 1341310380, 1341310315, 1341310306, 1341310297, 1341310293, 1341310278, 1341310260, 1341310177, 1341310169] Looping around the photos to save general results len do output : 1 /21164247. 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, '2650183') ('3459', '21164247', '1341310387', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310380', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310315', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310306', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310297', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310293', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310278', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310260', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310177', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310169', None, None, None, None, None, '2650183') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.014538764953613281 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.955603837966919 time spend to save output : 0.014873027801513672 total time spend for step 7 : 1.9704768657684326 step8:final Sat Mar 8 00:21:27 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 : {1341310387: ('0.08069052068974839',), 1341310380: ('0.08069052068974839',), 1341310315: ('0.08069052068974839',), 1341310306: ('0.08069052068974839',), 1341310297: ('0.08069052068974839',), 1341310293: ('0.08069052068974839',), 1341310278: ('0.08069052068974839',), 1341310260: ('0.08069052068974839',), 1341310177: ('0.08069052068974839',), 1341310169: ('0.08069052068974839',)} new output for save of step final : {1341310387: ('0.08069052068974839',), 1341310380: ('0.08069052068974839',), 1341310315: ('0.08069052068974839',), 1341310306: ('0.08069052068974839',), 1341310297: ('0.08069052068974839',), 1341310293: ('0.08069052068974839',), 1341310278: ('0.08069052068974839',), 1341310260: ('0.08069052068974839',), 1341310177: ('0.08069052068974839',), 1341310169: ('0.08069052068974839',)} [1341310387, 1341310380, 1341310315, 1341310306, 1341310297, 1341310293, 1341310278, 1341310260, 1341310177, 1341310169] Looping around the photos to save general results len do output : 10 /1341310387.Didn't retrieve data . /1341310380.Didn't retrieve data . /1341310315.Didn't retrieve data . /1341310306.Didn't retrieve data . /1341310297.Didn't retrieve data . /1341310293.Didn't retrieve data . /1341310278.Didn't retrieve data . /1341310260.Didn't retrieve data . /1341310177.Didn't retrieve data . /1341310169.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, '2650183') ('3459', '21164247', '1341310387', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310380', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310315', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310306', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310297', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310293', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310278', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310260', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310177', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310169', None, None, None, None, None, '2650183') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01621246337890625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6278133392333984 time spend to save output : 0.016856908798217773 total time spend for step 8 : 0.6446702480316162 step9:velours_tree Sat Mar 8 00:21:28 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.2709493637084961 time spend to save output : 6.270408630371094e-05 total time spend for step 9 : 0.2710120677947998 step10:send_mail_cod Sat Mar 8 00:21:28 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_P21164247_08-03-2025_00_21_28.pdf 21164552 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette211645521741389688 21164554 imagette211645541741389689 21164555 imagette211645551741389689 21164557 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette211645571741389689 21164558 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette211645581741389691 21164560 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette211645601741389692 21164561 imagette211645611741389694 21164553 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette211645531741389694 21164559 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette211645591741389695 21164563 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette211645631741389697 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21164247 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21164552,21164553,21164554,21164555,21164556,21164557,21164558,21164559,21164560,21164561,21164562,21164563?tags=cartonnette,Carton_gris,flou,mal_croppe,environnement,plastique,kraft,Carton_brun,autre_refus,metal,papier,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1341310387] : ('0.08069052068974839',) no score found for photo 1341310387 We are sending mail with results at report@fotonower.com args[1341310380] : ('0.08069052068974839',) no score found for photo 1341310380 We are sending mail with results at report@fotonower.com args[1341310315] : ('0.08069052068974839',) no score found for photo 1341310315 We are sending mail with results at report@fotonower.com args[1341310306] : ('0.08069052068974839',) no score found for photo 1341310306 We are sending mail with results at report@fotonower.com args[1341310297] : ('0.08069052068974839',) no score found for photo 1341310297 We are sending mail with results at report@fotonower.com args[1341310293] : ('0.08069052068974839',) no score found for photo 1341310293 We are sending mail with results at report@fotonower.com args[1341310278] : ('0.08069052068974839',) no score found for photo 1341310278 We are sending mail with results at report@fotonower.com args[1341310260] : ('0.08069052068974839',) no score found for photo 1341310260 We are sending mail with results at report@fotonower.com args[1341310177] : ('0.08069052068974839',) no score found for photo 1341310177 We are sending mail with results at report@fotonower.com args[1341310169] : ('0.08069052068974839',) no score found for photo 1341310169 We are sending mail with results at report@fotonower.com refus_total : 0.08069052068974839 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=21164247 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1341310387,1341310260,1341310278,1341310293,1341192626,1341192584,1341310297,1341192510,1341191355,1341192445,1341192419,1341192146,1341192061,1341192058,1341191992,1341191986,1341191980,1341310380,1341191554,1341191509) Found this number of photos: 20 begin to download photo : 1341310387 begin to download photo : 1341192584 begin to download photo : 1341192419 begin to download photo : 1341191986 download finish for photo 1341310387 begin to download photo : 1341310260 download finish for photo 1341192584 begin to download photo : 1341310297 download finish for photo 1341192419 begin to download photo : 1341192146 download finish for photo 1341191986 begin to download photo : 1341191980 download finish for photo 1341310297 begin to download photo : 1341192510 download finish for photo 1341191980 begin to download photo : 1341310380 download finish for photo 1341192146 begin to download photo : 1341192061 download finish for photo 1341310260 begin to download photo : 1341310278 download finish for photo 1341192510 begin to download photo : 1341191355 download finish for photo 1341192061 begin to download photo : 1341192058 download finish for photo 1341310278 begin to download photo : 1341310293 download finish for photo 1341310380 begin to download photo : 1341191554 download finish for photo 1341191355 begin to download photo : 1341192445 download finish for photo 1341191554 begin to download photo : 1341191509 download finish for photo 1341192058 begin to download photo : 1341191992 download finish for photo 1341310293 begin to download photo : 1341192626 download finish for photo 1341192445 download finish for photo 1341191509 download finish for photo 1341191992 download finish for photo 1341192626 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21164247_08-03-2025_00_21_28.pdf results_Auto_P21164247_08-03-2025_00_21_28.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21164247_08-03-2025_00_21_28.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','21164247','results_Auto_P21164247_08-03-2025_00_21_28.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21164247_08-03-2025_00_21_28.pdf','pdf','','1.38','0.08069052068974839') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1341310387, 1341310380, 1341310315, 1341310306, 1341310297, 1341310293, 1341310278, 1341310260, 1341310177, 1341310169] 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, '2650183') ('3459', '21164247', '1341310387', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310380', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310315', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310306', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310297', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310293', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310278', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310260', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310177', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310169', None, None, None, None, None, '2650183') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.014948368072509766 save_final save missing photos in datou_result : time spend for datou_step_exec : 14.837291717529297 time spend to save output : 0.015321016311645508 total time spend for step 10 : 14.852612733840942 step11:split_time_score Sat Mar 8 00:21:43 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'}] (('07', 20), ('08', 14)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 06032025 21164247 Nombre de photos uploadées : 34 / 23040 (0%) 06032025 21164247 Nombre de photos taguées (types de déchets): 0 / 34 (0%) 06032025 21164247 Nombre de photos taguées (volume) : 0 / 34 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ?????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0020380020141601562 elapsed_time : insert_dashboard_record_day_entry 0.023986339569091797 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164242 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164243 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164244 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164245 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164246 order by id desc limit 1 Qualite : 0.08069052068974839 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21164247_08-03-2025_00_21_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164247 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`=21164247 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164248 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164249 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164250 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164251 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164252 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21164253_08-03-2025_00_20_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164253 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164254 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164255 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164256 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164257 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164258 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164259 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164260 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164261 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164262 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164263 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164264 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164279 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164280 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164281 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164282 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164283 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21132535 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164284 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164302 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164303 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164304 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164305 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131105 order by id desc limit 1 Qualite : 0.1208628538400596 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21131106_07-03-2025_01_05_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131106 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`=21131106 AND mptpi.`type`=3726 To do Qualite : 0.2403201734976397 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21131107_07-03-2025_01_22_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131107 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21131107 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131108 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164306 order by id desc limit 1 Qualite : 0.23950699235455492 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21131110_07-03-2025_00_45_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131110 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21131110 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164307 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164315 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164323 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164327 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164328 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164329 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164330 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164337 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164349 order by id desc limit 1 Qualite : 0.24659821273223817 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131864 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21131864 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164350 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164351 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164352 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164353 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164370 order by id desc limit 1 Qualite : 0.22215740173384166 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21131114_07-03-2025_00_29_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21131114 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21131114 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164371 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164378 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164390 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164391 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21164392_08-03-2025_00_21_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164392 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164393 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164394 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164395 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164396 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164397 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164398 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164399 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164400 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21164401_08-03-2025_00_22_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164401 order by id desc limit 1 Qualite : 0.09179105009673029 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21164402_08-03-2025_00_19_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21164402 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`=21164402 AND mptpi.`type`=4207 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'06032025': {'nb_upload': 34, '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 [1341310387, 1341310380, 1341310315, 1341310306, 1341310297, 1341310293, 1341310278, 1341310260, 1341310177, 1341310169] Looping around the photos to save general results len do output : 1 /21164247Didn'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, '2650183') ('3459', '21164247', '1341310387', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310380', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310315', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310306', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310297', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310293', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310278', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310260', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310177', None, None, None, None, None, '2650183') ('3459', None, None, None, None, None, None, None, '2650183') ('3459', '21164247', '1341310169', None, None, None, None, None, '2650183') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 2.134491205215454 save_final save missing photos in datou_result : time spend for datou_step_exec : 50.01489210128784 time spend to save output : 2.1348211765289307 total time spend for step 11 : 52.14971327781677 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 168.21user 219.95system 8:12.90elapsed 78%CPU (0avgtext+0avgdata 4408140maxresident)k 1590536inputs+156904outputs (30114major+13405576minor)pagefaults 0swaps