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 : 1242164 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 : 33>10 please execute split_portfolio.py -i 21403116 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2667247'] with mtr_portfolio_ids : ['21403116'] and first list_photo_ids : [] new path : /proc/1242164/ 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.539154291152954 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 Fri Mar 14 00:08:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 6065 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-14 00:08:34.291509: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-03-14 00:08:34.327162: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-14 00:08:34.329963: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f5e50000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-14 00:08:34.330019: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-14 00:08:34.336235: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-14 00:08:34.638924: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2c8da810 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-14 00:08:34.638995: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-14 00:08:34.641022: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-03-14 00:08:34.645350: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-14 00:08:34.689820: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-14 00:08:34.716980: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-14 00:08:34.722104: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-14 00:08:34.765851: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-14 00:08:34.773150: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-14 00:08:34.849146: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-14 00:08:34.850753: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-14 00:08:34.851333: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-14 00:08:34.853108: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-14 00:08:34.853131: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-14 00:08:34.853143: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-14 00:08:34.854914: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5559 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-03-14 00:08:35.259708: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-03-14 00:08:35.259853: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-14 00:08:35.259878: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-14 00:08:35.259900: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-14 00:08:35.259921: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-14 00:08:35.259942: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-14 00:08:35.259962: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-14 00:08:35.259984: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-14 00:08:35.261206: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-14 00:08:35.262475: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-03-14 00:08:35.262516: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-14 00:08:35.262535: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-14 00:08:35.262552: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-14 00:08:35.262574: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-14 00:08:35.262593: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-14 00:08:35.262611: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-14 00:08:35.262628: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-14 00:08:35.263701: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-14 00:08:35.263742: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-14 00:08:35.263751: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-14 00:08:35.263759: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-14 00:08:35.264816: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5559 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-03-14 00:08:46.807001: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-14 00:08:47.590394: 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 : 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 : 24 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 21 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 7 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 6 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 : 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 : 12 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 : 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 : 6 Detection mask done ! Trying to reset tf kernel 1242522 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 776 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 : 6065 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.0002257823944091797 nb_pixel_total : 3476 time to create 1 rle with old method : 0.0057985782623291016 length of segment : 55 time for calcul the mask position with numpy : 0.0009241104125976562 nb_pixel_total : 29052 time to create 1 rle with old method : 0.03844141960144043 length of segment : 252 time for calcul the mask position with numpy : 0.00015234947204589844 nb_pixel_total : 4175 time to create 1 rle with old method : 0.005059480667114258 length of segment : 165 time for calcul the mask position with numpy : 0.0010516643524169922 nb_pixel_total : 63204 time to create 1 rle with old method : 0.07413196563720703 length of segment : 328 time for calcul the mask position with numpy : 0.0011458396911621094 nb_pixel_total : 83944 time to create 1 rle with old method : 0.09625911712646484 length of segment : 472 time for calcul the mask position with numpy : 0.0007288455963134766 nb_pixel_total : 52134 time to create 1 rle with old method : 0.061840057373046875 length of segment : 377 time for calcul the mask position with numpy : 0.0008547306060791016 nb_pixel_total : 30787 time to create 1 rle with old method : 0.04027843475341797 length of segment : 262 time for calcul the mask position with numpy : 0.21903085708618164 nb_pixel_total : 301750 time to create 1 rle with new method : 0.034650564193725586 length of segment : 747 time for calcul the mask position with numpy : 0.004026651382446289 nb_pixel_total : 323883 time to create 1 rle with new method : 0.1554279327392578 length of segment : 689 time for calcul the mask position with numpy : 0.0007567405700683594 nb_pixel_total : 44614 time to create 1 rle with old method : 0.05011725425720215 length of segment : 536 time for calcul the mask position with numpy : 0.0003197193145751953 nb_pixel_total : 12859 time to create 1 rle with old method : 0.01895737648010254 length of segment : 312 time for calcul the mask position with numpy : 0.0004169940948486328 nb_pixel_total : 19856 time to create 1 rle with old method : 0.0260469913482666 length of segment : 226 time for calcul the mask position with numpy : 0.0001068115234375 nb_pixel_total : 2703 time to create 1 rle with old method : 0.0033140182495117188 length of segment : 76 time for calcul the mask position with numpy : 0.0004067420959472656 nb_pixel_total : 11110 time to create 1 rle with old method : 0.014801263809204102 length of segment : 131 time for calcul the mask position with numpy : 0.004071712493896484 nb_pixel_total : 211886 time to create 1 rle with new method : 0.14291143417358398 length of segment : 885 time for calcul the mask position with numpy : 0.0006697177886962891 nb_pixel_total : 40696 time to create 1 rle with old method : 0.04612231254577637 length of segment : 238 time for calcul the mask position with numpy : 0.000141143798828125 nb_pixel_total : 5307 time to create 1 rle with old method : 0.0059816837310791016 length of segment : 125 time for calcul the mask position with numpy : 0.0012176036834716797 nb_pixel_total : 46919 time to create 1 rle with old method : 0.054671525955200195 length of segment : 346 time for calcul the mask position with numpy : 0.0036401748657226562 nb_pixel_total : 171752 time to create 1 rle with new method : 0.015865087509155273 length of segment : 743 time for calcul the mask position with numpy : 0.00021958351135253906 nb_pixel_total : 7899 time to create 1 rle with old method : 0.009516239166259766 length of segment : 126 time for calcul the mask position with numpy : 0.0014104843139648438 nb_pixel_total : 86569 time to create 1 rle with old method : 0.10079741477966309 length of segment : 514 time for calcul the mask position with numpy : 0.0001723766326904297 nb_pixel_total : 4443 time to create 1 rle with old method : 0.0054357051849365234 length of segment : 67 time for calcul the mask position with numpy : 0.0001876354217529297 nb_pixel_total : 7027 time to create 1 rle with old method : 0.00860142707824707 length of segment : 145 time for calcul the mask position with numpy : 0.0015380382537841797 nb_pixel_total : 91019 time to create 1 rle with old method : 0.11800384521484375 length of segment : 379 time for calcul the mask position with numpy : 0.00017189979553222656 nb_pixel_total : 3499 time to create 1 rle with old method : 0.004328489303588867 length of segment : 95 time for calcul the mask position with numpy : 0.0019266605377197266 nb_pixel_total : 102873 time to create 1 rle with old method : 0.11550283432006836 length of segment : 550 time for calcul the mask position with numpy : 0.000423431396484375 nb_pixel_total : 2287 time to create 1 rle with old method : 0.002773284912109375 length of segment : 119 time for calcul the mask position with numpy : 0.002160310745239258 nb_pixel_total : 53255 time to create 1 rle with old method : 0.06143450736999512 length of segment : 504 time for calcul the mask position with numpy : 0.0004050731658935547 nb_pixel_total : 7073 time to create 1 rle with old method : 0.008589029312133789 length of segment : 89 time for calcul the mask position with numpy : 0.0001995563507080078 nb_pixel_total : 6824 time to create 1 rle with old method : 0.00799560546875 length of segment : 85 time for calcul the mask position with numpy : 0.00030875205993652344 nb_pixel_total : 2959 time to create 1 rle with old method : 0.0037250518798828125 length of segment : 92 time for calcul the mask position with numpy : 0.0012767314910888672 nb_pixel_total : 26116 time to create 1 rle with old method : 0.0315098762512207 length of segment : 120 time for calcul the mask position with numpy : 0.0011897087097167969 nb_pixel_total : 29271 time to create 1 rle with old method : 0.03337526321411133 length of segment : 197 time for calcul the mask position with numpy : 0.0022916793823242188 nb_pixel_total : 75106 time to create 1 rle with old method : 0.09035801887512207 length of segment : 233 time for calcul the mask position with numpy : 0.00034236907958984375 nb_pixel_total : 3436 time to create 1 rle with old method : 0.004394054412841797 length of segment : 71 time for calcul the mask position with numpy : 0.0007734298706054688 nb_pixel_total : 12914 time to create 1 rle with old method : 0.014596223831176758 length of segment : 300 time for calcul the mask position with numpy : 0.00017261505126953125 nb_pixel_total : 1575 time to create 1 rle with old method : 0.0020394325256347656 length of segment : 45 time for calcul the mask position with numpy : 0.011367321014404297 nb_pixel_total : 174979 time to create 1 rle with new method : 0.2308518886566162 length of segment : 530 time for calcul the mask position with numpy : 0.0005595684051513672 nb_pixel_total : 9947 time to create 1 rle with old method : 0.01194000244140625 length of segment : 195 time for calcul the mask position with numpy : 0.0006659030914306641 nb_pixel_total : 5862 time to create 1 rle with old method : 0.011175155639648438 length of segment : 90 time for calcul the mask position with numpy : 8.535385131835938e-05 nb_pixel_total : 2735 time to create 1 rle with old method : 0.0034761428833007812 length of segment : 61 time for calcul the mask position with numpy : 0.0006728172302246094 nb_pixel_total : 35694 time to create 1 rle with old method : 0.0414581298828125 length of segment : 237 time for calcul the mask position with numpy : 0.0010797977447509766 nb_pixel_total : 29537 time to create 1 rle with old method : 0.03586101531982422 length of segment : 266 time for calcul the mask position with numpy : 0.00468897819519043 nb_pixel_total : 212352 time to create 1 rle with new method : 0.010068893432617188 length of segment : 526 time for calcul the mask position with numpy : 0.0004086494445800781 nb_pixel_total : 8788 time to create 1 rle with old method : 0.010289907455444336 length of segment : 138 time for calcul the mask position with numpy : 0.000186920166015625 nb_pixel_total : 3424 time to create 1 rle with old method : 0.004239320755004883 length of segment : 55 time for calcul the mask position with numpy : 0.0016608238220214844 nb_pixel_total : 73230 time to create 1 rle with old method : 0.08351373672485352 length of segment : 238 time for calcul the mask position with numpy : 0.0024487972259521484 nb_pixel_total : 65687 time to create 1 rle with old method : 0.07634186744689941 length of segment : 343 time for calcul the mask position with numpy : 0.0005812644958496094 nb_pixel_total : 21166 time to create 1 rle with old method : 0.025580883026123047 length of segment : 123 time for calcul the mask position with numpy : 0.0007793903350830078 nb_pixel_total : 19761 time to create 1 rle with old method : 0.022763967514038086 length of segment : 243 time for calcul the mask position with numpy : 0.00026345252990722656 nb_pixel_total : 4279 time to create 1 rle with old method : 0.005428314208984375 length of segment : 89 time for calcul the mask position with numpy : 0.0025849342346191406 nb_pixel_total : 76920 time to create 1 rle with old method : 0.08853983879089355 length of segment : 380 time for calcul the mask position with numpy : 0.0012054443359375 nb_pixel_total : 25096 time to create 1 rle with old method : 0.028832674026489258 length of segment : 301 time for calcul the mask position with numpy : 0.0037202835083007812 nb_pixel_total : 141473 time to create 1 rle with old method : 0.18378043174743652 length of segment : 588 time for calcul the mask position with numpy : 0.001295328140258789 nb_pixel_total : 38377 time to create 1 rle with old method : 0.043671607971191406 length of segment : 274 time for calcul the mask position with numpy : 0.006034374237060547 nb_pixel_total : 189350 time to create 1 rle with new method : 0.01465296745300293 length of segment : 499 time for calcul the mask position with numpy : 0.0003552436828613281 nb_pixel_total : 4313 time to create 1 rle with old method : 0.005395412445068359 length of segment : 103 time for calcul the mask position with numpy : 0.014251708984375 nb_pixel_total : 257078 time to create 1 rle with new method : 0.05202746391296387 length of segment : 1045 time for calcul the mask position with numpy : 0.003352642059326172 nb_pixel_total : 108728 time to create 1 rle with old method : 0.12552356719970703 length of segment : 347 time for calcul the mask position with numpy : 0.0010457038879394531 nb_pixel_total : 26572 time to create 1 rle with old method : 0.031136751174926758 length of segment : 336 time for calcul the mask position with numpy : 0.011160135269165039 nb_pixel_total : 490903 time to create 1 rle with new method : 0.04108572006225586 length of segment : 906 time for calcul the mask position with numpy : 0.0018796920776367188 nb_pixel_total : 60635 time to create 1 rle with old method : 0.07674264907836914 length of segment : 424 time for calcul the mask position with numpy : 0.004070758819580078 nb_pixel_total : 125371 time to create 1 rle with old method : 0.15334320068359375 length of segment : 404 time for calcul the mask position with numpy : 0.0002703666687011719 nb_pixel_total : 4659 time to create 1 rle with old method : 0.005564451217651367 length of segment : 90 time for calcul the mask position with numpy : 0.0025289058685302734 nb_pixel_total : 128175 time to create 1 rle with old method : 0.151353120803833 length of segment : 420 time for calcul the mask position with numpy : 0.0003848075866699219 nb_pixel_total : 15905 time to create 1 rle with old method : 0.019349336624145508 length of segment : 201 time for calcul the mask position with numpy : 0.002433300018310547 nb_pixel_total : 139906 time to create 1 rle with old method : 0.15877032279968262 length of segment : 496 time for calcul the mask position with numpy : 0.0028238296508789062 nb_pixel_total : 129208 time to create 1 rle with old method : 0.15326595306396484 length of segment : 415 time for calcul the mask position with numpy : 0.0012362003326416016 nb_pixel_total : 48730 time to create 1 rle with old method : 0.0572972297668457 length of segment : 260 time for calcul the mask position with numpy : 0.0014765262603759766 nb_pixel_total : 56106 time to create 1 rle with old method : 0.06714272499084473 length of segment : 233 time for calcul the mask position with numpy : 0.2611961364746094 nb_pixel_total : 3933338 time to create 1 rle with new method : 0.9205582141876221 length of segment : 2533 time for calcul the mask position with numpy : 0.0017588138580322266 nb_pixel_total : 76401 time to create 1 rle with old method : 0.08608698844909668 length of segment : 301 time for calcul the mask position with numpy : 0.0012063980102539062 nb_pixel_total : 76135 time to create 1 rle with old method : 0.08882665634155273 length of segment : 291 time for calcul the mask position with numpy : 0.0035355091094970703 nb_pixel_total : 96665 time to create 1 rle with old method : 0.11671280860900879 length of segment : 516 time for calcul the mask position with numpy : 0.0012497901916503906 nb_pixel_total : 60037 time to create 1 rle with old method : 0.0823512077331543 length of segment : 253 time for calcul the mask position with numpy : 0.489377498626709 nb_pixel_total : 4925169 time to create 1 rle with new method : 0.5204520225524902 length of segment : 2581 time for calcul the mask position with numpy : 0.0020825862884521484 nb_pixel_total : 132143 time to create 1 rle with old method : 0.152940034866333 length of segment : 455 time for calcul the mask position with numpy : 0.0025827884674072266 nb_pixel_total : 133870 time to create 1 rle with old method : 0.15623068809509277 length of segment : 683 time for calcul the mask position with numpy : 0.00045228004455566406 nb_pixel_total : 17582 time to create 1 rle with old method : 0.02460646629333496 length of segment : 242 time for calcul the mask position with numpy : 0.0022172927856445312 nb_pixel_total : 142175 time to create 1 rle with old method : 0.17032122611999512 length of segment : 402 time for calcul the mask position with numpy : 0.0007805824279785156 nb_pixel_total : 53186 time to create 1 rle with old method : 0.06628537178039551 length of segment : 325 time for calcul the mask position with numpy : 0.0016028881072998047 nb_pixel_total : 78265 time to create 1 rle with old method : 0.10871291160583496 length of segment : 237 time for calcul the mask position with numpy : 0.0014281272888183594 nb_pixel_total : 53655 time to create 1 rle with old method : 0.062093257904052734 length of segment : 474 time for calcul the mask position with numpy : 0.1784219741821289 nb_pixel_total : 4282691 time to create 1 rle with new method : 0.4105501174926758 length of segment : 3038 time for calcul the mask position with numpy : 0.0003304481506347656 nb_pixel_total : 17035 time to create 1 rle with old method : 0.01994490623474121 length of segment : 111 time for calcul the mask position with numpy : 0.001035928726196289 nb_pixel_total : 52017 time to create 1 rle with old method : 0.060504913330078125 length of segment : 223 time for calcul the mask position with numpy : 0.001790761947631836 nb_pixel_total : 95502 time to create 1 rle with old method : 0.11074280738830566 length of segment : 459 time for calcul the mask position with numpy : 0.000347137451171875 nb_pixel_total : 20635 time to create 1 rle with old method : 0.024410247802734375 length of segment : 139 time for calcul the mask position with numpy : 0.0018105506896972656 nb_pixel_total : 84305 time to create 1 rle with old method : 0.09702944755554199 length of segment : 448 time for calcul the mask position with numpy : 0.0017461776733398438 nb_pixel_total : 89139 time to create 1 rle with old method : 0.10152125358581543 length of segment : 376 time for calcul the mask position with numpy : 0.002586841583251953 nb_pixel_total : 123542 time to create 1 rle with old method : 0.14408397674560547 length of segment : 397 time for calcul the mask position with numpy : 0.4118318557739258 nb_pixel_total : 3997329 time to create 1 rle with new method : 0.7245116233825684 length of segment : 3032 time for calcul the mask position with numpy : 0.0008471012115478516 nb_pixel_total : 32038 time to create 1 rle with old method : 0.037435054779052734 length of segment : 401 time for calcul the mask position with numpy : 0.0007371902465820312 nb_pixel_total : 40048 time to create 1 rle with old method : 0.04955339431762695 length of segment : 316 time for calcul the mask position with numpy : 0.007023334503173828 nb_pixel_total : 461336 time to create 1 rle with new method : 0.2029273509979248 length of segment : 702 time for calcul the mask position with numpy : 0.0011606216430664062 nb_pixel_total : 72830 time to create 1 rle with old method : 0.08405780792236328 length of segment : 435 time for calcul the mask position with numpy : 0.0008258819580078125 nb_pixel_total : 49147 time to create 1 rle with old method : 0.055617332458496094 length of segment : 409 time for calcul the mask position with numpy : 0.0005598068237304688 nb_pixel_total : 33012 time to create 1 rle with old method : 0.04053139686584473 length of segment : 272 time for calcul the mask position with numpy : 0.001729726791381836 nb_pixel_total : 87743 time to create 1 rle with old method : 0.10604548454284668 length of segment : 305 time for calcul the mask position with numpy : 0.001957416534423828 nb_pixel_total : 40563 time to create 1 rle with old method : 0.049140214920043945 length of segment : 420 time for calcul the mask position with numpy : 0.0006206035614013672 nb_pixel_total : 25255 time to create 1 rle with old method : 0.028858661651611328 length of segment : 204 time for calcul the mask position with numpy : 0.18655848503112793 nb_pixel_total : 3638310 time to create 1 rle with new method : 0.22641348838806152 length of segment : 2185 time for calcul the mask position with numpy : 0.011185646057128906 nb_pixel_total : 731283 time to create 1 rle with new method : 0.056696176528930664 length of segment : 1370 time for calcul the mask position with numpy : 0.0005521774291992188 nb_pixel_total : 30522 time to create 1 rle with old method : 0.03597903251647949 length of segment : 247 time for calcul the mask position with numpy : 0.0005431175231933594 nb_pixel_total : 29553 time to create 1 rle with old method : 0.035147666931152344 length of segment : 247 time for calcul the mask position with numpy : 0.0012960433959960938 nb_pixel_total : 54091 time to create 1 rle with old method : 0.06231236457824707 length of segment : 420 time for calcul the mask position with numpy : 0.0011856555938720703 nb_pixel_total : 68744 time to create 1 rle with old method : 0.07994222640991211 length of segment : 384 time for calcul the mask position with numpy : 0.01566910743713379 nb_pixel_total : 1069846 time to create 1 rle with new method : 0.06477975845336914 length of segment : 1725 time for calcul the mask position with numpy : 0.0028569698333740234 nb_pixel_total : 141011 time to create 1 rle with old method : 0.16560125350952148 length of segment : 449 time for calcul the mask position with numpy : 0.00020170211791992188 nb_pixel_total : 11185 time to create 1 rle with old method : 0.012905359268188477 length of segment : 139 time for calcul the mask position with numpy : 0.3597524166107178 nb_pixel_total : 4991729 time to create 1 rle with new method : 0.49858832359313965 length of segment : 2685 time for calcul the mask position with numpy : 0.0004971027374267578 nb_pixel_total : 27168 time to create 1 rle with old method : 0.03487372398376465 length of segment : 174 time for calcul the mask position with numpy : 0.010802268981933594 nb_pixel_total : 663117 time to create 1 rle with new method : 0.06052446365356445 length of segment : 1546 time for calcul the mask position with numpy : 0.0008575916290283203 nb_pixel_total : 334 time to create 1 rle with old method : 0.0007181167602539062 length of segment : 32 time spent for convertir_results : 23.727185010910034 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 118 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 54135 save missing photos in datou_result : time spend for datou_step_exec : 71.73402619361877 time spend to save output : 11.192703485488892 total time spend for step 1 : 82.92672967910767 step2:crop_condition Fri Mar 14 00:09:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3663 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 118 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 14 About to insert : list_path_to_insert length 14 new photo from crops ! we have finished the crop for the class : 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 ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 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 ! map_result returned by crop_photo_return_map_crop : length : 33 About to insert : list_path_to_insert length 33 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 ! 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_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1343971591, 1343971579, 1343971574, 1343971454, 1343742141, 1343742135, 1343742131, 1343728987, 1343728900, 1343728895] Looping around the photos to save general results len do output : 72 /-3711096499Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096514Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096508Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096535Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096540Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096547Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096546Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968844Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968845Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968853Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968852Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968857Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968884Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968885Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096505Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096521Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096518Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096545Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096536Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096562Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096552Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096541Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096564Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096553Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096565Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968855Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968873Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968865Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968876Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096504Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096502Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096506Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096503Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096501Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096525Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096513Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096515Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096539Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096559Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096560Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096551Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096549Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968850Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968849Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968856Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096567Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968862Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968860Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968863Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968861Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968858Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968869Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968868Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968872Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968864Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968866Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096568Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968880Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968875Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968882Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968881Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968874Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096517Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096531Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968847Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968879Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096523Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968887Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968889Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711096526Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968848Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709968871Didn'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, '2667247') ('3459', '21403116', '1343971591', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971579', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971574', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971454', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742141', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742135', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742131', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728987', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728900', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728895', None, None, None, None, None, '2667247') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 226 time used for this insertion : 0.03479290008544922 save_final save missing photos in datou_result : time spend for datou_step_exec : 33.40604376792908 time spend to save output : 0.2794477939605713 total time spend for step 2 : 33.68549156188965 step3:thcl Fri Mar 14 00:10:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.008001089096069336 time to convert the images to numpy array : 2.6226043701171875e-06 time to import caffe and check if the image exist : 0.010125160217285156 time to convert the images to numpy array : 0.2184152603149414 time to import caffe and check if the image exist : 0.014710664749145508 time to convert the images to numpy array : 0.23289132118225098 time to import caffe and check if the image exist : 0.0164492130279541 time to convert the images to numpy array : 0.2330172061920166 time to import caffe and check if the image exist : 0.010721683502197266 time to convert the images to numpy array : 0.2412254810333252 time to import caffe and check if the image exist : 0.022438764572143555 time to convert the images to numpy array : 0.2547471523284912 time to import caffe and check if the image exist : 0.015469074249267578 time to convert the images to numpy array : 0.26938652992248535 time to import caffe and check if the image exist : 0.01005244255065918 time to convert the images to numpy array : 0.27727532386779785 time to import caffe and check if the image exist : 0.009163856506347656 time to convert the images to numpy array : 0.28621411323547363 time to import caffe and check if the image exist : 0.019843578338623047 time to convert the images to numpy array : 0.31612491607666016 total time to convert the images to numpy array : 0.8622334003448486 list photo_ids error: [] list photo_ids correct : [-3711096499, -3711096514, -3711096508, -3711096535, -3711096540, -3711096547, -3711096546, -3709968844, -3709968847, -3709968879, -3711096523, -3709968887, -3709968889, -3711096526, -3709968848, -3709968871, -3709968863, -3709968861, -3709968858, -3709968869, -3709968868, -3709968872, -3709968864, -3709968866, -3711096503, -3711096501, -3711096525, -3711096513, -3711096515, -3711096539, -3711096559, -3711096560, -3711096568, -3709968880, -3709968875, -3709968882, -3709968881, -3709968874, -3711096517, -3711096531, -3711096551, -3711096549, -3709968850, -3709968849, -3709968856, -3711096567, -3709968862, -3709968860, -3709968845, -3709968853, -3709968852, -3709968857, -3709968884, -3709968885, -3711096505, -3711096521, -3711096565, -3709968855, -3709968873, -3709968865, -3709968876, -3711096504, -3711096502, -3711096506, -3711096518, -3711096545, -3711096536, -3711096562, -3711096552, -3711096541, -3711096564, -3711096553] number of photos to traite : 72 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 : 6065 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 : 5846 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.7786335945129395 time used to do the prediction : 0.24900221824645996 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 : 5844 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 : 5844 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.9217798709869385 time used to do the prediction : 0.1564466953277588 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 1.9311904907226562e-05 save missing photos in datou_result : time spend for datou_step_exec : 10.4263277053833 time spend to save output : 0.0005848407745361328 total time spend for step 3 : 10.426912546157837 step4:merge_mask_thcl_custom Fri Mar 14 00:10:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 118 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 [1343971591, 1343971579, 1343971574, 1343971454, 1343742141, 1343742135, 1343742131, 1343728987, 1343728900, 1343728895] Looping around the photos to save general results len do output : 10 /1343971591Didn't retrieve data .Didn't retrieve data . /1343971579Didn't retrieve data .Didn't retrieve data . /1343971574Didn't retrieve data .Didn't retrieve data . /1343971454Didn't retrieve data .Didn't retrieve data . /1343742141Didn't retrieve data .Didn't retrieve data . /1343742135Didn't retrieve data .Didn't retrieve data . /1343742131Didn't retrieve data .Didn't retrieve data . /1343728987Didn't retrieve data .Didn't retrieve data . /1343728900Didn't retrieve data .Didn't retrieve data . /1343728895Didn'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, '2667247') ('3459', '21403116', '1343971591', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971579', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971574', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971454', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742141', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742135', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742131', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728987', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728900', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728895', None, None, None, None, None, '2667247') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014048099517822266 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12458515167236328 time spend to save output : 0.014833688735961914 total time spend for step 4 : 0.1394188404083252 step5:rle_unique_nms_with_priority Fri Mar 14 00:10:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 7.332829713821411 time for calcul the mask position with numpy : 0.804149866104126 nb_pixel_total : 6188575 time to create 1 rle with new method : 0.6763508319854736 time for calcul the mask position with numpy : 0.0415806770324707 nb_pixel_total : 60564 time to create 1 rle with old method : 0.06799745559692383 time for calcul the mask position with numpy : 0.03845405578613281 nb_pixel_total : 28955 time to create 1 rle with old method : 0.03443789482116699 time for calcul the mask position with numpy : 0.021936655044555664 nb_pixel_total : 30721 time to create 1 rle with old method : 0.03510642051696777 time for calcul the mask position with numpy : 0.022269248962402344 nb_pixel_total : 4172 time to create 1 rle with old method : 0.005065202713012695 time for calcul the mask position with numpy : 0.024002790451049805 nb_pixel_total : 3473 time to create 1 rle with old method : 0.004090785980224609 time for calcul the mask position with numpy : 0.026340007781982422 nb_pixel_total : 87001 time to create 1 rle with old method : 0.10393357276916504 time for calcul the mask position with numpy : 0.027881860733032227 nb_pixel_total : 300989 time to create 1 rle with new method : 0.7453601360321045 time for calcul the mask position with numpy : 0.024587631225585938 nb_pixel_total : 282867 time to create 1 rle with new method : 0.43529725074768066 time for calcul the mask position with numpy : 0.02626800537109375 nb_pixel_total : 62923 time to create 1 rle with old method : 0.0761568546295166 create new chi : 3.3315765857696533 time to delete rle : 0.013100624084472656 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 8111 TO DO : save crop sub photo not yet done ! save time : 1.449998140335083 nb_obj : 20 nb_hashtags : 5 time to prepare the origin masks : 12.92383074760437 time for calcul the mask position with numpy : 1.0606234073638916 nb_pixel_total : 6198640 time to create 1 rle with new method : 1.274003267288208 time for calcul the mask position with numpy : 0.043343305587768555 nb_pixel_total : 5291 time to create 1 rle with old method : 0.006383657455444336 time for calcul the mask position with numpy : 0.043268680572509766 nb_pixel_total : 20477 time to create 1 rle with old method : 0.02510976791381836 time for calcul the mask position with numpy : 0.049627065658569336 nb_pixel_total : 2284 time to create 1 rle with old method : 0.0028340816497802734 time for calcul the mask position with numpy : 0.049399614334106445 nb_pixel_total : 3485 time to create 1 rle with old method : 0.0045092105865478516 time for calcul the mask position with numpy : 0.04876542091369629 nb_pixel_total : 90988 time to create 1 rle with old method : 0.12928175926208496 time for calcul the mask position with numpy : 0.05184340476989746 nb_pixel_total : 6375 time to create 1 rle with old method : 0.009153127670288086 time for calcul the mask position with numpy : 0.052080631256103516 nb_pixel_total : 7037 time to create 1 rle with old method : 0.009130001068115234 time for calcul the mask position with numpy : 0.047304630279541016 nb_pixel_total : 86496 time to create 1 rle with old method : 0.10557699203491211 time for calcul the mask position with numpy : 0.04577183723449707 nb_pixel_total : 4400 time to create 1 rle with old method : 0.006218671798706055 time for calcul the mask position with numpy : 0.05025172233581543 nb_pixel_total : 170484 time to create 1 rle with new method : 0.666961669921875 time for calcul the mask position with numpy : 0.058083295822143555 nb_pixel_total : 7873 time to create 1 rle with old method : 0.009612083435058594 time for calcul the mask position with numpy : 0.03911280632019043 nb_pixel_total : 211578 time to create 1 rle with new method : 0.7601869106292725 time for calcul the mask position with numpy : 0.04417991638183594 nb_pixel_total : 40599 time to create 1 rle with old method : 0.0503237247467041 time for calcul the mask position with numpy : 0.04421639442443848 nb_pixel_total : 48102 time to create 1 rle with old method : 0.054924964904785156 time for calcul the mask position with numpy : 0.044740915298461914 nb_pixel_total : 12844 time to create 1 rle with old method : 0.016432523727416992 time for calcul the mask position with numpy : 0.0451502799987793 nb_pixel_total : 10993 time to create 1 rle with old method : 0.013538360595703125 time for calcul the mask position with numpy : 0.04806661605834961 nb_pixel_total : 2699 time to create 1 rle with old method : 0.003472566604614258 time for calcul the mask position with numpy : 0.047265052795410156 nb_pixel_total : 19804 time to create 1 rle with old method : 0.024378299713134766 time for calcul the mask position with numpy : 0.04448890686035156 nb_pixel_total : 44480 time to create 1 rle with old method : 0.053307294845581055 time for calcul the mask position with numpy : 0.04586362838745117 nb_pixel_total : 55311 time to create 1 rle with old method : 0.06505084037780762 create new chi : 5.408536195755005 time to delete rle : 0.0015468597412109375 batch 1 Loaded 21 chid ids of type : 3726 Number RLEs to save : 14024 TO DO : save crop sub photo not yet done ! save time : 1.3583288192749023 nb_obj : 18 nb_hashtags : 5 time to prepare the origin masks : 10.944890022277832 time for calcul the mask position with numpy : 0.5752346515655518 nb_pixel_total : 6350637 time to create 1 rle with new method : 0.6160259246826172 time for calcul the mask position with numpy : 0.042386770248413086 nb_pixel_total : 7331 time to create 1 rle with old method : 0.013493537902832031 time for calcul the mask position with numpy : 0.04249143600463867 nb_pixel_total : 65561 time to create 1 rle with old method : 0.07454228401184082 time for calcul the mask position with numpy : 0.0457158088684082 nb_pixel_total : 212096 time to create 1 rle with new method : 0.8129661083221436 time for calcul the mask position with numpy : 0.03617358207702637 nb_pixel_total : 5089 time to create 1 rle with old method : 0.006440639495849609 time for calcul the mask position with numpy : 0.04212188720703125 nb_pixel_total : 73037 time to create 1 rle with old method : 0.08913993835449219 time for calcul the mask position with numpy : 0.036696672439575195 nb_pixel_total : 3400 time to create 1 rle with old method : 0.004111766815185547 time for calcul the mask position with numpy : 0.03223824501037598 nb_pixel_total : 8727 time to create 1 rle with old method : 0.010094642639160156 time for calcul the mask position with numpy : 0.030359268188476562 nb_pixel_total : 2732 time to create 1 rle with old method : 0.0033903121948242188 time for calcul the mask position with numpy : 0.02954888343811035 nb_pixel_total : 5841 time to create 1 rle with old method : 0.007266044616699219 time for calcul the mask position with numpy : 0.024363994598388672 nb_pixel_total : 35631 time to create 1 rle with old method : 0.044327735900878906 time for calcul the mask position with numpy : 0.03480267524719238 nb_pixel_total : 1562 time to create 1 rle with old method : 0.010537862777709961 time for calcul the mask position with numpy : 0.03740406036376953 nb_pixel_total : 12840 time to create 1 rle with old method : 0.015180826187133789 time for calcul the mask position with numpy : 0.03562498092651367 nb_pixel_total : 29504 time to create 1 rle with old method : 0.04175209999084473 time for calcul the mask position with numpy : 0.0382232666015625 nb_pixel_total : 3390 time to create 1 rle with old method : 0.004094600677490234 time for calcul the mask position with numpy : 0.03833794593811035 nb_pixel_total : 29173 time to create 1 rle with old method : 0.03445267677307129 time for calcul the mask position with numpy : 0.04138040542602539 nb_pixel_total : 25853 time to create 1 rle with old method : 0.03344392776489258 time for calcul the mask position with numpy : 0.03764629364013672 nb_pixel_total : 174891 time to create 1 rle with new method : 0.4984757900238037 time for calcul the mask position with numpy : 0.0459439754486084 nb_pixel_total : 2945 time to create 1 rle with old method : 0.0043735504150390625 create new chi : 3.673295259475708 time to delete rle : 0.0011546611785888672 batch 1 Loaded 19 chid ids of type : 3726 Number RLEs to save : 9566 TO DO : save crop sub photo not yet done ! save time : 0.8418865203857422 nb_obj : 19 nb_hashtags : 8 time to prepare the origin masks : 11.329905986785889 time for calcul the mask position with numpy : 0.2426133155822754 nb_pixel_total : 5410310 time to create 1 rle with new method : 0.8838064670562744 time for calcul the mask position with numpy : 0.06320905685424805 nb_pixel_total : 141337 time to create 1 rle with old method : 0.19650864601135254 time for calcul the mask position with numpy : 0.0421297550201416 nb_pixel_total : 19739 time to create 1 rle with old method : 0.02323007583618164 time for calcul the mask position with numpy : 0.040236711502075195 nb_pixel_total : 76537 time to create 1 rle with old method : 0.09456348419189453 time for calcul the mask position with numpy : 0.03838944435119629 nb_pixel_total : 188979 time to create 1 rle with new method : 0.6633374691009521 time for calcul the mask position with numpy : 0.033953189849853516 nb_pixel_total : 38248 time to create 1 rle with old method : 0.04362034797668457 time for calcul the mask position with numpy : 0.036592960357666016 nb_pixel_total : 1404 time to create 1 rle with old method : 0.0021872520446777344 time for calcul the mask position with numpy : 0.039560556411743164 nb_pixel_total : 4641 time to create 1 rle with old method : 0.005643606185913086 time for calcul the mask position with numpy : 0.03533148765563965 nb_pixel_total : 4829 time to create 1 rle with old method : 0.00647735595703125 time for calcul the mask position with numpy : 0.0426487922668457 nb_pixel_total : 392830 time to create 1 rle with new method : 0.7169036865234375 time for calcul the mask position with numpy : 0.04300093650817871 nb_pixel_total : 26351 time to create 1 rle with old method : 0.032552242279052734 time for calcul the mask position with numpy : 0.04987311363220215 nb_pixel_total : 125111 time to create 1 rle with old method : 0.14918303489685059 time for calcul the mask position with numpy : 0.04699277877807617 nb_pixel_total : 108670 time to create 1 rle with old method : 0.1288444995880127 time for calcul the mask position with numpy : 0.04943370819091797 nb_pixel_total : 256363 time to create 1 rle with new method : 0.5761144161224365 time for calcul the mask position with numpy : 0.04400300979614258 nb_pixel_total : 4288 time to create 1 rle with old method : 0.005205392837524414 time for calcul the mask position with numpy : 0.04536104202270508 nb_pixel_total : 60522 time to create 1 rle with old method : 0.07374811172485352 time for calcul the mask position with numpy : 0.04568815231323242 nb_pixel_total : 24991 time to create 1 rle with old method : 0.0345611572265625 time for calcul the mask position with numpy : 0.05762457847595215 nb_pixel_total : 21085 time to create 1 rle with old method : 0.02538585662841797 time for calcul the mask position with numpy : 0.046019792556762695 nb_pixel_total : 139741 time to create 1 rle with old method : 0.15974807739257812 time for calcul the mask position with numpy : 0.04400300979614258 nb_pixel_total : 4264 time to create 1 rle with old method : 0.005263090133666992 create new chi : 5.047502040863037 time to delete rle : 0.0023047924041748047 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 15861 TO DO : save crop sub photo not yet done ! save time : 2.626643180847168 nb_obj : 7 nb_hashtags : 4 time to prepare the origin masks : 7.31489109992981 time for calcul the mask position with numpy : 0.15222430229187012 nb_pixel_total : 2908350 time to create 1 rle with new method : 0.6003067493438721 time for calcul the mask position with numpy : 0.044371843338012695 nb_pixel_total : 2173 time to create 1 rle with old method : 0.0028214454650878906 time for calcul the mask position with numpy : 0.04353213310241699 nb_pixel_total : 4315 time to create 1 rle with old method : 0.005692958831787109 time for calcul the mask position with numpy : 0.033418893814086914 nb_pixel_total : 48572 time to create 1 rle with old method : 0.057665109634399414 time for calcul the mask position with numpy : 0.027237892150878906 nb_pixel_total : 55950 time to create 1 rle with old method : 0.0687706470489502 time for calcul the mask position with numpy : 0.027663469314575195 nb_pixel_total : 75921 time to create 1 rle with old method : 0.11773872375488281 time for calcul the mask position with numpy : 0.5799007415771484 nb_pixel_total : 3858524 time to create 1 rle with new method : 0.35736536979675293 time for calcul the mask position with numpy : 0.028216123580932617 nb_pixel_total : 96435 time to create 1 rle with old method : 0.11526942253112793 create new chi : 2.335615873336792 time to delete rle : 0.0013849735260009766 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 10263 TO DO : save crop sub photo not yet done ! save time : 8.606132507324219 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 10.230168581008911 time for calcul the mask position with numpy : 0.06065988540649414 nb_pixel_total : 1801857 time to create 1 rle with new method : 1.171907663345337 time for calcul the mask position with numpy : 0.04917764663696289 nb_pixel_total : 9913 time to create 1 rle with old method : 0.012345075607299805 time for calcul the mask position with numpy : 0.03692770004272461 nb_pixel_total : 122136 time to create 1 rle with old method : 0.1609659194946289 time for calcul the mask position with numpy : 0.03499627113342285 nb_pixel_total : 6754 time to create 1 rle with old method : 0.010337591171264648 time for calcul the mask position with numpy : 0.47020411491394043 nb_pixel_total : 4905447 time to create 1 rle with new method : 1.2645583152770996 time for calcul the mask position with numpy : 0.023465871810913086 nb_pixel_total : 17550 time to create 1 rle with old method : 0.019738435745239258 time for calcul the mask position with numpy : 0.02372908592224121 nb_pixel_total : 133586 time to create 1 rle with old method : 0.158064603805542 time for calcul the mask position with numpy : 0.036712646484375 nb_pixel_total : 52997 time to create 1 rle with old method : 0.0610804557800293 create new chi : 3.6615090370178223 time to delete rle : 0.0018265247344970703 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 12298 TO DO : save crop sub photo not yet done ! save time : 1.2848660945892334 nb_obj : 7 nb_hashtags : 4 time to prepare the origin masks : 7.898463487625122 time for calcul the mask position with numpy : 0.0846860408782959 nb_pixel_total : 2333376 time to create 1 rle with new method : 1.3012645244598389 time for calcul the mask position with numpy : 0.05380129814147949 nb_pixel_total : 51752 time to create 1 rle with old method : 0.07028055191040039 time for calcul the mask position with numpy : 0.057492971420288086 nb_pixel_total : 73147 time to create 1 rle with old method : 0.1244356632232666 time for calcul the mask position with numpy : 0.3682699203491211 nb_pixel_total : 4427905 time to create 1 rle with new method : 0.5623941421508789 time for calcul the mask position with numpy : 0.03643321990966797 nb_pixel_total : 73310 time to create 1 rle with old method : 0.08939623832702637 time for calcul the mask position with numpy : 0.0394136905670166 nb_pixel_total : 53254 time to create 1 rle with old method : 0.0700991153717041 time for calcul the mask position with numpy : 0.03428339958190918 nb_pixel_total : 16978 time to create 1 rle with old method : 0.020472288131713867 time for calcul the mask position with numpy : 0.03281259536743164 nb_pixel_total : 20518 time to create 1 rle with old method : 0.023540973663330078 create new chi : 3.0757408142089844 time to delete rle : 0.00119781494140625 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 10161 TO DO : save crop sub photo not yet done ! save time : 0.8050973415374756 nb_obj : 10 nb_hashtags : 6 time to prepare the origin masks : 10.650548934936523 time for calcul the mask position with numpy : 0.06087374687194824 nb_pixel_total : 1939566 time to create 1 rle with new method : 0.8377804756164551 time for calcul the mask position with numpy : 0.033184051513671875 nb_pixel_total : 84166 time to create 1 rle with old method : 0.10281801223754883 time for calcul the mask position with numpy : 0.03438282012939453 nb_pixel_total : 121086 time to create 1 rle with old method : 0.1572723388671875 time for calcul the mask position with numpy : 0.03252220153808594 nb_pixel_total : 2874 time to create 1 rle with old method : 0.003957509994506836 time for calcul the mask position with numpy : 0.03157973289489746 nb_pixel_total : 5175 time to create 1 rle with old method : 0.006583690643310547 time for calcul the mask position with numpy : 0.05832529067993164 nb_pixel_total : 39934 time to create 1 rle with old method : 0.046975135803222656 time for calcul the mask position with numpy : 0.053273916244506836 nb_pixel_total : 456882 time to create 1 rle with new method : 0.6736955642700195 time for calcul the mask position with numpy : 0.02829909324645996 nb_pixel_total : 89053 time to create 1 rle with old method : 0.09962129592895508 time for calcul the mask position with numpy : 0.046152591705322266 nb_pixel_total : 49090 time to create 1 rle with old method : 0.06142711639404297 time for calcul the mask position with numpy : 0.04725289344787598 nb_pixel_total : 33606 time to create 1 rle with old method : 0.03958559036254883 time for calcul the mask position with numpy : 0.6132633686065674 nb_pixel_total : 4228808 time to create 1 rle with new method : 0.6515603065490723 create new chi : 3.823307752609253 time to delete rle : 0.00141143798828125 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 13072 TO DO : save crop sub photo not yet done ! save time : 0.8283064365386963 nb_obj : 11 nb_hashtags : 6 time to prepare the origin masks : 8.689960718154907 time for calcul the mask position with numpy : 0.08971810340881348 nb_pixel_total : 2584324 time to create 1 rle with new method : 0.9668076038360596 time for calcul the mask position with numpy : 0.04674482345581055 nb_pixel_total : 54105 time to create 1 rle with old method : 0.06651020050048828 time for calcul the mask position with numpy : 0.05506324768066406 nb_pixel_total : 1956 time to create 1 rle with old method : 0.003448963165283203 time for calcul the mask position with numpy : 0.056726932525634766 nb_pixel_total : 468158 time to create 1 rle with new method : 0.992518424987793 time for calcul the mask position with numpy : 0.06479525566101074 nb_pixel_total : 466 time to create 1 rle with old method : 0.0007169246673583984 time for calcul the mask position with numpy : 0.041669607162475586 nb_pixel_total : 29211 time to create 1 rle with old method : 0.03630495071411133 time for calcul the mask position with numpy : 0.04820609092712402 nb_pixel_total : 84119 time to create 1 rle with old method : 0.11127352714538574 time for calcul the mask position with numpy : 0.04355287551879883 nb_pixel_total : 31999 time to create 1 rle with old method : 0.03835320472717285 time for calcul the mask position with numpy : 0.048130035400390625 nb_pixel_total : 68567 time to create 1 rle with old method : 0.08221292495727539 time for calcul the mask position with numpy : 0.22700238227844238 nb_pixel_total : 3614567 time to create 1 rle with new method : 0.720388650894165 time for calcul the mask position with numpy : 0.04009246826171875 nb_pixel_total : 25204 time to create 1 rle with old method : 0.029889822006225586 time for calcul the mask position with numpy : 0.025373220443725586 nb_pixel_total : 87564 time to create 1 rle with old method : 0.10565018653869629 create new chi : 4.0546345710754395 time to delete rle : 0.0023276805877685547 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 13981 TO DO : save crop sub photo not yet done ! save time : 0.9751486778259277 nb_obj : 6 nb_hashtags : 4 time to prepare the origin masks : 5.355240345001221 time for calcul the mask position with numpy : 0.0705564022064209 nb_pixel_total : 1414811 time to create 1 rle with new method : 0.5149316787719727 time for calcul the mask position with numpy : 0.04365038871765137 nb_pixel_total : 11128 time to create 1 rle with old method : 0.0142364501953125 time for calcul the mask position with numpy : 0.04203081130981445 nb_pixel_total : 27076 time to create 1 rle with old method : 0.031236648559570312 time for calcul the mask position with numpy : 0.048003435134887695 nb_pixel_total : 472562 time to create 1 rle with new method : 0.4009115695953369 time for calcul the mask position with numpy : 0.024802207946777344 nb_pixel_total : 325 time to create 1 rle with old method : 0.00042247772216796875 time for calcul the mask position with numpy : 0.31172871589660645 nb_pixel_total : 4983617 time to create 1 rle with new method : 0.3467280864715576 time for calcul the mask position with numpy : 0.02762746810913086 nb_pixel_total : 140721 time to create 1 rle with old method : 0.16091275215148926 create new chi : 2.1238508224487305 time to delete rle : 0.0016052722930908203 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 11350 TO DO : save crop sub photo not yet done ! save time : 5.367800712585449 map_output_result : {1343971591: (0.0, 'Should be the crop_list due to order', 0), 1343971579: (0.0, 'Should be the crop_list due to order', 0), 1343971574: (0.0, 'Should be the crop_list due to order', 0), 1343971454: (0.0, 'Should be the crop_list due to order', 0), 1343742141: (0.0, 'Should be the crop_list due to order', 0), 1343742135: (0.0, 'Should be the crop_list due to order', 0), 1343742131: (0.0, 'Should be the crop_list due to order', 0), 1343728987: (0.0, 'Should be the crop_list due to order', 0), 1343728900: (0.0, 'Should be the crop_list due to order', 0), 1343728895: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1343971591, 1343971579, 1343971574, 1343971454, 1343742141, 1343742135, 1343742131, 1343728987, 1343728900, 1343728895] Looping around the photos to save general results len do output : 10 /1343971591.Didn't retrieve data . /1343971579.Didn't retrieve data . /1343971574.Didn't retrieve data . /1343971454.Didn't retrieve data . /1343742141.Didn't retrieve data . /1343742135.Didn't retrieve data . /1343742131.Didn't retrieve data . /1343728987.Didn't retrieve data . /1343728900.Didn't retrieve data . /1343728895.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, '2667247') ('3459', '21403116', '1343971591', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971579', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971574', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971454', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742141', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742135', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742131', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728987', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728900', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728895', None, None, None, None, None, '2667247') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.016715526580810547 save_final save missing photos in datou_result : time spend for datou_step_exec : 154.5048384666443 time spend to save output : 0.09193778038024902 total time spend for step 5 : 154.59677624702454 step6:crop_condition Fri Mar 14 00:13:11 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 130 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741907596_1242164 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.679035186767578 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 ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741907600_1242164 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.085538625717163 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 ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741907605_1242164 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 7.196060657501221 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 map_result returned by crop_photo_return_map_crop : length : 0 About to insert : list_path_to_insert length 0 new photo from crops ! About to upload 0 photos WARNING : list_path_to_insert is empty, cannot upload ! 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 : 9 About to insert : list_path_to_insert length 9 new photo from crops ! About to upload 9 photos upload in portfolio : 4869462 init cache_photo without model_param we have 9 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741907616_1242164 we have uploaded 9 photos in the portfolio 4869462 time of upload the photos Elapsed time : 7.699287176132202 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741907628_1242164 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.5313758850097656 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741907633_1242164 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.9925622940063477 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 [1343971591, 1343971579, 1343971574, 1343971454, 1343742141, 1343742135, 1343742131, 1343728987, 1343728900, 1343728895] Looping around the photos to save general results len do output : 27 /1344008930Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344008931Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344008935Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344008937Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344008986Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344008987Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344008988Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344009328Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344009332Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344009337Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344009340Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344009483Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344009485Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344009486Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344009487Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344009488Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344009489Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344009490Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344009491Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344009492Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344009522Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344009523Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344009524Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344009526Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344009544Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344009545Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344009546Didn'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, '2667247') ('3459', '21403116', '1343971591', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971579', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971574', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971454', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742141', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742135', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742131', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728987', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728900', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728895', None, None, None, None, None, '2667247') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 91 time used for this insertion : 0.03847074508666992 save_final save missing photos in datou_result : time spend for datou_step_exec : 43.07936477661133 time spend to save output : 0.22610068321228027 total time spend for step 6 : 43.30546545982361 step7:ventilate_hashtags_in_portfolio Fri Mar 14 00:13:55 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 : 21403116 get user id for portfolio 21403116 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`=21403116 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','autre_refus','metal','cartonnette','papier','Teint_Dans_La_Masse','mal_croppe','environnement','flou','kraft','plastique','Carton_brun')) 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`=21403116 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','autre_refus','metal','cartonnette','papier','Teint_Dans_La_Masse','mal_croppe','environnement','flou','kraft','plastique','Carton_brun')) AND mptpi.`min_score`=0.5 To do 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`=21403116 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','autre_refus','metal','cartonnette','papier','Teint_Dans_La_Masse','mal_croppe','environnement','flou','kraft','plastique','Carton_brun')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/21403413,21403414,21403415,21403416,21403417,21403418,21403419,21403420,21403421,21403422,21403423,21403424?tags=Carton_gris,autre_refus,metal,cartonnette,papier,Teint_Dans_La_Masse,mal_croppe,environnement,flou,kraft,plastique,Carton_brun Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1343971591, 1343971579, 1343971574, 1343971454, 1343742141, 1343742135, 1343742131, 1343728987, 1343728900, 1343728895] Looping around the photos to save general results len do output : 1 /21403116. 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, '2667247') ('3459', '21403116', '1343971591', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971579', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971574', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971454', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742141', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742135', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742131', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728987', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728900', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728895', None, None, None, None, None, '2667247') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.014859199523925781 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.92144775390625 time spend to save output : 0.015271902084350586 total time spend for step 7 : 0.9367196559906006 step8:final Fri Mar 14 00:13:55 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 : {1343971591: ('0.07702125131532227',), 1343971579: ('0.07702125131532227',), 1343971574: ('0.07702125131532227',), 1343971454: ('0.07702125131532227',), 1343742141: ('0.07702125131532227',), 1343742135: ('0.07702125131532227',), 1343742131: ('0.07702125131532227',), 1343728987: ('0.07702125131532227',), 1343728900: ('0.07702125131532227',), 1343728895: ('0.07702125131532227',)} new output for save of step final : {1343971591: ('0.07702125131532227',), 1343971579: ('0.07702125131532227',), 1343971574: ('0.07702125131532227',), 1343971454: ('0.07702125131532227',), 1343742141: ('0.07702125131532227',), 1343742135: ('0.07702125131532227',), 1343742131: ('0.07702125131532227',), 1343728987: ('0.07702125131532227',), 1343728900: ('0.07702125131532227',), 1343728895: ('0.07702125131532227',)} [1343971591, 1343971579, 1343971574, 1343971454, 1343742141, 1343742135, 1343742131, 1343728987, 1343728900, 1343728895] Looping around the photos to save general results len do output : 10 /1343971591.Didn't retrieve data . /1343971579.Didn't retrieve data . /1343971574.Didn't retrieve data . /1343971454.Didn't retrieve data . /1343742141.Didn't retrieve data . /1343742135.Didn't retrieve data . /1343742131.Didn't retrieve data . /1343728987.Didn't retrieve data . /1343728900.Didn't retrieve data . /1343728895.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, '2667247') ('3459', '21403116', '1343971591', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971579', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971574', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971454', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742141', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742135', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742131', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728987', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728900', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728895', None, None, None, None, None, '2667247') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013974666595458984 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.15034174919128418 time spend to save output : 0.01681685447692871 total time spend for step 8 : 0.1671586036682129 step9:velours_tree Fri Mar 14 00:13:56 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.33621811866760254 time spend to save output : 5.173683166503906e-05 total time spend for step 9 : 0.3362698554992676 step10:send_mail_cod Fri Mar 14 00:13:56 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_P21403116_14-03-2025_00_13_56.pdf 21403414 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 .imagette214034141741907636 21403415 imagette214034151741907637 21403416 change filename to text .change filename to text .imagette214034161741907637 21403419 imagette214034191741907637 21403421 imagette214034211741907637 21403422 change filename to text .change filename to text .change filename to text .change filename to text .imagette214034221741907637 21403423 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 .imagette214034231741907638 21403413 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 .imagette214034131741907638 21403418 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 .imagette214034181741907640 21403424 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 .imagette214034241741907641 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21403116 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21403413,21403414,21403415,21403416,21403417,21403418,21403419,21403420,21403421,21403422,21403423,21403424?tags=Carton_gris,autre_refus,metal,cartonnette,papier,Teint_Dans_La_Masse,mal_croppe,environnement,flou,kraft,plastique,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1343971591] : ('0.07702125131532227',) no score found for photo 1343971591 We are sending mail with results at report@fotonower.com args[1343971579] : ('0.07702125131532227',) no score found for photo 1343971579 We are sending mail with results at report@fotonower.com args[1343971574] : ('0.07702125131532227',) no score found for photo 1343971574 We are sending mail with results at report@fotonower.com args[1343971454] : ('0.07702125131532227',) no score found for photo 1343971454 We are sending mail with results at report@fotonower.com args[1343742141] : ('0.07702125131532227',) no score found for photo 1343742141 We are sending mail with results at report@fotonower.com args[1343742135] : ('0.07702125131532227',) no score found for photo 1343742135 We are sending mail with results at report@fotonower.com args[1343742131] : ('0.07702125131532227',) no score found for photo 1343742131 We are sending mail with results at report@fotonower.com args[1343728987] : ('0.07702125131532227',) no score found for photo 1343728987 We are sending mail with results at report@fotonower.com args[1343728900] : ('0.07702125131532227',) no score found for photo 1343728900 We are sending mail with results at report@fotonower.com args[1343728895] : ('0.07702125131532227',) no score found for photo 1343728895 We are sending mail with results at report@fotonower.com refus_total : 0.07702125131532227 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=21403116 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1343728350,1343971591,1343971579,1343971574,1343728661,1343728657,1343728550,1343727897,1343728287,1343728275,1343727903,1343728257,1343728269,1343742141,1343728250,1343728667,1343728706,1343728155,1343728179,1343971454) Found this number of photos: 20 begin to download photo : 1343728350 begin to download photo : 1343728657 begin to download photo : 1343727903 begin to download photo : 1343728667 download finish for photo 1343727903 begin to download photo : 1343728257 download finish for photo 1343728667 begin to download photo : 1343728706 download finish for photo 1343728350 begin to download photo : 1343971591 download finish for photo 1343728657 begin to download photo : 1343728550 download finish for photo 1343971591 begin to download photo : 1343971579 download finish for photo 1343728257 begin to download photo : 1343728269 download finish for photo 1343728550 begin to download photo : 1343727897 download finish for photo 1343728706 begin to download photo : 1343728155 download finish for photo 1343971579 begin to download photo : 1343971574 download finish for photo 1343727897 begin to download photo : 1343728287 download finish for photo 1343728269 begin to download photo : 1343742141 download finish for photo 1343728155 begin to download photo : 1343728179 download finish for photo 1343971574 begin to download photo : 1343728661 download finish for photo 1343742141 begin to download photo : 1343728250 download finish for photo 1343728287 begin to download photo : 1343728275 download finish for photo 1343728179 begin to download photo : 1343971454 download finish for photo 1343728661 download finish for photo 1343728250 download finish for photo 1343728275 download finish for photo 1343971454 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21403116_14-03-2025_00_13_56.pdf results_Auto_P21403116_14-03-2025_00_13_56.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21403116_14-03-2025_00_13_56.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','21403116','results_Auto_P21403116_14-03-2025_00_13_56.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21403116_14-03-2025_00_13_56.pdf','pdf','','1.21','0.07702125131532227') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1343971591, 1343971579, 1343971574, 1343971454, 1343742141, 1343742135, 1343742131, 1343728987, 1343728900, 1343728895] 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, '2667247') ('3459', '21403116', '1343971591', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971579', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971574', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971454', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742141', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742135', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742131', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728987', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728900', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728895', None, None, None, None, None, '2667247') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.013678789138793945 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.24682354927063 time spend to save output : 0.014028787612915039 total time spend for step 10 : 11.260852336883545 step11:split_time_score Fri Mar 14 00:14:07 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', 33),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13032025 21403116 Nombre de photos uploadées : 33 / 23040 (0%) 13032025 21403116 Nombre de photos taguées (types de déchets): 0 / 33 (0%) 13032025 21403116 Nombre de photos taguées (volume) : 0 / 33 (0%) elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 8.344650268554688e-06 ????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018279552459716797 elapsed_time : insert_dashboard_record_day_entry 0.022252798080444336 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21397053 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21397054 order by id desc limit 1 Qualite : 0.07181827590062709 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376376_13-03-2025_17_49_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21376376 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21376376 AND mptpi.`type`=4207 To do Qualite : 0.07318509249844955 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400685_14-03-2025_00_10_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400685 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11524 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11533 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11532 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11528 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11528 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11531 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11531 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11578 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11578 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11527 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11526 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11526 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11535 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11527 doesn't seem to be define in the database( WARNING : type of input 3 of step 11526 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11524 doesn't seem to be define in the database( WARNING : type of input 2 of step 11528 doesn't seem to be define in the database( WARNING : output 1 of step 11524 have datatype=2 whereas input 1 of step 11531 have datatype=7 WARNING : type of output 2 of step 11531 doesn't seem to be define in the database( WARNING : type of input 1 of step 11525 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11527 have datatype=10 whereas input 3 of step 11534 have datatype=6 WARNING : type of input 2 of step 11578 doesn't seem to be define in the database( WARNING : output 1 of step 11525 have datatype=7 whereas input 2 of step 11578 have datatype=None WARNING : type of output 3 of step 11578 doesn't seem to be define in the database( WARNING : type of input 1 of step 11527 doesn't seem to be define in the database( WARNING : output 0 of step 11527 have datatype=10 whereas input 0 of step 11584 have datatype=18 WARNING : type of input 5 of step 11534 doesn't seem to be define in the database( WARNING : output 0 of step 11584 have datatype=11 whereas input 5 of step 11534 have datatype=None WARNING : type of output 1 of step 11533 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : type of output 1 of step 11532 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : output 0 of step 11531 have datatype=1 whereas input 0 of step 11525 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21400685 AND mptpi.`type`=4211 To do Qualite : 0.06630232456646351 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400686_13-03-2025_23_32_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400686 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11524 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11533 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11532 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11528 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11528 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11531 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11531 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11578 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11578 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11527 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11526 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11526 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11535 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11527 doesn't seem to be define in the database( WARNING : type of input 3 of step 11526 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11524 doesn't seem to be define in the database( WARNING : type of input 2 of step 11528 doesn't seem to be define in the database( WARNING : output 1 of step 11524 have datatype=2 whereas input 1 of step 11531 have datatype=7 WARNING : type of output 2 of step 11531 doesn't seem to be define in the database( WARNING : type of input 1 of step 11525 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11527 have datatype=10 whereas input 3 of step 11534 have datatype=6 WARNING : type of input 2 of step 11578 doesn't seem to be define in the database( WARNING : output 1 of step 11525 have datatype=7 whereas input 2 of step 11578 have datatype=None WARNING : type of output 3 of step 11578 doesn't seem to be define in the database( WARNING : type of input 1 of step 11527 doesn't seem to be define in the database( WARNING : output 0 of step 11527 have datatype=10 whereas input 0 of step 11584 have datatype=18 WARNING : type of input 5 of step 11534 doesn't seem to be define in the database( WARNING : output 0 of step 11584 have datatype=11 whereas input 5 of step 11534 have datatype=None WARNING : type of output 1 of step 11533 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : type of output 1 of step 11532 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : output 0 of step 11531 have datatype=1 whereas input 0 of step 11525 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21400686 AND mptpi.`type`=4211 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21403089 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21403090 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21403091 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21403110 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21403111 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21403112 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21403113 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21403114 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21403115 order by id desc limit 1 Qualite : 0.07702125131532227 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21403116_14-03-2025_00_13_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21403116 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`=21403116 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21385589 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21385590 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21385591 order by id desc limit 1 Qualite : 0.11054927639393027 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21385592_13-03-2025_19_55_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21385592 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11560 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11567 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11567 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11563 crop_condition is not consistent : 4 used against 2 in the step definition ! Step 11563 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11564 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11564 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11573 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11573 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11566 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11566 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 1 of step 11560 have datatype=2 whereas input 1 of step 11564 have datatype=7 WARNING : type of output 2 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11565 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11567 doesn't seem to be define in the database( WARNING : type of input 3 of step 11563 doesn't seem to be define in the database( WARNING : type of output 3 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11568 doesn't seem to be define in the database( WARNING : type of output 1 of step 11568 doesn't seem to be define in the database( WARNING : type of input 3 of step 11566 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11570 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11569 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11570 doesn't seem to be define in the database( WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11569 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11568 have datatype=10 whereas input 3 of step 11571 have datatype=6 WARNING : type of input 2 of step 11573 doesn't seem to be define in the database( WARNING : output 1 of step 11565 have datatype=7 whereas input 2 of step 11573 have datatype=None WARNING : type of output 3 of step 11573 doesn't seem to be define in the database( WARNING : type of input 3 of step 11568 doesn't seem to be define in the database( WARNING : output 0 of step 11568 have datatype=10 whereas input 0 of step 11587 have datatype=18 WARNING : type of input 5 of step 11571 doesn't seem to be define in the database( WARNING : output 0 of step 11587 have datatype=11 whereas input 5 of step 11571 have datatype=None WARNING : output 0 of step 11564 have datatype=1 whereas input 0 of step 11565 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21385592 AND mptpi.`type`=3327 To do Qualite : 0.04682681603811592 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21383958_13-03-2025_18_42_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21383958 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11524 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11533 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11532 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11528 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11528 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11531 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11531 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11578 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11578 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11527 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11526 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11526 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11535 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11527 doesn't seem to be define in the database( WARNING : type of input 3 of step 11526 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11524 doesn't seem to be define in the database( WARNING : type of input 2 of step 11528 doesn't seem to be define in the database( WARNING : output 1 of step 11524 have datatype=2 whereas input 1 of step 11531 have datatype=7 WARNING : type of output 2 of step 11531 doesn't seem to be define in the database( WARNING : type of input 1 of step 11525 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11527 have datatype=10 whereas input 3 of step 11534 have datatype=6 WARNING : type of input 2 of step 11578 doesn't seem to be define in the database( WARNING : output 1 of step 11525 have datatype=7 whereas input 2 of step 11578 have datatype=None WARNING : type of output 3 of step 11578 doesn't seem to be define in the database( WARNING : type of input 1 of step 11527 doesn't seem to be define in the database( WARNING : output 0 of step 11527 have datatype=10 whereas input 0 of step 11584 have datatype=18 WARNING : type of input 5 of step 11534 doesn't seem to be define in the database( WARNING : output 0 of step 11584 have datatype=11 whereas input 5 of step 11534 have datatype=None WARNING : type of output 1 of step 11533 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : type of output 1 of step 11532 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : output 0 of step 11531 have datatype=1 whereas input 0 of step 11525 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21383958 AND mptpi.`type`=4211 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21383959 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21383960 order by id desc limit 1 Qualite : 0.07088600806024496 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21383961_13-03-2025_18_05_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21383961 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21383961 AND mptpi.`type`=4207 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21383962_13-03-2025_18_05_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21383962 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21382585_13-03-2025_17_32_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21382585 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21403118 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21403119 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21403120 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21403121 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21381450 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21403122 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21403123 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21403124 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21403125 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21403126 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21403127 order by id desc limit 1 Qualite : 0.24883174606988756 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400728_13-03-2025_23_24_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400728 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`=21400728 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400729_13-03-2025_23_07_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400729 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400730_13-03-2025_23_22_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400730 order by id desc limit 1 Qualite : 0.6784616814480965 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400731_13-03-2025_23_11_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400731 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`=21400731 AND mptpi.`type`=3327 To do Qualite : 0.05234934725112254 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400733_13-03-2025_23_28_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400733 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11488 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11496 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11497 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11495 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11495 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11575 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11575 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11491 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11490 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11490 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11498 send_mail_cod have less outputs used (0) than in the step definition (1) : some outputs may be not used ! Step 11499 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11491 doesn't seem to be define in the database( WARNING : type of input 3 of step 11490 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11488 doesn't seem to be define in the database( WARNING : type of input 2 of step 11492 doesn't seem to be define in the database( WARNING : output 1 of step 11488 have datatype=2 whereas input 1 of step 11495 have datatype=7 WARNING : type of output 2 of step 11495 doesn't seem to be define in the database( WARNING : type of input 1 of step 11489 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11491 have datatype=10 whereas input 3 of step 11498 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11575 doesn't seem to be define in the database( WARNING : output 1 of step 11489 have datatype=7 whereas input 2 of step 11575 have datatype=None WARNING : type of output 3 of step 11575 doesn't seem to be define in the database( WARNING : type of input 1 of step 11491 doesn't seem to be define in the database( WARNING : output 0 of step 11491 have datatype=10 whereas input 0 of step 11581 have datatype=18 WARNING : type of input 5 of step 11498 doesn't seem to be define in the database( WARNING : output 0 of step 11581 have datatype=11 whereas input 5 of step 11498 have datatype=None WARNING : type of output 1 of step 11496 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : type of output 1 of step 11497 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : output 0 of step 11495 have datatype=1 whereas input 0 of step 11489 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21400733 AND mptpi.`type`=4209 To do Qualite : 0.07678064008466406 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21400734_13-03-2025_23_10_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21400734 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21400734 AND mptpi.`type`=3726 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21397057_13-03-2025_22_06_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21397057 order by id desc limit 1 Qualite : 0.08735996573356099 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21397058_14-03-2025_00_06_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21397058 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`=21397058 AND mptpi.`type`=4207 To do Qualite : 0.05376267094087041 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21392574_13-03-2025_21_07_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21392574 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21392574 AND mptpi.`type`=4207 To do Qualite : 0.24188817769073867 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21392575_13-03-2025_21_13_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21392575 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21392575 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21392576_13-03-2025_20_37_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21392576 order by id desc limit 1 Qualite : 0.15860094833651053 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21392593_13-03-2025_21_49_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21392593 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21392593 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21397059_13-03-2025_21_58_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21397059 order by id desc limit 1 Qualite : 0.21258924260992285 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21397060_13-03-2025_22_15_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21397060 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21397060 AND mptpi.`type`=3594 To do Qualite : 0.06013899929646229 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21397077_13-03-2025_22_34_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21397077 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21397077 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21403128 order by id desc limit 1 Qualite : 0.03981593213075131 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21395434_13-03-2025_21_28_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21395434 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21395434 AND mptpi.`type`=4207 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13032025': {'nb_upload': 33, '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 [1343971591, 1343971579, 1343971574, 1343971454, 1343742141, 1343742135, 1343742131, 1343728987, 1343728900, 1343728895] Looping around the photos to save general results len do output : 1 /21403116Didn'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, '2667247') ('3459', '21403116', '1343971591', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971579', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971574', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343971454', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742141', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742135', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343742131', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728987', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728900', None, None, None, None, None, '2667247') ('3459', None, None, None, None, None, None, None, '2667247') ('3459', '21403116', '1343728895', None, None, None, None, None, '2667247') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.588559627532959 save_final save missing photos in datou_result : time spend for datou_step_exec : 26.942548036575317 time spend to save output : 0.5888822078704834 total time spend for step 11 : 27.5314302444458 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 139.60user 139.04system 6:13.13elapsed 74%CPU (0avgtext+0avgdata 3782148maxresident)k 3357240inputs+126520outputs (29913major+13089715minor)pagefaults 0swaps