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 : 739181 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 : 28>10 please execute split_portfolio.py -i 20176483 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2539822'] with mtr_portfolio_ids : ['20176483'] and first list_photo_ids : [] new path : /proc/739181/ 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.9573276042938232 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Mon Feb 3 17:04:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10774 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-03 17:04:34.344847: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-02-03 17:04:34.357931: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-03 17:04:34.359717: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f51b0000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-03 17:04:34.359769: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-03 17:04:34.363540: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-03 17:04:34.622767: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x351dcd80 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-03 17:04:34.622839: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-03 17:04:34.625931: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-03 17:04:34.626458: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-03 17:04:34.630083: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-03 17:04:34.632920: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-03 17:04:34.633516: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-03 17:04:34.636352: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-03 17:04:34.637830: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-03 17:04:34.642594: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-03 17:04:34.649897: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-03 17:04:34.650476: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-03 17:04:34.654079: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-03 17:04:34.654107: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-03 17:04:34.654118: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-03 17:04:34.656886: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9973 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-02-03 17:04:35.002165: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-03 17:04:35.002295: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-03 17:04:35.002313: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-03 17:04:35.002328: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-03 17:04:35.002342: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-03 17:04:35.002355: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-03 17:04:35.002369: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-03 17:04:35.002383: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-03 17:04:35.003554: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-03 17:04:35.004706: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-03 17:04:35.004737: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-03 17:04:35.004752: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-03 17:04:35.004766: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-03 17:04:35.004780: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-03 17:04:35.004794: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-03 17:04:35.004808: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-03 17:04:35.004822: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-03 17:04:35.006010: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-03 17:04:35.006042: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-03 17:04:35.006050: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-03 17:04:35.006057: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-03 17:04:35.007286: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9973 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-02-03 17:04:44.448240: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-03 17:04:45.237226: 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 : 5 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 : 9 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 23 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 19 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 11 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 : 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 : 30 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 Detection mask done ! Trying to reset tf kernel 739523 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1708 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 : 6997 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.05902385711669922 nb_pixel_total : 4488903 time to create 1 rle with new method : 0.1120145320892334 length of segment : 3080 time for calcul the mask position with numpy : 0.00049591064453125 nb_pixel_total : 22335 time to create 1 rle with old method : 0.025516033172607422 length of segment : 134 time for calcul the mask position with numpy : 0.0007326602935791016 nb_pixel_total : 58732 time to create 1 rle with old method : 0.06903529167175293 length of segment : 316 time for calcul the mask position with numpy : 0.000629425048828125 nb_pixel_total : 53397 time to create 1 rle with old method : 0.061486005783081055 length of segment : 176 time for calcul the mask position with numpy : 0.00016260147094726562 nb_pixel_total : 6701 time to create 1 rle with old method : 0.008427143096923828 length of segment : 93 time for calcul the mask position with numpy : 0.0006225109100341797 nb_pixel_total : 41265 time to create 1 rle with old method : 0.046469688415527344 length of segment : 372 time for calcul the mask position with numpy : 0.056143760681152344 nb_pixel_total : 3908932 time to create 1 rle with new method : 0.11998152732849121 length of segment : 2850 time for calcul the mask position with numpy : 0.0002498626708984375 nb_pixel_total : 10958 time to create 1 rle with old method : 0.014516830444335938 length of segment : 133 time for calcul the mask position with numpy : 0.00019979476928710938 nb_pixel_total : 7741 time to create 1 rle with old method : 0.013460397720336914 length of segment : 116 time for calcul the mask position with numpy : 0.009751319885253906 nb_pixel_total : 487559 time to create 1 rle with new method : 0.02306056022644043 length of segment : 787 time for calcul the mask position with numpy : 0.0006804466247558594 nb_pixel_total : 19305 time to create 1 rle with old method : 0.023572683334350586 length of segment : 629 time for calcul the mask position with numpy : 0.0005047321319580078 nb_pixel_total : 43041 time to create 1 rle with old method : 0.05502152442932129 length of segment : 172 time for calcul the mask position with numpy : 0.00030541419982910156 nb_pixel_total : 16909 time to create 1 rle with old method : 0.020217418670654297 length of segment : 143 time for calcul the mask position with numpy : 0.00012755393981933594 nb_pixel_total : 2909 time to create 1 rle with old method : 0.003592252731323242 length of segment : 115 time for calcul the mask position with numpy : 0.0010423660278320312 nb_pixel_total : 62120 time to create 1 rle with old method : 0.07134151458740234 length of segment : 470 time for calcul the mask position with numpy : 0.00013327598571777344 nb_pixel_total : 1315 time to create 1 rle with old method : 0.0017557144165039062 length of segment : 33 time for calcul the mask position with numpy : 0.0007748603820800781 nb_pixel_total : 32843 time to create 1 rle with old method : 0.03818345069885254 length of segment : 370 time for calcul the mask position with numpy : 0.011102676391601562 nb_pixel_total : 574335 time to create 1 rle with new method : 0.02524113655090332 length of segment : 1085 time for calcul the mask position with numpy : 0.00032830238342285156 nb_pixel_total : 11482 time to create 1 rle with old method : 0.013457059860229492 length of segment : 225 time for calcul the mask position with numpy : 0.0026025772094726562 nb_pixel_total : 179063 time to create 1 rle with new method : 0.0062694549560546875 length of segment : 551 time for calcul the mask position with numpy : 0.00028133392333984375 nb_pixel_total : 3087 time to create 1 rle with old method : 0.0038836002349853516 length of segment : 61 time for calcul the mask position with numpy : 0.004452228546142578 nb_pixel_total : 229864 time to create 1 rle with new method : 0.014361143112182617 length of segment : 750 time for calcul the mask position with numpy : 0.000637054443359375 nb_pixel_total : 33709 time to create 1 rle with old method : 0.03953051567077637 length of segment : 339 time for calcul the mask position with numpy : 0.0021789073944091797 nb_pixel_total : 150594 time to create 1 rle with new method : 0.0056459903717041016 length of segment : 407 time for calcul the mask position with numpy : 0.00024247169494628906 nb_pixel_total : 9032 time to create 1 rle with old method : 0.01095438003540039 length of segment : 127 time for calcul the mask position with numpy : 0.0030317306518554688 nb_pixel_total : 163715 time to create 1 rle with new method : 0.007893800735473633 length of segment : 458 time for calcul the mask position with numpy : 0.0017364025115966797 nb_pixel_total : 47676 time to create 1 rle with old method : 0.060186147689819336 length of segment : 352 time for calcul the mask position with numpy : 0.00023102760314941406 nb_pixel_total : 9756 time to create 1 rle with old method : 0.011475563049316406 length of segment : 163 time for calcul the mask position with numpy : 0.002584218978881836 nb_pixel_total : 179950 time to create 1 rle with new method : 0.00696873664855957 length of segment : 474 time for calcul the mask position with numpy : 0.002420663833618164 nb_pixel_total : 146904 time to create 1 rle with old method : 0.1808016300201416 length of segment : 513 time for calcul the mask position with numpy : 0.003032207489013672 nb_pixel_total : 161196 time to create 1 rle with new method : 0.006811380386352539 length of segment : 330 time for calcul the mask position with numpy : 0.0008280277252197266 nb_pixel_total : 20802 time to create 1 rle with old method : 0.0238649845123291 length of segment : 167 time for calcul the mask position with numpy : 0.0008015632629394531 nb_pixel_total : 23842 time to create 1 rle with old method : 0.030966520309448242 length of segment : 173 time for calcul the mask position with numpy : 0.00016832351684570312 nb_pixel_total : 1474 time to create 1 rle with old method : 0.001903533935546875 length of segment : 39 time for calcul the mask position with numpy : 0.0002753734588623047 nb_pixel_total : 5286 time to create 1 rle with old method : 0.0065784454345703125 length of segment : 103 time for calcul the mask position with numpy : 0.00022459030151367188 nb_pixel_total : 3928 time to create 1 rle with old method : 0.0050203800201416016 length of segment : 73 time for calcul the mask position with numpy : 0.00030541419982910156 nb_pixel_total : 5561 time to create 1 rle with old method : 0.0066127777099609375 length of segment : 108 time for calcul the mask position with numpy : 0.0002789497375488281 nb_pixel_total : 8393 time to create 1 rle with old method : 0.010247468948364258 length of segment : 61 time for calcul the mask position with numpy : 0.004353046417236328 nb_pixel_total : 152847 time to create 1 rle with new method : 0.006707191467285156 length of segment : 672 time for calcul the mask position with numpy : 0.00018715858459472656 nb_pixel_total : 2262 time to create 1 rle with old method : 0.0028905868530273438 length of segment : 61 time for calcul the mask position with numpy : 0.000591278076171875 nb_pixel_total : 13438 time to create 1 rle with old method : 0.01578497886657715 length of segment : 261 time for calcul the mask position with numpy : 0.0005533695220947266 nb_pixel_total : 12769 time to create 1 rle with old method : 0.014913082122802734 length of segment : 128 time for calcul the mask position with numpy : 0.0023975372314453125 nb_pixel_total : 70482 time to create 1 rle with old method : 0.07940340042114258 length of segment : 364 time for calcul the mask position with numpy : 0.0007045269012451172 nb_pixel_total : 19513 time to create 1 rle with old method : 0.023451566696166992 length of segment : 215 time for calcul the mask position with numpy : 0.0016422271728515625 nb_pixel_total : 55671 time to create 1 rle with old method : 0.06317305564880371 length of segment : 563 time for calcul the mask position with numpy : 0.0006687641143798828 nb_pixel_total : 21255 time to create 1 rle with old method : 0.02424788475036621 length of segment : 156 time for calcul the mask position with numpy : 0.0023615360260009766 nb_pixel_total : 89142 time to create 1 rle with old method : 0.1032555103302002 length of segment : 741 time for calcul the mask position with numpy : 0.00018334388732910156 nb_pixel_total : 7117 time to create 1 rle with old method : 0.008743524551391602 length of segment : 74 time for calcul the mask position with numpy : 0.0001914501190185547 nb_pixel_total : 2981 time to create 1 rle with old method : 0.003919363021850586 length of segment : 61 time for calcul the mask position with numpy : 0.004603385925292969 nb_pixel_total : 125063 time to create 1 rle with old method : 0.14345932006835938 length of segment : 464 time for calcul the mask position with numpy : 0.0004227161407470703 nb_pixel_total : 8721 time to create 1 rle with old method : 0.010654211044311523 length of segment : 82 time for calcul the mask position with numpy : 0.0009562969207763672 nb_pixel_total : 33608 time to create 1 rle with old method : 0.03918719291687012 length of segment : 257 time for calcul the mask position with numpy : 0.001981496810913086 nb_pixel_total : 41693 time to create 1 rle with old method : 0.047760009765625 length of segment : 526 time for calcul the mask position with numpy : 0.0001819133758544922 nb_pixel_total : 1842 time to create 1 rle with old method : 0.002340078353881836 length of segment : 77 time for calcul the mask position with numpy : 0.004921674728393555 nb_pixel_total : 254966 time to create 1 rle with new method : 0.006765127182006836 length of segment : 619 time for calcul the mask position with numpy : 0.000423431396484375 nb_pixel_total : 10271 time to create 1 rle with old method : 0.012025594711303711 length of segment : 131 time for calcul the mask position with numpy : 0.003956794738769531 nb_pixel_total : 79366 time to create 1 rle with old method : 0.10769462585449219 length of segment : 489 time for calcul the mask position with numpy : 0.002787351608276367 nb_pixel_total : 98553 time to create 1 rle with old method : 0.11467623710632324 length of segment : 428 time for calcul the mask position with numpy : 0.0002942085266113281 nb_pixel_total : 5176 time to create 1 rle with old method : 0.0064449310302734375 length of segment : 69 time for calcul the mask position with numpy : 0.0001995563507080078 nb_pixel_total : 2625 time to create 1 rle with old method : 0.00466465950012207 length of segment : 59 time for calcul the mask position with numpy : 0.0005834102630615234 nb_pixel_total : 13870 time to create 1 rle with old method : 0.022939682006835938 length of segment : 172 time for calcul the mask position with numpy : 0.005783557891845703 nb_pixel_total : 153838 time to create 1 rle with new method : 0.010267496109008789 length of segment : 494 time for calcul the mask position with numpy : 0.00016880035400390625 nb_pixel_total : 2646 time to create 1 rle with old method : 0.003279447555541992 length of segment : 69 time for calcul the mask position with numpy : 0.00142669677734375 nb_pixel_total : 47415 time to create 1 rle with old method : 0.05522727966308594 length of segment : 343 time for calcul the mask position with numpy : 0.002438783645629883 nb_pixel_total : 100522 time to create 1 rle with old method : 0.11410689353942871 length of segment : 413 time for calcul the mask position with numpy : 0.002126932144165039 nb_pixel_total : 82582 time to create 1 rle with old method : 0.10146594047546387 length of segment : 510 time for calcul the mask position with numpy : 0.0001819133758544922 nb_pixel_total : 2543 time to create 1 rle with old method : 0.0033528804779052734 length of segment : 60 time for calcul the mask position with numpy : 0.003376483917236328 nb_pixel_total : 104775 time to create 1 rle with old method : 0.11775040626525879 length of segment : 430 time for calcul the mask position with numpy : 0.00016880035400390625 nb_pixel_total : 1626 time to create 1 rle with old method : 0.002009868621826172 length of segment : 73 time for calcul the mask position with numpy : 0.002596139907836914 nb_pixel_total : 82628 time to create 1 rle with old method : 0.09524416923522949 length of segment : 519 time for calcul the mask position with numpy : 0.00028824806213378906 nb_pixel_total : 6977 time to create 1 rle with old method : 0.008515596389770508 length of segment : 88 time for calcul the mask position with numpy : 0.00079345703125 nb_pixel_total : 56401 time to create 1 rle with old method : 0.06879520416259766 length of segment : 228 time for calcul the mask position with numpy : 0.00019860267639160156 nb_pixel_total : 3550 time to create 1 rle with old method : 0.004322528839111328 length of segment : 72 time for calcul the mask position with numpy : 0.00019168853759765625 nb_pixel_total : 3027 time to create 1 rle with old method : 0.004027605056762695 length of segment : 64 time for calcul the mask position with numpy : 0.0009531974792480469 nb_pixel_total : 32490 time to create 1 rle with old method : 0.03746914863586426 length of segment : 261 time for calcul the mask position with numpy : 0.001939535140991211 nb_pixel_total : 52218 time to create 1 rle with old method : 0.060163259506225586 length of segment : 559 time for calcul the mask position with numpy : 0.0053021907806396484 nb_pixel_total : 254144 time to create 1 rle with new method : 0.008063316345214844 length of segment : 627 time for calcul the mask position with numpy : 0.0038945674896240234 nb_pixel_total : 130892 time to create 1 rle with old method : 0.14780950546264648 length of segment : 485 time for calcul the mask position with numpy : 0.0004749298095703125 nb_pixel_total : 8673 time to create 1 rle with old method : 0.010465145111083984 length of segment : 89 time for calcul the mask position with numpy : 0.00015616416931152344 nb_pixel_total : 1640 time to create 1 rle with old method : 0.0020859241485595703 length of segment : 74 time for calcul the mask position with numpy : 0.0018687248229980469 nb_pixel_total : 37994 time to create 1 rle with old method : 0.044356584548950195 length of segment : 390 time for calcul the mask position with numpy : 0.0026273727416992188 nb_pixel_total : 100420 time to create 1 rle with old method : 0.11309528350830078 length of segment : 433 time for calcul the mask position with numpy : 0.0024175643920898438 nb_pixel_total : 79503 time to create 1 rle with old method : 0.09303998947143555 length of segment : 382 time for calcul the mask position with numpy : 0.0003921985626220703 nb_pixel_total : 10885 time to create 1 rle with old method : 0.018260955810546875 length of segment : 144 time for calcul the mask position with numpy : 0.004586219787597656 nb_pixel_total : 163490 time to create 1 rle with new method : 0.008416175842285156 length of segment : 701 time for calcul the mask position with numpy : 0.0005152225494384766 nb_pixel_total : 12288 time to create 1 rle with old method : 0.015479326248168945 length of segment : 157 time for calcul the mask position with numpy : 0.0001659393310546875 nb_pixel_total : 1112 time to create 1 rle with old method : 0.001363515853881836 length of segment : 62 time for calcul the mask position with numpy : 0.0004818439483642578 nb_pixel_total : 9502 time to create 1 rle with old method : 0.011769294738769531 length of segment : 85 time for calcul the mask position with numpy : 0.002756357192993164 nb_pixel_total : 101452 time to create 1 rle with old method : 0.1191706657409668 length of segment : 414 time for calcul the mask position with numpy : 0.0009701251983642578 nb_pixel_total : 33711 time to create 1 rle with old method : 0.04225349426269531 length of segment : 311 time for calcul the mask position with numpy : 0.002202272415161133 nb_pixel_total : 107863 time to create 1 rle with old method : 0.12418460845947266 length of segment : 457 time for calcul the mask position with numpy : 0.0011856555938720703 nb_pixel_total : 37324 time to create 1 rle with old method : 0.04234194755554199 length of segment : 196 time for calcul the mask position with numpy : 0.0016503334045410156 nb_pixel_total : 55022 time to create 1 rle with old method : 0.06506586074829102 length of segment : 355 time for calcul the mask position with numpy : 0.0009112358093261719 nb_pixel_total : 54206 time to create 1 rle with old method : 0.06744074821472168 length of segment : 360 time for calcul the mask position with numpy : 0.0002658367156982422 nb_pixel_total : 4548 time to create 1 rle with old method : 0.005500078201293945 length of segment : 58 time for calcul the mask position with numpy : 0.0027875900268554688 nb_pixel_total : 82589 time to create 1 rle with old method : 0.09380531311035156 length of segment : 441 time for calcul the mask position with numpy : 0.00020194053649902344 nb_pixel_total : 3234 time to create 1 rle with old method : 0.004098176956176758 length of segment : 71 time for calcul the mask position with numpy : 0.004694700241088867 nb_pixel_total : 193130 time to create 1 rle with new method : 0.007379055023193359 length of segment : 452 time for calcul the mask position with numpy : 0.0011544227600097656 nb_pixel_total : 36919 time to create 1 rle with old method : 0.04311847686767578 length of segment : 199 time for calcul the mask position with numpy : 0.0010590553283691406 nb_pixel_total : 38260 time to create 1 rle with old method : 0.04440665245056152 length of segment : 147 time for calcul the mask position with numpy : 0.0046863555908203125 nb_pixel_total : 193283 time to create 1 rle with new method : 0.007974624633789062 length of segment : 518 time for calcul the mask position with numpy : 0.0006425380706787109 nb_pixel_total : 11175 time to create 1 rle with old method : 0.012918710708618164 length of segment : 137 time for calcul the mask position with numpy : 0.006247282028198242 nb_pixel_total : 246128 time to create 1 rle with new method : 0.008100271224975586 length of segment : 687 time for calcul the mask position with numpy : 0.0007655620574951172 nb_pixel_total : 14617 time to create 1 rle with old method : 0.016814708709716797 length of segment : 242 time for calcul the mask position with numpy : 0.0007560253143310547 nb_pixel_total : 17482 time to create 1 rle with old method : 0.021111488342285156 length of segment : 181 time for calcul the mask position with numpy : 0.0005335807800292969 nb_pixel_total : 10084 time to create 1 rle with old method : 0.012294530868530273 length of segment : 158 time for calcul the mask position with numpy : 0.0014238357543945312 nb_pixel_total : 31001 time to create 1 rle with old method : 0.03733420372009277 length of segment : 177 time for calcul the mask position with numpy : 0.0008170604705810547 nb_pixel_total : 20118 time to create 1 rle with old method : 0.02344059944152832 length of segment : 187 time for calcul the mask position with numpy : 0.00048542022705078125 nb_pixel_total : 9524 time to create 1 rle with old method : 0.01421499252319336 length of segment : 106 time for calcul the mask position with numpy : 0.002027750015258789 nb_pixel_total : 61382 time to create 1 rle with old method : 0.08552265167236328 length of segment : 349 time for calcul the mask position with numpy : 0.0005381107330322266 nb_pixel_total : 10003 time to create 1 rle with old method : 0.01213216781616211 length of segment : 142 time for calcul the mask position with numpy : 0.0005788803100585938 nb_pixel_total : 10478 time to create 1 rle with old method : 0.012659072875976562 length of segment : 157 time for calcul the mask position with numpy : 0.0005819797515869141 nb_pixel_total : 17194 time to create 1 rle with old method : 0.021121978759765625 length of segment : 86 time for calcul the mask position with numpy : 0.003864765167236328 nb_pixel_total : 98479 time to create 1 rle with old method : 0.11319899559020996 length of segment : 510 time for calcul the mask position with numpy : 0.0032601356506347656 nb_pixel_total : 101407 time to create 1 rle with old method : 0.11311054229736328 length of segment : 475 time for calcul the mask position with numpy : 0.0001544952392578125 nb_pixel_total : 3990 time to create 1 rle with old method : 0.00492095947265625 length of segment : 72 time for calcul the mask position with numpy : 0.00011801719665527344 nb_pixel_total : 1799 time to create 1 rle with old method : 0.002260923385620117 length of segment : 61 time for calcul the mask position with numpy : 0.0014414787292480469 nb_pixel_total : 73234 time to create 1 rle with old method : 0.08119726181030273 length of segment : 311 time for calcul the mask position with numpy : 0.0022933483123779297 nb_pixel_total : 37864 time to create 1 rle with old method : 0.04280281066894531 length of segment : 416 time for calcul the mask position with numpy : 0.0014629364013671875 nb_pixel_total : 35364 time to create 1 rle with old method : 0.039875030517578125 length of segment : 244 time for calcul the mask position with numpy : 0.00012874603271484375 nb_pixel_total : 2876 time to create 1 rle with old method : 0.0037033557891845703 length of segment : 69 time for calcul the mask position with numpy : 0.00019288063049316406 nb_pixel_total : 1718 time to create 1 rle with old method : 0.002292156219482422 length of segment : 60 time for calcul the mask position with numpy : 0.0012543201446533203 nb_pixel_total : 30406 time to create 1 rle with old method : 0.03492116928100586 length of segment : 386 time for calcul the mask position with numpy : 0.005921840667724609 nb_pixel_total : 108697 time to create 1 rle with old method : 0.12581467628479004 length of segment : 981 time for calcul the mask position with numpy : 0.00046753883361816406 nb_pixel_total : 11155 time to create 1 rle with old method : 0.013184070587158203 length of segment : 91 time for calcul the mask position with numpy : 0.0009188652038574219 nb_pixel_total : 29718 time to create 1 rle with old method : 0.03581118583679199 length of segment : 112 time for calcul the mask position with numpy : 0.0030715465545654297 nb_pixel_total : 84116 time to create 1 rle with old method : 0.09467697143554688 length of segment : 444 time for calcul the mask position with numpy : 0.0003566741943359375 nb_pixel_total : 4934 time to create 1 rle with old method : 0.008538961410522461 length of segment : 179 time for calcul the mask position with numpy : 0.002521514892578125 nb_pixel_total : 114353 time to create 1 rle with old method : 0.13994812965393066 length of segment : 496 time for calcul the mask position with numpy : 0.0005042552947998047 nb_pixel_total : 12652 time to create 1 rle with old method : 0.01540684700012207 length of segment : 131 time for calcul the mask position with numpy : 0.0005795955657958984 nb_pixel_total : 21985 time to create 1 rle with old method : 0.026153087615966797 length of segment : 188 time for calcul the mask position with numpy : 0.0023369789123535156 nb_pixel_total : 76536 time to create 1 rle with old method : 0.09429669380187988 length of segment : 478 time for calcul the mask position with numpy : 0.0007770061492919922 nb_pixel_total : 23551 time to create 1 rle with old method : 0.027190446853637695 length of segment : 218 time for calcul the mask position with numpy : 0.002058267593383789 nb_pixel_total : 79492 time to create 1 rle with old method : 0.09174895286560059 length of segment : 217 time for calcul the mask position with numpy : 0.00048732757568359375 nb_pixel_total : 12256 time to create 1 rle with old method : 0.014347553253173828 length of segment : 149 time for calcul the mask position with numpy : 0.004714250564575195 nb_pixel_total : 194949 time to create 1 rle with new method : 0.007552385330200195 length of segment : 693 time for calcul the mask position with numpy : 0.0016291141510009766 nb_pixel_total : 33201 time to create 1 rle with old method : 0.04281473159790039 length of segment : 502 time for calcul the mask position with numpy : 0.007219791412353516 nb_pixel_total : 252607 time to create 1 rle with new method : 0.013714790344238281 length of segment : 797 time for calcul the mask position with numpy : 0.003022909164428711 nb_pixel_total : 94218 time to create 1 rle with old method : 0.11115646362304688 length of segment : 415 time for calcul the mask position with numpy : 0.0003275871276855469 nb_pixel_total : 4648 time to create 1 rle with old method : 0.005761623382568359 length of segment : 127 time for calcul the mask position with numpy : 0.00015878677368164062 nb_pixel_total : 1422 time to create 1 rle with old method : 0.0018110275268554688 length of segment : 51 time for calcul the mask position with numpy : 0.002277851104736328 nb_pixel_total : 98682 time to create 1 rle with old method : 0.1191108226776123 length of segment : 414 time for calcul the mask position with numpy : 0.002763986587524414 nb_pixel_total : 125058 time to create 1 rle with old method : 0.14985156059265137 length of segment : 423 time for calcul the mask position with numpy : 0.0005371570587158203 nb_pixel_total : 33417 time to create 1 rle with old method : 0.04000425338745117 length of segment : 216 time for calcul the mask position with numpy : 0.0002567768096923828 nb_pixel_total : 2074 time to create 1 rle with old method : 0.0026977062225341797 length of segment : 72 time spent for convertir_results : 13.707426309585571 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 156 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 47615 save missing photos in datou_result : time spend for datou_step_exec : 44.110703229904175 time spend to save output : 2.7083194255828857 total time spend for step 1 : 46.81902265548706 step2:crop_condition Mon Feb 3 17:05:18 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 156 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 12 About to insert : list_path_to_insert length 12 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! we have finished the crop for the class : 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 ! map_result returned by crop_photo_return_map_crop : length : 43 About to insert : list_path_to_insert length 43 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 ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : 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 [1333613746, 1333530885, 1333495942, 1333495938, 1333493424, 1333493404, 1333493380, 1333493255, 1333493249, 1333493244] Looping around the photos to save general results len do output : 78 /-3648348373Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958594Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958616Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958628Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958649Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958647Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958648Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958655Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958643Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958642Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958652Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958644Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3648348375Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3648348379Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651824278Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958562Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958561Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958611Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958659Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958663Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958662Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958653Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651824274Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958569Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958632Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958668Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651824276Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651824275Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958565Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958566Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958554Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651824277Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958556Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958578Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958586Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958585Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958584Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958572Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651824279Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3648348381Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958601Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958595Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958596Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958592Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958607Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958604Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958609Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958605Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651824280Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651824281Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651824282Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958620Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958623Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958615Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958629Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958625Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958630Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958637Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958638Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958640Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958639Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958658Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3648348382Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958646Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958682Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958681Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651824284Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958677Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958676Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958558Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958552Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958635Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958633Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958651Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958641Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958582Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958654Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3647958631Didn'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, '2539822') ('3459', '20176483', '1333613746', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333530885', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333495942', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333495938', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493424', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493404', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493380', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493255', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493249', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493244', None, None, None, None, None, '2539822') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 244 time used for this insertion : 0.031245946884155273 save_final save missing photos in datou_result : time spend for datou_step_exec : 34.223875522613525 time spend to save output : 0.033148765563964844 total time spend for step 2 : 34.25702428817749 step3:thcl Mon Feb 3 17:05:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.05988717079162598 time to convert the images to numpy array : 0.07975983619689941 time to import caffe and check if the image exist : 0.06364679336547852 time to convert the images to numpy array : 0.13089585304260254 time to import caffe and check if the image exist : 0.06403684616088867 time to convert the images to numpy array : 0.13656330108642578 time to import caffe and check if the image exist : 0.05859637260437012 time to convert the images to numpy array : 0.14321684837341309 time to import caffe and check if the image exist : 0.06195187568664551 time to convert the images to numpy array : 0.14266061782836914 time to import caffe and check if the image exist : 0.06555342674255371 time to convert the images to numpy array : 0.14155006408691406 time to import caffe and check if the image exist : 0.06238698959350586 time to convert the images to numpy array : 0.14412498474121094 time to import caffe and check if the image exist : 0.06546759605407715 time to convert the images to numpy array : 0.14288640022277832 time to import caffe and check if the image exist : 0.06869697570800781 time to convert the images to numpy array : 0.14003419876098633 time to import caffe and check if the image exist : 0.06328201293945312 time to convert the images to numpy array : 0.14882206916809082 total time to convert the images to numpy array : 0.5234518051147461 list photo_ids error: [] list photo_ids correct : [-3647958633, -3647958651, -3647958641, -3647958582, -3647958654, -3647958631, -3647958561, -3647958611, -3647958659, -3647958663, -3647958662, -3647958653, -3651824274, -3647958569, -3651824280, -3651824281, -3651824282, -3647958620, -3647958623, -3647958615, -3647958629, -3647958625, -3647958556, -3647958578, -3647958586, -3647958585, -3647958584, -3647958572, -3651824279, -3648348381, -3647958643, -3647958642, -3647958652, -3647958644, -3648348375, -3648348379, -3651824278, -3647958562, -3648348373, -3647958594, -3647958616, -3647958628, -3647958649, -3647958647, -3647958648, -3647958655, -3647958601, -3647958595, -3647958596, -3647958592, -3647958607, -3647958604, -3647958609, -3647958605, -3647958682, -3647958681, -3651824284, -3647958677, -3647958676, -3647958558, -3647958552, -3647958635, -3647958630, -3647958637, -3647958638, -3647958640, -3647958639, -3647958658, -3648348382, -3647958646, -3647958632, -3647958668, -3651824276, -3651824275, -3647958565, -3647958566, -3647958554, -3651824277] number of photos to traite : 78 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 : 5485 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 : 5266 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.8784308433532715 time used to do the prediction : 0.24495911598205566 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 : 5264 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 : 5264 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.8645930290222168 time used to do the prediction : 0.16452312469482422 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 9.775161743164062e-06 save missing photos in datou_result : time spend for datou_step_exec : 9.687480449676514 time spend to save output : 0.00055694580078125 total time spend for step 3 : 9.688037395477295 step4:merge_mask_thcl_custom Mon Feb 3 17:06:02 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step merge_mask_thcl_custom batch 1 Loaded 156 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 [1333613746, 1333530885, 1333495942, 1333495938, 1333493424, 1333493404, 1333493380, 1333493255, 1333493249, 1333493244] Looping around the photos to save general results len do output : 10 /1333613746Didn't retrieve data .Didn't retrieve data . /1333530885Didn't retrieve data .Didn't retrieve data . /1333495942Didn't retrieve data .Didn't retrieve data . /1333495938Didn't retrieve data .Didn't retrieve data . /1333493424Didn't retrieve data .Didn't retrieve data . /1333493404Didn't retrieve data .Didn't retrieve data . /1333493380Didn't retrieve data .Didn't retrieve data . /1333493255Didn't retrieve data .Didn't retrieve data . /1333493249Didn't retrieve data .Didn't retrieve data . /1333493244Didn'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, '2539822') ('3459', '20176483', '1333613746', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333530885', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333495942', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333495938', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493424', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493404', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493380', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493255', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493249', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493244', None, None, None, None, None, '2539822') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014209508895874023 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0590822696685791 time spend to save output : 0.014789104461669922 total time spend for step 4 : 0.07387137413024902 step5:rle_unique_nms_with_priority Mon Feb 3 17:06:02 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.9736042022705078 time for calcul the mask position with numpy : 0.04947614669799805 nb_pixel_total : 2475747 time to create 1 rle with new method : 0.14355182647705078 time for calcul the mask position with numpy : 0.021157026290893555 nb_pixel_total : 30461 time to create 1 rle with old method : 0.034964561462402344 time for calcul the mask position with numpy : 0.023197650909423828 nb_pixel_total : 22286 time to create 1 rle with old method : 0.028308629989624023 time for calcul the mask position with numpy : 0.022080183029174805 nb_pixel_total : 51650 time to create 1 rle with old method : 0.057679176330566406 time for calcul the mask position with numpy : 0.06067943572998047 nb_pixel_total : 4470096 time to create 1 rle with new method : 0.13588285446166992 create new chi : 0.6019272804260254 time to delete rle : 0.008842945098876953 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 9300 TO DO : save crop sub photo not yet done ! save time : 0.4995005130767822 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 2.9663162231445312 time for calcul the mask position with numpy : 0.046520233154296875 nb_pixel_total : 2851845 time to create 1 rle with new method : 0.13355350494384766 time for calcul the mask position with numpy : 0.025628089904785156 nb_pixel_total : 4742 time to create 1 rle with old method : 0.00560450553894043 time for calcul the mask position with numpy : 0.02203965187072754 nb_pixel_total : 167540 time to create 1 rle with new method : 0.12912631034851074 time for calcul the mask position with numpy : 0.020505189895629883 nb_pixel_total : 7636 time to create 1 rle with old method : 0.009169816970825195 time for calcul the mask position with numpy : 0.020666122436523438 nb_pixel_total : 42890 time to create 1 rle with old method : 0.05088090896606445 time for calcul the mask position with numpy : 0.06071662902832031 nb_pixel_total : 3927700 time to create 1 rle with new method : 0.14754939079284668 time for calcul the mask position with numpy : 0.021628141403198242 nb_pixel_total : 41276 time to create 1 rle with old method : 0.04924488067626953 time for calcul the mask position with numpy : 0.02084064483642578 nb_pixel_total : 6611 time to create 1 rle with old method : 0.0077991485595703125 create new chi : 0.809373140335083 time to delete rle : 0.0011584758758544922 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 10368 TO DO : save crop sub photo not yet done ! save time : 1.06886625289917 nb_obj : 17 nb_hashtags : 5 time to prepare the origin masks : 4.148538827896118 time for calcul the mask position with numpy : 0.06553196907043457 nb_pixel_total : 5377113 time to create 1 rle with new method : 0.14511847496032715 time for calcul the mask position with numpy : 0.021940231323242188 nb_pixel_total : 228399 time to create 1 rle with new method : 0.12434005737304688 time for calcul the mask position with numpy : 0.02161097526550293 nb_pixel_total : 3060 time to create 1 rle with old method : 0.003610849380493164 time for calcul the mask position with numpy : 0.022166013717651367 nb_pixel_total : 3753 time to create 1 rle with old method : 0.006191730499267578 time for calcul the mask position with numpy : 0.02295970916748047 nb_pixel_total : 29098 time to create 1 rle with old method : 0.04601454734802246 time for calcul the mask position with numpy : 0.02184271812438965 nb_pixel_total : 20134 time to create 1 rle with old method : 0.02700185775756836 time for calcul the mask position with numpy : 0.02115321159362793 nb_pixel_total : 47593 time to create 1 rle with old method : 0.05392575263977051 time for calcul the mask position with numpy : 0.021755695343017578 nb_pixel_total : 163538 time to create 1 rle with new method : 0.1318359375 time for calcul the mask position with numpy : 0.020948171615600586 nb_pixel_total : 16861 time to create 1 rle with old method : 0.02036762237548828 time for calcul the mask position with numpy : 0.020329952239990234 nb_pixel_total : 11432 time to create 1 rle with old method : 0.012980461120605469 time for calcul the mask position with numpy : 0.02144455909729004 nb_pixel_total : 178708 time to create 1 rle with new method : 0.12937116622924805 time for calcul the mask position with numpy : 0.021088600158691406 nb_pixel_total : 150285 time to create 1 rle with new method : 0.12693095207214355 time for calcul the mask position with numpy : 0.02790069580078125 nb_pixel_total : 573595 time to create 1 rle with new method : 0.13327360153198242 time for calcul the mask position with numpy : 0.020937442779541016 nb_pixel_total : 1304 time to create 1 rle with old method : 0.0016252994537353516 time for calcul the mask position with numpy : 0.020792245864868164 nb_pixel_total : 32818 time to create 1 rle with old method : 0.036748409271240234 time for calcul the mask position with numpy : 0.020755290985107422 nb_pixel_total : 62827 time to create 1 rle with old method : 0.0715177059173584 time for calcul the mask position with numpy : 0.020052671432495117 nb_pixel_total : 2901 time to create 1 rle with old method : 0.003336668014526367 time for calcul the mask position with numpy : 0.021279335021972656 nb_pixel_total : 146821 time to create 1 rle with old method : 0.1606159210205078 create new chi : 1.7468485832214355 time to delete rle : 0.001277923583984375 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 14555 TO DO : save crop sub photo not yet done ! save time : 1.4197556972503662 nb_obj : 16 nb_hashtags : 4 time to prepare the origin masks : 4.586716413497925 time for calcul the mask position with numpy : 0.07986950874328613 nb_pixel_total : 6616030 time to create 1 rle with new method : 0.15115666389465332 time for calcul the mask position with numpy : 0.0213010311126709 nb_pixel_total : 7091 time to create 1 rle with old method : 0.008290529251098633 time for calcul the mask position with numpy : 0.021401166915893555 nb_pixel_total : 21156 time to create 1 rle with old method : 0.02391982078552246 time for calcul the mask position with numpy : 0.02091383934020996 nb_pixel_total : 15898 time to create 1 rle with old method : 0.01765584945678711 time for calcul the mask position with numpy : 0.02095937728881836 nb_pixel_total : 19388 time to create 1 rle with old method : 0.02175116539001465 time for calcul the mask position with numpy : 0.020895957946777344 nb_pixel_total : 10402 time to create 1 rle with old method : 0.011765003204345703 time for calcul the mask position with numpy : 0.021149158477783203 nb_pixel_total : 13374 time to create 1 rle with old method : 0.01502680778503418 time for calcul the mask position with numpy : 0.020636558532714844 nb_pixel_total : 2250 time to create 1 rle with old method : 0.002609729766845703 time for calcul the mask position with numpy : 0.020895957946777344 nb_pixel_total : 8380 time to create 1 rle with old method : 0.01036834716796875 time for calcul the mask position with numpy : 0.022207021713256836 nb_pixel_total : 5549 time to create 1 rle with old method : 0.006458759307861328 time for calcul the mask position with numpy : 0.020311355590820312 nb_pixel_total : 3897 time to create 1 rle with old method : 0.004528045654296875 time for calcul the mask position with numpy : 0.0200955867767334 nb_pixel_total : 5265 time to create 1 rle with old method : 0.006363391876220703 time for calcul the mask position with numpy : 0.02094745635986328 nb_pixel_total : 1458 time to create 1 rle with old method : 0.0017735958099365234 time for calcul the mask position with numpy : 0.02165532112121582 nb_pixel_total : 91732 time to create 1 rle with old method : 0.10660839080810547 time for calcul the mask position with numpy : 0.021412134170532227 nb_pixel_total : 20647 time to create 1 rle with old method : 0.02404308319091797 time for calcul the mask position with numpy : 0.021706104278564453 nb_pixel_total : 55213 time to create 1 rle with old method : 0.06316137313842773 time for calcul the mask position with numpy : 0.02753305435180664 nb_pixel_total : 152510 time to create 1 rle with new method : 0.14210987091064453 create new chi : 1.0730788707733154 time to delete rle : 0.0010902881622314453 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 9460 TO DO : save crop sub photo not yet done ! save time : 0.522531270980835 nb_obj : 15 nb_hashtags : 5 time to prepare the origin masks : 4.727498531341553 time for calcul the mask position with numpy : 0.07682275772094727 nb_pixel_total : 6216143 time to create 1 rle with new method : 0.14750885963439941 time for calcul the mask position with numpy : 0.02285480499267578 nb_pixel_total : 254346 time to create 1 rle with new method : 0.1301572322845459 time for calcul the mask position with numpy : 0.023327350616455078 nb_pixel_total : 153309 time to create 1 rle with new method : 0.14276933670043945 time for calcul the mask position with numpy : 0.02118825912475586 nb_pixel_total : 10219 time to create 1 rle with old method : 0.012053728103637695 time for calcul the mask position with numpy : 0.022104501724243164 nb_pixel_total : 2632 time to create 1 rle with old method : 0.0031609535217285156 time for calcul the mask position with numpy : 0.021929025650024414 nb_pixel_total : 13834 time to create 1 rle with old method : 0.01591777801513672 time for calcul the mask position with numpy : 0.02146601676940918 nb_pixel_total : 2583 time to create 1 rle with old method : 0.003154754638671875 time for calcul the mask position with numpy : 0.020752906799316406 nb_pixel_total : 5140 time to create 1 rle with old method : 0.0061457157135009766 time for calcul the mask position with numpy : 0.02139592170715332 nb_pixel_total : 79280 time to create 1 rle with old method : 0.0889735221862793 time for calcul the mask position with numpy : 0.023500680923461914 nb_pixel_total : 124442 time to create 1 rle with old method : 0.13666272163391113 time for calcul the mask position with numpy : 0.021393775939941406 nb_pixel_total : 1836 time to create 1 rle with old method : 0.002169370651245117 time for calcul the mask position with numpy : 0.022527217864990234 nb_pixel_total : 34321 time to create 1 rle with old method : 0.03854250907897949 time for calcul the mask position with numpy : 0.021415233612060547 nb_pixel_total : 8672 time to create 1 rle with old method : 0.009851932525634766 time for calcul the mask position with numpy : 0.022373199462890625 nb_pixel_total : 2953 time to create 1 rle with old method : 0.0034224987030029297 time for calcul the mask position with numpy : 0.02211451530456543 nb_pixel_total : 98354 time to create 1 rle with old method : 0.10981369018554688 time for calcul the mask position with numpy : 0.022274255752563477 nb_pixel_total : 42176 time to create 1 rle with old method : 0.046918630599975586 create new chi : 1.3435168266296387 time to delete rle : 0.0010292530059814453 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 10114 TO DO : save crop sub photo not yet done ! save time : 0.5948479175567627 nb_obj : 10 nb_hashtags : 4 time to prepare the origin masks : 2.418464183807373 time for calcul the mask position with numpy : 0.0753166675567627 nb_pixel_total : 6575163 time to create 1 rle with new method : 0.1324138641357422 time for calcul the mask position with numpy : 0.021129369735717773 nb_pixel_total : 70094 time to create 1 rle with old method : 0.07875680923461914 time for calcul the mask position with numpy : 0.021191120147705078 nb_pixel_total : 104764 time to create 1 rle with old method : 0.11753678321838379 time for calcul the mask position with numpy : 0.02105879783630371 nb_pixel_total : 3517 time to create 1 rle with old method : 0.004233837127685547 time for calcul the mask position with numpy : 0.02187180519104004 nb_pixel_total : 56180 time to create 1 rle with old method : 0.06312704086303711 time for calcul the mask position with numpy : 0.020603179931640625 nb_pixel_total : 6914 time to create 1 rle with old method : 0.008288860321044922 time for calcul the mask position with numpy : 0.02039647102355957 nb_pixel_total : 1617 time to create 1 rle with old method : 0.001954793930053711 time for calcul the mask position with numpy : 0.02317023277282715 nb_pixel_total : 2513 time to create 1 rle with old method : 0.003286123275756836 time for calcul the mask position with numpy : 0.023724794387817383 nb_pixel_total : 47030 time to create 1 rle with old method : 0.052887678146362305 time for calcul the mask position with numpy : 0.020627498626708984 nb_pixel_total : 81983 time to create 1 rle with old method : 0.09370708465576172 time for calcul the mask position with numpy : 0.021412134170532227 nb_pixel_total : 100465 time to create 1 rle with old method : 0.11200380325317383 create new chi : 0.9732944965362549 time to delete rle : 0.0007662773132324219 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 7312 TO DO : save crop sub photo not yet done ! save time : 0.41616153717041016 nb_obj : 12 nb_hashtags : 6 time to prepare the origin masks : 3.597975969314575 time for calcul the mask position with numpy : 0.08027863502502441 nb_pixel_total : 6195956 time to create 1 rle with new method : 0.15040898323059082 time for calcul the mask position with numpy : 0.022617340087890625 nb_pixel_total : 253709 time to create 1 rle with new method : 0.12868905067443848 time for calcul the mask position with numpy : 0.02230358123779297 nb_pixel_total : 162963 time to create 1 rle with new method : 0.13466501235961914 time for calcul the mask position with numpy : 0.021776437759399414 nb_pixel_total : 10842 time to create 1 rle with old method : 0.012157201766967773 time for calcul the mask position with numpy : 0.02146458625793457 nb_pixel_total : 60719 time to create 1 rle with old method : 0.06749677658081055 time for calcul the mask position with numpy : 0.021799564361572266 nb_pixel_total : 37301 time to create 1 rle with old method : 0.042414188385009766 time for calcul the mask position with numpy : 0.020465850830078125 nb_pixel_total : 1624 time to create 1 rle with old method : 0.001909494400024414 time for calcul the mask position with numpy : 0.020160436630249023 nb_pixel_total : 8601 time to create 1 rle with old method : 0.010190725326538086 time for calcul the mask position with numpy : 0.022563457489013672 nb_pixel_total : 129897 time to create 1 rle with old method : 0.14661383628845215 time for calcul the mask position with numpy : 0.021451234817504883 nb_pixel_total : 33265 time to create 1 rle with old method : 0.04477858543395996 time for calcul the mask position with numpy : 0.022318124771118164 nb_pixel_total : 2995 time to create 1 rle with old method : 0.003530263900756836 time for calcul the mask position with numpy : 0.02178502082824707 nb_pixel_total : 100121 time to create 1 rle with old method : 0.1155543327331543 time for calcul the mask position with numpy : 0.02334117889404297 nb_pixel_total : 52247 time to create 1 rle with old method : 0.06126141548156738 create new chi : 1.3009438514709473 time to delete rle : 0.001058340072631836 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 10229 TO DO : save crop sub photo not yet done ! save time : 0.5647187232971191 nb_obj : 16 nb_hashtags : 8 time to prepare the origin masks : 3.553795576095581 time for calcul the mask position with numpy : 0.09119391441345215 nb_pixel_total : 6242082 time to create 1 rle with new method : 0.14455056190490723 time for calcul the mask position with numpy : 0.021999835968017578 nb_pixel_total : 37989 time to create 1 rle with old method : 0.0401456356048584 time for calcul the mask position with numpy : 0.021469593048095703 nb_pixel_total : 6536 time to create 1 rle with old method : 0.0075740814208984375 time for calcul the mask position with numpy : 0.021901369094848633 nb_pixel_total : 36803 time to create 1 rle with old method : 0.03853416442871094 time for calcul the mask position with numpy : 0.02149200439453125 nb_pixel_total : 3217 time to create 1 rle with old method : 0.0036835670471191406 time for calcul the mask position with numpy : 0.021969079971313477 nb_pixel_total : 101347 time to create 1 rle with old method : 0.10771799087524414 time for calcul the mask position with numpy : 0.021570205688476562 nb_pixel_total : 12237 time to create 1 rle with old method : 0.012984991073608398 time for calcul the mask position with numpy : 0.021619081497192383 nb_pixel_total : 37184 time to create 1 rle with old method : 0.04039883613586426 time for calcul the mask position with numpy : 0.022043466567993164 nb_pixel_total : 33711 time to create 1 rle with old method : 0.03537154197692871 time for calcul the mask position with numpy : 0.021486759185791016 nb_pixel_total : 4510 time to create 1 rle with old method : 0.004999637603759766 time for calcul the mask position with numpy : 0.022027015686035156 nb_pixel_total : 82457 time to create 1 rle with old method : 0.08782625198364258 time for calcul the mask position with numpy : 0.021610021591186523 nb_pixel_total : 1622 time to create 1 rle with old method : 0.0021507740020751953 time for calcul the mask position with numpy : 0.02179241180419922 nb_pixel_total : 54201 time to create 1 rle with old method : 0.05685758590698242 time for calcul the mask position with numpy : 0.022893667221069336 nb_pixel_total : 192857 time to create 1 rle with new method : 0.14037632942199707 time for calcul the mask position with numpy : 0.023131132125854492 nb_pixel_total : 192893 time to create 1 rle with new method : 0.14454102516174316 time for calcul the mask position with numpy : 0.0219728946685791 nb_pixel_total : 9482 time to create 1 rle with old method : 0.010317087173461914 time for calcul the mask position with numpy : 0.02173757553100586 nb_pixel_total : 1112 time to create 1 rle with old method : 0.0012745857238769531 create new chi : 1.3589015007019043 time to delete rle : 0.00106048583984375 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 10310 TO DO : save crop sub photo not yet done ! save time : 0.5672509670257568 nb_obj : 26 nb_hashtags : 7 time to prepare the origin masks : 8.466460466384888 time for calcul the mask position with numpy : 0.11062026023864746 nb_pixel_total : 6065166 time to create 1 rle with new method : 0.16696405410766602 time for calcul the mask position with numpy : 0.028150320053100586 nb_pixel_total : 16968 time to create 1 rle with old method : 0.021955251693725586 time for calcul the mask position with numpy : 0.028324365615844727 nb_pixel_total : 7905 time to create 1 rle with old method : 0.00886082649230957 time for calcul the mask position with numpy : 0.02845454216003418 nb_pixel_total : 30387 time to create 1 rle with old method : 0.03327322006225586 time for calcul the mask position with numpy : 0.02774810791015625 nb_pixel_total : 1792 time to create 1 rle with old method : 0.002172708511352539 time for calcul the mask position with numpy : 0.030003786087036133 nb_pixel_total : 10003 time to create 1 rle with old method : 0.011809349060058594 time for calcul the mask position with numpy : 0.02895379066467285 nb_pixel_total : 1706 time to create 1 rle with old method : 0.0020825862884521484 time for calcul the mask position with numpy : 0.03299427032470703 nb_pixel_total : 245851 time to create 1 rle with new method : 0.14488673210144043 time for calcul the mask position with numpy : 0.02794051170349121 nb_pixel_total : 17463 time to create 1 rle with old method : 0.019301891326904297 time for calcul the mask position with numpy : 0.028020620346069336 nb_pixel_total : 11124 time to create 1 rle with old method : 0.01266169548034668 time for calcul the mask position with numpy : 0.029435157775878906 nb_pixel_total : 14562 time to create 1 rle with old method : 0.016748428344726562 time for calcul the mask position with numpy : 0.03576993942260742 nb_pixel_total : 114269 time to create 1 rle with old method : 0.12245798110961914 time for calcul the mask position with numpy : 0.029774188995361328 nb_pixel_total : 101349 time to create 1 rle with old method : 0.10770583152770996 time for calcul the mask position with numpy : 0.030426979064941406 nb_pixel_total : 98409 time to create 1 rle with old method : 0.1079096794128418 time for calcul the mask position with numpy : 0.028956890106201172 nb_pixel_total : 3934 time to create 1 rle with old method : 0.00435328483581543 time for calcul the mask position with numpy : 0.028551101684570312 nb_pixel_total : 10427 time to create 1 rle with old method : 0.011558055877685547 time for calcul the mask position with numpy : 0.028354883193969727 nb_pixel_total : 1492 time to create 1 rle with old method : 0.0025365352630615234 time for calcul the mask position with numpy : 0.02904057502746582 nb_pixel_total : 4168 time to create 1 rle with old method : 0.00494837760925293 time for calcul the mask position with numpy : 0.030893802642822266 nb_pixel_total : 35303 time to create 1 rle with old method : 0.03935360908508301 time for calcul the mask position with numpy : 0.030795574188232422 nb_pixel_total : 108525 time to create 1 rle with old method : 0.13909435272216797 time for calcul the mask position with numpy : 0.03184080123901367 nb_pixel_total : 9504 time to create 1 rle with old method : 0.011613130569458008 time for calcul the mask position with numpy : 0.03171491622924805 nb_pixel_total : 73106 time to create 1 rle with old method : 0.08335757255554199 time for calcul the mask position with numpy : 0.031209707260131836 nb_pixel_total : 5801 time to create 1 rle with old method : 0.006885528564453125 time for calcul the mask position with numpy : 0.03246140480041504 nb_pixel_total : 254 time to create 1 rle with old method : 0.0007603168487548828 time for calcul the mask position with numpy : 0.03620553016662598 nb_pixel_total : 20038 time to create 1 rle with old method : 0.030683279037475586 time for calcul the mask position with numpy : 0.02900862693786621 nb_pixel_total : 30773 time to create 1 rle with old method : 0.03342127799987793 time for calcul the mask position with numpy : 0.028221845626831055 nb_pixel_total : 9961 time to create 1 rle with old method : 0.011218786239624023 create new chi : 2.085420846939087 time to delete rle : 0.0015642642974853516 batch 1 Loaded 29 chid ids of type : 3726 Number RLEs to save : 15114 TO DO : save crop sub photo not yet done ! save time : 0.8176798820495605 nb_obj : 15 nb_hashtags : 4 time to prepare the origin masks : 3.9248769283294678 time for calcul the mask position with numpy : 0.19722747802734375 nb_pixel_total : 6046170 time to create 1 rle with new method : 0.561551570892334 time for calcul the mask position with numpy : 0.02172684669494629 nb_pixel_total : 2060 time to create 1 rle with old method : 0.0023016929626464844 time for calcul the mask position with numpy : 0.022526979446411133 nb_pixel_total : 66142 time to create 1 rle with old method : 0.07184171676635742 time for calcul the mask position with numpy : 0.022955656051635742 nb_pixel_total : 93766 time to create 1 rle with old method : 0.09798884391784668 time for calcul the mask position with numpy : 0.022616147994995117 nb_pixel_total : 1416 time to create 1 rle with old method : 0.0015981197357177734 time for calcul the mask position with numpy : 0.022743701934814453 nb_pixel_total : 4540 time to create 1 rle with old method : 0.0048296451568603516 time for calcul the mask position with numpy : 0.023539066314697266 nb_pixel_total : 124348 time to create 1 rle with old method : 0.1339893341064453 time for calcul the mask position with numpy : 0.02269434928894043 nb_pixel_total : 32892 time to create 1 rle with old method : 0.035706281661987305 time for calcul the mask position with numpy : 0.024018049240112305 nb_pixel_total : 194354 time to create 1 rle with new method : 2.752852201461792 time for calcul the mask position with numpy : 0.040537357330322266 nb_pixel_total : 12213 time to create 1 rle with old method : 0.02302718162536621 time for calcul the mask position with numpy : 0.03149127960205078 nb_pixel_total : 79098 time to create 1 rle with old method : 0.10312533378601074 time for calcul the mask position with numpy : 0.03495621681213379 nb_pixel_total : 260849 time to create 1 rle with new method : 1.8584411144256592 time for calcul the mask position with numpy : 0.030574560165405273 nb_pixel_total : 23379 time to create 1 rle with old method : 0.02651357650756836 time for calcul the mask position with numpy : 0.025082111358642578 nb_pixel_total : 76335 time to create 1 rle with old method : 0.08246254920959473 time for calcul the mask position with numpy : 0.024722576141357422 nb_pixel_total : 20070 time to create 1 rle with old method : 0.022282838821411133 time for calcul the mask position with numpy : 0.023099660873413086 nb_pixel_total : 12608 time to create 1 rle with old method : 0.017103195190429688 create new chi : 6.491588354110718 time to delete rle : 0.13107848167419434 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 11523 TO DO : save crop sub photo not yet done ! save time : 1.4619872570037842 map_output_result : {1333613746: (0.0, 'Should be the crop_list due to order', 0.0), 1333530885: (0.0, 'Should be the crop_list due to order', 0.0), 1333495942: (0.0, 'Should be the crop_list due to order', 0.0), 1333495938: (0.0, 'Should be the crop_list due to order', 0.0), 1333493424: (0.0, 'Should be the crop_list due to order', 0.0), 1333493404: (0.0, 'Should be the crop_list due to order', 0.0), 1333493380: (0.0, 'Should be the crop_list due to order', 0.0), 1333493255: (0.0, 'Should be the crop_list due to order', 0.0), 1333493249: (0.0, 'Should be the crop_list due to order', 0.0), 1333493244: (0.0, 'Should be the crop_list due to order', 0.0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1333613746, 1333530885, 1333495942, 1333495938, 1333493424, 1333493404, 1333493380, 1333493255, 1333493249, 1333493244] Looping around the photos to save general results len do output : 10 /1333613746.Didn't retrieve data . /1333530885.Didn't retrieve data . /1333495942.Didn't retrieve data . /1333495938.Didn't retrieve data . /1333493424.Didn't retrieve data . /1333493404.Didn't retrieve data . /1333493380.Didn't retrieve data . /1333493255.Didn't retrieve data . /1333493249.Didn't retrieve data . /1333493244.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, '2539822') ('3459', '20176483', '1333613746', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333530885', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333495942', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333495938', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493424', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493404', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493380', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493255', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493249', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493244', None, None, None, None, None, '2539822') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014238595962524414 save_final save missing photos in datou_result : time spend for datou_step_exec : 66.07224655151367 time spend to save output : 0.03479504585266113 total time spend for step 5 : 66.10704159736633 step6:crop_condition Mon Feb 3 17:07:08 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 159 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738598832_739181 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.9039342403411865 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! About to upload 8 photos upload in portfolio : 4869462 init cache_photo without model_param we have 8 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738598839_739181 we have uploaded 8 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.986720085144043 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 11 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/1738598844_739181 we have uploaded 10 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.4089903831481934 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738598849_739181 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.7460975646972656 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 ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 4869462 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738598855_739181 we have uploaded 11 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.6719493865966797 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 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/1738598859_739181 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6769399642944336 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 [1333613746, 1333530885, 1333495942, 1333495938, 1333493424, 1333493404, 1333493380, 1333493255, 1333493249, 1333493244] Looping around the photos to save general results len do output : 41 /1334261537Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261538Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261539Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261540Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261541Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261552Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261553Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261554Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261555Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261556Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261557Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261558Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261559Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261567Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261568Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261569Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261570Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261571Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261572Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261573Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261574Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261575Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1333610382Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261576Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261580Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261581Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261583Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261584Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261585Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261664Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261666Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261668Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261670Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261672Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261675Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261677Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261679Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261681Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261683Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261685Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334261714Didn'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, '2539822') ('3459', '20176483', '1333613746', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333530885', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333495942', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333495938', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493424', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493404', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493380', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493255', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493249', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493244', None, None, None, None, None, '2539822') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 133 time used for this insertion : 0.030980348587036133 save_final save missing photos in datou_result : time spend for datou_step_exec : 32.350608825683594 time spend to save output : 0.06502485275268555 total time spend for step 6 : 32.41563367843628 step7:ventilate_hashtags_in_portfolio Mon Feb 3 17:07:40 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 : 20176483 get user id for portfolio 20176483 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`=20176483 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','mal_croppe','Carton_brun','flou','autre_refus','Teint_Dans_La_Masse','cartonnette','metal','plastique','Carton_gris','kraft','papier')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20176483 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','mal_croppe','Carton_brun','flou','autre_refus','Teint_Dans_La_Masse','cartonnette','metal','plastique','Carton_gris','kraft','papier')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20176483 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','mal_croppe','Carton_brun','flou','autre_refus','Teint_Dans_La_Masse','cartonnette','metal','plastique','Carton_gris','kraft','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20185284,20185285,20185286,20185287,20185288,20185289,20185290,20185291,20185292,20185293,20185294,20185295?tags=environnement,mal_croppe,Carton_brun,flou,autre_refus,Teint_Dans_La_Masse,cartonnette,metal,plastique,Carton_gris,kraft,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1333613746, 1333530885, 1333495942, 1333495938, 1333493424, 1333493404, 1333493380, 1333493255, 1333493249, 1333493244] Looping around the photos to save general results len do output : 1 /20176483. 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, '2539822') ('3459', '20176483', '1333613746', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333530885', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333495942', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333495938', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493424', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493404', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493380', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493255', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493249', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493244', None, None, None, None, None, '2539822') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.015125036239624023 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.983440637588501 time spend to save output : 0.17991018295288086 total time spend for step 7 : 5.163350820541382 step8:final Mon Feb 3 17:07:46 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 : {1333613746: ('0.08437942123195745',), 1333530885: ('0.08437942123195745',), 1333495942: ('0.08437942123195745',), 1333495938: ('0.08437942123195745',), 1333493424: ('0.08437942123195745',), 1333493404: ('0.08437942123195745',), 1333493380: ('0.08437942123195745',), 1333493255: ('0.08437942123195745',), 1333493249: ('0.08437942123195745',), 1333493244: ('0.08437942123195745',)} new output for save of step final : {1333613746: ('0.08437942123195745',), 1333530885: ('0.08437942123195745',), 1333495942: ('0.08437942123195745',), 1333495938: ('0.08437942123195745',), 1333493424: ('0.08437942123195745',), 1333493404: ('0.08437942123195745',), 1333493380: ('0.08437942123195745',), 1333493255: ('0.08437942123195745',), 1333493249: ('0.08437942123195745',), 1333493244: ('0.08437942123195745',)} [1333613746, 1333530885, 1333495942, 1333495938, 1333493424, 1333493404, 1333493380, 1333493255, 1333493249, 1333493244] Looping around the photos to save general results len do output : 10 /1333613746.Didn't retrieve data . /1333530885.Didn't retrieve data . /1333495942.Didn't retrieve data . /1333495938.Didn't retrieve data . /1333493424.Didn't retrieve data . /1333493404.Didn't retrieve data . /1333493380.Didn't retrieve data . /1333493255.Didn't retrieve data . /1333493249.Didn't retrieve data . /1333493244.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, '2539822') ('3459', '20176483', '1333613746', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333530885', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333495942', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333495938', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493424', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493404', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493380', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493255', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493249', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493244', None, None, None, None, None, '2539822') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01322174072265625 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6825401782989502 time spend to save output : 0.014313459396362305 total time spend for step 8 : 1.6968536376953125 step9:velours_tree Mon Feb 3 17:07:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure 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.5186927318572998 time spend to save output : 5.125999450683594e-05 total time spend for step 9 : 0.5187439918518066 step10:send_mail_cod Mon Feb 3 17:07:48 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_P20176483_03-02-2025_17_07_48.pdf 20185285 imagette201852851738598868 20185287 imagette201852871738598868 20185288 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 .imagette201852881738598868 20185290 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 .imagette201852901738598870 20185291 imagette201852911738598871 20185292 change filename to text .change filename to text .change filename to text .change filename to text .imagette201852921738598871 20185294 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette201852941738598872 20185286 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 .imagette201852861738598872 20185289 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 .imagette201852891738598874 20185293 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 .imagette201852931738598875 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20176483 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20185284,20185285,20185286,20185287,20185288,20185289,20185290,20185291,20185292,20185293,20185294,20185295?tags=environnement,mal_croppe,Carton_brun,flou,autre_refus,Teint_Dans_La_Masse,cartonnette,metal,plastique,Carton_gris,kraft,papier your option no_mail is active, we will not send the real mail to your client args[1333613746] : ('0.08437942123195745',) no score found for photo 1333613746 We are sending mail with results at report@fotonower.com args[1333530885] : ('0.08437942123195745',) no score found for photo 1333530885 We are sending mail with results at report@fotonower.com args[1333495942] : ('0.08437942123195745',) no score found for photo 1333495942 We are sending mail with results at report@fotonower.com args[1333495938] : ('0.08437942123195745',) no score found for photo 1333495938 We are sending mail with results at report@fotonower.com args[1333493424] : ('0.08437942123195745',) no score found for photo 1333493424 We are sending mail with results at report@fotonower.com args[1333493404] : ('0.08437942123195745',) no score found for photo 1333493404 We are sending mail with results at report@fotonower.com args[1333493380] : ('0.08437942123195745',) no score found for photo 1333493380 We are sending mail with results at report@fotonower.com args[1333493255] : ('0.08437942123195745',) no score found for photo 1333493255 We are sending mail with results at report@fotonower.com args[1333493249] : ('0.08437942123195745',) no score found for photo 1333493249 We are sending mail with results at report@fotonower.com args[1333493244] : ('0.08437942123195745',) no score found for photo 1333493244 We are sending mail with results at report@fotonower.com refus_total : 0.08437942123195745 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=20176483 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1333234432,1333495938,1333493424,1333493404,1333493380,1333493255,1333493249,1333493244,1333240473,1333240469,1333234645,1333234627,1333234617,1333234610,1333234551,1333234548,1333234544,1333234539,1333234428,1333234606) Found this number of photos: 20 begin to download photo : 1333234432 begin to download photo : 1333493255 begin to download photo : 1333234645 begin to download photo : 1333234548 download finish for photo 1333234432 begin to download photo : 1333495938 download finish for photo 1333234548 begin to download photo : 1333234544 download finish for photo 1333493255 begin to download photo : 1333493249 download finish for photo 1333234645 begin to download photo : 1333234627 download finish for photo 1333495938 begin to download photo : 1333493424 download finish for photo 1333493249 begin to download photo : 1333493244 download finish for photo 1333234544 begin to download photo : 1333234539 download finish for photo 1333493424 begin to download photo : 1333493404 download finish for photo 1333493244 begin to download photo : 1333240473 download finish for photo 1333234539 begin to download photo : 1333234428 download finish for photo 1333234627 begin to download photo : 1333234617 download finish for photo 1333493404 begin to download photo : 1333493380 download finish for photo 1333240473 begin to download photo : 1333240469 download finish for photo 1333234428 begin to download photo : 1333234606 download finish for photo 1333234617 begin to download photo : 1333234610 download finish for photo 1333493380 download finish for photo 1333240469 download finish for photo 1333234606 download finish for photo 1333234610 begin to download photo : 1333234551 download finish for photo 1333234551 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20176483_03-02-2025_17_07_48.pdf results_Auto_P20176483_03-02-2025_17_07_48.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20176483_03-02-2025_17_07_48.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','20176483','results_Auto_P20176483_03-02-2025_17_07_48.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20176483_03-02-2025_17_07_48.pdf','pdf','','1.36','0.08437942123195745') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1333613746, 1333530885, 1333495942, 1333495938, 1333493424, 1333493404, 1333493380, 1333493255, 1333493249, 1333493244] 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, '2539822') ('3459', '20176483', '1333613746', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333530885', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333495942', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333495938', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493424', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493404', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493380', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493255', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493249', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493244', None, None, None, None, None, '2539822') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.012793779373168945 save_final save missing photos in datou_result : time spend for datou_step_exec : 14.860630512237549 time spend to save output : 0.013406753540039062 total time spend for step 10 : 14.874037265777588 step11:split_time_score Mon Feb 3 17:08:03 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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'}] (('08', 28),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 31012025 20176483 Nombre de photos uploadées : 28 / 23040 (0%) 31012025 20176483 Nombre de photos taguées (types de déchets): 0 / 28 (0%) 31012025 20176483 Nombre de photos taguées (volume) : 0 / 28 (0%) elapsed_time : load_data_split_time_score 6.4373016357421875e-06 elapsed_time : order_list_meta_photo_and_scores 3.409385681152344e-05 ???????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0020329952239990234 elapsed_time : insert_dashboard_record_day_entry 0.02320575714111328 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.07948558805196004 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128150_01-02-2025_04_30_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128150 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`=20128150 AND mptpi.`type`=4207 To do Qualite : 0.04288956511275865 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128151_01-02-2025_03_54_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128151 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`=20128151 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128152 order by id desc limit 1 Qualite : 0.08437942123195745 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20176483_03-02-2025_17_07_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176483 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`=20176483 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176484 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176485 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176486 order by id desc limit 1 Qualite : 0.18765544939683718 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20176487_03-02-2025_14_04_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176487 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`=20176487 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176512 order by id desc limit 1 Qualite : 0.17372436966684815 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20176513_03-02-2025_13_11_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176513 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`=20176513 AND mptpi.`type`=3594 To do Qualite : 0.1374952317954594 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20176514_03-02-2025_15_09_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176514 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`=20176514 AND mptpi.`type`=3327 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20176515_03-02-2025_14_56_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176515 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176516 order by id desc limit 1 Qualite : 0.20109579764144703 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20176517_03-02-2025_13_00_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176517 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`=20176517 AND mptpi.`type`=3594 To do Qualite : 0.21289584725935826 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20176518_03-02-2025_12_51_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176518 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`=20176518 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176519 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176520 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20116177 order by id desc limit 1 Qualite : 0.11710340391431627 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20176521_03-02-2025_14_35_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176521 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`=20176521 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176522 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176523 order by id desc limit 1 Qualite : 0.06999912744886748 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20176524_03-02-2025_12_55_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176524 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`=20176524 AND mptpi.`type`=4207 To do Qualite : 0.045846082848016355 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20176525_03-02-2025_13_05_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176525 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`=20176525 AND mptpi.`type`=4207 To do Qualite : 0.08687190479353087 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135985_01-02-2025_06_07_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20135985 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`=20135985 AND mptpi.`type`=4207 To do Qualite : 0.11540364153479511 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135986_01-02-2025_07_01_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20135986 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11512 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11521 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11520 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11516 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11516 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11519 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11519 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11513 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11513 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11577 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11577 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11515 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11514 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11514 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11523 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11515 doesn't seem to be define in the database( WARNING : type of input 3 of step 11514 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11512 doesn't seem to be define in the database( WARNING : type of input 2 of step 11516 doesn't seem to be define in the database( WARNING : output 1 of step 11512 have datatype=2 whereas input 1 of step 11519 have datatype=7 WARNING : type of output 2 of step 11519 doesn't seem to be define in the database( WARNING : type of input 1 of step 11513 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11515 have datatype=10 whereas input 3 of step 11522 have datatype=6 WARNING : type of input 2 of step 11577 doesn't seem to be define in the database( WARNING : output 1 of step 11513 have datatype=7 whereas input 2 of step 11577 have datatype=None WARNING : type of output 3 of step 11577 doesn't seem to be define in the database( WARNING : type of input 1 of step 11515 doesn't seem to be define in the database( WARNING : output 0 of step 11515 have datatype=10 whereas input 0 of step 11583 have datatype=18 WARNING : type of input 5 of step 11522 doesn't seem to be define in the database( WARNING : output 0 of step 11583 have datatype=11 whereas input 5 of step 11522 have datatype=None WARNING : type of output 1 of step 11521 doesn't seem to be define in the database( WARNING : type of input 3 of step 11516 doesn't seem to be define in the database( WARNING : type of output 1 of step 11520 doesn't seem to be define in the database( WARNING : type of input 3 of step 11516 doesn't seem to be define in the database( WARNING : output 0 of step 11519 have datatype=1 whereas input 0 of step 11513 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20135986 AND mptpi.`type`=4203 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135988_01-02-2025_06_46_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20135988 order by id desc limit 1 Qualite : 0.22578661033761485 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20135989 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`=20135989 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135990_01-02-2025_05_51_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20135990 order by id desc limit 1 Qualite : 0.20874959339445653 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128161_01-02-2025_01_24_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128161 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`=20128161 AND mptpi.`type`=3594 To do Qualite : 0.280106560658458 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128162_01-02-2025_04_44_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128162 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 11548 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11556 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11557 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11552 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11552 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11555 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 11555 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11580 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11580 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11551 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11550 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11550 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11559 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 11551 doesn't seem to be define in the database( WARNING : type of input 3 of step 11550 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11548 doesn't seem to be define in the database( WARNING : type of input 2 of step 11552 doesn't seem to be define in the database( WARNING : output 1 of step 11548 have datatype=2 whereas input 1 of step 11555 have datatype=7 WARNING : type of output 2 of step 11555 doesn't seem to be define in the database( WARNING : type of input 1 of step 11549 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11551 have datatype=10 whereas input 3 of step 11558 have datatype=6 WARNING : type of input 2 of step 11580 doesn't seem to be define in the database( WARNING : output 1 of step 11549 have datatype=7 whereas input 2 of step 11580 have datatype=None WARNING : type of output 3 of step 11580 doesn't seem to be define in the database( WARNING : type of input 1 of step 11551 doesn't seem to be define in the database( WARNING : output 0 of step 11551 have datatype=10 whereas input 0 of step 11586 have datatype=18 WARNING : type of input 5 of step 11558 doesn't seem to be define in the database( WARNING : output 0 of step 11586 have datatype=11 whereas input 5 of step 11558 have datatype=None WARNING : type of output 1 of step 11556 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : type of output 1 of step 11557 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : output 0 of step 11555 have datatype=1 whereas input 0 of step 11549 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`=20128162 AND mptpi.`type`=4200 To do Qualite : 0.198585640541933 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128894_01-02-2025_07_08_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128894 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`=20128894 AND mptpi.`type`=3327 To do Qualite : 0.08584882097122022 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128895_01-02-2025_04_15_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128895 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`=20128895 AND mptpi.`type`=4207 To do Qualite : 0.021879504220965417 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128165_01-02-2025_01_28_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128165 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`=20128165 AND mptpi.`type`=4207 To do Qualite : 0.04651606487101653 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128166_01-02-2025_01_54_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128166 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`=20128166 AND mptpi.`type`=4207 To do Qualite : 0.03317004296775434 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128167_01-02-2025_01_48_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128167 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`=20128167 AND mptpi.`type`=4207 To do Qualite : 0.04314198433668906 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128168_01-02-2025_01_31_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128168 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`=20128168 AND mptpi.`type`=4207 To do Qualite : 0.07726311033869263 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128169_01-02-2025_01_28_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128169 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`=20128169 AND mptpi.`type`=3726 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128896_01-02-2025_06_58_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128896 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'31012025': {'nb_upload': 28, '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 [1333613746, 1333530885, 1333495942, 1333495938, 1333493424, 1333493404, 1333493380, 1333493255, 1333493249, 1333493244] Looping around the photos to save general results len do output : 1 /20176483Didn'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, '2539822') ('3459', '20176483', '1333613746', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333530885', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333495942', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333495938', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493424', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493404', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493380', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493255', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493249', None, None, None, None, None, '2539822') ('3459', None, None, None, None, None, None, None, '2539822') ('3459', '20176483', '1333493244', None, None, None, None, None, '2539822') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013502359390258789 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.531532764434814 time spend to save output : 0.013773441314697266 total time spend for step 11 : 11.545306205749512 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 144.28user 42.99system 3:50.99elapsed 81%CPU (0avgtext+0avgdata 4412672maxresident)k 2544632inputs+164792outputs (20847major+6508299minor)pagefaults 0swaps