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 : 3695450 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 : 39>10 please execute split_portfolio.py -i 20254737 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2551122'] with mtr_portfolio_ids : ['20254737'] and first list_photo_ids : [] new path : /proc/3695450/ 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 ! BFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 time to download the photos : 2.0229485034942627 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 Wed Feb 5 12:54:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 5264 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-05 12:54:35.477402: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-02-05 12:54:35.511151: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-05 12:54:35.513362: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f09d4000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-05 12:54:35.513415: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-05 12:54:35.522834: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-05 12:54:35.794502: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x356a11b0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-05 12:54:35.794561: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-05 12:54:35.796091: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-05 12:54:35.796498: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-05 12:54:35.799373: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-05 12:54:35.821584: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-05 12:54:35.822062: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-05 12:54:35.831778: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-05 12:54:35.835445: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-05 12:54:35.865511: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-05 12:54:35.866979: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-05 12:54:35.867936: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-05 12:54:35.869026: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-05 12:54:35.869047: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-05 12:54:35.869058: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-05 12:54:35.871275: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4806 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-02-05 12:54:36.255906: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-05 12:54:36.256031: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-05 12:54:36.256048: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-05 12:54:36.256064: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-05 12:54:36.256078: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-05 12:54:36.256092: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-05 12:54:36.256105: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-05 12:54:36.256119: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-05 12:54:36.257002: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-05 12:54:36.258033: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-05 12:54:36.258062: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-05 12:54:36.258076: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-05 12:54:36.258088: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-05 12:54:36.258101: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-05 12:54:36.258114: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-05 12:54:36.258126: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-05 12:54:36.258139: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-05 12:54:36.259029: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-05 12:54:36.259074: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-05 12:54:36.259082: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-05 12:54:36.259089: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-05 12:54:36.260077: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4806 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-02-05 12:54:41.949560: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 51380224 exceeds 10% of free system memory. 2025-02-05 12:54:48.018578: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-05 12:54:48.924763: 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 : 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 : 17 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 23 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 15 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 16 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 : 28 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 6 Detection mask done ! Trying to reset tf kernel 3695914 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 196 tf kernel not reseted sub process len(results) : 9 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 9 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 : 5485 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.0010573863983154297 nb_pixel_total : 17447 time to create 1 rle with old method : 0.022855520248413086 length of segment : 119 time for calcul the mask position with numpy : 0.00018167495727539062 nb_pixel_total : 9393 time to create 1 rle with old method : 0.010411977767944336 length of segment : 134 time for calcul the mask position with numpy : 0.0008893013000488281 nb_pixel_total : 35869 time to create 1 rle with old method : 0.03871273994445801 length of segment : 455 time for calcul the mask position with numpy : 0.0005877017974853516 nb_pixel_total : 26794 time to create 1 rle with old method : 0.033098697662353516 length of segment : 198 time for calcul the mask position with numpy : 0.0011515617370605469 nb_pixel_total : 70260 time to create 1 rle with old method : 0.08190059661865234 length of segment : 281 time for calcul the mask position with numpy : 0.00333404541015625 nb_pixel_total : 131489 time to create 1 rle with old method : 0.14330434799194336 length of segment : 601 time for calcul the mask position with numpy : 0.0005071163177490234 nb_pixel_total : 22148 time to create 1 rle with old method : 0.026312589645385742 length of segment : 231 time for calcul the mask position with numpy : 0.00020432472229003906 nb_pixel_total : 10963 time to create 1 rle with old method : 0.01643848419189453 length of segment : 177 time for calcul the mask position with numpy : 0.0002353191375732422 nb_pixel_total : 9419 time to create 1 rle with old method : 0.011466503143310547 length of segment : 176 time for calcul the mask position with numpy : 0.0012254714965820312 nb_pixel_total : 40943 time to create 1 rle with old method : 0.04832744598388672 length of segment : 405 time for calcul the mask position with numpy : 0.00021314620971679688 nb_pixel_total : 10997 time to create 1 rle with old method : 0.013375282287597656 length of segment : 196 time for calcul the mask position with numpy : 0.0001742839813232422 nb_pixel_total : 7711 time to create 1 rle with old method : 0.009554624557495117 length of segment : 81 time for calcul the mask position with numpy : 0.0007145404815673828 nb_pixel_total : 25120 time to create 1 rle with old method : 0.031282663345336914 length of segment : 194 time for calcul the mask position with numpy : 0.0009775161743164062 nb_pixel_total : 51744 time to create 1 rle with old method : 0.0609891414642334 length of segment : 243 time for calcul the mask position with numpy : 0.0018875598907470703 nb_pixel_total : 97007 time to create 1 rle with old method : 0.11382865905761719 length of segment : 288 time for calcul the mask position with numpy : 0.0021314620971679688 nb_pixel_total : 56238 time to create 1 rle with old method : 0.13551759719848633 length of segment : 297 time for calcul the mask position with numpy : 0.0003726482391357422 nb_pixel_total : 7129 time to create 1 rle with old method : 0.008820295333862305 length of segment : 174 time for calcul the mask position with numpy : 0.002317190170288086 nb_pixel_total : 84347 time to create 1 rle with old method : 0.0986945629119873 length of segment : 339 time for calcul the mask position with numpy : 0.0014662742614746094 nb_pixel_total : 40213 time to create 1 rle with old method : 0.04784798622131348 length of segment : 504 time for calcul the mask position with numpy : 0.0008912086486816406 nb_pixel_total : 32238 time to create 1 rle with old method : 0.038339853286743164 length of segment : 294 time for calcul the mask position with numpy : 0.0011806488037109375 nb_pixel_total : 46184 time to create 1 rle with old method : 0.05559086799621582 length of segment : 360 time for calcul the mask position with numpy : 0.0005939006805419922 nb_pixel_total : 21840 time to create 1 rle with old method : 0.026264190673828125 length of segment : 202 time for calcul the mask position with numpy : 0.00064849853515625 nb_pixel_total : 28143 time to create 1 rle with old method : 0.047199249267578125 length of segment : 201 time for calcul the mask position with numpy : 0.0008094310760498047 nb_pixel_total : 12693 time to create 1 rle with old method : 0.015858173370361328 length of segment : 129 time for calcul the mask position with numpy : 0.0010137557983398438 nb_pixel_total : 51747 time to create 1 rle with old method : 0.06237459182739258 length of segment : 451 time for calcul the mask position with numpy : 0.003575563430786133 nb_pixel_total : 121389 time to create 1 rle with old method : 0.1445903778076172 length of segment : 634 time for calcul the mask position with numpy : 0.0005209445953369141 nb_pixel_total : 28230 time to create 1 rle with old method : 0.03712749481201172 length of segment : 200 time for calcul the mask position with numpy : 0.0005428791046142578 nb_pixel_total : 19783 time to create 1 rle with old method : 0.023533105850219727 length of segment : 78 time for calcul the mask position with numpy : 0.0014138221740722656 nb_pixel_total : 71753 time to create 1 rle with old method : 0.0848395824432373 length of segment : 490 time for calcul the mask position with numpy : 0.001020193099975586 nb_pixel_total : 36194 time to create 1 rle with old method : 0.043135643005371094 length of segment : 478 time for calcul the mask position with numpy : 0.00011992454528808594 nb_pixel_total : 2210 time to create 1 rle with old method : 0.0027990341186523438 length of segment : 83 time for calcul the mask position with numpy : 0.00018644332885742188 nb_pixel_total : 2387 time to create 1 rle with old method : 0.0032584667205810547 length of segment : 51 time for calcul the mask position with numpy : 0.00013709068298339844 nb_pixel_total : 4061 time to create 1 rle with old method : 0.005120277404785156 length of segment : 157 time for calcul the mask position with numpy : 0.002106904983520508 nb_pixel_total : 76253 time to create 1 rle with old method : 0.08910751342773438 length of segment : 392 time for calcul the mask position with numpy : 0.0010502338409423828 nb_pixel_total : 14021 time to create 1 rle with old method : 0.01676464080810547 length of segment : 373 time for calcul the mask position with numpy : 0.0014789104461669922 nb_pixel_total : 58976 time to create 1 rle with old method : 0.0718998908996582 length of segment : 384 time for calcul the mask position with numpy : 0.000705718994140625 nb_pixel_total : 24704 time to create 1 rle with old method : 0.033362627029418945 length of segment : 131 time for calcul the mask position with numpy : 0.0022644996643066406 nb_pixel_total : 70604 time to create 1 rle with old method : 0.08277583122253418 length of segment : 484 time for calcul the mask position with numpy : 0.0005714893341064453 nb_pixel_total : 12132 time to create 1 rle with old method : 0.015088796615600586 length of segment : 143 time for calcul the mask position with numpy : 0.0012476444244384766 nb_pixel_total : 49948 time to create 1 rle with old method : 0.058782100677490234 length of segment : 244 time for calcul the mask position with numpy : 0.0003345012664794922 nb_pixel_total : 4864 time to create 1 rle with old method : 0.0059299468994140625 length of segment : 93 time for calcul the mask position with numpy : 0.0018961429595947266 nb_pixel_total : 77754 time to create 1 rle with old method : 0.09134984016418457 length of segment : 464 time for calcul the mask position with numpy : 0.0009734630584716797 nb_pixel_total : 52727 time to create 1 rle with old method : 0.060703277587890625 length of segment : 260 time for calcul the mask position with numpy : 0.0010528564453125 nb_pixel_total : 17717 time to create 1 rle with old method : 0.021497726440429688 length of segment : 297 time for calcul the mask position with numpy : 0.0011904239654541016 nb_pixel_total : 36126 time to create 1 rle with old method : 0.04255175590515137 length of segment : 219 time for calcul the mask position with numpy : 0.0013427734375 nb_pixel_total : 14254 time to create 1 rle with old method : 0.018262624740600586 length of segment : 175 time for calcul the mask position with numpy : 0.003108501434326172 nb_pixel_total : 132984 time to create 1 rle with old method : 0.15880608558654785 length of segment : 449 time for calcul the mask position with numpy : 0.0005142688751220703 nb_pixel_total : 19277 time to create 1 rle with old method : 0.023238420486450195 length of segment : 204 time for calcul the mask position with numpy : 6.914138793945312e-05 nb_pixel_total : 1242 time to create 1 rle with old method : 0.0016047954559326172 length of segment : 40 time for calcul the mask position with numpy : 0.12400126457214355 nb_pixel_total : 2979582 time to create 1 rle with new method : 0.7236371040344238 length of segment : 1821 time for calcul the mask position with numpy : 0.007511138916015625 nb_pixel_total : 358541 time to create 1 rle with new method : 0.017802953720092773 length of segment : 749 time for calcul the mask position with numpy : 0.0064313411712646484 nb_pixel_total : 394277 time to create 1 rle with new method : 0.010568618774414062 length of segment : 561 time for calcul the mask position with numpy : 0.0006811618804931641 nb_pixel_total : 21599 time to create 1 rle with old method : 0.02630305290222168 length of segment : 246 time for calcul the mask position with numpy : 0.0005261898040771484 nb_pixel_total : 27668 time to create 1 rle with old method : 0.03337836265563965 length of segment : 218 time for calcul the mask position with numpy : 8.511543273925781e-05 nb_pixel_total : 1628 time to create 1 rle with old method : 0.0021147727966308594 length of segment : 89 time for calcul the mask position with numpy : 0.00017786026000976562 nb_pixel_total : 9195 time to create 1 rle with old method : 0.01130056381225586 length of segment : 66 time for calcul the mask position with numpy : 0.0009071826934814453 nb_pixel_total : 41790 time to create 1 rle with old method : 0.04960513114929199 length of segment : 298 time for calcul the mask position with numpy : 0.006234407424926758 nb_pixel_total : 383038 time to create 1 rle with new method : 0.01524972915649414 length of segment : 827 time for calcul the mask position with numpy : 0.00011801719665527344 nb_pixel_total : 2940 time to create 1 rle with old method : 0.0039327144622802734 length of segment : 39 time for calcul the mask position with numpy : 0.06027555465698242 nb_pixel_total : 2621470 time to create 1 rle with new method : 0.24227619171142578 length of segment : 2832 time for calcul the mask position with numpy : 0.0005645751953125 nb_pixel_total : 13202 time to create 1 rle with old method : 0.016004323959350586 length of segment : 148 time for calcul the mask position with numpy : 0.0001659393310546875 nb_pixel_total : 5489 time to create 1 rle with old method : 0.0069561004638671875 length of segment : 130 time for calcul the mask position with numpy : 0.0020313262939453125 nb_pixel_total : 68195 time to create 1 rle with old method : 0.0792539119720459 length of segment : 425 time for calcul the mask position with numpy : 8.440017700195312e-05 nb_pixel_total : 2808 time to create 1 rle with old method : 0.0037310123443603516 length of segment : 38 time for calcul the mask position with numpy : 0.0003924369812011719 nb_pixel_total : 14003 time to create 1 rle with old method : 0.017162322998046875 length of segment : 184 time for calcul the mask position with numpy : 0.004639387130737305 nb_pixel_total : 295687 time to create 1 rle with new method : 0.010920047760009766 length of segment : 612 time for calcul the mask position with numpy : 0.0016794204711914062 nb_pixel_total : 104549 time to create 1 rle with old method : 0.12167549133300781 length of segment : 359 time for calcul the mask position with numpy : 0.0030007362365722656 nb_pixel_total : 154237 time to create 1 rle with new method : 0.004910707473754883 length of segment : 578 time for calcul the mask position with numpy : 0.0003600120544433594 nb_pixel_total : 16337 time to create 1 rle with old method : 0.018809080123901367 length of segment : 146 time for calcul the mask position with numpy : 0.002765178680419922 nb_pixel_total : 51049 time to create 1 rle with old method : 0.05832815170288086 length of segment : 664 time for calcul the mask position with numpy : 0.0006330013275146484 nb_pixel_total : 39369 time to create 1 rle with old method : 0.04333305358886719 length of segment : 257 time for calcul the mask position with numpy : 9.322166442871094e-05 nb_pixel_total : 3774 time to create 1 rle with old method : 0.004637241363525391 length of segment : 65 time for calcul the mask position with numpy : 0.0016100406646728516 nb_pixel_total : 57841 time to create 1 rle with old method : 0.0644674301147461 length of segment : 248 time for calcul the mask position with numpy : 0.000141143798828125 nb_pixel_total : 2036 time to create 1 rle with old method : 0.0025987625122070312 length of segment : 60 time for calcul the mask position with numpy : 0.00041675567626953125 nb_pixel_total : 11478 time to create 1 rle with old method : 0.013998031616210938 length of segment : 203 time for calcul the mask position with numpy : 0.0014545917510986328 nb_pixel_total : 59704 time to create 1 rle with old method : 0.06649518013000488 length of segment : 325 time for calcul the mask position with numpy : 0.0005767345428466797 nb_pixel_total : 12342 time to create 1 rle with old method : 0.015759706497192383 length of segment : 139 time for calcul the mask position with numpy : 0.0025131702423095703 nb_pixel_total : 88366 time to create 1 rle with old method : 0.10155200958251953 length of segment : 298 time for calcul the mask position with numpy : 0.002727985382080078 nb_pixel_total : 100345 time to create 1 rle with old method : 0.11191201210021973 length of segment : 466 time for calcul the mask position with numpy : 0.0002510547637939453 nb_pixel_total : 6671 time to create 1 rle with old method : 0.00744938850402832 length of segment : 117 time for calcul the mask position with numpy : 0.0018558502197265625 nb_pixel_total : 54547 time to create 1 rle with old method : 0.06171274185180664 length of segment : 348 time for calcul the mask position with numpy : 0.0014929771423339844 nb_pixel_total : 39655 time to create 1 rle with old method : 0.04328322410583496 length of segment : 535 time for calcul the mask position with numpy : 0.0024259090423583984 nb_pixel_total : 102441 time to create 1 rle with old method : 0.11633419990539551 length of segment : 361 time for calcul the mask position with numpy : 0.0013201236724853516 nb_pixel_total : 99623 time to create 1 rle with old method : 0.11017918586730957 length of segment : 455 time for calcul the mask position with numpy : 0.0026352405548095703 nb_pixel_total : 103206 time to create 1 rle with old method : 0.1175086498260498 length of segment : 596 time for calcul the mask position with numpy : 0.00046181678771972656 nb_pixel_total : 9297 time to create 1 rle with old method : 0.011027812957763672 length of segment : 138 time for calcul the mask position with numpy : 0.0027437210083007812 nb_pixel_total : 64524 time to create 1 rle with old method : 0.08198666572570801 length of segment : 548 time for calcul the mask position with numpy : 0.0006291866302490234 nb_pixel_total : 10208 time to create 1 rle with old method : 0.01218271255493164 length of segment : 204 time for calcul the mask position with numpy : 0.0003180503845214844 nb_pixel_total : 4845 time to create 1 rle with old method : 0.005932807922363281 length of segment : 161 time for calcul the mask position with numpy : 0.0002541542053222656 nb_pixel_total : 5028 time to create 1 rle with old method : 0.006709575653076172 length of segment : 42 time for calcul the mask position with numpy : 0.00014328956604003906 nb_pixel_total : 2215 time to create 1 rle with old method : 0.002812623977661133 length of segment : 51 time for calcul the mask position with numpy : 0.0004410743713378906 nb_pixel_total : 6692 time to create 1 rle with old method : 0.008056640625 length of segment : 165 time for calcul the mask position with numpy : 0.0024237632751464844 nb_pixel_total : 44564 time to create 1 rle with old method : 0.052446603775024414 length of segment : 304 time for calcul the mask position with numpy : 0.00041675567626953125 nb_pixel_total : 7380 time to create 1 rle with old method : 0.009258508682250977 length of segment : 92 time for calcul the mask position with numpy : 0.005045175552368164 nb_pixel_total : 156330 time to create 1 rle with new method : 0.00746917724609375 length of segment : 693 time for calcul the mask position with numpy : 0.0005216598510742188 nb_pixel_total : 11417 time to create 1 rle with old method : 0.014775514602661133 length of segment : 76 time for calcul the mask position with numpy : 0.00028777122497558594 nb_pixel_total : 5301 time to create 1 rle with old method : 0.0064504146575927734 length of segment : 76 time for calcul the mask position with numpy : 0.00015354156494140625 nb_pixel_total : 1859 time to create 1 rle with old method : 0.002384662628173828 length of segment : 54 time for calcul the mask position with numpy : 0.026294231414794922 nb_pixel_total : 702614 time to create 1 rle with new method : 0.7910857200622559 length of segment : 1306 time for calcul the mask position with numpy : 0.0010297298431396484 nb_pixel_total : 44960 time to create 1 rle with old method : 0.05263972282409668 length of segment : 278 time for calcul the mask position with numpy : 0.002023935317993164 nb_pixel_total : 63866 time to create 1 rle with old method : 0.07705116271972656 length of segment : 298 time for calcul the mask position with numpy : 0.0002295970916748047 nb_pixel_total : 9976 time to create 1 rle with old method : 0.011942625045776367 length of segment : 112 time for calcul the mask position with numpy : 0.001415252685546875 nb_pixel_total : 29368 time to create 1 rle with old method : 0.03426051139831543 length of segment : 347 time for calcul the mask position with numpy : 0.0045659542083740234 nb_pixel_total : 170552 time to create 1 rle with new method : 0.014431238174438477 length of segment : 750 time for calcul the mask position with numpy : 0.0002827644348144531 nb_pixel_total : 2574 time to create 1 rle with old method : 0.003989458084106445 length of segment : 67 time for calcul the mask position with numpy : 0.00024056434631347656 nb_pixel_total : 2406 time to create 1 rle with old method : 0.003208637237548828 length of segment : 66 time for calcul the mask position with numpy : 0.00037097930908203125 nb_pixel_total : 11397 time to create 1 rle with old method : 0.01368570327758789 length of segment : 111 time for calcul the mask position with numpy : 0.0011458396911621094 nb_pixel_total : 58694 time to create 1 rle with old method : 0.0708155632019043 length of segment : 285 time for calcul the mask position with numpy : 0.001050710678100586 nb_pixel_total : 33560 time to create 1 rle with old method : 0.03986477851867676 length of segment : 287 time for calcul the mask position with numpy : 0.004056453704833984 nb_pixel_total : 205857 time to create 1 rle with new method : 0.006021261215209961 length of segment : 594 time for calcul the mask position with numpy : 0.19702792167663574 nb_pixel_total : 2395006 time to create 1 rle with new method : 0.2546875476837158 length of segment : 2839 time for calcul the mask position with numpy : 0.00016498565673828125 nb_pixel_total : 1404 time to create 1 rle with old method : 0.00185394287109375 length of segment : 50 time for calcul the mask position with numpy : 0.005527496337890625 nb_pixel_total : 355030 time to create 1 rle with new method : 0.00943756103515625 length of segment : 383 time for calcul the mask position with numpy : 0.00024318695068359375 nb_pixel_total : 11727 time to create 1 rle with old method : 0.01428842544555664 length of segment : 154 time for calcul the mask position with numpy : 0.0015211105346679688 nb_pixel_total : 88716 time to create 1 rle with old method : 0.10628676414489746 length of segment : 536 time for calcul the mask position with numpy : 0.0011897087097167969 nb_pixel_total : 43170 time to create 1 rle with old method : 0.05211281776428223 length of segment : 183 time for calcul the mask position with numpy : 0.00304412841796875 nb_pixel_total : 195054 time to create 1 rle with new method : 0.007561683654785156 length of segment : 601 time for calcul the mask position with numpy : 0.0004904270172119141 nb_pixel_total : 16076 time to create 1 rle with old method : 0.0196378231048584 length of segment : 192 time for calcul the mask position with numpy : 0.19260454177856445 nb_pixel_total : 3581628 time to create 1 rle with new method : 0.3068690299987793 length of segment : 2816 time for calcul the mask position with numpy : 0.0018887519836425781 nb_pixel_total : 136583 time to create 1 rle with old method : 0.16213631629943848 length of segment : 866 time for calcul the mask position with numpy : 0.0005652904510498047 nb_pixel_total : 32793 time to create 1 rle with old method : 0.03919172286987305 length of segment : 369 time for calcul the mask position with numpy : 0.00036334991455078125 nb_pixel_total : 9918 time to create 1 rle with old method : 0.012612104415893555 length of segment : 179 time for calcul the mask position with numpy : 0.0001308917999267578 nb_pixel_total : 3860 time to create 1 rle with old method : 0.004781007766723633 length of segment : 85 time spent for convertir_results : 16.737107515335083 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 123 chid ids of type : 3663 Number RLEs to save : 45114 save missing photos in datou_result : time spend for datou_step_exec : 68.4096200466156 time spend to save output : 2.8984620571136475 total time spend for step 1 : 71.30808210372925 step2:crop_condition Wed Feb 5 12:55:42 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 9 ! batch 1 Loaded 123 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 44 About to insert : list_path_to_insert length 44 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 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 [1334596368, 1334596316, 1334596243, 1334596239, 1334596235, 1334595990, 1334595895, 1334595893, 1334595878] Looping around the photos to save general results len do output : 67 /-3655932513Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932524Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932510Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932530Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932553Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932551Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932579Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932585Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932607Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932606Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932504Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932507Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932549Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932566Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932489Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932499Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932498Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932500Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932490Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932494Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932502Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932508Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932519Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932511Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932506Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932518Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932532Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932531Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932527Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932528Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932522Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932526Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932535Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932536Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932538Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932541Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932547Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932552Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932554Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932550Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932563Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932562Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932557Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932567Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932560Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932569Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932588Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932571Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932587Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932591Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932577Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932601Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932600Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932593Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932599Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932597Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932602Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932594Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932529Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932525Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932521Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932545Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932581Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932584Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932570Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932540Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3655932565Didn'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, '2551122') ('3459', None, '1334596368', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596316', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596243', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596239', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596235', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595990', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595895', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595893', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595878', None, None, None, None, None, '2551122') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 210 time used for this insertion : 0.028530597686767578 save_final save missing photos in datou_result : time spend for datou_step_exec : 29.850301265716553 time spend to save output : 0.18966460227966309 total time spend for step 2 : 30.039965867996216 step3:thcl Wed Feb 5 12:56:12 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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.01114511489868164 time to convert the images to numpy array : 0.03517651557922363 time to import caffe and check if the image exist : 0.012277841567993164 time to convert the images to numpy array : 0.05432605743408203 time to import caffe and check if the image exist : 0.013560056686401367 time to convert the images to numpy array : 0.05376791954040527 time to import caffe and check if the image exist : 0.01685476303100586 time to convert the images to numpy array : 0.06450343132019043 time to import caffe and check if the image exist : 0.00986170768737793 time to convert the images to numpy array : 0.1161947250366211 time to import caffe and check if the image exist : 0.015477180480957031 time to convert the images to numpy array : 0.1396336555480957 time to import caffe and check if the image exist : 0.016265153884887695 time to convert the images to numpy array : 0.20684599876403809 time to import caffe and check if the image exist : 0.011790037155151367 time to convert the images to numpy array : 0.2189640998840332 time to import caffe and check if the image exist : 0.010591268539428711 time to convert the images to numpy array : 0.22124361991882324 time to import caffe and check if the image exist : 0.013704299926757812 time to convert the images to numpy array : 0.24564814567565918 total time to convert the images to numpy array : 0.8638427257537842 list photo_ids error: [] list photo_ids correct : [-3655932584, -3655932570, -3655932540, -3655932565, -3655932602, -3655932594, -3655932529, -3655932525, -3655932521, -3655932545, -3655932581, -3655932585, -3655932607, -3655932606, -3655932504, -3655932507, -3655932549, -3655932566, -3655932508, -3655932519, -3655932511, -3655932506, -3655932518, -3655932532, -3655932531, -3655932513, -3655932524, -3655932510, -3655932530, -3655932553, -3655932551, -3655932579, -3655932489, -3655932499, -3655932498, -3655932500, -3655932490, -3655932494, -3655932502, -3655932557, -3655932567, -3655932560, -3655932569, -3655932588, -3655932571, -3655932587, -3655932591, -3655932577, -3655932601, -3655932600, -3655932593, -3655932599, -3655932597, -3655932541, -3655932547, -3655932552, -3655932554, -3655932550, -3655932563, -3655932562, -3655932527, -3655932528, -3655932522, -3655932526, -3655932535, -3655932536, -3655932538] number of photos to traite : 67 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 thcls : [{'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'}] thcl {'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'} Update svm_hashtag_type_desc : 4999 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) To loadFromThcl() : net_4999 begin to check gpu status inside check gpu memory havn't enough memory gpu , need / 2500 l 3632 free memory gpu now : 1708 wait 20 seconds l 3637 free memory gpu now : 1708 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 : 5105 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.7616462707519531 time used to do the prediction : 0.2749752998352051 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 : 4913 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 : 4465 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.84224534034729 time used to do the prediction : 0.15205717086791992 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.2874603271484375e-05 save missing photos in datou_result : time spend for datou_step_exec : 30.617570161819458 time spend to save output : 0.0005991458892822266 total time spend for step 3 : 30.61816930770874 step4:merge_mask_thcl_custom Wed Feb 5 12:56:43 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 123 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 [1334596368, 1334596316, 1334596243, 1334596239, 1334596235, 1334595990, 1334595895, 1334595893, 1334595878] Looping around the photos to save general results len do output : 9 /1334596368Didn't retrieve data .Didn't retrieve data . /1334596316Didn't retrieve data .Didn't retrieve data . /1334596243Didn't retrieve data .Didn't retrieve data . /1334596239Didn't retrieve data .Didn't retrieve data . /1334596235Didn't retrieve data .Didn't retrieve data . /1334595990Didn't retrieve data .Didn't retrieve data . /1334595895Didn't retrieve data .Didn't retrieve data . /1334595893Didn't retrieve data .Didn't retrieve data . /1334595878Didn'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, '2551122') ('3459', None, '1334596368', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596316', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596243', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596239', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596235', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595990', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595895', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595893', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595878', None, None, None, None, None, '2551122') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.01342916488647461 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06342673301696777 time spend to save output : 0.013938188552856445 total time spend for step 4 : 0.07736492156982422 step5:rle_unique_nms_with_priority Wed Feb 5 12:56:43 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 16 nb_hashtags : 4 time to prepare the origin masks : 10.974644899368286 time for calcul the mask position with numpy : 0.7131121158599854 nb_pixel_total : 6473340 time to create 1 rle with new method : 0.854395866394043 time for calcul the mask position with numpy : 0.02584695816040039 nb_pixel_total : 31943 time to create 1 rle with old method : 0.037181854248046875 time for calcul the mask position with numpy : 0.03757166862487793 nb_pixel_total : 69897 time to create 1 rle with old method : 0.0827491283416748 time for calcul the mask position with numpy : 0.04429960250854492 nb_pixel_total : 131102 time to create 1 rle with old method : 0.15150141716003418 time for calcul the mask position with numpy : 0.03654193878173828 nb_pixel_total : 19004 time to create 1 rle with old method : 0.02216625213623047 time for calcul the mask position with numpy : 0.02677178382873535 nb_pixel_total : 7672 time to create 1 rle with old method : 0.009478330612182617 time for calcul the mask position with numpy : 0.025255203247070312 nb_pixel_total : 12681 time to create 1 rle with old method : 0.014922857284545898 time for calcul the mask position with numpy : 0.024739503860473633 nb_pixel_total : 9377 time to create 1 rle with old method : 0.017851591110229492 time for calcul the mask position with numpy : 0.024600982666015625 nb_pixel_total : 10938 time to create 1 rle with old method : 0.012992143630981445 time for calcul the mask position with numpy : 0.025191545486450195 nb_pixel_total : 95273 time to create 1 rle with old method : 0.11478137969970703 time for calcul the mask position with numpy : 0.025480985641479492 nb_pixel_total : 22001 time to create 1 rle with old method : 0.025943279266357422 time for calcul the mask position with numpy : 0.027063608169555664 nb_pixel_total : 37381 time to create 1 rle with old method : 0.04539608955383301 time for calcul the mask position with numpy : 0.04659247398376465 nb_pixel_total : 40817 time to create 1 rle with old method : 0.04855704307556152 time for calcul the mask position with numpy : 0.04344797134399414 nb_pixel_total : 26524 time to create 1 rle with old method : 0.0322880744934082 time for calcul the mask position with numpy : 0.03791332244873047 nb_pixel_total : 35610 time to create 1 rle with old method : 0.051354408264160156 time for calcul the mask position with numpy : 0.03777194023132324 nb_pixel_total : 9370 time to create 1 rle with old method : 0.01262664794921875 time for calcul the mask position with numpy : 0.039185523986816406 nb_pixel_total : 17310 time to create 1 rle with old method : 0.02315664291381836 create new chi : 2.8409600257873535 time to delete rle : 0.014438152313232422 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 9878 TO DO : save crop sub photo not yet done ! save time : 0.5643646717071533 nb_obj : 19 nb_hashtags : 3 time to prepare the origin masks : 10.43784213066101 time for calcul the mask position with numpy : 0.4804048538208008 nb_pixel_total : 6482475 time to create 1 rle with new method : 0.6187295913696289 time for calcul the mask position with numpy : 0.02203369140625 nb_pixel_total : 12177 time to create 1 rle with old method : 0.014312982559204102 time for calcul the mask position with numpy : 0.03215622901916504 nb_pixel_total : 543 time to create 1 rle with old method : 0.0010581016540527344 time for calcul the mask position with numpy : 0.0296933650970459 nb_pixel_total : 21731 time to create 1 rle with old method : 0.026361703872680664 time for calcul the mask position with numpy : 0.022626161575317383 nb_pixel_total : 6013 time to create 1 rle with old method : 0.007439851760864258 time for calcul the mask position with numpy : 0.02408599853515625 nb_pixel_total : 4050 time to create 1 rle with old method : 0.00540614128112793 time for calcul the mask position with numpy : 0.03299999237060547 nb_pixel_total : 1694 time to create 1 rle with old method : 0.002367258071899414 time for calcul the mask position with numpy : 0.033237457275390625 nb_pixel_total : 2194 time to create 1 rle with old method : 0.0026624202728271484 time for calcul the mask position with numpy : 0.03435540199279785 nb_pixel_total : 11700 time to create 1 rle with old method : 0.014970064163208008 time for calcul the mask position with numpy : 0.034162282943725586 nb_pixel_total : 28081 time to create 1 rle with old method : 0.036211252212524414 time for calcul the mask position with numpy : 0.033875226974487305 nb_pixel_total : 32102 time to create 1 rle with old method : 0.03825569152832031 time for calcul the mask position with numpy : 0.040086984634399414 nb_pixel_total : 19622 time to create 1 rle with old method : 0.023293495178222656 time for calcul the mask position with numpy : 0.041962623596191406 nb_pixel_total : 51362 time to create 1 rle with old method : 0.06003713607788086 time for calcul the mask position with numpy : 0.040732383728027344 nb_pixel_total : 76284 time to create 1 rle with old method : 0.09063005447387695 time for calcul the mask position with numpy : 0.04430699348449707 nb_pixel_total : 46149 time to create 1 rle with old method : 0.05507040023803711 time for calcul the mask position with numpy : 0.045954227447509766 nb_pixel_total : 40000 time to create 1 rle with old method : 0.04723930358886719 time for calcul the mask position with numpy : 0.03352713584899902 nb_pixel_total : 71812 time to create 1 rle with old method : 0.08572030067443848 time for calcul the mask position with numpy : 0.0362398624420166 nb_pixel_total : 7101 time to create 1 rle with old method : 0.008529424667358398 time for calcul the mask position with numpy : 0.02271723747253418 nb_pixel_total : 121151 time to create 1 rle with old method : 0.14855146408081055 time for calcul the mask position with numpy : 0.025545358657836914 nb_pixel_total : 13999 time to create 1 rle with old method : 0.023880958557128906 create new chi : 2.46980357170105 time to delete rle : 0.0015435218811035156 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 12067 TO DO : save crop sub photo not yet done ! save time : 0.6928527355194092 nb_obj : 14 nb_hashtags : 6 time to prepare the origin masks : 9.675010919570923 time for calcul the mask position with numpy : 0.5907297134399414 nb_pixel_total : 6537368 time to create 1 rle with new method : 1.2751717567443848 time for calcul the mask position with numpy : 0.033878326416015625 nb_pixel_total : 36021 time to create 1 rle with old method : 0.043099164962768555 time for calcul the mask position with numpy : 0.021493911743164062 nb_pixel_total : 1236 time to create 1 rle with old method : 0.001543283462524414 time for calcul the mask position with numpy : 0.03363204002380371 nb_pixel_total : 24607 time to create 1 rle with old method : 0.028550148010253906 time for calcul the mask position with numpy : 0.031330108642578125 nb_pixel_total : 4844 time to create 1 rle with old method : 0.00590062141418457 time for calcul the mask position with numpy : 0.02908778190612793 nb_pixel_total : 14089 time to create 1 rle with old method : 0.21700620651245117 time for calcul the mask position with numpy : 0.030095815658569336 nb_pixel_total : 70310 time to create 1 rle with old method : 0.10433316230773926 time for calcul the mask position with numpy : 0.029474973678588867 nb_pixel_total : 132703 time to create 1 rle with old method : 0.15189528465270996 time for calcul the mask position with numpy : 0.029669761657714844 nb_pixel_total : 10252 time to create 1 rle with old method : 0.011999368667602539 time for calcul the mask position with numpy : 0.024055004119873047 nb_pixel_total : 12074 time to create 1 rle with old method : 0.014103174209594727 time for calcul the mask position with numpy : 0.02342534065246582 nb_pixel_total : 18008 time to create 1 rle with old method : 0.020973682403564453 time for calcul the mask position with numpy : 0.026163816452026367 nb_pixel_total : 58371 time to create 1 rle with old method : 0.06766510009765625 time for calcul the mask position with numpy : 0.02270674705505371 nb_pixel_total : 191 time to create 1 rle with old method : 0.0005049705505371094 time for calcul the mask position with numpy : 0.0235137939453125 nb_pixel_total : 52605 time to create 1 rle with old method : 0.06383085250854492 time for calcul the mask position with numpy : 0.025101184844970703 nb_pixel_total : 77561 time to create 1 rle with old method : 0.09115743637084961 create new chi : 3.122786045074463 time to delete rle : 0.0009469985961914062 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 8763 TO DO : save crop sub photo not yet done ! save time : 0.522132396697998 nb_obj : 10 nb_hashtags : 4 time to prepare the origin masks : 9.318641185760498 time for calcul the mask position with numpy : 0.054047346115112305 nb_pixel_total : 3190098 time to create 1 rle with new method : 0.6226410865783691 time for calcul the mask position with numpy : 0.022116422653198242 nb_pixel_total : 9174 time to create 1 rle with old method : 0.010791301727294922 time for calcul the mask position with numpy : 0.024664640426635742 nb_pixel_total : 393973 time to create 1 rle with new method : 0.4658942222595215 time for calcul the mask position with numpy : 0.021665573120117188 nb_pixel_total : 314 time to create 1 rle with old method : 0.0004949569702148438 time for calcul the mask position with numpy : 0.02230525016784668 nb_pixel_total : 26786 time to create 1 rle with old method : 0.033905029296875 time for calcul the mask position with numpy : 0.022672176361083984 nb_pixel_total : 1611 time to create 1 rle with old method : 0.0021715164184570312 time for calcul the mask position with numpy : 0.02150249481201172 nb_pixel_total : 27620 time to create 1 rle with old method : 0.03541421890258789 time for calcul the mask position with numpy : 0.022634506225585938 nb_pixel_total : 21427 time to create 1 rle with old method : 0.027857065200805664 time for calcul the mask position with numpy : 0.022204160690307617 nb_pixel_total : 41656 time to create 1 rle with old method : 0.05319499969482422 time for calcul the mask position with numpy : 0.04874873161315918 nb_pixel_total : 2979149 time to create 1 rle with new method : 0.6434059143066406 time for calcul the mask position with numpy : 0.02420496940612793 nb_pixel_total : 358432 time to create 1 rle with new method : 0.22395586967468262 create new chi : 2.5105392932891846 time to delete rle : 0.0015044212341308594 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 11629 TO DO : save crop sub photo not yet done ! save time : 0.8283302783966064 nb_obj : 12 nb_hashtags : 5 time to prepare the origin masks : 5.348684787750244 time for calcul the mask position with numpy : 0.15216398239135742 nb_pixel_total : 3970394 time to create 1 rle with new method : 0.31516480445861816 time for calcul the mask position with numpy : 0.02040553092956543 nb_pixel_total : 723 time to create 1 rle with old method : 0.0010495185852050781 time for calcul the mask position with numpy : 0.020388126373291016 nb_pixel_total : 3721 time to create 1 rle with old method : 0.004620790481567383 time for calcul the mask position with numpy : 0.024593114852905273 nb_pixel_total : 51657 time to create 1 rle with old method : 0.06017470359802246 time for calcul the mask position with numpy : 0.020801067352294922 nb_pixel_total : 16229 time to create 1 rle with old method : 0.01906442642211914 time for calcul the mask position with numpy : 0.02074146270751953 nb_pixel_total : 13923 time to create 1 rle with old method : 0.01631450653076172 time for calcul the mask position with numpy : 0.02086949348449707 nb_pixel_total : 2771 time to create 1 rle with old method : 0.0034401416778564453 time for calcul the mask position with numpy : 0.028096437454223633 nb_pixel_total : 5438 time to create 1 rle with old method : 0.010293006896972656 time for calcul the mask position with numpy : 0.07352161407470703 nb_pixel_total : 2608085 time to create 1 rle with new method : 0.33850836753845215 time for calcul the mask position with numpy : 0.03563213348388672 nb_pixel_total : 153961 time to create 1 rle with new method : 0.30252838134765625 time for calcul the mask position with numpy : 0.03528904914855957 nb_pixel_total : 104461 time to create 1 rle with old method : 0.1199953556060791 time for calcul the mask position with numpy : 0.03428840637207031 nb_pixel_total : 68049 time to create 1 rle with old method : 0.07814931869506836 time for calcul the mask position with numpy : 0.036225080490112305 nb_pixel_total : 50828 time to create 1 rle with old method : 0.0642237663269043 create new chi : 1.940551996231079 time to delete rle : 0.0013041496276855469 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 13824 TO DO : save crop sub photo not yet done ! save time : 0.7623355388641357 nb_obj : 12 nb_hashtags : 5 time to prepare the origin masks : 5.904960870742798 time for calcul the mask position with numpy : 0.18191123008728027 nb_pixel_total : 6434554 time to create 1 rle with new method : 0.4590737819671631 time for calcul the mask position with numpy : 0.020685911178588867 nb_pixel_total : 102387 time to create 1 rle with old method : 0.11498117446899414 time for calcul the mask position with numpy : 0.020982980728149414 nb_pixel_total : 100231 time to create 1 rle with old method : 0.11500382423400879 time for calcul the mask position with numpy : 0.02224898338317871 nb_pixel_total : 6635 time to create 1 rle with old method : 0.00808572769165039 time for calcul the mask position with numpy : 0.02380084991455078 nb_pixel_total : 102912 time to create 1 rle with old method : 0.14087557792663574 time for calcul the mask position with numpy : 0.024380922317504883 nb_pixel_total : 12239 time to create 1 rle with old method : 0.016059398651123047 time for calcul the mask position with numpy : 0.021628856658935547 nb_pixel_total : 87946 time to create 1 rle with old method : 0.09939312934875488 time for calcul the mask position with numpy : 0.03510165214538574 nb_pixel_total : 38241 time to create 1 rle with old method : 0.04427790641784668 time for calcul the mask position with numpy : 0.019957304000854492 nb_pixel_total : 11452 time to create 1 rle with old method : 0.012982606887817383 time for calcul the mask position with numpy : 0.020637035369873047 nb_pixel_total : 2027 time to create 1 rle with old method : 0.0024199485778808594 time for calcul the mask position with numpy : 0.027977943420410156 nb_pixel_total : 57648 time to create 1 rle with old method : 0.08775901794433594 time for calcul the mask position with numpy : 0.03454780578613281 nb_pixel_total : 54469 time to create 1 rle with old method : 0.06086444854736328 time for calcul the mask position with numpy : 0.03383803367614746 nb_pixel_total : 39499 time to create 1 rle with old method : 0.043439388275146484 create new chi : 1.728938341140747 time to delete rle : 0.0009248256683349609 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 9461 TO DO : save crop sub photo not yet done ! save time : 0.6198005676269531 nb_obj : 21 nb_hashtags : 6 time to prepare the origin masks : 8.648457527160645 time for calcul the mask position with numpy : 0.19609856605529785 nb_pixel_total : 5660154 time to create 1 rle with new method : 0.5515062808990479 time for calcul the mask position with numpy : 0.024192333221435547 nb_pixel_total : 29320 time to create 1 rle with old method : 0.03449821472167969 time for calcul the mask position with numpy : 0.022000551223754883 nb_pixel_total : 5284 time to create 1 rle with old method : 0.01030111312866211 time for calcul the mask position with numpy : 0.0289459228515625 nb_pixel_total : 9259 time to create 1 rle with old method : 0.011397600173950195 time for calcul the mask position with numpy : 0.030650615692138672 nb_pixel_total : 2383 time to create 1 rle with old method : 0.0029942989349365234 time for calcul the mask position with numpy : 0.02094244956970215 nb_pixel_total : 2564 time to create 1 rle with old method : 0.0031778812408447266 time for calcul the mask position with numpy : 0.021226167678833008 nb_pixel_total : 44880 time to create 1 rle with old method : 0.052300453186035156 time for calcul the mask position with numpy : 0.029367685317993164 nb_pixel_total : 734144 time to create 1 rle with new method : 0.20966100692749023 time for calcul the mask position with numpy : 0.02160334587097168 nb_pixel_total : 1850 time to create 1 rle with old method : 0.002274751663208008 time for calcul the mask position with numpy : 0.022800445556640625 nb_pixel_total : 11272 time to create 1 rle with old method : 0.015099048614501953 time for calcul the mask position with numpy : 0.034883737564086914 nb_pixel_total : 44454 time to create 1 rle with old method : 0.05944418907165527 time for calcul the mask position with numpy : 0.03827619552612305 nb_pixel_total : 7296 time to create 1 rle with old method : 0.008870840072631836 time for calcul the mask position with numpy : 0.03401803970336914 nb_pixel_total : 6676 time to create 1 rle with old method : 0.011533260345458984 time for calcul the mask position with numpy : 0.034059762954711914 nb_pixel_total : 2202 time to create 1 rle with old method : 0.0033092498779296875 time for calcul the mask position with numpy : 0.03655529022216797 nb_pixel_total : 155950 time to create 1 rle with new method : 0.43354153633117676 time for calcul the mask position with numpy : 0.04107928276062012 nb_pixel_total : 4999 time to create 1 rle with old method : 0.006146669387817383 time for calcul the mask position with numpy : 0.034221649169921875 nb_pixel_total : 4837 time to create 1 rle with old method : 0.0056307315826416016 time for calcul the mask position with numpy : 0.032999277114868164 nb_pixel_total : 10179 time to create 1 rle with old method : 0.01185154914855957 time for calcul the mask position with numpy : 0.037633657455444336 nb_pixel_total : 11355 time to create 1 rle with old method : 0.013593673706054688 time for calcul the mask position with numpy : 0.032279014587402344 nb_pixel_total : 63557 time to create 1 rle with old method : 0.07310867309570312 time for calcul the mask position with numpy : 0.023731231689453125 nb_pixel_total : 170040 time to create 1 rle with new method : 1.4825499057769775 time for calcul the mask position with numpy : 0.022005081176757812 nb_pixel_total : 67585 time to create 1 rle with old method : 0.08703732490539551 create new chi : 4.020361423492432 time to delete rle : 0.0013356208801269531 batch 1 Loaded 22 chid ids of type : 3726 Number RLEs to save : 13173 TO DO : save crop sub photo not yet done ! save time : 0.793177604675293 nb_obj : 10 nb_hashtags : 5 time to prepare the origin masks : 4.654197692871094 time for calcul the mask position with numpy : 0.06262516975402832 nb_pixel_total : 3709275 time to create 1 rle with new method : 0.8636062145233154 time for calcul the mask position with numpy : 0.02361464500427246 nb_pixel_total : 194410 time to create 1 rle with new method : 1.0799899101257324 time for calcul the mask position with numpy : 0.025879383087158203 nb_pixel_total : 354784 time to create 1 rle with new method : 0.22453689575195312 time for calcul the mask position with numpy : 0.021892070770263672 nb_pixel_total : 33524 time to create 1 rle with old method : 0.03887462615966797 time for calcul the mask position with numpy : 0.02264404296875 nb_pixel_total : 10426 time to create 1 rle with old method : 0.012456417083740234 time for calcul the mask position with numpy : 0.023572921752929688 nb_pixel_total : 43018 time to create 1 rle with old method : 0.05007290840148926 time for calcul the mask position with numpy : 0.022627592086791992 nb_pixel_total : 16003 time to create 1 rle with old method : 0.01926422119140625 time for calcul the mask position with numpy : 0.02416515350341797 nb_pixel_total : 1402 time to create 1 rle with old method : 0.0024263858795166016 time for calcul the mask position with numpy : 0.050714731216430664 nb_pixel_total : 2393139 time to create 1 rle with new method : 0.5384111404418945 time for calcul the mask position with numpy : 0.0250551700592041 nb_pixel_total : 205770 time to create 1 rle with new method : 0.6348838806152344 time for calcul the mask position with numpy : 0.0240631103515625 nb_pixel_total : 88489 time to create 1 rle with old method : 0.10260367393493652 create new chi : 4.0039331912994385 time to delete rle : 0.0012438297271728516 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 13541 TO DO : save crop sub photo not yet done ! save time : 0.8647570610046387 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 1.6514878273010254 time for calcul the mask position with numpy : 0.10504341125488281 nb_pixel_total : 3324101 time to create 1 rle with new method : 0.7214493751525879 time for calcul the mask position with numpy : 0.021273136138916016 nb_pixel_total : 3845 time to create 1 rle with old method : 0.004910707473754883 time for calcul the mask position with numpy : 0.021455764770507812 nb_pixel_total : 136277 time to create 1 rle with old method : 0.15910863876342773 time for calcul the mask position with numpy : 0.6514244079589844 nb_pixel_total : 3576169 time to create 1 rle with new method : 0.498096227645874 time for calcul the mask position with numpy : 0.03510475158691406 nb_pixel_total : 9848 time to create 1 rle with old method : 0.012231588363647461 create new chi : 2.2931504249572754 time to delete rle : 0.0009207725524902344 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 10074 TO DO : save crop sub photo not yet done ! save time : 0.7671427726745605 map_output_result : {1334596368: (0.0, 'Should be the crop_list due to order', 0.0), 1334596316: (0.0, 'Should be the crop_list due to order', 0.0), 1334596243: (0.0, 'Should be the crop_list due to order', 0.0), 1334596239: (0.0, 'Should be the crop_list due to order', 0.0), 1334596235: (0.0, 'Should be the crop_list due to order', 0.0), 1334595990: (0.0, 'Should be the crop_list due to order', 0.0), 1334595895: (0.0, 'Should be the crop_list due to order', 0.0), 1334595893: (0.0, 'Should be the crop_list due to order', 0.0), 1334595878: (0.0, 'Should be the crop_list due to order', 0.0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1334596368, 1334596316, 1334596243, 1334596239, 1334596235, 1334595990, 1334595895, 1334595893, 1334595878] Looping around the photos to save general results len do output : 9 /1334596368.Didn't retrieve data . /1334596316.Didn't retrieve data . /1334596243.Didn't retrieve data . /1334596239.Didn't retrieve data . /1334596235.Didn't retrieve data . /1334595990.Didn't retrieve data . /1334595895.Didn't retrieve data . /1334595893.Didn't retrieve data . /1334595878.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, '2551122') ('3459', None, '1334596368', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596316', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596243', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596239', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596235', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595990', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595895', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595893', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595878', None, None, None, None, None, '2551122') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.015568971633911133 save_final save missing photos in datou_result : time spend for datou_step_exec : 99.24408316612244 time spend to save output : 0.3258044719696045 total time spend for step 5 : 99.56988763809204 step6:crop_condition Wed Feb 5 12:58:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 9 ! batch 1 Loaded 127 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738756705_3695450 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.8162612915039062 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/1738756708_3695450 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.9536705017089844 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 : 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/1738756710_3695450 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.9743161201477051 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738756714_3695450 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.0653231143951416 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738756716_3695450 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7611069679260254 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/1738756720_3695450 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.1609268188476562 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1334596368, 1334596316, 1334596243, 1334596239, 1334596235, 1334595990, 1334595895, 1334595893, 1334595878] Looping around the photos to save general results len do output : 14 /1334919531Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334919534Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334919535Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334919536Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334919539Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334919540Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334919541Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334919543Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334919545Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334919546Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334919551Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334919552Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334919553Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334919554Didn'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, '2551122') ('3459', None, '1334596368', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596316', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596243', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596239', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596235', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595990', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595895', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595893', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595878', None, None, None, None, None, '2551122') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 51 time used for this insertion : 0.028995513916015625 save_final save missing photos in datou_result : time spend for datou_step_exec : 18.981101989746094 time spend to save output : 0.2490544319152832 total time spend for step 6 : 19.230156421661377 step7:ventilate_hashtags_in_portfolio Wed Feb 5 12:58:42 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 20254737 get user id for portfolio 20254737 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`=20254737 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_brun','environnement','mal_croppe','cartonnette','kraft','flou','autre_refus','metal','Carton_gris','papier','plastique')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20254737 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_brun','environnement','mal_croppe','cartonnette','kraft','flou','autre_refus','metal','Carton_gris','papier','plastique')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20255628,20255629,20255630,20255631,20255632,20255633,20255634,20255635,20255636,20255637,20255638,20255639?tags=autre_refus,environnement,Carton_gris,Teint_Dans_La_Masse,kraft,Carton_brun,flou,mal_croppe,plastique,cartonnette,metal,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1334596368, 1334596316, 1334596243, 1334596239, 1334596235, 1334595990, 1334595895, 1334595893, 1334595878] Looping around the photos to save general results len do output : 1 /20254737. 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, '2551122') ('3459', None, '1334596368', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596316', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596243', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596239', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596235', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595990', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595895', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595893', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595878', None, None, None, None, None, '2551122') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.014638900756835938 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4449050426483154 time spend to save output : 0.014851570129394531 total time spend for step 7 : 1.45975661277771 step8:final Wed Feb 5 12:58:43 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1334596368: ('0.07724209703034116',), 1334596316: ('0.07724209703034116',), 1334596243: ('0.07724209703034116',), 1334596239: ('0.07724209703034116',), 1334596235: ('0.07724209703034116',), 1334595990: ('0.07724209703034116',), 1334595895: ('0.07724209703034116',), 1334595893: ('0.07724209703034116',), 1334595878: ('0.07724209703034116',)} new output for save of step final : {1334596368: ('0.07724209703034116',), 1334596316: ('0.07724209703034116',), 1334596243: ('0.07724209703034116',), 1334596239: ('0.07724209703034116',), 1334596235: ('0.07724209703034116',), 1334595990: ('0.07724209703034116',), 1334595895: ('0.07724209703034116',), 1334595893: ('0.07724209703034116',), 1334595878: ('0.07724209703034116',)} [1334596368, 1334596316, 1334596243, 1334596239, 1334596235, 1334595990, 1334595895, 1334595893, 1334595878] Looping around the photos to save general results len do output : 9 /1334596368.Didn't retrieve data . /1334596316.Didn't retrieve data . /1334596243.Didn't retrieve data . /1334596239.Didn't retrieve data . /1334596235.Didn't retrieve data . /1334595990.Didn't retrieve data . /1334595895.Didn't retrieve data . /1334595893.Didn't retrieve data . /1334595878.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, '2551122') ('3459', None, '1334596368', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596316', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596243', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596239', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596235', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595990', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595895', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595893', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595878', None, None, None, None, None, '2551122') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.013254404067993164 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12200379371643066 time spend to save output : 0.013984441757202148 total time spend for step 8 : 0.1359882354736328 step9:velours_tree Wed Feb 5 12:58:44 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.26917529106140137 time spend to save output : 3.552436828613281e-05 total time spend for step 9 : 0.2692108154296875 step10:send_mail_cod Wed Feb 5 12:58:44 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_P20254737_05-02-2025_12_58_44.pdf 20255628 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 .imagette202556281738756724 20255632 change filename to text .change filename to text .change filename to text .change filename to text .imagette202556321738756725 20255634 imagette202556341738756725 20255635 imagette202556351738756725 20255636 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 .imagette202556361738756725 20255637 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette202556371738756726 20255638 imagette202556381738756727 20255630 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 .imagette202556301738756727 20255631 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 .imagette202556311738756728 20255633 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 .imagette202556331738756729 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20254737 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20255628,20255629,20255630,20255631,20255632,20255633,20255634,20255635,20255636,20255637,20255638,20255639?tags=autre_refus,environnement,Carton_gris,Teint_Dans_La_Masse,kraft,Carton_brun,flou,mal_croppe,plastique,cartonnette,metal,papier your option no_mail is active, we will not send the real mail to your client args[1334596368] : ('0.07724209703034116',) no score found for photo 1334596368 We are sending mail with results at report@fotonower.com args[1334596316] : ('0.07724209703034116',) no score found for photo 1334596316 We are sending mail with results at report@fotonower.com args[1334596243] : ('0.07724209703034116',) no score found for photo 1334596243 We are sending mail with results at report@fotonower.com args[1334596239] : ('0.07724209703034116',) no score found for photo 1334596239 We are sending mail with results at report@fotonower.com args[1334596235] : ('0.07724209703034116',) no score found for photo 1334596235 We are sending mail with results at report@fotonower.com args[1334595990] : ('0.07724209703034116',) no score found for photo 1334595990 We are sending mail with results at report@fotonower.com args[1334595895] : ('0.07724209703034116',) no score found for photo 1334595895 We are sending mail with results at report@fotonower.com args[1334595893] : ('0.07724209703034116',) no score found for photo 1334595893 We are sending mail with results at report@fotonower.com args[1334595878] : ('0.07724209703034116',) no score found for photo 1334595878 We are sending mail with results at report@fotonower.com refus_total : 0.07724209703034116 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=20254737 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1334596788,1334703710,1334703666,1334703662,1334703660,1334703630,1334703627,1334596919,1334703861,1334596877,1334703870,1334596803,1334596799,1334596796,1334596792,1334596787,1334596643,1334596586,1334596582,1334596579) Found this number of photos: 20 begin to download photo : 1334596788 begin to download photo : 1334703630 begin to download photo : 1334703870 begin to download photo : 1334596787 download finish for photo 1334596787 begin to download photo : 1334596643 download finish for photo 1334596788 begin to download photo : 1334703710 download finish for photo 1334703870 begin to download photo : 1334596803 download finish for photo 1334703630 begin to download photo : 1334703627 download finish for photo 1334703710 begin to download photo : 1334703666 download finish for photo 1334596643 begin to download photo : 1334596586 download finish for photo 1334596803 begin to download photo : 1334596799 download finish for photo 1334703627 begin to download photo : 1334596919 download finish for photo 1334596586 begin to download photo : 1334596582 download finish for photo 1334703666 begin to download photo : 1334703662 download finish for photo 1334596919 begin to download photo : 1334703861 download finish for photo 1334596799 begin to download photo : 1334596796 download finish for photo 1334596582 begin to download photo : 1334596579 download finish for photo 1334703662 begin to download photo : 1334703660 download finish for photo 1334596796 begin to download photo : 1334596792 download finish for photo 1334703861 begin to download photo : 1334596877 download finish for photo 1334596579 download finish for photo 1334703660 download finish for photo 1334596792 download finish for photo 1334596877 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20254737_05-02-2025_12_58_44.pdf results_Auto_P20254737_05-02-2025_12_58_44.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20254737_05-02-2025_12_58_44.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','20254737','results_Auto_P20254737_05-02-2025_12_58_44.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20254737_05-02-2025_12_58_44.pdf','pdf','','1.52','0.07724209703034116') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1334596368, 1334596316, 1334596243, 1334596239, 1334596235, 1334595990, 1334595895, 1334595893, 1334595878] 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, '2551122') ('3459', None, '1334596368', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596316', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596243', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596239', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596235', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595990', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595895', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595893', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595878', None, None, None, None, None, '2551122') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.013027429580688477 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.58190631866455 time spend to save output : 0.013274431228637695 total time spend for step 10 : 11.595180749893188 step11:split_time_score Wed Feb 5 12:58: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 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 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('16', 39),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 04022025 20254737 Nombre de photos uploadées : 39 / 23040 (0%) 04022025 20254737 Nombre de photos taguées (types de déchets): 0 / 39 (0%) 04022025 20254737 Nombre de photos taguées (volume) : 0 / 39 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 1.0251998901367188e-05 ??????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001966714859008789 elapsed_time : insert_dashboard_record_day_entry 0.02287745475769043 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 = 20254648 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254650 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254653 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254655 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254657 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254660 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254661 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254663 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254664 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254666 order by id desc limit 1 Qualite : 0.03827887555059262 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20208806_04-02-2025_12_29_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20208806 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`=20208806 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254668 order by id desc limit 1 Qualite : 0.07156960103454109 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20254669_05-02-2025_12_05_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254669 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`=20254669 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254671 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20254672_05-02-2025_12_22_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254672 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254674 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254675 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254688 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254690 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254691 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254692 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254693 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254694 order by id desc limit 1 Qualite : 0.29069025611709665 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20254695_05-02-2025_12_46_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254695 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11548 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11556 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11557 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11552 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11552 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11555 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11555 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11580 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11580 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11551 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11550 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11550 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11559 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11551 doesn't seem to be define in the database( WARNING : type of input 3 of step 11550 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11548 doesn't seem to be define in the database( WARNING : type of input 2 of step 11552 doesn't seem to be define in the database( WARNING : output 1 of step 11548 have datatype=2 whereas input 1 of step 11555 have datatype=7 WARNING : type of output 2 of step 11555 doesn't seem to be define in the database( WARNING : type of input 1 of step 11549 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11551 have datatype=10 whereas input 3 of step 11558 have datatype=6 WARNING : type of input 2 of step 11580 doesn't seem to be define in the database( WARNING : output 1 of step 11549 have datatype=7 whereas input 2 of step 11580 have datatype=None WARNING : type of output 3 of step 11580 doesn't seem to be define in the database( WARNING : type of input 1 of step 11551 doesn't seem to be define in the database( WARNING : output 0 of step 11551 have datatype=10 whereas input 0 of step 11586 have datatype=18 WARNING : type of input 5 of step 11558 doesn't seem to be define in the database( WARNING : output 0 of step 11586 have datatype=11 whereas input 5 of step 11558 have datatype=None WARNING : type of output 1 of step 11556 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : type of output 1 of step 11557 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : output 0 of step 11555 have datatype=1 whereas input 0 of step 11549 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20254695 AND mptpi.`type`=4200 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254696 order by id desc limit 1 Qualite : 0.026493133846067357 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254697 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`=20254697 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254698 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254699 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254700 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254701 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254716 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254727 order by id desc limit 1 Qualite : 0.21864209909553048 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20254728_05-02-2025_12_49_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254728 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`=20254728 AND mptpi.`type`=3594 To do Qualite : 0.21847787515679665 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20254729_05-02-2025_12_41_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254729 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`=20254729 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254730 order by id desc limit 1 Qualite : 0.17446064779355028 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20254731_05-02-2025_12_32_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254731 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`=20254731 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254732 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254733 order by id desc limit 1 Qualite : 0.5901434799670006 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20254734_05-02-2025_12_42_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254734 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11548 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11556 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11557 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11552 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11552 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11555 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11555 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11580 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11580 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11551 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11550 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11550 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11559 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11551 doesn't seem to be define in the database( WARNING : type of input 3 of step 11550 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11548 doesn't seem to be define in the database( WARNING : type of input 2 of step 11552 doesn't seem to be define in the database( WARNING : output 1 of step 11548 have datatype=2 whereas input 1 of step 11555 have datatype=7 WARNING : type of output 2 of step 11555 doesn't seem to be define in the database( WARNING : type of input 1 of step 11549 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11551 have datatype=10 whereas input 3 of step 11558 have datatype=6 WARNING : type of input 2 of step 11580 doesn't seem to be define in the database( WARNING : output 1 of step 11549 have datatype=7 whereas input 2 of step 11580 have datatype=None WARNING : type of output 3 of step 11580 doesn't seem to be define in the database( WARNING : type of input 1 of step 11551 doesn't seem to be define in the database( WARNING : output 0 of step 11551 have datatype=10 whereas input 0 of step 11586 have datatype=18 WARNING : type of input 5 of step 11558 doesn't seem to be define in the database( WARNING : output 0 of step 11586 have datatype=11 whereas input 5 of step 11558 have datatype=None WARNING : type of output 1 of step 11556 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : type of output 1 of step 11557 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : output 0 of step 11555 have datatype=1 whereas input 0 of step 11549 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20254734 AND mptpi.`type`=4200 To do Qualite : 0.1455004789653495 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20254735_05-02-2025_12_58_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254735 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`=20254735 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254736 order by id desc limit 1 Qualite : 0.08123124611481618 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20254737_05-02-2025_12_58_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254737 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`=20254737 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254738 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254739 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254740 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254741 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254742 order by id desc limit 1 Qualite : 0.09993071763572346 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20254767_05-02-2025_11_50_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254767 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`=20254767 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254768 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254769 order by id desc limit 1 Qualite : 0.2029836809337933 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20254770_05-02-2025_11_49_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254770 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`=20254770 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254771 order by id desc limit 1 Qualite : 0.07408981285512192 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20254772_05-02-2025_11_59_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254772 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`=20254772 AND mptpi.`type`=4207 To do Qualite : 0.09660837363298684 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20254773_05-02-2025_12_36_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20254773 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`=20254773 AND mptpi.`type`=4207 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'04022025': {'nb_upload': 39, '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 [1334596368, 1334596316, 1334596243, 1334596239, 1334596235, 1334595990, 1334595895, 1334595893, 1334595878] Looping around the photos to save general results len do output : 1 /20254737Didn'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, '2551122') ('3459', None, '1334596368', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596316', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596243', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596239', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334596235', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595990', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595895', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595893', None, None, None, None, None, '2551122') ('3459', None, None, None, None, None, None, None, '2551122') ('3459', None, '1334595878', None, None, None, None, None, '2551122') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.013229131698608398 save_final save missing photos in datou_result : time spend for datou_step_exec : 31.337385654449463 time spend to save output : 0.013475656509399414 total time spend for step 11 : 31.350861310958862 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 9 set_done_treatment 123.87user 102.44system 5:03.10elapsed 74%CPU (0avgtext+0avgdata 3753584maxresident)k 3278192inputs+149624outputs (24803major+9848025minor)pagefaults 0swaps