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 : 927994 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 : 32>10 please execute split_portfolio.py -i 21400734 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2667121'] with mtr_portfolio_ids : ['21400734'] and first list_photo_ids : [] new path : /proc/927994/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.8009593486785889 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 Thu Mar 13 22:52:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10372 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-13 22:52:32.436215: 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-13 22:52:32.463121: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-13 22:52:32.464674: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f061c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-13 22:52:32.464733: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-13 22:52:32.467613: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-13 22:52:32.697320: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3f2084d0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-13 22:52:32.697362: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-13 22:52:32.698273: 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-13 22:52:32.698606: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-13 22:52:32.700559: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-13 22:52:32.702611: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-13 22:52:32.702928: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-13 22:52:32.705160: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-13 22:52:32.706213: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-13 22:52:32.710672: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-13 22:52:32.712114: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-13 22:52:32.712188: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-13 22:52:32.712922: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-13 22:52:32.712937: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-13 22:52:32.712946: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-13 22:52:32.714203: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9607 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-03-13 22:52:32.987163: 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-13 22:52:32.987304: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-13 22:52:32.987326: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-13 22:52:32.987345: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-13 22:52:32.987363: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-13 22:52:32.987380: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-13 22:52:32.987397: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-13 22:52:32.987416: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-13 22:52:32.988935: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-13 22:52:32.990287: 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-13 22:52:32.990333: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-13 22:52:32.990354: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-13 22:52:32.990375: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-13 22:52:32.990394: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-13 22:52:32.990413: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-13 22:52:32.990432: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-13 22:52:32.990451: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-13 22:52:32.991987: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-13 22:52:32.992028: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-13 22:52:32.992039: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-13 22:52:32.992049: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-13 22:52:32.993415: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9607 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-03-13 22:52:43.308484: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-13 22:52:43.496587: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 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 : 21 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 7 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 19 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 33 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 : 11 Detection mask done ! Trying to reset tf kernel 928348 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1306 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 : 6595 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.0010876655578613281 nb_pixel_total : 18092 time to create 1 rle with old method : 0.023612499237060547 length of segment : 198 time for calcul the mask position with numpy : 0.0005645751953125 nb_pixel_total : 28328 time to create 1 rle with old method : 0.03303241729736328 length of segment : 276 time for calcul the mask position with numpy : 0.0007066726684570312 nb_pixel_total : 38006 time to create 1 rle with old method : 0.042473554611206055 length of segment : 257 time for calcul the mask position with numpy : 0.004403591156005859 nb_pixel_total : 163893 time to create 1 rle with new method : 0.013457298278808594 length of segment : 455 time for calcul the mask position with numpy : 0.00041484832763671875 nb_pixel_total : 18462 time to create 1 rle with old method : 0.02048492431640625 length of segment : 294 time for calcul the mask position with numpy : 0.00036978721618652344 nb_pixel_total : 21023 time to create 1 rle with old method : 0.024021387100219727 length of segment : 201 time for calcul the mask position with numpy : 0.00010466575622558594 nb_pixel_total : 2514 time to create 1 rle with old method : 0.003007173538208008 length of segment : 56 time for calcul the mask position with numpy : 0.00016546249389648438 nb_pixel_total : 3456 time to create 1 rle with old method : 0.004587650299072266 length of segment : 103 time for calcul the mask position with numpy : 0.00044918060302734375 nb_pixel_total : 12744 time to create 1 rle with old method : 0.01604485511779785 length of segment : 180 time for calcul the mask position with numpy : 0.002165555953979492 nb_pixel_total : 61661 time to create 1 rle with old method : 0.07068371772766113 length of segment : 532 time for calcul the mask position with numpy : 0.0008981227874755859 nb_pixel_total : 32900 time to create 1 rle with old method : 0.03756427764892578 length of segment : 371 time for calcul the mask position with numpy : 0.0005664825439453125 nb_pixel_total : 31908 time to create 1 rle with old method : 0.03608512878417969 length of segment : 288 time for calcul the mask position with numpy : 0.0034563541412353516 nb_pixel_total : 231257 time to create 1 rle with new method : 0.014126777648925781 length of segment : 1059 time for calcul the mask position with numpy : 0.08711552619934082 nb_pixel_total : 1689268 time to create 1 rle with new method : 0.33355140686035156 length of segment : 2803 time for calcul the mask position with numpy : 0.0022907257080078125 nb_pixel_total : 138351 time to create 1 rle with old method : 0.15085768699645996 length of segment : 428 time for calcul the mask position with numpy : 0.00031256675720214844 nb_pixel_total : 14864 time to create 1 rle with old method : 0.017861604690551758 length of segment : 113 time for calcul the mask position with numpy : 0.004151821136474609 nb_pixel_total : 309008 time to create 1 rle with new method : 0.010100364685058594 length of segment : 521 time for calcul the mask position with numpy : 0.0001480579376220703 nb_pixel_total : 6550 time to create 1 rle with old method : 0.007646322250366211 length of segment : 101 time for calcul the mask position with numpy : 0.0039675235748291016 nb_pixel_total : 215444 time to create 1 rle with new method : 0.012893915176391602 length of segment : 667 time for calcul the mask position with numpy : 0.0007314682006835938 nb_pixel_total : 45606 time to create 1 rle with old method : 0.054357290267944336 length of segment : 289 time for calcul the mask position with numpy : 8.893013000488281e-05 nb_pixel_total : 2063 time to create 1 rle with old method : 0.0025284290313720703 length of segment : 44 time for calcul the mask position with numpy : 7.605552673339844e-05 nb_pixel_total : 2774 time to create 1 rle with old method : 0.0032711029052734375 length of segment : 59 time for calcul the mask position with numpy : 0.0016345977783203125 nb_pixel_total : 108698 time to create 1 rle with old method : 0.11969447135925293 length of segment : 475 time for calcul the mask position with numpy : 0.009639263153076172 nb_pixel_total : 436837 time to create 1 rle with new method : 0.06224346160888672 length of segment : 1539 time for calcul the mask position with numpy : 0.004041910171508789 nb_pixel_total : 223991 time to create 1 rle with new method : 0.01275944709777832 length of segment : 805 time for calcul the mask position with numpy : 0.00018143653869628906 nb_pixel_total : 5977 time to create 1 rle with old method : 0.007153749465942383 length of segment : 110 time for calcul the mask position with numpy : 0.00401616096496582 nb_pixel_total : 211105 time to create 1 rle with new method : 0.012109041213989258 length of segment : 937 time for calcul the mask position with numpy : 0.0011556148529052734 nb_pixel_total : 51621 time to create 1 rle with old method : 0.05956435203552246 length of segment : 220 time for calcul the mask position with numpy : 0.0009467601776123047 nb_pixel_total : 43686 time to create 1 rle with old method : 0.049245595932006836 length of segment : 334 time for calcul the mask position with numpy : 0.002009868621826172 nb_pixel_total : 92255 time to create 1 rle with old method : 0.10417556762695312 length of segment : 407 time for calcul the mask position with numpy : 0.00040721893310546875 nb_pixel_total : 18507 time to create 1 rle with old method : 0.021623849868774414 length of segment : 168 time for calcul the mask position with numpy : 0.0005619525909423828 nb_pixel_total : 22907 time to create 1 rle with old method : 0.025456905364990234 length of segment : 208 time for calcul the mask position with numpy : 0.005535602569580078 nb_pixel_total : 283677 time to create 1 rle with new method : 0.01572585105895996 length of segment : 712 time for calcul the mask position with numpy : 0.0007131099700927734 nb_pixel_total : 32243 time to create 1 rle with old method : 0.0407257080078125 length of segment : 324 time for calcul the mask position with numpy : 0.006451606750488281 nb_pixel_total : 267179 time to create 1 rle with new method : 0.019502639770507812 length of segment : 851 time for calcul the mask position with numpy : 0.00016570091247558594 nb_pixel_total : 2742 time to create 1 rle with old method : 0.0034372806549072266 length of segment : 83 time for calcul the mask position with numpy : 0.0005578994750976562 nb_pixel_total : 28549 time to create 1 rle with old method : 0.03311324119567871 length of segment : 199 time for calcul the mask position with numpy : 0.0015566349029541016 nb_pixel_total : 74366 time to create 1 rle with old method : 0.10151934623718262 length of segment : 366 time for calcul the mask position with numpy : 0.00033593177795410156 nb_pixel_total : 10669 time to create 1 rle with old method : 0.014151334762573242 length of segment : 144 time for calcul the mask position with numpy : 0.002661466598510742 nb_pixel_total : 137725 time to create 1 rle with old method : 0.16508007049560547 length of segment : 642 time for calcul the mask position with numpy : 0.0006830692291259766 nb_pixel_total : 36613 time to create 1 rle with old method : 0.0430912971496582 length of segment : 225 time for calcul the mask position with numpy : 0.0004677772521972656 nb_pixel_total : 35176 time to create 1 rle with old method : 0.040059566497802734 length of segment : 216 time for calcul the mask position with numpy : 0.00011777877807617188 nb_pixel_total : 2870 time to create 1 rle with old method : 0.0035314559936523438 length of segment : 82 time for calcul the mask position with numpy : 0.0009198188781738281 nb_pixel_total : 62172 time to create 1 rle with old method : 0.07366800308227539 length of segment : 305 time for calcul the mask position with numpy : 0.0002982616424560547 nb_pixel_total : 4673 time to create 1 rle with old method : 0.005360126495361328 length of segment : 99 time for calcul the mask position with numpy : 0.0006277561187744141 nb_pixel_total : 32742 time to create 1 rle with old method : 0.03728032112121582 length of segment : 246 time for calcul the mask position with numpy : 0.002864837646484375 nb_pixel_total : 81901 time to create 1 rle with old method : 0.09000611305236816 length of segment : 369 time for calcul the mask position with numpy : 0.0004622936248779297 nb_pixel_total : 6055 time to create 1 rle with old method : 0.006981611251831055 length of segment : 149 time for calcul the mask position with numpy : 0.0003979206085205078 nb_pixel_total : 6381 time to create 1 rle with old method : 0.007660388946533203 length of segment : 149 time for calcul the mask position with numpy : 0.0005080699920654297 nb_pixel_total : 15640 time to create 1 rle with old method : 0.017745018005371094 length of segment : 116 time for calcul the mask position with numpy : 0.0002956390380859375 nb_pixel_total : 5944 time to create 1 rle with old method : 0.007158517837524414 length of segment : 76 time for calcul the mask position with numpy : 0.00044846534729003906 nb_pixel_total : 9911 time to create 1 rle with old method : 0.010987520217895508 length of segment : 121 time for calcul the mask position with numpy : 0.0033752918243408203 nb_pixel_total : 117480 time to create 1 rle with old method : 0.1398146152496338 length of segment : 396 time for calcul the mask position with numpy : 0.0020787715911865234 nb_pixel_total : 64836 time to create 1 rle with old method : 0.08809590339660645 length of segment : 227 time for calcul the mask position with numpy : 0.015034675598144531 nb_pixel_total : 369136 time to create 1 rle with new method : 0.02716827392578125 length of segment : 1164 time for calcul the mask position with numpy : 0.0002644062042236328 nb_pixel_total : 2623 time to create 1 rle with old method : 0.0034461021423339844 length of segment : 72 time for calcul the mask position with numpy : 0.005665302276611328 nb_pixel_total : 170149 time to create 1 rle with new method : 0.009454488754272461 length of segment : 590 time for calcul the mask position with numpy : 0.007946491241455078 nb_pixel_total : 262465 time to create 1 rle with new method : 0.013804435729980469 length of segment : 966 time for calcul the mask position with numpy : 0.0012006759643554688 nb_pixel_total : 13182 time to create 1 rle with old method : 0.016061782836914062 length of segment : 194 time for calcul the mask position with numpy : 0.009042024612426758 nb_pixel_total : 258603 time to create 1 rle with new method : 0.01835465431213379 length of segment : 1340 time for calcul the mask position with numpy : 0.000606536865234375 nb_pixel_total : 14389 time to create 1 rle with old method : 0.016534090042114258 length of segment : 120 time for calcul the mask position with numpy : 0.010783910751342773 nb_pixel_total : 483452 time to create 1 rle with new method : 0.020540237426757812 length of segment : 819 time for calcul the mask position with numpy : 0.0005376338958740234 nb_pixel_total : 17905 time to create 1 rle with old method : 0.02151346206665039 length of segment : 241 time for calcul the mask position with numpy : 0.010946989059448242 nb_pixel_total : 160213 time to create 1 rle with new method : 0.03154444694519043 length of segment : 799 time for calcul the mask position with numpy : 0.0010945796966552734 nb_pixel_total : 22828 time to create 1 rle with old method : 0.028504133224487305 length of segment : 308 time for calcul the mask position with numpy : 0.0010340213775634766 nb_pixel_total : 19710 time to create 1 rle with old method : 0.02481818199157715 length of segment : 266 time for calcul the mask position with numpy : 0.00039577484130859375 nb_pixel_total : 6865 time to create 1 rle with old method : 0.008651018142700195 length of segment : 150 time for calcul the mask position with numpy : 0.00034928321838378906 nb_pixel_total : 7362 time to create 1 rle with old method : 0.009193897247314453 length of segment : 128 time for calcul the mask position with numpy : 0.0003383159637451172 nb_pixel_total : 6442 time to create 1 rle with old method : 0.008483171463012695 length of segment : 103 time for calcul the mask position with numpy : 0.0009531974792480469 nb_pixel_total : 23701 time to create 1 rle with old method : 0.034162282943725586 length of segment : 248 time for calcul the mask position with numpy : 0.01964592933654785 nb_pixel_total : 712301 time to create 1 rle with new method : 0.028671741485595703 length of segment : 2087 time for calcul the mask position with numpy : 0.0004904270172119141 nb_pixel_total : 15766 time to create 1 rle with old method : 0.020454883575439453 length of segment : 117 time for calcul the mask position with numpy : 0.007387399673461914 nb_pixel_total : 277084 time to create 1 rle with new method : 0.011496305465698242 length of segment : 974 time for calcul the mask position with numpy : 0.00013899803161621094 nb_pixel_total : 1197 time to create 1 rle with old method : 0.0015592575073242188 length of segment : 47 time for calcul the mask position with numpy : 0.00018072128295898438 nb_pixel_total : 5071 time to create 1 rle with old method : 0.006372690200805664 length of segment : 154 time for calcul the mask position with numpy : 0.0013937950134277344 nb_pixel_total : 54743 time to create 1 rle with old method : 0.0691826343536377 length of segment : 221 time for calcul the mask position with numpy : 0.0007584095001220703 nb_pixel_total : 14332 time to create 1 rle with old method : 0.017331361770629883 length of segment : 195 time for calcul the mask position with numpy : 0.00010466575622558594 nb_pixel_total : 1876 time to create 1 rle with old method : 0.002561807632446289 length of segment : 36 time for calcul the mask position with numpy : 0.0022814273834228516 nb_pixel_total : 39403 time to create 1 rle with old method : 0.04808640480041504 length of segment : 428 time for calcul the mask position with numpy : 0.006438732147216797 nb_pixel_total : 127210 time to create 1 rle with old method : 0.15237164497375488 length of segment : 1559 time for calcul the mask position with numpy : 0.0006437301635742188 nb_pixel_total : 4013 time to create 1 rle with old method : 0.005429983139038086 length of segment : 158 time for calcul the mask position with numpy : 0.010207891464233398 nb_pixel_total : 479886 time to create 1 rle with new method : 0.020048856735229492 length of segment : 786 time for calcul the mask position with numpy : 0.0014324188232421875 nb_pixel_total : 48847 time to create 1 rle with old method : 0.058109283447265625 length of segment : 215 time for calcul the mask position with numpy : 1.059910535812378 nb_pixel_total : 4650695 time to create 1 rle with new method : 0.5956192016601562 length of segment : 3094 time for calcul the mask position with numpy : 0.002813100814819336 nb_pixel_total : 172141 time to create 1 rle with new method : 0.007709980010986328 length of segment : 946 time for calcul the mask position with numpy : 0.0006456375122070312 nb_pixel_total : 33250 time to create 1 rle with old method : 0.04134106636047363 length of segment : 269 time for calcul the mask position with numpy : 0.0027790069580078125 nb_pixel_total : 123946 time to create 1 rle with old method : 0.17125606536865234 length of segment : 486 time for calcul the mask position with numpy : 0.0002486705780029297 nb_pixel_total : 13582 time to create 1 rle with old method : 0.016927480697631836 length of segment : 130 time for calcul the mask position with numpy : 0.0013935565948486328 nb_pixel_total : 110329 time to create 1 rle with old method : 0.13620471954345703 length of segment : 330 time for calcul the mask position with numpy : 0.01163029670715332 nb_pixel_total : 501131 time to create 1 rle with new method : 0.0153961181640625 length of segment : 814 time for calcul the mask position with numpy : 0.005241870880126953 nb_pixel_total : 274499 time to create 1 rle with new method : 0.00800180435180664 length of segment : 567 time for calcul the mask position with numpy : 0.0004811286926269531 nb_pixel_total : 18542 time to create 1 rle with old method : 0.022650718688964844 length of segment : 189 time for calcul the mask position with numpy : 0.0006830692291259766 nb_pixel_total : 27570 time to create 1 rle with old method : 0.03362894058227539 length of segment : 164 time for calcul the mask position with numpy : 0.0003800392150878906 nb_pixel_total : 4369 time to create 1 rle with old method : 0.00524592399597168 length of segment : 187 time for calcul the mask position with numpy : 0.0013580322265625 nb_pixel_total : 59089 time to create 1 rle with old method : 0.07123947143554688 length of segment : 291 time for calcul the mask position with numpy : 0.0009500980377197266 nb_pixel_total : 14702 time to create 1 rle with old method : 0.018301963806152344 length of segment : 155 time for calcul the mask position with numpy : 0.0036427974700927734 nb_pixel_total : 127684 time to create 1 rle with old method : 0.15612268447875977 length of segment : 555 time for calcul the mask position with numpy : 0.00027298927307128906 nb_pixel_total : 2938 time to create 1 rle with old method : 0.004023313522338867 length of segment : 96 time for calcul the mask position with numpy : 0.0025577545166015625 nb_pixel_total : 113993 time to create 1 rle with old method : 0.1353003978729248 length of segment : 403 time for calcul the mask position with numpy : 0.0016057491302490234 nb_pixel_total : 70697 time to create 1 rle with old method : 0.089019775390625 length of segment : 334 time for calcul the mask position with numpy : 0.0004010200500488281 nb_pixel_total : 8050 time to create 1 rle with old method : 0.01003265380859375 length of segment : 167 time for calcul the mask position with numpy : 0.0017542839050292969 nb_pixel_total : 74720 time to create 1 rle with old method : 0.09358859062194824 length of segment : 350 time for calcul the mask position with numpy : 0.0001926422119140625 nb_pixel_total : 5722 time to create 1 rle with old method : 0.009853363037109375 length of segment : 117 time for calcul the mask position with numpy : 0.0005757808685302734 nb_pixel_total : 10846 time to create 1 rle with old method : 0.01851820945739746 length of segment : 197 time for calcul the mask position with numpy : 0.0001499652862548828 nb_pixel_total : 2279 time to create 1 rle with old method : 0.0029604434967041016 length of segment : 63 time for calcul the mask position with numpy : 0.0019316673278808594 nb_pixel_total : 118602 time to create 1 rle with old method : 0.14741063117980957 length of segment : 394 time for calcul the mask position with numpy : 0.0009419918060302734 nb_pixel_total : 20280 time to create 1 rle with old method : 0.02581787109375 length of segment : 214 time for calcul the mask position with numpy : 0.002643108367919922 nb_pixel_total : 64900 time to create 1 rle with old method : 0.07726526260375977 length of segment : 374 time for calcul the mask position with numpy : 0.0014941692352294922 nb_pixel_total : 39006 time to create 1 rle with old method : 0.04521918296813965 length of segment : 295 time for calcul the mask position with numpy : 0.00037217140197753906 nb_pixel_total : 7889 time to create 1 rle with old method : 0.01011514663696289 length of segment : 105 time for calcul the mask position with numpy : 0.0002186298370361328 nb_pixel_total : 2390 time to create 1 rle with old method : 0.0031042098999023438 length of segment : 81 time for calcul the mask position with numpy : 0.001913309097290039 nb_pixel_total : 63173 time to create 1 rle with old method : 0.08131933212280273 length of segment : 396 time for calcul the mask position with numpy : 0.00018858909606933594 nb_pixel_total : 2938 time to create 1 rle with old method : 0.004076719284057617 length of segment : 27 time for calcul the mask position with numpy : 0.0001373291015625 nb_pixel_total : 1935 time to create 1 rle with old method : 0.002610921859741211 length of segment : 43 time for calcul the mask position with numpy : 0.0009174346923828125 nb_pixel_total : 20174 time to create 1 rle with old method : 0.025523900985717773 length of segment : 192 time for calcul the mask position with numpy : 0.0005991458892822266 nb_pixel_total : 11479 time to create 1 rle with old method : 0.015048027038574219 length of segment : 123 time for calcul the mask position with numpy : 0.0016257762908935547 nb_pixel_total : 57713 time to create 1 rle with old method : 0.07077956199645996 length of segment : 195 time for calcul the mask position with numpy : 0.0012824535369873047 nb_pixel_total : 37978 time to create 1 rle with old method : 0.047747135162353516 length of segment : 384 time for calcul the mask position with numpy : 0.002087116241455078 nb_pixel_total : 70021 time to create 1 rle with old method : 0.08335185050964355 length of segment : 430 time for calcul the mask position with numpy : 0.0005078315734863281 nb_pixel_total : 6650 time to create 1 rle with old method : 0.008721590042114258 length of segment : 95 time for calcul the mask position with numpy : 0.0015382766723632812 nb_pixel_total : 50408 time to create 1 rle with old method : 0.06159019470214844 length of segment : 253 time for calcul the mask position with numpy : 0.0001995563507080078 nb_pixel_total : 4611 time to create 1 rle with old method : 0.00600886344909668 length of segment : 68 time for calcul the mask position with numpy : 0.00010824203491210938 nb_pixel_total : 2328 time to create 1 rle with old method : 0.0031414031982421875 length of segment : 54 time for calcul the mask position with numpy : 0.0006687641143798828 nb_pixel_total : 15924 time to create 1 rle with old method : 0.01985764503479004 length of segment : 215 time for calcul the mask position with numpy : 0.0016362667083740234 nb_pixel_total : 54515 time to create 1 rle with old method : 0.06629300117492676 length of segment : 281 time for calcul the mask position with numpy : 0.0025200843811035156 nb_pixel_total : 65018 time to create 1 rle with old method : 0.07923650741577148 length of segment : 332 time for calcul the mask position with numpy : 0.001947641372680664 nb_pixel_total : 77827 time to create 1 rle with old method : 0.09691619873046875 length of segment : 610 time for calcul the mask position with numpy : 0.004796743392944336 nb_pixel_total : 109764 time to create 1 rle with old method : 0.13472414016723633 length of segment : 467 time for calcul the mask position with numpy : 0.0009829998016357422 nb_pixel_total : 27181 time to create 1 rle with old method : 0.03208208084106445 length of segment : 213 time for calcul the mask position with numpy : 0.00032639503479003906 nb_pixel_total : 4580 time to create 1 rle with old method : 0.005645036697387695 length of segment : 104 time for calcul the mask position with numpy : 0.0008664131164550781 nb_pixel_total : 22220 time to create 1 rle with old method : 0.027449607849121094 length of segment : 158 time for calcul the mask position with numpy : 0.0022330284118652344 nb_pixel_total : 17984 time to create 1 rle with old method : 0.023726463317871094 length of segment : 472 time for calcul the mask position with numpy : 0.00022172927856445312 nb_pixel_total : 4233 time to create 1 rle with old method : 0.005306720733642578 length of segment : 58 time for calcul the mask position with numpy : 0.002658367156982422 nb_pixel_total : 47603 time to create 1 rle with old method : 0.05916714668273926 length of segment : 356 time for calcul the mask position with numpy : 0.004920482635498047 nb_pixel_total : 110165 time to create 1 rle with old method : 0.13272953033447266 length of segment : 736 time for calcul the mask position with numpy : 0.0014047622680664062 nb_pixel_total : 40233 time to create 1 rle with old method : 0.050721168518066406 length of segment : 294 time for calcul the mask position with numpy : 0.0031833648681640625 nb_pixel_total : 66064 time to create 1 rle with old method : 0.08049201965332031 length of segment : 461 time for calcul the mask position with numpy : 0.002512216567993164 nb_pixel_total : 69689 time to create 1 rle with old method : 0.08292889595031738 length of segment : 491 time for calcul the mask position with numpy : 0.0011012554168701172 nb_pixel_total : 18801 time to create 1 rle with old method : 0.023413658142089844 length of segment : 217 time for calcul the mask position with numpy : 0.00061798095703125 nb_pixel_total : 25938 time to create 1 rle with old method : 0.030492305755615234 length of segment : 252 time for calcul the mask position with numpy : 0.0009708404541015625 nb_pixel_total : 20772 time to create 1 rle with old method : 0.026153564453125 length of segment : 154 time for calcul the mask position with numpy : 0.0007832050323486328 nb_pixel_total : 26946 time to create 1 rle with old method : 0.0342867374420166 length of segment : 272 time for calcul the mask position with numpy : 0.00089263916015625 nb_pixel_total : 17628 time to create 1 rle with old method : 0.029597043991088867 length of segment : 172 time for calcul the mask position with numpy : 0.0031316280364990234 nb_pixel_total : 73388 time to create 1 rle with old method : 0.11209535598754883 length of segment : 388 time for calcul the mask position with numpy : 0.0012021064758300781 nb_pixel_total : 30681 time to create 1 rle with old method : 0.03597688674926758 length of segment : 266 time for calcul the mask position with numpy : 0.0008404254913330078 nb_pixel_total : 21384 time to create 1 rle with old method : 0.02683234214782715 length of segment : 211 time for calcul the mask position with numpy : 0.0030641555786132812 nb_pixel_total : 98864 time to create 1 rle with old method : 0.11509084701538086 length of segment : 468 time for calcul the mask position with numpy : 0.0005350112915039062 nb_pixel_total : 14095 time to create 1 rle with old method : 0.017435073852539062 length of segment : 227 time for calcul the mask position with numpy : 0.0011439323425292969 nb_pixel_total : 68622 time to create 1 rle with old method : 0.08479905128479004 length of segment : 379 time for calcul the mask position with numpy : 0.0021924972534179688 nb_pixel_total : 76731 time to create 1 rle with old method : 0.08830070495605469 length of segment : 441 time for calcul the mask position with numpy : 0.00027489662170410156 nb_pixel_total : 2549 time to create 1 rle with old method : 0.0034036636352539062 length of segment : 123 time for calcul the mask position with numpy : 0.002035856246948242 nb_pixel_total : 105854 time to create 1 rle with old method : 0.13133025169372559 length of segment : 429 time for calcul the mask position with numpy : 0.0005512237548828125 nb_pixel_total : 20364 time to create 1 rle with old method : 0.025663375854492188 length of segment : 171 time for calcul the mask position with numpy : 0.0001404285430908203 nb_pixel_total : 4903 time to create 1 rle with old method : 0.0064198970794677734 length of segment : 95 time for calcul the mask position with numpy : 0.0005800724029541016 nb_pixel_total : 13932 time to create 1 rle with old method : 0.01792430877685547 length of segment : 140 time for calcul the mask position with numpy : 0.003111124038696289 nb_pixel_total : 162044 time to create 1 rle with new method : 0.005910158157348633 length of segment : 423 time for calcul the mask position with numpy : 0.00028204917907714844 nb_pixel_total : 3644 time to create 1 rle with old method : 0.00482487678527832 length of segment : 124 time for calcul the mask position with numpy : 0.0010569095611572266 nb_pixel_total : 17157 time to create 1 rle with old method : 0.02133965492248535 length of segment : 297 time for calcul the mask position with numpy : 0.3678927421569824 nb_pixel_total : 2636977 time to create 1 rle with new method : 0.4150402545928955 length of segment : 3053 time for calcul the mask position with numpy : 0.013515233993530273 nb_pixel_total : 570699 time to create 1 rle with new method : 0.1444857120513916 length of segment : 1294 time for calcul the mask position with numpy : 0.00024199485778808594 nb_pixel_total : 7561 time to create 1 rle with old method : 0.009065389633178711 length of segment : 105 time for calcul the mask position with numpy : 0.0036818981170654297 nb_pixel_total : 207902 time to create 1 rle with new method : 0.008352279663085938 length of segment : 633 time for calcul the mask position with numpy : 0.002714872360229492 nb_pixel_total : 80686 time to create 1 rle with old method : 0.09140229225158691 length of segment : 571 time for calcul the mask position with numpy : 0.0005817413330078125 nb_pixel_total : 16562 time to create 1 rle with old method : 0.037119388580322266 length of segment : 138 time for calcul the mask position with numpy : 0.00038504600524902344 nb_pixel_total : 8280 time to create 1 rle with old method : 0.010050296783447266 length of segment : 151 time for calcul the mask position with numpy : 0.0013988018035888672 nb_pixel_total : 73261 time to create 1 rle with old method : 0.08698058128356934 length of segment : 356 time spent for convertir_results : 21.825748443603516 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 166 chid ids of type : 3663 Number RLEs to save : 65505 save missing photos in datou_result : time spend for datou_step_exec : 67.26400089263916 time spend to save output : 6.9396140575408936 total time spend for step 1 : 74.20361495018005 step2:crop_condition Thu Mar 13 22:53: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 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 166 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 14 About to insert : list_path_to_insert length 14 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 ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 49 About to insert : list_path_to_insert length 49 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1343940666, 1343940443, 1343940309, 1343939085, 1343938710, 1343938602, 1343938546, 1343938176, 1343938157, 1343938121] Looping around the photos to save general results len do output : 102 /-3710835234Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835231Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835295Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835305Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835310Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835317Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835312Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835336Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835342Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835338Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835365Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835237Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835240Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835246Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835267Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835285Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835281Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835290Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835291Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835301Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835304Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835327Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835340Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835345Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835366Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835222Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835243Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835249Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835256Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835268Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835264Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835278Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835272Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835284Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835302Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835329Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835352Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835346Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835205Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835204Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835206Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835212Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835214Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835203Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835225Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835227Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835217Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835221Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835236Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835233Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835232Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835244Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835229Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835248Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835242Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835265Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835260Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835259Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835255Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835266Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835275Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835282Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835288Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835289Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835303Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835308Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835299Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835297Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835294Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835309Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835320Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835328Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835311Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835319Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835314Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835323Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835354Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835339Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835344Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835330Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835351Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835348Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835334Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835331Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835367Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835358Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835364Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835258Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835251Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835271Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835321Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835316Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835333Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835363Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835219Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835220Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835254Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835293Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835292Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835337Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835368Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710835341Didn'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, '2667121') ('3459', '21400734', '1343940666', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343940443', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343940309', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343939085', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938710', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938602', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938546', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938176', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938157', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938121', None, None, None, None, None, '2667121') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 316 time used for this insertion : 0.038938045501708984 save_final save missing photos in datou_result : time spend for datou_step_exec : 47.580666303634644 time spend to save output : 0.04131937026977539 total time spend for step 2 : 47.62198567390442 step3:thcl Thu Mar 13 22:54:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.008665323257446289 time to convert the images to numpy array : 0.053269386291503906 time to import caffe and check if the image exist : 0.0060651302337646484 time to convert the images to numpy array : 0.48521852493286133 time to import caffe and check if the image exist : 0.01079702377319336 time to convert the images to numpy array : 0.5488712787628174 time to import caffe and check if the image exist : 0.014993667602539062 time to convert the images to numpy array : 0.5790843963623047 time to import caffe and check if the image exist : 0.013894319534301758 time to convert the images to numpy array : 0.5898511409759521 time to import caffe and check if the image exist : 0.010898828506469727 time to convert the images to numpy array : 0.7724840641021729 time to import caffe and check if the image exist : 0.01334524154663086 time to convert the images to numpy array : 0.7731187343597412 time to import caffe and check if the image exist : 0.01689314842224121 time to convert the images to numpy array : 0.9269883632659912 time to import caffe and check if the image exist : 0.006597042083740234 time to convert the images to numpy array : 0.9428071975708008 time to import caffe and check if the image exist : 0.013818979263305664 time to convert the images to numpy array : 0.972754955291748 total time to convert the images to numpy array : 1.1804897785186768 list photo_ids error: [] list photo_ids correct : [-3710835337, -3710835368, -3710835341, -3710835234, -3710835231, -3710835295, -3710835305, -3710835310, -3710835317, -3710835312, -3710835336, -3710835342, -3710835338, -3710835365, -3710835299, -3710835297, -3710835294, -3710835309, -3710835320, -3710835328, -3710835311, -3710835319, -3710835314, -3710835323, -3710835354, -3710835339, -3710835344, -3710835330, -3710835351, -3710835348, -3710835334, -3710835331, -3710835367, -3710835358, -3710835364, -3710835258, -3710835237, -3710835240, -3710835246, -3710835267, -3710835285, -3710835281, -3710835290, -3710835291, -3710835301, -3710835304, -3710835327, -3710835340, -3710835345, -3710835366, -3710835222, -3710835243, -3710835249, -3710835256, -3710835268, -3710835264, -3710835278, -3710835272, -3710835284, -3710835302, -3710835329, -3710835352, -3710835346, -3710835205, -3710835204, -3710835206, -3710835212, -3710835214, -3710835203, -3710835251, -3710835271, -3710835321, -3710835316, -3710835333, -3710835363, -3710835219, -3710835220, -3710835254, -3710835293, -3710835292, -3710835225, -3710835227, -3710835217, -3710835221, -3710835236, -3710835233, -3710835232, -3710835244, -3710835229, -3710835248, -3710835242, -3710835265, -3710835260, -3710835259, -3710835255, -3710835266, -3710835275, -3710835282, -3710835288, -3710835289, -3710835303, -3710835308] number of photos to traite : 102 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 thcls : [{'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'}] thcl {'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'} Update svm_hashtag_type_desc : 4999 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) To loadFromThcl() : net_4999 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10593 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 : 10109 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.199202299118042 time used to do the prediction : 0.21915125846862793 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 : 9573 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 : 9573 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.516226053237915 time used to do the prediction : 0.19936895370483398 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.3828277587890625e-05 save missing photos in datou_result : time spend for datou_step_exec : 11.012900829315186 time spend to save output : 0.0007491111755371094 total time spend for step 3 : 11.013649940490723 step4:merge_mask_thcl_custom Thu Mar 13 22:54:42 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 166 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 [1343940666, 1343940443, 1343940309, 1343939085, 1343938710, 1343938602, 1343938546, 1343938176, 1343938157, 1343938121] Looping around the photos to save general results len do output : 10 /1343940666Didn't retrieve data .Didn't retrieve data . /1343940443Didn't retrieve data .Didn't retrieve data . /1343940309Didn't retrieve data .Didn't retrieve data . /1343939085Didn't retrieve data .Didn't retrieve data . /1343938710Didn't retrieve data .Didn't retrieve data . /1343938602Didn't retrieve data .Didn't retrieve data . /1343938546Didn't retrieve data .Didn't retrieve data . /1343938176Didn't retrieve data .Didn't retrieve data . /1343938157Didn't retrieve data .Didn't retrieve data . /1343938121Didn'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, '2667121') ('3459', '21400734', '1343940666', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343940443', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343940309', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343939085', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938710', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938602', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938546', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938176', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938157', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938121', None, None, None, None, None, '2667121') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013502120971679688 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.032594919204712 time spend to save output : 0.014009714126586914 total time spend for step 4 : 1.0466046333312988 step5:rle_unique_nms_with_priority Thu Mar 13 22:54: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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 11 nb_hashtags : 5 time to prepare the origin masks : 8.033690214157104 time for calcul the mask position with numpy : 0.6331324577331543 nb_pixel_total : 6651991 time to create 1 rle with new method : 0.43850135803222656 time for calcul the mask position with numpy : 0.024483680725097656 nb_pixel_total : 37696 time to create 1 rle with old method : 0.06797194480895996 time for calcul the mask position with numpy : 0.028669118881225586 nb_pixel_total : 163206 time to create 1 rle with new method : 0.8241715431213379 time for calcul the mask position with numpy : 0.022526025772094727 nb_pixel_total : 31658 time to create 1 rle with old method : 0.03669118881225586 time for calcul the mask position with numpy : 0.021441936492919922 nb_pixel_total : 12617 time to create 1 rle with old method : 0.017449140548706055 time for calcul the mask position with numpy : 0.023418426513671875 nb_pixel_total : 3395 time to create 1 rle with old method : 0.005737781524658203 time for calcul the mask position with numpy : 0.023114681243896484 nb_pixel_total : 2498 time to create 1 rle with old method : 0.0041217803955078125 time for calcul the mask position with numpy : 0.0238649845123291 nb_pixel_total : 20970 time to create 1 rle with old method : 0.03045964241027832 time for calcul the mask position with numpy : 0.025782346725463867 nb_pixel_total : 18455 time to create 1 rle with old method : 0.022866249084472656 time for calcul the mask position with numpy : 0.021540164947509766 nb_pixel_total : 17974 time to create 1 rle with old method : 0.021897077560424805 time for calcul the mask position with numpy : 0.021282196044921875 nb_pixel_total : 28223 time to create 1 rle with old method : 0.041800737380981445 time for calcul the mask position with numpy : 0.02948760986328125 nb_pixel_total : 61557 time to create 1 rle with old method : 0.0934286117553711 create new chi : 2.5642812252044678 time to delete rle : 0.013659477233886719 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 7797 TO DO : save crop sub photo not yet done ! save time : 0.5199024677276611 nb_obj : 13 nb_hashtags : 5 time to prepare the origin masks : 9.486108303070068 time for calcul the mask position with numpy : 0.29305553436279297 nb_pixel_total : 4087120 time to create 1 rle with new method : 0.8231854438781738 time for calcul the mask position with numpy : 0.020947694778442383 nb_pixel_total : 55761 time to create 1 rle with old method : 0.06463217735290527 time for calcul the mask position with numpy : 0.022704601287841797 nb_pixel_total : 223395 time to create 1 rle with new method : 0.6314971446990967 time for calcul the mask position with numpy : 0.021817684173583984 nb_pixel_total : 255602 time to create 1 rle with new method : 0.3718554973602295 time for calcul the mask position with numpy : 0.022382736206054688 nb_pixel_total : 190012 time to create 1 rle with new method : 0.747692346572876 time for calcul the mask position with numpy : 0.021829605102539062 nb_pixel_total : 45375 time to create 1 rle with old method : 0.05160832405090332 time for calcul the mask position with numpy : 0.021096229553222656 nb_pixel_total : 2766 time to create 1 rle with old method : 0.0034058094024658203 time for calcul the mask position with numpy : 0.020782470703125 nb_pixel_total : 2044 time to create 1 rle with old method : 0.0026407241821289062 time for calcul the mask position with numpy : 0.02257251739501953 nb_pixel_total : 108536 time to create 1 rle with old method : 0.1385354995727539 time for calcul the mask position with numpy : 0.021309614181518555 nb_pixel_total : 4551 time to create 1 rle with old method : 0.005533695220947266 time for calcul the mask position with numpy : 0.021567344665527344 nb_pixel_total : 14757 time to create 1 rle with old method : 0.017842769622802734 time for calcul the mask position with numpy : 0.032640695571899414 nb_pixel_total : 1691293 time to create 1 rle with new method : 0.5657072067260742 time for calcul the mask position with numpy : 0.03004288673400879 nb_pixel_total : 231024 time to create 1 rle with new method : 0.502509593963623 time for calcul the mask position with numpy : 0.02227306365966797 nb_pixel_total : 138004 time to create 1 rle with old method : 0.18703293800354004 create new chi : 4.8632118701934814 time to delete rle : 0.0017385482788085938 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 17320 TO DO : save crop sub photo not yet done ! save time : 1.4457447528839111 nb_obj : 22 nb_hashtags : 8 time to prepare the origin masks : 16.085778951644897 time for calcul the mask position with numpy : 0.503521203994751 nb_pixel_total : 5622319 time to create 1 rle with new method : 0.8892824649810791 time for calcul the mask position with numpy : 0.03270101547241211 nb_pixel_total : 451 time to create 1 rle with old method : 0.0006754398345947266 time for calcul the mask position with numpy : 0.032523393630981445 nb_pixel_total : 22819 time to create 1 rle with old method : 0.025926589965820312 time for calcul the mask position with numpy : 0.03623056411743164 nb_pixel_total : 81827 time to create 1 rle with old method : 0.09434819221496582 time for calcul the mask position with numpy : 0.03711724281311035 nb_pixel_total : 137677 time to create 1 rle with old method : 0.16246986389160156 time for calcul the mask position with numpy : 0.039458513259887695 nb_pixel_total : 3254 time to create 1 rle with old method : 0.006867647171020508 time for calcul the mask position with numpy : 0.03741049766540527 nb_pixel_total : 18424 time to create 1 rle with old method : 0.02371072769165039 time for calcul the mask position with numpy : 0.026143789291381836 nb_pixel_total : 35117 time to create 1 rle with old method : 0.04024004936218262 time for calcul the mask position with numpy : 0.024415016174316406 nb_pixel_total : 62079 time to create 1 rle with old method : 0.07590246200561523 time for calcul the mask position with numpy : 0.026020526885986328 nb_pixel_total : 4668 time to create 1 rle with old method : 0.013308286666870117 time for calcul the mask position with numpy : 0.027124643325805664 nb_pixel_total : 2847 time to create 1 rle with old method : 0.0048754215240478516 time for calcul the mask position with numpy : 0.04165816307067871 nb_pixel_total : 265748 time to create 1 rle with new method : 0.5210256576538086 time for calcul the mask position with numpy : 0.03553318977355957 nb_pixel_total : 10627 time to create 1 rle with old method : 0.014268636703491211 time for calcul the mask position with numpy : 0.03598642349243164 nb_pixel_total : 28471 time to create 1 rle with old method : 0.032530784606933594 time for calcul the mask position with numpy : 0.03467512130737305 nb_pixel_total : 2135 time to create 1 rle with old method : 0.002672910690307617 time for calcul the mask position with numpy : 0.03431844711303711 nb_pixel_total : 32145 time to create 1 rle with old method : 0.05326128005981445 time for calcul the mask position with numpy : 0.0383458137512207 nb_pixel_total : 91977 time to create 1 rle with old method : 0.11455512046813965 time for calcul the mask position with numpy : 0.0374298095703125 nb_pixel_total : 283337 time to create 1 rle with new method : 0.5727388858795166 time for calcul the mask position with numpy : 0.03675341606140137 nb_pixel_total : 43616 time to create 1 rle with old method : 0.05432868003845215 time for calcul the mask position with numpy : 0.041135549545288086 nb_pixel_total : 210728 time to create 1 rle with new method : 0.620598316192627 time for calcul the mask position with numpy : 0.02839207649230957 nb_pixel_total : 51346 time to create 1 rle with old method : 0.07022786140441895 time for calcul the mask position with numpy : 0.03319382667541504 nb_pixel_total : 32673 time to create 1 rle with old method : 0.03905463218688965 time for calcul the mask position with numpy : 0.026437997817993164 nb_pixel_total : 5955 time to create 1 rle with old method : 0.0071315765380859375 create new chi : 4.799139499664307 time to delete rle : 0.0016913414001464844 batch 1 Loaded 23 chid ids of type : 3726 Number RLEs to save : 15693 TO DO : save crop sub photo not yet done ! save time : 2.128277063369751 nb_obj : 19 nb_hashtags : 6 time to prepare the origin masks : 11.893728256225586 time for calcul the mask position with numpy : 0.6585519313812256 nb_pixel_total : 5147716 time to create 1 rle with new method : 0.737084150314331 time for calcul the mask position with numpy : 0.04380297660827637 nb_pixel_total : 481702 time to create 1 rle with new method : 0.597846269607544 time for calcul the mask position with numpy : 0.03495621681213379 nb_pixel_total : 9850 time to create 1 rle with old method : 0.016139745712280273 time for calcul the mask position with numpy : 0.039947509765625 nb_pixel_total : 64699 time to create 1 rle with old method : 0.08010506629943848 time for calcul the mask position with numpy : 0.03513646125793457 nb_pixel_total : 14338 time to create 1 rle with old method : 0.01764059066772461 time for calcul the mask position with numpy : 0.03432273864746094 nb_pixel_total : 257004 time to create 1 rle with new method : 0.6358556747436523 time for calcul the mask position with numpy : 0.027666091918945312 nb_pixel_total : 13087 time to create 1 rle with old method : 0.015127897262573242 time for calcul the mask position with numpy : 0.0243988037109375 nb_pixel_total : 2609 time to create 1 rle with old method : 0.003053903579711914 time for calcul the mask position with numpy : 0.025923490524291992 nb_pixel_total : 1973 time to create 1 rle with old method : 0.002737283706665039 time for calcul the mask position with numpy : 0.03738856315612793 nb_pixel_total : 273271 time to create 1 rle with new method : 0.7690844535827637 time for calcul the mask position with numpy : 0.034024715423583984 nb_pixel_total : 17847 time to create 1 rle with old method : 0.023931503295898438 time for calcul the mask position with numpy : 0.0334630012512207 nb_pixel_total : 5918 time to create 1 rle with old method : 0.006849527359008789 time for calcul the mask position with numpy : 0.03592681884765625 nb_pixel_total : 15552 time to create 1 rle with old method : 0.018581390380859375 time for calcul the mask position with numpy : 0.0345616340637207 nb_pixel_total : 169689 time to create 1 rle with new method : 0.6046402454376221 time for calcul the mask position with numpy : 0.03520774841308594 nb_pixel_total : 262473 time to create 1 rle with new method : 0.666053056716919 time for calcul the mask position with numpy : 0.030774831771850586 nb_pixel_total : 160357 time to create 1 rle with new method : 0.5843074321746826 time for calcul the mask position with numpy : 0.031630754470825195 nb_pixel_total : 6035 time to create 1 rle with old method : 0.006920337677001953 time for calcul the mask position with numpy : 0.030806541442871094 nb_pixel_total : 6307 time to create 1 rle with old method : 0.0075664520263671875 time for calcul the mask position with numpy : 0.028900861740112305 nb_pixel_total : 22738 time to create 1 rle with old method : 0.026337862014770508 time for calcul the mask position with numpy : 0.03411102294921875 nb_pixel_total : 117075 time to create 1 rle with old method : 0.14748859405517578 create new chi : 6.43656063079834 time to delete rle : 0.0024073123931884766 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 17474 TO DO : save crop sub photo not yet done ! save time : 1.1509888172149658 nb_obj : 17 nb_hashtags : 5 time to prepare the origin masks : 12.753437280654907 time for calcul the mask position with numpy : 0.3797636032104492 nb_pixel_total : 5284045 time to create 1 rle with new method : 1.1099295616149902 time for calcul the mask position with numpy : 0.03647637367248535 nb_pixel_total : 20540 time to create 1 rle with old method : 0.024298906326293945 time for calcul the mask position with numpy : 0.03783822059631348 nb_pixel_total : 2325 time to create 1 rle with old method : 0.003571033477783203 time for calcul the mask position with numpy : 0.04499387741088867 nb_pixel_total : 479309 time to create 1 rle with new method : 0.6086673736572266 time for calcul the mask position with numpy : 0.036774635314941406 nb_pixel_total : 315 time to create 1 rle with old method : 0.0004885196685791016 time for calcul the mask position with numpy : 0.03566312789916992 nb_pixel_total : 14277 time to create 1 rle with old method : 0.017038822174072266 time for calcul the mask position with numpy : 0.04439711570739746 nb_pixel_total : 7725 time to create 1 rle with old method : 0.013269186019897461 time for calcul the mask position with numpy : 0.0410761833190918 nb_pixel_total : 5057 time to create 1 rle with old method : 0.006117820739746094 time for calcul the mask position with numpy : 0.03377223014831543 nb_pixel_total : 48676 time to create 1 rle with old method : 0.05557537078857422 time for calcul the mask position with numpy : 0.03363800048828125 nb_pixel_total : 1195 time to create 1 rle with old method : 0.0014870166778564453 time for calcul the mask position with numpy : 0.03369593620300293 nb_pixel_total : 6417 time to create 1 rle with old method : 0.007693767547607422 time for calcul the mask position with numpy : 0.039927005767822266 nb_pixel_total : 276666 time to create 1 rle with new method : 0.7168006896972656 time for calcul the mask position with numpy : 0.028160810470581055 nb_pixel_total : 15693 time to create 1 rle with old method : 0.019038677215576172 time for calcul the mask position with numpy : 0.0362095832824707 nb_pixel_total : 707535 time to create 1 rle with new method : 0.6629452705383301 time for calcul the mask position with numpy : 0.02803516387939453 nb_pixel_total : 39274 time to create 1 rle with old method : 0.04462456703186035 time for calcul the mask position with numpy : 0.032491207122802734 nb_pixel_total : 7344 time to create 1 rle with old method : 0.008190155029296875 time for calcul the mask position with numpy : 0.03364753723144531 nb_pixel_total : 6823 time to create 1 rle with old method : 0.008132219314575195 time for calcul the mask position with numpy : 0.03500843048095703 nb_pixel_total : 127024 time to create 1 rle with old method : 0.14305639266967773 create new chi : 4.55086612701416 time to delete rle : 0.0016932487487792969 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 17006 TO DO : save crop sub photo not yet done ! save time : 1.378265380859375 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 5.210110664367676 time for calcul the mask position with numpy : 0.03244209289550781 nb_pixel_total : 2112049 time to create 1 rle with new method : 0.7328345775604248 time for calcul the mask position with numpy : 0.020554304122924805 nb_pixel_total : 99941 time to create 1 rle with old method : 0.11463212966918945 time for calcul the mask position with numpy : 0.02117323875427246 nb_pixel_total : 24968 time to create 1 rle with old method : 0.02705979347229004 time for calcul the mask position with numpy : 0.020308256149291992 nb_pixel_total : 13553 time to create 1 rle with old method : 0.01444864273071289 time for calcul the mask position with numpy : 0.02071690559387207 nb_pixel_total : 35091 time to create 1 rle with old method : 0.04066967964172363 time for calcul the mask position with numpy : 0.46071410179138184 nb_pixel_total : 4641037 time to create 1 rle with new method : 0.853947639465332 time for calcul the mask position with numpy : 0.022511720657348633 nb_pixel_total : 123601 time to create 1 rle with old method : 0.13698101043701172 create new chi : 2.5740175247192383 time to delete rle : 0.0013439655303955078 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 10907 TO DO : save crop sub photo not yet done ! save time : 0.8849351406097412 nb_obj : 18 nb_hashtags : 6 time to prepare the origin masks : 12.974616289138794 time for calcul the mask position with numpy : 0.9651515483856201 nb_pixel_total : 5765451 time to create 1 rle with new method : 1.6498470306396484 time for calcul the mask position with numpy : 0.038074493408203125 nb_pixel_total : 74646 time to create 1 rle with old method : 0.09096860885620117 time for calcul the mask position with numpy : 0.03644609451293945 nb_pixel_total : 8032 time to create 1 rle with old method : 0.009312629699707031 time for calcul the mask position with numpy : 0.0361485481262207 nb_pixel_total : 20159 time to create 1 rle with old method : 0.023139238357543945 time for calcul the mask position with numpy : 0.03828024864196777 nb_pixel_total : 273943 time to create 1 rle with new method : 0.6749880313873291 time for calcul the mask position with numpy : 0.03416037559509277 nb_pixel_total : 27300 time to create 1 rle with old method : 0.031618595123291016 time for calcul the mask position with numpy : 0.03249192237854004 nb_pixel_total : 5701 time to create 1 rle with old method : 0.008591175079345703 time for calcul the mask position with numpy : 0.03513789176940918 nb_pixel_total : 2271 time to create 1 rle with old method : 0.0036869049072265625 time for calcul the mask position with numpy : 0.03879094123840332 nb_pixel_total : 10807 time to create 1 rle with old method : 0.017529726028442383 time for calcul the mask position with numpy : 0.034952402114868164 nb_pixel_total : 3241 time to create 1 rle with old method : 0.004228353500366211 time for calcul the mask position with numpy : 0.03699660301208496 nb_pixel_total : 118200 time to create 1 rle with old method : 0.1528174877166748 time for calcul the mask position with numpy : 0.03547167778015137 nb_pixel_total : 127219 time to create 1 rle with old method : 0.15741729736328125 time for calcul the mask position with numpy : 0.03667187690734863 nb_pixel_total : 12828 time to create 1 rle with old method : 0.015249252319335938 time for calcul the mask position with numpy : 0.03735661506652832 nb_pixel_total : 2926 time to create 1 rle with old method : 0.003561735153198242 time for calcul the mask position with numpy : 0.037728071212768555 nb_pixel_total : 58866 time to create 1 rle with old method : 0.06904149055480957 time for calcul the mask position with numpy : 0.0354769229888916 nb_pixel_total : 14556 time to create 1 rle with old method : 0.01674509048461914 time for calcul the mask position with numpy : 0.034674882888793945 nb_pixel_total : 18504 time to create 1 rle with old method : 0.02669072151184082 time for calcul the mask position with numpy : 0.033864498138427734 nb_pixel_total : 4356 time to create 1 rle with old method : 0.005354881286621094 time for calcul the mask position with numpy : 0.04456472396850586 nb_pixel_total : 501234 time to create 1 rle with new method : 1.3332476615905762 create new chi : 6.004384994506836 time to delete rle : 0.0018618106842041016 batch 1 Loaded 19 chid ids of type : 3726 Number RLEs to save : 12096 TO DO : save crop sub photo not yet done ! save time : 1.9615094661712646 nb_obj : 18 nb_hashtags : 7 time to prepare the origin masks : 15.879509687423706 time for calcul the mask position with numpy : 0.28473925590515137 nb_pixel_total : 6469645 time to create 1 rle with new method : 0.8961763381958008 time for calcul the mask position with numpy : 0.021146059036254883 nb_pixel_total : 1926 time to create 1 rle with old method : 0.0023736953735351562 time for calcul the mask position with numpy : 0.021517038345336914 nb_pixel_total : 50215 time to create 1 rle with old method : 0.05847811698913574 time for calcul the mask position with numpy : 0.022884845733642578 nb_pixel_total : 24177 time to create 1 rle with old method : 0.036385536193847656 time for calcul the mask position with numpy : 0.02485966682434082 nb_pixel_total : 69913 time to create 1 rle with old method : 0.09015297889709473 time for calcul the mask position with numpy : 0.022575855255126953 nb_pixel_total : 2301 time to create 1 rle with old method : 0.0029993057250976562 time for calcul the mask position with numpy : 0.021607160568237305 nb_pixel_total : 6445 time to create 1 rle with old method : 0.00804901123046875 time for calcul the mask position with numpy : 0.02176976203918457 nb_pixel_total : 64803 time to create 1 rle with old method : 0.07458114624023438 time for calcul the mask position with numpy : 0.021420717239379883 nb_pixel_total : 63035 time to create 1 rle with old method : 0.0905449390411377 time for calcul the mask position with numpy : 0.026175737380981445 nb_pixel_total : 37813 time to create 1 rle with old method : 0.048547983169555664 time for calcul the mask position with numpy : 0.023556232452392578 nb_pixel_total : 64743 time to create 1 rle with old method : 0.07670760154724121 time for calcul the mask position with numpy : 0.022491455078125 nb_pixel_total : 11355 time to create 1 rle with old method : 0.013672113418579102 time for calcul the mask position with numpy : 0.020885705947875977 nb_pixel_total : 38986 time to create 1 rle with old method : 0.045304298400878906 time for calcul the mask position with numpy : 0.021574974060058594 nb_pixel_total : 54281 time to create 1 rle with old method : 0.06469273567199707 time for calcul the mask position with numpy : 0.02204442024230957 nb_pixel_total : 20006 time to create 1 rle with old method : 0.02393507957458496 time for calcul the mask position with numpy : 0.022175312042236328 nb_pixel_total : 7835 time to create 1 rle with old method : 0.009337902069091797 time for calcul the mask position with numpy : 0.023720741271972656 nb_pixel_total : 57453 time to create 1 rle with old method : 0.07046389579772949 time for calcul the mask position with numpy : 0.021036624908447266 nb_pixel_total : 2935 time to create 1 rle with old method : 0.003682374954223633 time for calcul the mask position with numpy : 0.02129197120666504 nb_pixel_total : 2373 time to create 1 rle with old method : 0.002969503402709961 create new chi : 2.346595287322998 time to delete rle : 0.0012764930725097656 batch 1 Loaded 19 chid ids of type : 3726 Number RLEs to save : 10507 TO DO : save crop sub photo not yet done ! save time : 0.6769638061523438 nb_obj : 24 nb_hashtags : 7 time to prepare the origin masks : 17.052654266357422 time for calcul the mask position with numpy : 0.8154077529907227 nb_pixel_total : 6190726 time to create 1 rle with new method : 0.7464144229888916 time for calcul the mask position with numpy : 0.03545379638671875 nb_pixel_total : 21318 time to create 1 rle with old method : 0.024712562561035156 time for calcul the mask position with numpy : 0.03448772430419922 nb_pixel_total : 18752 time to create 1 rle with old method : 0.02210235595703125 time for calcul the mask position with numpy : 0.04158163070678711 nb_pixel_total : 21459 time to create 1 rle with old method : 0.030036449432373047 time for calcul the mask position with numpy : 0.04546928405761719 nb_pixel_total : 69642 time to create 1 rle with old method : 0.08987021446228027 time for calcul the mask position with numpy : 0.037485599517822266 nb_pixel_total : 103360 time to create 1 rle with old method : 0.12353134155273438 time for calcul the mask position with numpy : 0.04696059226989746 nb_pixel_total : 106915 time to create 1 rle with old method : 0.12438797950744629 time for calcul the mask position with numpy : 0.03361082077026367 nb_pixel_total : 29814 time to create 1 rle with old method : 0.046747684478759766 time for calcul the mask position with numpy : 0.03573918342590332 nb_pixel_total : 4876 time to create 1 rle with old method : 0.005597114562988281 time for calcul the mask position with numpy : 0.03391861915588379 nb_pixel_total : 5408 time to create 1 rle with old method : 0.0068128108978271484 time for calcul the mask position with numpy : 0.039267778396606445 nb_pixel_total : 2535 time to create 1 rle with old method : 0.003209829330444336 time for calcul the mask position with numpy : 0.046076297760009766 nb_pixel_total : 65693 time to create 1 rle with old method : 0.07984638214111328 time for calcul the mask position with numpy : 0.034774065017700195 nb_pixel_total : 14054 time to create 1 rle with old method : 0.017499208450317383 time for calcul the mask position with numpy : 0.03244280815124512 nb_pixel_total : 22138 time to create 1 rle with old method : 0.026545286178588867 time for calcul the mask position with numpy : 0.03204059600830078 nb_pixel_total : 25836 time to create 1 rle with old method : 0.030538558959960938 time for calcul the mask position with numpy : 0.034151554107666016 nb_pixel_total : 20700 time to create 1 rle with old method : 0.023678064346313477 time for calcul the mask position with numpy : 0.03217148780822754 nb_pixel_total : 68487 time to create 1 rle with old method : 0.07537269592285156 time for calcul the mask position with numpy : 0.031592607498168945 nb_pixel_total : 109924 time to create 1 rle with old method : 0.12348628044128418 time for calcul the mask position with numpy : 0.03026556968688965 nb_pixel_total : 4218 time to create 1 rle with old method : 0.004835367202758789 time for calcul the mask position with numpy : 0.029090404510498047 nb_pixel_total : 47488 time to create 1 rle with old method : 0.055108070373535156 time for calcul the mask position with numpy : 0.028875112533569336 nb_pixel_total : 40209 time to create 1 rle with old method : 0.045752525329589844 time for calcul the mask position with numpy : 0.04165148735046387 nb_pixel_total : 16658 time to create 1 rle with old method : 0.02198624610900879 time for calcul the mask position with numpy : 0.037160634994506836 nb_pixel_total : 4548 time to create 1 rle with old method : 0.005457639694213867 time for calcul the mask position with numpy : 0.0352635383605957 nb_pixel_total : 17583 time to create 1 rle with old method : 0.02163076400756836 time for calcul the mask position with numpy : 0.034334421157836914 nb_pixel_total : 17899 time to create 1 rle with old method : 0.02273869514465332 create new chi : 3.500277280807495 time to delete rle : 0.002177000045776367 batch 1 Loaded 25 chid ids of type : 3726 Number RLEs to save : 15865 TO DO : save crop sub photo not yet done ! save time : 1.0035033226013184 nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 7.989317178726196 time for calcul the mask position with numpy : 0.49723124504089355 nb_pixel_total : 3296441 time to create 1 rle with new method : 1.1166410446166992 time for calcul the mask position with numpy : 0.034451961517333984 nb_pixel_total : 73107 time to create 1 rle with old method : 0.08502697944641113 time for calcul the mask position with numpy : 0.03464531898498535 nb_pixel_total : 8261 time to create 1 rle with old method : 0.009501457214355469 time for calcul the mask position with numpy : 0.034430503845214844 nb_pixel_total : 7503 time to create 1 rle with old method : 0.009246110916137695 time for calcul the mask position with numpy : 0.03572344779968262 nb_pixel_total : 80509 time to create 1 rle with old method : 0.10029196739196777 time for calcul the mask position with numpy : 0.035375356674194336 nb_pixel_total : 16508 time to create 1 rle with old method : 0.019227266311645508 time for calcul the mask position with numpy : 0.03494143486022949 nb_pixel_total : 156079 time to create 1 rle with new method : 0.5400197505950928 time for calcul the mask position with numpy : 0.04722261428833008 nb_pixel_total : 555916 time to create 1 rle with new method : 0.7193758487701416 time for calcul the mask position with numpy : 0.06406378746032715 nb_pixel_total : 2627806 time to create 1 rle with new method : 0.5091712474822998 time for calcul the mask position with numpy : 0.04072833061218262 nb_pixel_total : 17108 time to create 1 rle with old method : 0.02031230926513672 time for calcul the mask position with numpy : 0.04503774642944336 nb_pixel_total : 207381 time to create 1 rle with new method : 0.6187136173248291 time for calcul the mask position with numpy : 0.03525853157043457 nb_pixel_total : 3621 time to create 1 rle with old method : 0.004273891448974609 create new chi : 4.824456691741943 time to delete rle : 0.002511739730834961 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 16065 TO DO : save crop sub photo not yet done ! save time : 0.9445538520812988 map_output_result : {1343940666: (0.0, 'Should be the crop_list due to order', 0), 1343940443: (0.0, 'Should be the crop_list due to order', 0), 1343940309: (0.0, 'Should be the crop_list due to order', 0), 1343939085: (0.0, 'Should be the crop_list due to order', 0), 1343938710: (0.0, 'Should be the crop_list due to order', 0), 1343938602: (0.0, 'Should be the crop_list due to order', 0), 1343938546: (0.0, 'Should be the crop_list due to order', 0), 1343938176: (0.0, 'Should be the crop_list due to order', 0), 1343938157: (0.0, 'Should be the crop_list due to order', 0), 1343938121: (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 [1343940666, 1343940443, 1343940309, 1343939085, 1343938710, 1343938602, 1343938546, 1343938176, 1343938157, 1343938121] Looping around the photos to save general results len do output : 10 /1343940666.Didn't retrieve data . /1343940443.Didn't retrieve data . /1343940309.Didn't retrieve data . /1343939085.Didn't retrieve data . /1343938710.Didn't retrieve data . /1343938602.Didn't retrieve data . /1343938546.Didn't retrieve data . /1343938176.Didn't retrieve data . /1343938157.Didn't retrieve data . /1343938121.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, '2667121') ('3459', '21400734', '1343940666', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343940443', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343940309', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343939085', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938710', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938602', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938546', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938176', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938157', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938121', None, None, None, None, None, '2667121') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.20223116874694824 save_final save missing photos in datou_result : time spend for datou_step_exec : 173.11127018928528 time spend to save output : 0.20280098915100098 total time spend for step 5 : 173.31407117843628 step6:crop_condition Thu Mar 13 22:57:36 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 169 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 ! 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/1741903060_927994 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.3150439262390137 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 ! 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/1741903067_927994 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 4.185495853424072 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 ! 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/1741903074_927994 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.585373640060425 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 ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741903080_927994 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.217808723449707 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! 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/1741903084_927994 we have uploaded 10 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.697016716003418 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! Next one ! Next one ! Next one ! Next one ! 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/1741903094_927994 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.5900928974151611 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/1741903097_927994 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.580385684967041 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 [1343940666, 1343940443, 1343940309, 1343939085, 1343938710, 1343938602, 1343938546, 1343938176, 1343938157, 1343938121] Looping around the photos to save general results len do output : 34 /1343977449Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977451Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977452Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977453Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977488Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977490Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977494Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977496Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977497Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977499Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977511Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977519Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977520Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977521Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977539Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977540Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977541Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977565Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977566Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977567Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977569Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977570Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977571Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977573Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977574Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977575Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977577Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977625Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977626Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977627Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977629Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977630Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977631Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343977647Didn'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, '2667121') ('3459', '21400734', '1343940666', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343940443', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343940309', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343939085', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938710', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938602', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938546', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938176', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938157', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938121', None, None, None, None, None, '2667121') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 112 time used for this insertion : 0.04080843925476074 save_final save missing photos in datou_result : time spend for datou_step_exec : 42.958123445510864 time spend to save output : 0.04181838035583496 total time spend for step 6 : 42.9999418258667 step7:ventilate_hashtags_in_portfolio Thu Mar 13 22:58:19 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 : 21400734 get user id for portfolio 21400734 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`=21400734 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','Carton_gris','plastique','autre_refus','metal','papier','cartonnette','mal_croppe','Carton_brun','Teint_Dans_La_Masse','flou')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21400734 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','Carton_gris','plastique','autre_refus','metal','papier','cartonnette','mal_croppe','Carton_brun','Teint_Dans_La_Masse','flou')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21400734 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','environnement','Carton_gris','plastique','autre_refus','metal','papier','cartonnette','mal_croppe','Carton_brun','Teint_Dans_La_Masse','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/21400946,21400947,21400948,21400949,21400950,21400951,21400952,21400953,21400954,21400955,21400956,21400957?tags=kraft,environnement,Carton_gris,plastique,autre_refus,metal,papier,cartonnette,mal_croppe,Carton_brun,Teint_Dans_La_Masse,flou Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1343940666, 1343940443, 1343940309, 1343939085, 1343938710, 1343938602, 1343938546, 1343938176, 1343938157, 1343938121] Looping around the photos to save general results len do output : 1 /21400734. 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, '2667121') ('3459', '21400734', '1343940666', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343940443', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343940309', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343939085', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938710', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938602', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938546', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938176', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938157', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938121', None, None, None, None, None, '2667121') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.017998218536376953 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.489436149597168 time spend to save output : 0.018224716186523438 total time spend for step 7 : 4.507660865783691 step8:final Thu Mar 13 22:58: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 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 : {1343940666: ('0.07736299305259556',), 1343940443: ('0.07736299305259556',), 1343940309: ('0.07736299305259556',), 1343939085: ('0.07736299305259556',), 1343938710: ('0.07736299305259556',), 1343938602: ('0.07736299305259556',), 1343938546: ('0.07736299305259556',), 1343938176: ('0.07736299305259556',), 1343938157: ('0.07736299305259556',), 1343938121: ('0.07736299305259556',)} new output for save of step final : {1343940666: ('0.07736299305259556',), 1343940443: ('0.07736299305259556',), 1343940309: ('0.07736299305259556',), 1343939085: ('0.07736299305259556',), 1343938710: ('0.07736299305259556',), 1343938602: ('0.07736299305259556',), 1343938546: ('0.07736299305259556',), 1343938176: ('0.07736299305259556',), 1343938157: ('0.07736299305259556',), 1343938121: ('0.07736299305259556',)} [1343940666, 1343940443, 1343940309, 1343939085, 1343938710, 1343938602, 1343938546, 1343938176, 1343938157, 1343938121] Looping around the photos to save general results len do output : 10 /1343940666.Didn't retrieve data . /1343940443.Didn't retrieve data . /1343940309.Didn't retrieve data . /1343939085.Didn't retrieve data . /1343938710.Didn't retrieve data . /1343938602.Didn't retrieve data . /1343938546.Didn't retrieve data . /1343938176.Didn't retrieve data . /1343938157.Didn't retrieve data . /1343938121.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, '2667121') ('3459', '21400734', '1343940666', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343940443', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343940309', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343939085', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938710', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938602', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938546', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938176', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938157', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938121', None, None, None, None, None, '2667121') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.13831782341003418 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10341191291809082 time spend to save output : 0.13881301879882812 total time spend for step 8 : 0.24222493171691895 step9:velours_tree Thu Mar 13 22:58: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 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.02937459945678711 time spend to save output : 3.075599670410156e-05 total time spend for step 9 : 0.02940535545349121 step10:send_mail_cod Thu Mar 13 22:58: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 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_P21400734_13-03-2025_22_58_24.pdf 21400946 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette214009461741903104 21400949 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 .imagette214009491741903105 21400950 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 .imagette214009501741903105 21400951 imagette214009511741903107 21400953 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 .imagette214009531741903107 21400954 imagette214009541741903107 21400957 imagette214009571741903108 21400948 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 .imagette214009481741903108 21400955 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 .imagette214009551741903108 21400956 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 .imagette214009561741903110 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21400734 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21400946,21400947,21400948,21400949,21400950,21400951,21400952,21400953,21400954,21400955,21400956,21400957?tags=kraft,environnement,Carton_gris,plastique,autre_refus,metal,papier,cartonnette,mal_croppe,Carton_brun,Teint_Dans_La_Masse,flou your option no_mail is active, we will not send the real mail to your client args[1343940666] : ('0.07736299305259556',) no score found for photo 1343940666 We are sending mail with results at report@fotonower.com args[1343940443] : ('0.07736299305259556',) no score found for photo 1343940443 We are sending mail with results at report@fotonower.com args[1343940309] : ('0.07736299305259556',) no score found for photo 1343940309 We are sending mail with results at report@fotonower.com args[1343939085] : ('0.07736299305259556',) no score found for photo 1343939085 We are sending mail with results at report@fotonower.com args[1343938710] : ('0.07736299305259556',) no score found for photo 1343938710 We are sending mail with results at report@fotonower.com args[1343938602] : ('0.07736299305259556',) no score found for photo 1343938602 We are sending mail with results at report@fotonower.com args[1343938546] : ('0.07736299305259556',) no score found for photo 1343938546 We are sending mail with results at report@fotonower.com args[1343938176] : ('0.07736299305259556',) no score found for photo 1343938176 We are sending mail with results at report@fotonower.com args[1343938157] : ('0.07736299305259556',) no score found for photo 1343938157 We are sending mail with results at report@fotonower.com args[1343938121] : ('0.07736299305259556',) no score found for photo 1343938121 We are sending mail with results at report@fotonower.com refus_total : 0.07736299305259556 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=21400734 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1343785584,1343940666,1343940309,1343938546,1343938157,1343786543,1343786526,1343785959,1343785613,1343785538,1343785509,1343785289,1343785285,1343785287,1343785101,1343785109,1343785102,1343785282,1343785637,1343938121) Found this number of photos: 20 begin to download photo : 1343785584 begin to download photo : 1343786543 begin to download photo : 1343785509 begin to download photo : 1343785109 download finish for photo 1343785509 begin to download photo : 1343785289 download finish for photo 1343785584 begin to download photo : 1343940666 download finish for photo 1343786543 begin to download photo : 1343786526 download finish for photo 1343785109 begin to download photo : 1343785102 download finish for photo 1343786526 begin to download photo : 1343785959 download finish for photo 1343940666 begin to download photo : 1343940309 download finish for photo 1343785289 begin to download photo : 1343785285 download finish for photo 1343785102 begin to download photo : 1343785282 download finish for photo 1343785959 begin to download photo : 1343785613 download finish for photo 1343785285 begin to download photo : 1343785287 download finish for photo 1343785282 begin to download photo : 1343785637 download finish for photo 1343940309 begin to download photo : 1343938546 download finish for photo 1343785287 begin to download photo : 1343785101 download finish for photo 1343785613 begin to download photo : 1343785538 download finish for photo 1343938546 begin to download photo : 1343938157 download finish for photo 1343785637 begin to download photo : 1343938121 download finish for photo 1343938157 download finish for photo 1343785101 download finish for photo 1343938121 download finish for photo 1343785538 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400734_13-03-2025_22_58_24.pdf results_Auto_P21400734_13-03-2025_22_58_24.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400734_13-03-2025_22_58_24.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','21400734','results_Auto_P21400734_13-03-2025_22_58_24.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400734_13-03-2025_22_58_24.pdf','pdf','','1.36','0.07736299305259556') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1343940666, 1343940443, 1343940309, 1343939085, 1343938710, 1343938602, 1343938546, 1343938176, 1343938157, 1343938121] 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, '2667121') ('3459', '21400734', '1343940666', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343940443', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343940309', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343939085', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938710', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938602', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938546', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938176', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938157', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938121', None, None, None, None, None, '2667121') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.01660895347595215 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.153802633285522 time spend to save output : 0.016796588897705078 total time spend for step 10 : 10.170599222183228 step11:split_time_score Thu Mar 13 22:58:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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'}] (('16', 32),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13032025 21400734 Nombre de photos uploadées : 32 / 23040 (0%) 13032025 21400734 Nombre de photos taguées (types de déchets): 0 / 32 (0%) 13032025 21400734 Nombre de photos taguées (volume) : 0 / 32 (0%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 6.198883056640625e-06 ???????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014035701751708984 elapsed_time : insert_dashboard_record_day_entry 0.025646686553955078 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 = 21397053 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21397054 order by id desc limit 1 Qualite : 0.07181827590062709 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376376_13-03-2025_17_49_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21376376 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`=21376376 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400685 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400686 order by id desc limit 1 Qualite : 0.18806681758351487 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21395406_13-03-2025_21_29_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21395406 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`=21395406 AND mptpi.`type`=3594 To do Qualite : 0.057669350019295205 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21392572_13-03-2025_20_43_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21392572 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11488 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11496 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11497 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11495 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11495 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11575 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11575 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11491 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11490 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11490 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11498 send_mail_cod have less outputs used (0) than in the step definition (1) : some outputs may be not used ! Step 11499 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11491 doesn't seem to be define in the database( WARNING : type of input 3 of step 11490 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11488 doesn't seem to be define in the database( WARNING : type of input 2 of step 11492 doesn't seem to be define in the database( WARNING : output 1 of step 11488 have datatype=2 whereas input 1 of step 11495 have datatype=7 WARNING : type of output 2 of step 11495 doesn't seem to be define in the database( WARNING : type of input 1 of step 11489 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11491 have datatype=10 whereas input 3 of step 11498 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11575 doesn't seem to be define in the database( WARNING : output 1 of step 11489 have datatype=7 whereas input 2 of step 11575 have datatype=None WARNING : type of output 3 of step 11575 doesn't seem to be define in the database( WARNING : type of input 1 of step 11491 doesn't seem to be define in the database( WARNING : output 0 of step 11491 have datatype=10 whereas input 0 of step 11581 have datatype=18 WARNING : type of input 5 of step 11498 doesn't seem to be define in the database( WARNING : output 0 of step 11581 have datatype=11 whereas input 5 of step 11498 have datatype=None WARNING : type of output 1 of step 11496 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : type of output 1 of step 11497 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : output 0 of step 11495 have datatype=1 whereas input 0 of step 11489 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21392572 AND mptpi.`type`=4209 To do Qualite : 0.07157690575166613 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21385564_13-03-2025_18_28_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21385564 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`=21385564 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21385589 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21385590 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21385591 order by id desc limit 1 Qualite : 0.11054927639393027 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21385592_13-03-2025_19_55_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21385592 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11560 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11567 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11567 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11563 crop_condition is not consistent : 4 used against 2 in the step definition ! Step 11563 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11564 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11564 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11573 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11573 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11566 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11566 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 1 of step 11560 have datatype=2 whereas input 1 of step 11564 have datatype=7 WARNING : type of output 2 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11565 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11567 doesn't seem to be define in the database( WARNING : type of input 3 of step 11563 doesn't seem to be define in the database( WARNING : type of output 3 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11568 doesn't seem to be define in the database( WARNING : type of output 1 of step 11568 doesn't seem to be define in the database( WARNING : type of input 3 of step 11566 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11570 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11569 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11570 doesn't seem to be define in the database( WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11569 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11568 have datatype=10 whereas input 3 of step 11571 have datatype=6 WARNING : type of input 2 of step 11573 doesn't seem to be define in the database( WARNING : output 1 of step 11565 have datatype=7 whereas input 2 of step 11573 have datatype=None WARNING : type of output 3 of step 11573 doesn't seem to be define in the database( WARNING : type of input 3 of step 11568 doesn't seem to be define in the database( WARNING : output 0 of step 11568 have datatype=10 whereas input 0 of step 11587 have datatype=18 WARNING : type of input 5 of step 11571 doesn't seem to be define in the database( WARNING : output 0 of step 11587 have datatype=11 whereas input 5 of step 11571 have datatype=None WARNING : output 0 of step 11564 have datatype=1 whereas input 0 of step 11565 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21385592 AND mptpi.`type`=3327 To do Qualite : 0.04682681603811592 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21383958_13-03-2025_18_42_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21383958 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 11524 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11533 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11532 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11528 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11528 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11531 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 11531 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11578 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11578 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11527 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11526 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11526 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11535 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 11527 doesn't seem to be define in the database( WARNING : type of input 3 of step 11526 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11524 doesn't seem to be define in the database( WARNING : type of input 2 of step 11528 doesn't seem to be define in the database( WARNING : output 1 of step 11524 have datatype=2 whereas input 1 of step 11531 have datatype=7 WARNING : type of output 2 of step 11531 doesn't seem to be define in the database( WARNING : type of input 1 of step 11525 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11527 have datatype=10 whereas input 3 of step 11534 have datatype=6 WARNING : type of input 2 of step 11578 doesn't seem to be define in the database( WARNING : output 1 of step 11525 have datatype=7 whereas input 2 of step 11578 have datatype=None WARNING : type of output 3 of step 11578 doesn't seem to be define in the database( WARNING : type of input 1 of step 11527 doesn't seem to be define in the database( WARNING : output 0 of step 11527 have datatype=10 whereas input 0 of step 11584 have datatype=18 WARNING : type of input 5 of step 11534 doesn't seem to be define in the database( WARNING : output 0 of step 11584 have datatype=11 whereas input 5 of step 11534 have datatype=None WARNING : type of output 1 of step 11533 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : type of output 1 of step 11532 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : output 0 of step 11531 have datatype=1 whereas input 0 of step 11525 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`=21383958 AND mptpi.`type`=4211 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21383959 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21383960 order by id desc limit 1 Qualite : 0.07088600806024496 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21383961_13-03-2025_18_05_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21383961 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`=21383961 AND mptpi.`type`=4207 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21383962_13-03-2025_18_05_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21383962 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21382585_13-03-2025_17_32_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21382585 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400687 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400688_13-03-2025_22_56_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400688 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21381449_13-03-2025_17_47_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21381449 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21381450 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400689 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400695 order by id desc limit 1 Qualite : 0.058158821292274496 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21381453_13-03-2025_17_05_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21381453 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`=21381453 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400709 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400728 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400729 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400730 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400731 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400733 order by id desc limit 1 Qualite : 0.07736299305259556 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400734_13-03-2025_22_58_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400734 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`=21400734 AND mptpi.`type`=3726 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21397057_13-03-2025_22_06_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21397057 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21397058 order by id desc limit 1 Qualite : 0.05376267094087041 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21392574_13-03-2025_21_07_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21392574 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`=21392574 AND mptpi.`type`=4207 To do Qualite : 0.24188817769073867 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21392575_13-03-2025_21_13_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21392575 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`=21392575 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21392576_13-03-2025_20_37_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21392576 order by id desc limit 1 Qualite : 0.15860094833651053 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21392593_13-03-2025_21_49_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21392593 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`=21392593 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21397059_13-03-2025_21_58_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21397059 order by id desc limit 1 Qualite : 0.21258924260992285 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21397060_13-03-2025_22_15_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21397060 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`=21397060 AND mptpi.`type`=3594 To do Qualite : 0.06013899929646229 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21397077_13-03-2025_22_34_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21397077 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`=21397077 AND mptpi.`type`=4207 To do Qualite : 0.07215494268108061 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400735_13-03-2025_22_57_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400735 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`=21400735 AND mptpi.`type`=4207 To do Qualite : 0.03981593213075131 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21395434_13-03-2025_21_28_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21395434 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`=21395434 AND mptpi.`type`=4207 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13032025': {'nb_upload': 32, '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 [1343940666, 1343940443, 1343940309, 1343939085, 1343938710, 1343938602, 1343938546, 1343938176, 1343938157, 1343938121] Looping around the photos to save general results len do output : 1 /21400734Didn'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, '2667121') ('3459', '21400734', '1343940666', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343940443', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343940309', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343939085', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938710', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938602', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938546', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938176', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938157', None, None, None, None, None, '2667121') ('3459', None, None, None, None, None, None, None, '2667121') ('3459', '21400734', '1343938121', None, None, None, None, None, '2667121') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013413190841674805 save_final save missing photos in datou_result : time spend for datou_step_exec : 20.52200722694397 time spend to save output : 0.013661384582519531 total time spend for step 11 : 20.53566861152649 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 173.72user 165.99system 6:30.77elapsed 86%CPU (0avgtext+0avgdata 4592152maxresident)k 294304inputs+181360outputs (1013major+15193045minor)pagefaults 0swaps