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 : 2298410 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 : 14>10 please execute split_portfolio.py -i 21304707 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2659311'] with mtr_portfolio_ids : ['21304707'] and first list_photo_ids : [] new path : /proc/2298410/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.599412202835083 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 Tue Mar 11 19:24:30 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 : 10370 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-11 19:24:34.917710: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-03-11 19:24:34.947163: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-11 19:24:34.950086: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f5a88000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-11 19:24:34.950151: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-11 19:24:34.953843: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-11 19:24:35.211414: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2755e360 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-11 19:24:35.211503: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-11 19:24:35.213270: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-03-11 19:24:35.213700: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-11 19:24:35.216825: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-11 19:24:35.239528: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-11 19:24:35.240245: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-11 19:24:35.275783: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-11 19:24:35.281707: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-11 19:24:35.345924: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-11 19:24:35.347775: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-11 19:24:35.347861: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-11 19:24:35.348809: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-11 19:24:35.348829: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-11 19:24:35.348843: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-11 19:24:35.350545: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9605 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-03-11 19:24:35.682312: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-03-11 19:24:35.682402: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-11 19:24:35.682422: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-11 19:24:35.682440: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-11 19:24:35.682458: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-11 19:24:35.682475: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-11 19:24:35.682492: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-11 19:24:35.682509: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-11 19:24:35.684138: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-11 19:24:35.685271: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-03-11 19:24:35.685304: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-11 19:24:35.685320: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-11 19:24:35.685334: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-11 19:24:35.685350: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-11 19:24:35.685365: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-11 19:24:35.685381: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-11 19:24:35.685397: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-11 19:24:35.686694: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-11 19:24:35.686725: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-11 19:24:35.686733: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-11 19:24:35.686741: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-11 19:24:35.688154: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9605 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-03-11 19:24:50.340533: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-11 19:24:50.562359: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 22 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 : 32 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 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 Detection mask done ! Trying to reset tf kernel 2298816 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5081 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 10370 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.002131938934326172 nb_pixel_total : 42641 time to create 1 rle with old method : 0.057463884353637695 length of segment : 189 time for calcul the mask position with numpy : 0.9592390060424805 nb_pixel_total : 5010702 time to create 1 rle with new method : 1.1400020122528076 length of segment : 3416 time for calcul the mask position with numpy : 0.0007381439208984375 nb_pixel_total : 15756 time to create 1 rle with old method : 0.021496295928955078 length of segment : 199 time for calcul the mask position with numpy : 0.00557398796081543 nb_pixel_total : 263511 time to create 1 rle with new method : 0.01349329948425293 length of segment : 545 time for calcul the mask position with numpy : 0.3132758140563965 nb_pixel_total : 1557054 time to create 1 rle with new method : 1.5889310836791992 length of segment : 2343 time for calcul the mask position with numpy : 0.004016876220703125 nb_pixel_total : 85854 time to create 1 rle with old method : 0.10531115531921387 length of segment : 942 time for calcul the mask position with numpy : 0.004944562911987305 nb_pixel_total : 229317 time to create 1 rle with new method : 0.006935834884643555 length of segment : 539 time for calcul the mask position with numpy : 0.001024007797241211 nb_pixel_total : 33843 time to create 1 rle with old method : 0.039305925369262695 length of segment : 305 time for calcul the mask position with numpy : 0.011250734329223633 nb_pixel_total : 450192 time to create 1 rle with new method : 0.04615640640258789 length of segment : 1112 time for calcul the mask position with numpy : 0.0011663436889648438 nb_pixel_total : 30222 time to create 1 rle with old method : 0.036377906799316406 length of segment : 235 time for calcul the mask position with numpy : 0.0002727508544921875 nb_pixel_total : 3003 time to create 1 rle with old method : 0.0038886070251464844 length of segment : 82 time for calcul the mask position with numpy : 0.00027871131896972656 nb_pixel_total : 3766 time to create 1 rle with old method : 0.004957675933837891 length of segment : 115 time for calcul the mask position with numpy : 0.018686771392822266 nb_pixel_total : 558911 time to create 1 rle with new method : 0.22083449363708496 length of segment : 1154 time for calcul the mask position with numpy : 0.014216899871826172 nb_pixel_total : 467496 time to create 1 rle with new method : 0.23494744300842285 length of segment : 1248 time for calcul the mask position with numpy : 0.008404970169067383 nb_pixel_total : 303492 time to create 1 rle with new method : 0.01747894287109375 length of segment : 819 time for calcul the mask position with numpy : 0.00643467903137207 nb_pixel_total : 180334 time to create 1 rle with new method : 0.010484933853149414 length of segment : 519 time for calcul the mask position with numpy : 0.007490396499633789 nb_pixel_total : 279935 time to create 1 rle with new method : 0.010847330093383789 length of segment : 685 time for calcul the mask position with numpy : 0.0022437572479248047 nb_pixel_total : 75753 time to create 1 rle with old method : 0.08602714538574219 length of segment : 351 time for calcul the mask position with numpy : 0.6304166316986084 nb_pixel_total : 3768258 time to create 1 rle with new method : 1.2790236473083496 length of segment : 3902 time for calcul the mask position with numpy : 0.0017781257629394531 nb_pixel_total : 129093 time to create 1 rle with old method : 0.14243626594543457 length of segment : 464 time for calcul the mask position with numpy : 0.0017504692077636719 nb_pixel_total : 120159 time to create 1 rle with old method : 0.15784025192260742 length of segment : 362 time for calcul the mask position with numpy : 0.0004642009735107422 nb_pixel_total : 21278 time to create 1 rle with old method : 0.026574373245239258 length of segment : 187 time for calcul the mask position with numpy : 0.0073969364166259766 nb_pixel_total : 418235 time to create 1 rle with new method : 0.0203707218170166 length of segment : 835 time for calcul the mask position with numpy : 0.0006434917449951172 nb_pixel_total : 47360 time to create 1 rle with old method : 0.05578804016113281 length of segment : 292 time for calcul the mask position with numpy : 0.0035049915313720703 nb_pixel_total : 113854 time to create 1 rle with old method : 0.13334965705871582 length of segment : 397 time for calcul the mask position with numpy : 0.0003345012664794922 nb_pixel_total : 6163 time to create 1 rle with old method : 0.007413148880004883 length of segment : 120 time for calcul the mask position with numpy : 0.000118255615234375 nb_pixel_total : 1362 time to create 1 rle with old method : 0.0018811225891113281 length of segment : 40 time for calcul the mask position with numpy : 8.606910705566406e-05 nb_pixel_total : 2924 time to create 1 rle with old method : 0.003452301025390625 length of segment : 55 time for calcul the mask position with numpy : 0.0005974769592285156 nb_pixel_total : 9667 time to create 1 rle with old method : 0.011403799057006836 length of segment : 166 time for calcul the mask position with numpy : 0.0014121532440185547 nb_pixel_total : 53540 time to create 1 rle with old method : 0.06381916999816895 length of segment : 282 time for calcul the mask position with numpy : 0.002431154251098633 nb_pixel_total : 63380 time to create 1 rle with old method : 0.07485270500183105 length of segment : 464 time for calcul the mask position with numpy : 0.0004642009735107422 nb_pixel_total : 7512 time to create 1 rle with old method : 0.009020805358886719 length of segment : 120 time for calcul the mask position with numpy : 0.0027000904083251953 nb_pixel_total : 56105 time to create 1 rle with old method : 0.08348298072814941 length of segment : 379 time for calcul the mask position with numpy : 0.004682302474975586 nb_pixel_total : 222717 time to create 1 rle with new method : 0.006006002426147461 length of segment : 465 time for calcul the mask position with numpy : 0.001069784164428711 nb_pixel_total : 38723 time to create 1 rle with old method : 0.04636049270629883 length of segment : 348 time for calcul the mask position with numpy : 0.0002963542938232422 nb_pixel_total : 7273 time to create 1 rle with old method : 0.008640289306640625 length of segment : 97 time for calcul the mask position with numpy : 0.00016355514526367188 nb_pixel_total : 2050 time to create 1 rle with old method : 0.0026047229766845703 length of segment : 57 time for calcul the mask position with numpy : 0.0008442401885986328 nb_pixel_total : 17272 time to create 1 rle with old method : 0.02053666114807129 length of segment : 312 time for calcul the mask position with numpy : 0.013657808303833008 nb_pixel_total : 295932 time to create 1 rle with new method : 0.023700237274169922 length of segment : 921 time for calcul the mask position with numpy : 0.0019960403442382812 nb_pixel_total : 69504 time to create 1 rle with old method : 0.08349370956420898 length of segment : 413 time for calcul the mask position with numpy : 0.0001857280731201172 nb_pixel_total : 2468 time to create 1 rle with old method : 0.003213167190551758 length of segment : 52 time for calcul the mask position with numpy : 0.0016894340515136719 nb_pixel_total : 44778 time to create 1 rle with old method : 0.05251884460449219 length of segment : 213 time for calcul the mask position with numpy : 0.0017375946044921875 nb_pixel_total : 66482 time to create 1 rle with old method : 0.07944941520690918 length of segment : 480 time for calcul the mask position with numpy : 0.00021338462829589844 nb_pixel_total : 2564 time to create 1 rle with old method : 0.0032231807708740234 length of segment : 68 time for calcul the mask position with numpy : 0.0030927658081054688 nb_pixel_total : 45809 time to create 1 rle with old method : 0.05130720138549805 length of segment : 454 time for calcul the mask position with numpy : 0.007380008697509766 nb_pixel_total : 253717 time to create 1 rle with new method : 0.010608911514282227 length of segment : 564 time for calcul the mask position with numpy : 0.0017309188842773438 nb_pixel_total : 41936 time to create 1 rle with old method : 0.0682070255279541 length of segment : 259 time for calcul the mask position with numpy : 0.0025599002838134766 nb_pixel_total : 63571 time to create 1 rle with old method : 0.07879257202148438 length of segment : 333 time for calcul the mask position with numpy : 0.004128456115722656 nb_pixel_total : 102405 time to create 1 rle with old method : 0.1170203685760498 length of segment : 481 time for calcul the mask position with numpy : 0.0034341812133789062 nb_pixel_total : 90322 time to create 1 rle with old method : 0.10812520980834961 length of segment : 325 time for calcul the mask position with numpy : 0.0007226467132568359 nb_pixel_total : 17554 time to create 1 rle with old method : 0.021816015243530273 length of segment : 213 time for calcul the mask position with numpy : 0.0058841705322265625 nb_pixel_total : 145332 time to create 1 rle with old method : 0.17116856575012207 length of segment : 1125 time for calcul the mask position with numpy : 0.006747722625732422 nb_pixel_total : 218400 time to create 1 rle with new method : 0.00995326042175293 length of segment : 849 time for calcul the mask position with numpy : 0.00014972686767578125 nb_pixel_total : 3279 time to create 1 rle with old method : 0.0042645931243896484 length of segment : 63 time for calcul the mask position with numpy : 0.00018739700317382812 nb_pixel_total : 2922 time to create 1 rle with old method : 0.003767728805541992 length of segment : 39 time for calcul the mask position with numpy : 0.00037360191345214844 nb_pixel_total : 7294 time to create 1 rle with old method : 0.008741140365600586 length of segment : 92 time for calcul the mask position with numpy : 0.0008780956268310547 nb_pixel_total : 23014 time to create 1 rle with old method : 0.026973247528076172 length of segment : 135 time for calcul the mask position with numpy : 0.005588054656982422 nb_pixel_total : 190170 time to create 1 rle with new method : 0.009632349014282227 length of segment : 782 time for calcul the mask position with numpy : 0.0047795772552490234 nb_pixel_total : 70321 time to create 1 rle with old method : 0.08539390563964844 length of segment : 516 time for calcul the mask position with numpy : 0.00029659271240234375 nb_pixel_total : 5014 time to create 1 rle with old method : 0.006334543228149414 length of segment : 78 time for calcul the mask position with numpy : 0.002369403839111328 nb_pixel_total : 79274 time to create 1 rle with old method : 0.11554121971130371 length of segment : 545 time for calcul the mask position with numpy : 0.0019674301147460938 nb_pixel_total : 31760 time to create 1 rle with old method : 0.04434943199157715 length of segment : 321 time for calcul the mask position with numpy : 0.0014851093292236328 nb_pixel_total : 45412 time to create 1 rle with old method : 0.054386138916015625 length of segment : 282 time for calcul the mask position with numpy : 0.00011301040649414062 nb_pixel_total : 1379 time to create 1 rle with old method : 0.0018248558044433594 length of segment : 37 time for calcul the mask position with numpy : 0.0011415481567382812 nb_pixel_total : 22583 time to create 1 rle with old method : 0.026233196258544922 length of segment : 229 time for calcul the mask position with numpy : 0.002024412155151367 nb_pixel_total : 70078 time to create 1 rle with old method : 0.08199787139892578 length of segment : 332 time for calcul the mask position with numpy : 0.0018775463104248047 nb_pixel_total : 43078 time to create 1 rle with old method : 0.052211761474609375 length of segment : 574 time for calcul the mask position with numpy : 0.0001354217529296875 nb_pixel_total : 2073 time to create 1 rle with old method : 0.0027556419372558594 length of segment : 47 time for calcul the mask position with numpy : 9.012222290039062e-05 nb_pixel_total : 2409 time to create 1 rle with old method : 0.002967357635498047 length of segment : 67 time for calcul the mask position with numpy : 0.003838062286376953 nb_pixel_total : 128174 time to create 1 rle with old method : 0.14148926734924316 length of segment : 402 time for calcul the mask position with numpy : 0.00033211708068847656 nb_pixel_total : 13038 time to create 1 rle with old method : 0.01523733139038086 length of segment : 159 time for calcul the mask position with numpy : 0.0037069320678710938 nb_pixel_total : 215318 time to create 1 rle with new method : 0.0057201385498046875 length of segment : 636 time for calcul the mask position with numpy : 0.0004475116729736328 nb_pixel_total : 16600 time to create 1 rle with old method : 0.020114421844482422 length of segment : 171 time for calcul the mask position with numpy : 0.9362232685089111 nb_pixel_total : 4401414 time to create 1 rle with new method : 1.1116251945495605 length of segment : 3629 time for calcul the mask position with numpy : 0.001079559326171875 nb_pixel_total : 56920 time to create 1 rle with old method : 0.07499814033508301 length of segment : 509 time for calcul the mask position with numpy : 0.0018219947814941406 nb_pixel_total : 131740 time to create 1 rle with old method : 0.14322137832641602 length of segment : 657 time for calcul the mask position with numpy : 0.0010068416595458984 nb_pixel_total : 24771 time to create 1 rle with old method : 0.028409481048583984 length of segment : 340 time for calcul the mask position with numpy : 0.0007650852203369141 nb_pixel_total : 28586 time to create 1 rle with old method : 0.03394508361816406 length of segment : 205 time for calcul the mask position with numpy : 0.0016965866088867188 nb_pixel_total : 65945 time to create 1 rle with old method : 0.07872867584228516 length of segment : 313 time for calcul the mask position with numpy : 0.0027849674224853516 nb_pixel_total : 120809 time to create 1 rle with old method : 0.13969898223876953 length of segment : 600 time for calcul the mask position with numpy : 0.00023555755615234375 nb_pixel_total : 5041 time to create 1 rle with old method : 0.005841732025146484 length of segment : 90 time for calcul the mask position with numpy : 0.003533601760864258 nb_pixel_total : 53291 time to create 1 rle with old method : 0.06343984603881836 length of segment : 395 time for calcul the mask position with numpy : 0.0026395320892333984 nb_pixel_total : 125988 time to create 1 rle with old method : 0.14019560813903809 length of segment : 566 time for calcul the mask position with numpy : 0.0003764629364013672 nb_pixel_total : 13358 time to create 1 rle with old method : 0.01933121681213379 length of segment : 152 time for calcul the mask position with numpy : 0.0006003379821777344 nb_pixel_total : 21931 time to create 1 rle with old method : 0.024779796600341797 length of segment : 156 time for calcul the mask position with numpy : 0.00030303001403808594 nb_pixel_total : 15670 time to create 1 rle with old method : 0.019031047821044922 length of segment : 123 time for calcul the mask position with numpy : 0.0019807815551757812 nb_pixel_total : 53181 time to create 1 rle with old method : 0.06257510185241699 length of segment : 267 time for calcul the mask position with numpy : 0.0034804344177246094 nb_pixel_total : 109148 time to create 1 rle with old method : 0.12874674797058105 length of segment : 391 time for calcul the mask position with numpy : 0.00017023086547851562 nb_pixel_total : 1324 time to create 1 rle with old method : 0.0017924308776855469 length of segment : 36 time for calcul the mask position with numpy : 0.002730131149291992 nb_pixel_total : 54452 time to create 1 rle with old method : 0.06676244735717773 length of segment : 400 time for calcul the mask position with numpy : 0.0020303726196289062 nb_pixel_total : 29872 time to create 1 rle with old method : 0.03416252136230469 length of segment : 310 time for calcul the mask position with numpy : 0.001081705093383789 nb_pixel_total : 13385 time to create 1 rle with old method : 0.015430927276611328 length of segment : 325 time for calcul the mask position with numpy : 0.00017547607421875 nb_pixel_total : 2671 time to create 1 rle with old method : 0.003411531448364258 length of segment : 92 time for calcul the mask position with numpy : 0.003568410873413086 nb_pixel_total : 88559 time to create 1 rle with old method : 0.10726308822631836 length of segment : 400 time for calcul the mask position with numpy : 0.0002932548522949219 nb_pixel_total : 5977 time to create 1 rle with old method : 0.007628202438354492 length of segment : 108 time for calcul the mask position with numpy : 0.004787445068359375 nb_pixel_total : 188830 time to create 1 rle with new method : 0.006397247314453125 length of segment : 499 time for calcul the mask position with numpy : 0.0007724761962890625 nb_pixel_total : 16125 time to create 1 rle with old method : 0.01986217498779297 length of segment : 189 time for calcul the mask position with numpy : 0.000453948974609375 nb_pixel_total : 8926 time to create 1 rle with old method : 0.012242794036865234 length of segment : 167 time for calcul the mask position with numpy : 0.0016469955444335938 nb_pixel_total : 61007 time to create 1 rle with old method : 0.06966066360473633 length of segment : 426 time for calcul the mask position with numpy : 0.00738525390625 nb_pixel_total : 132334 time to create 1 rle with old method : 0.14571166038513184 length of segment : 724 time for calcul the mask position with numpy : 0.0011742115020751953 nb_pixel_total : 70219 time to create 1 rle with old method : 0.07875728607177734 length of segment : 431 time for calcul the mask position with numpy : 0.0017626285552978516 nb_pixel_total : 95410 time to create 1 rle with old method : 0.11212611198425293 length of segment : 405 time for calcul the mask position with numpy : 0.014495372772216797 nb_pixel_total : 328813 time to create 1 rle with new method : 0.02782607078552246 length of segment : 1213 time for calcul the mask position with numpy : 9.560585021972656e-05 nb_pixel_total : 2658 time to create 1 rle with old method : 0.0033719539642333984 length of segment : 53 time for calcul the mask position with numpy : 0.0002276897430419922 nb_pixel_total : 10737 time to create 1 rle with old method : 0.012563943862915039 length of segment : 107 time for calcul the mask position with numpy : 0.0004718303680419922 nb_pixel_total : 13074 time to create 1 rle with old method : 0.015264749526977539 length of segment : 295 time for calcul the mask position with numpy : 0.002137422561645508 nb_pixel_total : 70589 time to create 1 rle with old method : 0.08347535133361816 length of segment : 403 time for calcul the mask position with numpy : 0.00022077560424804688 nb_pixel_total : 2075 time to create 1 rle with old method : 0.00270843505859375 length of segment : 47 time for calcul the mask position with numpy : 0.0019145011901855469 nb_pixel_total : 40970 time to create 1 rle with old method : 0.04614853858947754 length of segment : 227 time for calcul the mask position with numpy : 0.00014853477478027344 nb_pixel_total : 1467 time to create 1 rle with old method : 0.001988649368286133 length of segment : 44 time for calcul the mask position with numpy : 0.0011088848114013672 nb_pixel_total : 40680 time to create 1 rle with old method : 0.04874563217163086 length of segment : 339 time for calcul the mask position with numpy : 0.000164031982421875 nb_pixel_total : 1313 time to create 1 rle with old method : 0.0018010139465332031 length of segment : 31 time for calcul the mask position with numpy : 0.0015244483947753906 nb_pixel_total : 25795 time to create 1 rle with old method : 0.033086299896240234 length of segment : 285 time for calcul the mask position with numpy : 0.00027680397033691406 nb_pixel_total : 4528 time to create 1 rle with old method : 0.005768537521362305 length of segment : 59 time for calcul the mask position with numpy : 0.0018842220306396484 nb_pixel_total : 37372 time to create 1 rle with old method : 0.04590463638305664 length of segment : 363 time for calcul the mask position with numpy : 0.003572225570678711 nb_pixel_total : 100208 time to create 1 rle with old method : 0.13879990577697754 length of segment : 497 time for calcul the mask position with numpy : 0.0017194747924804688 nb_pixel_total : 69848 time to create 1 rle with old method : 0.08071756362915039 length of segment : 193 time for calcul the mask position with numpy : 0.0020308494567871094 nb_pixel_total : 55107 time to create 1 rle with old method : 0.06471657752990723 length of segment : 321 time for calcul the mask position with numpy : 0.0014989376068115234 nb_pixel_total : 38671 time to create 1 rle with old method : 0.04634571075439453 length of segment : 134 time for calcul the mask position with numpy : 0.0008914470672607422 nb_pixel_total : 15286 time to create 1 rle with old method : 0.02351069450378418 length of segment : 146 time for calcul the mask position with numpy : 0.004134416580200195 nb_pixel_total : 139951 time to create 1 rle with old method : 0.22918105125427246 length of segment : 299 time for calcul the mask position with numpy : 0.0009844303131103516 nb_pixel_total : 25886 time to create 1 rle with old method : 0.030681133270263672 length of segment : 215 time for calcul the mask position with numpy : 0.00026988983154296875 nb_pixel_total : 2272 time to create 1 rle with old method : 0.0029494762420654297 length of segment : 90 time for calcul the mask position with numpy : 0.0010685920715332031 nb_pixel_total : 39535 time to create 1 rle with old method : 0.04403257369995117 length of segment : 272 time for calcul the mask position with numpy : 0.0006151199340820312 nb_pixel_total : 30245 time to create 1 rle with old method : 0.036183834075927734 length of segment : 239 time for calcul the mask position with numpy : 0.0007562637329101562 nb_pixel_total : 43945 time to create 1 rle with old method : 0.057930946350097656 length of segment : 273 time for calcul the mask position with numpy : 0.0003294944763183594 nb_pixel_total : 15054 time to create 1 rle with old method : 0.024411916732788086 length of segment : 150 time for calcul the mask position with numpy : 0.0010192394256591797 nb_pixel_total : 30048 time to create 1 rle with old method : 0.0352630615234375 length of segment : 321 time for calcul the mask position with numpy : 0.007506370544433594 nb_pixel_total : 284283 time to create 1 rle with new method : 0.01021885871887207 length of segment : 633 time for calcul the mask position with numpy : 0.0010273456573486328 nb_pixel_total : 43834 time to create 1 rle with old method : 0.05002546310424805 length of segment : 274 time for calcul the mask position with numpy : 0.00024318695068359375 nb_pixel_total : 5788 time to create 1 rle with old method : 0.007786750793457031 length of segment : 100 time for calcul the mask position with numpy : 0.0004076957702636719 nb_pixel_total : 8850 time to create 1 rle with old method : 0.010326385498046875 length of segment : 163 time for calcul the mask position with numpy : 0.0014069080352783203 nb_pixel_total : 50520 time to create 1 rle with old method : 0.05618739128112793 length of segment : 308 time for calcul the mask position with numpy : 0.0006024837493896484 nb_pixel_total : 12118 time to create 1 rle with old method : 0.016460895538330078 length of segment : 115 time for calcul the mask position with numpy : 0.0012047290802001953 nb_pixel_total : 25145 time to create 1 rle with old method : 0.029033184051513672 length of segment : 191 time for calcul the mask position with numpy : 0.00016021728515625 nb_pixel_total : 2243 time to create 1 rle with old method : 0.0026674270629882812 length of segment : 59 time for calcul the mask position with numpy : 0.0010025501251220703 nb_pixel_total : 17109 time to create 1 rle with old method : 0.019474029541015625 length of segment : 260 time for calcul the mask position with numpy : 0.001100778579711914 nb_pixel_total : 39040 time to create 1 rle with old method : 0.042613983154296875 length of segment : 286 time for calcul the mask position with numpy : 0.004469633102416992 nb_pixel_total : 166511 time to create 1 rle with new method : 0.007813453674316406 length of segment : 538 time for calcul the mask position with numpy : 0.0004401206970214844 nb_pixel_total : 10869 time to create 1 rle with old method : 0.014754056930541992 length of segment : 163 time for calcul the mask position with numpy : 0.001337289810180664 nb_pixel_total : 22081 time to create 1 rle with old method : 0.025990009307861328 length of segment : 264 time for calcul the mask position with numpy : 0.0007686614990234375 nb_pixel_total : 24123 time to create 1 rle with old method : 0.02812361717224121 length of segment : 201 time for calcul the mask position with numpy : 0.0001628398895263672 nb_pixel_total : 8386 time to create 1 rle with old method : 0.009939193725585938 length of segment : 81 time for calcul the mask position with numpy : 0.00018024444580078125 nb_pixel_total : 4518 time to create 1 rle with old method : 0.005839824676513672 length of segment : 74 time for calcul the mask position with numpy : 0.0006539821624755859 nb_pixel_total : 14842 time to create 1 rle with old method : 0.016997575759887695 length of segment : 223 time for calcul the mask position with numpy : 0.0030210018157958984 nb_pixel_total : 178325 time to create 1 rle with new method : 0.007729768753051758 length of segment : 538 time spent for convertir_results : 28.54284119606018 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 146 chid ids of type : 3663 Number RLEs to save : 60391 save missing photos in datou_result : time spend for datou_step_exec : 91.63515663146973 time spend to save output : 23.16913604736328 total time spend for step 1 : 114.80429267883301 step2:crop_condition Tue Mar 11 19:26:25 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3663 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 146 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 22 About to insert : list_path_to_insert length 22 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! we have finished the crop for the class : carton_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 ! map_result returned by crop_photo_return_map_crop : length : 42 About to insert : list_path_to_insert length 42 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1343140519, 1343140512, 1343140503, 1343140469, 1343140456, 1343140454, 1343140413, 1343140365, 1343140214, 1343140197] Looping around the photos to save general results len do output : 89 /-3706161742Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161751Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161772Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161780Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161771Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161766Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161776Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161777Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161802Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161790Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161798Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161787Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161786Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161813Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161816Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161840Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161844Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161828Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161835Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161829Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161847Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161856Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161827Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161842Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161863Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161858Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161874Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161757Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161791Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161871Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161861Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161887Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161882Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161756Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161759Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161750Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161748Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161749Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161747Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161764Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161783Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161784Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161781Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161775Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161774Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161793Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161789Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161811Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161808Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161806Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161792Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161794Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161799Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161807Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161804Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161800Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161826Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161823Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161819Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161820Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161821Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161850Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161848Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161837Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161841Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161843Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161831Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161865Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161854Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161857Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161860Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161886Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161880Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161883Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161876Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161761Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161797Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161814Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161818Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161846Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161873Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161881Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161878Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161763Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161824Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161862Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161859Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161879Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3706161867Didn'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, '2659311') ('3459', '21304707', '1343140519', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140512', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140503', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140469', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140456', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140454', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140413', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140365', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140214', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140197', None, None, None, None, None, '2659311') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 277 time used for this insertion : 0.03768157958984375 save_final save missing photos in datou_result : time spend for datou_step_exec : 44.766435623168945 time spend to save output : 0.2743816375732422 total time spend for step 2 : 45.04081726074219 step3:thcl Tue Mar 11 19:27:10 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.012641429901123047 time to convert the images to numpy array : 0.561293363571167 time to import caffe and check if the image exist : 0.01116633415222168 time to convert the images to numpy array : 1.1086304187774658 time to import caffe and check if the image exist : 0.014835357666015625 time to convert the images to numpy array : 1.1122286319732666 time to import caffe and check if the image exist : 0.013974189758300781 time to convert the images to numpy array : 1.1377928256988525 time to import caffe and check if the image exist : 0.01172780990600586 time to convert the images to numpy array : 1.6858115196228027 time to import caffe and check if the image exist : 0.006237506866455078 time to convert the images to numpy array : 2.050100326538086 time to import caffe and check if the image exist : 0.01343393325805664 time to convert the images to numpy array : 2.053211212158203 time to import caffe and check if the image exist : 0.009867191314697266 time to convert the images to numpy array : 2.0838682651519775 time to import caffe and check if the image exist : 0.010026693344116211 time to convert the images to numpy array : 2.4547696113586426 time to import caffe and check if the image exist : 0.015337705612182617 time to convert the images to numpy array : 2.4587504863739014 total time to convert the images to numpy array : 2.8242781162261963 list photo_ids error: [] list photo_ids correct : [-3706161880, -3706161883, -3706161876, -3706161761, -3706161797, -3706161814, -3706161818, -3706161846, -3706161873, -3706161881, -3706161878, -3706161763, -3706161824, -3706161862, -3706161859, -3706161879, -3706161867, -3706161835, -3706161829, -3706161847, -3706161856, -3706161827, -3706161842, -3706161863, -3706161858, -3706161874, -3706161804, -3706161800, -3706161826, -3706161823, -3706161819, -3706161820, -3706161821, -3706161850, -3706161848, -3706161837, -3706161841, -3706161843, -3706161831, -3706161865, -3706161854, -3706161857, -3706161860, -3706161886, -3706161742, -3706161751, -3706161772, -3706161780, -3706161771, -3706161766, -3706161776, -3706161777, -3706161802, -3706161793, -3706161789, -3706161811, -3706161808, -3706161806, -3706161792, -3706161794, -3706161799, -3706161807, -3706161748, -3706161749, -3706161747, -3706161764, -3706161783, -3706161784, -3706161781, -3706161775, -3706161774, -3706161790, -3706161798, -3706161787, -3706161786, -3706161813, -3706161816, -3706161840, -3706161844, -3706161828, -3706161757, -3706161791, -3706161871, -3706161861, -3706161887, -3706161882, -3706161756, -3706161759, -3706161750] number of photos to traite : 89 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 thcls : [{'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'}] thcl {'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'} Update svm_hashtag_type_desc : 4999 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) To loadFromThcl() : net_4999 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10149 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 : 9930 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.3959898948669434 time used to do the prediction : 0.23696613311767578 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 : 9928 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 : 9928 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.3976900577545166 time used to do the prediction : 0.17501330375671387 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 : 3.3855438232421875e-05 save missing photos in datou_result : time spend for datou_step_exec : 13.169983625411987 time spend to save output : 0.0011532306671142578 total time spend for step 3 : 13.171136856079102 step4:merge_mask_thcl_custom Tue Mar 11 19:27:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step merge_mask_thcl_custom batch 1 Loaded 146 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 [1343140519, 1343140512, 1343140503, 1343140469, 1343140456, 1343140454, 1343140413, 1343140365, 1343140214, 1343140197] Looping around the photos to save general results len do output : 10 /1343140519Didn't retrieve data .Didn't retrieve data . /1343140512Didn't retrieve data .Didn't retrieve data . /1343140503Didn't retrieve data .Didn't retrieve data . /1343140469Didn't retrieve data .Didn't retrieve data . /1343140456Didn't retrieve data .Didn't retrieve data . /1343140454Didn't retrieve data .Didn't retrieve data . /1343140413Didn't retrieve data .Didn't retrieve data . /1343140365Didn't retrieve data .Didn't retrieve data . /1343140214Didn't retrieve data .Didn't retrieve data . /1343140197Didn'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, '2659311') ('3459', '21304707', '1343140519', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140512', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140503', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140469', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140456', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140454', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140413', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140365', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140214', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140197', None, None, None, None, None, '2659311') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.016995668411254883 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06110668182373047 time spend to save output : 0.017597675323486328 total time spend for step 4 : 0.0787043571472168 step5:rle_unique_nms_with_priority Tue Mar 11 19:27:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 5.155599594116211 time for calcul the mask position with numpy : 0.37794947624206543 nb_pixel_total : 2007004 time to create 1 rle with new method : 1.1396396160125732 time for calcul the mask position with numpy : 0.04642319679260254 nb_pixel_total : 42512 time to create 1 rle with old method : 0.05091547966003418 time for calcul the mask position with numpy : 0.715324878692627 nb_pixel_total : 5000724 time to create 1 rle with new method : 0.42586588859558105 create new chi : 2.823625326156616 time to delete rle : 0.015697479248046875 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 9374 TO DO : save crop sub photo not yet done ! save time : 12.245023250579834 nb_obj : 16 nb_hashtags : 5 time to prepare the origin masks : 16.275387048721313 time for calcul the mask position with numpy : 0.3595411777496338 nb_pixel_total : 3815189 time to create 1 rle with new method : 0.677731990814209 time for calcul the mask position with numpy : 0.0342259407043457 nb_pixel_total : 33611 time to create 1 rle with old method : 0.039690494537353516 time for calcul the mask position with numpy : 0.045850276947021484 nb_pixel_total : 195726 time to create 1 rle with new method : 0.40563416481018066 time for calcul the mask position with numpy : 0.039852142333984375 nb_pixel_total : 12066 time to create 1 rle with old method : 0.01433253288269043 time for calcul the mask position with numpy : 0.033713340759277344 nb_pixel_total : 30112 time to create 1 rle with old method : 0.03270769119262695 time for calcul the mask position with numpy : 0.03435349464416504 nb_pixel_total : 842 time to create 1 rle with old method : 0.0010683536529541016 time for calcul the mask position with numpy : 0.022782325744628906 nb_pixel_total : 117391 time to create 1 rle with old method : 0.13471126556396484 time for calcul the mask position with numpy : 0.0303494930267334 nb_pixel_total : 554978 time to create 1 rle with new method : 0.7699201107025146 time for calcul the mask position with numpy : 0.021678686141967773 nb_pixel_total : 2722 time to create 1 rle with old method : 0.0031244754791259766 time for calcul the mask position with numpy : 0.022176265716552734 nb_pixel_total : 2291 time to create 1 rle with old method : 0.0026252269744873047 time for calcul the mask position with numpy : 0.023009777069091797 nb_pixel_total : 107936 time to create 1 rle with old method : 0.12504959106445312 time for calcul the mask position with numpy : 0.021923065185546875 nb_pixel_total : 87090 time to create 1 rle with old method : 0.09896087646484375 time for calcul the mask position with numpy : 0.04066610336303711 nb_pixel_total : 1555409 time to create 1 rle with new method : 0.5141053199768066 time for calcul the mask position with numpy : 0.033974409103393555 nb_pixel_total : 263216 time to create 1 rle with new method : 0.6758096218109131 time for calcul the mask position with numpy : 0.03708529472351074 nb_pixel_total : 15679 time to create 1 rle with old method : 0.019549846649169922 time for calcul the mask position with numpy : 0.044384002685546875 nb_pixel_total : 75718 time to create 1 rle with old method : 0.09483027458190918 time for calcul the mask position with numpy : 0.037400007247924805 nb_pixel_total : 180264 time to create 1 rle with new method : 0.524566650390625 create new chi : 5.1783177852630615 time to delete rle : 0.001949310302734375 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 18882 TO DO : save crop sub photo not yet done ! save time : 13.800274133682251 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 6.4779229164123535 time for calcul the mask position with numpy : 0.061945438385009766 nb_pixel_total : 2595678 time to create 1 rle with new method : 0.4176504611968994 time for calcul the mask position with numpy : 0.04430866241455078 nb_pixel_total : 128918 time to create 1 rle with old method : 0.1528933048248291 time for calcul the mask position with numpy : 0.038527488708496094 nb_pixel_total : 136789 time to create 1 rle with old method : 0.2247467041015625 time for calcul the mask position with numpy : 0.08607220649719238 nb_pixel_total : 118912 time to create 1 rle with old method : 0.16817188262939453 time for calcul the mask position with numpy : 0.29236268997192383 nb_pixel_total : 4069943 time to create 1 rle with new method : 1.1615664958953857 create new chi : 2.7406063079833984 time to delete rle : 0.001573324203491211 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 11242 TO DO : save crop sub photo not yet done ! save time : 6.671486139297485 nb_obj : 19 nb_hashtags : 6 time to prepare the origin masks : 13.530457973480225 time for calcul the mask position with numpy : 0.454730749130249 nb_pixel_total : 6070644 time to create 1 rle with new method : 0.4733619689941406 time for calcul the mask position with numpy : 0.03794693946838379 nb_pixel_total : 7162 time to create 1 rle with old method : 0.008029699325561523 time for calcul the mask position with numpy : 0.03322148323059082 nb_pixel_total : 526 time to create 1 rle with old method : 0.0008730888366699219 time for calcul the mask position with numpy : 0.02390313148498535 nb_pixel_total : 55892 time to create 1 rle with old method : 0.06602692604064941 time for calcul the mask position with numpy : 0.024024486541748047 nb_pixel_total : 2460 time to create 1 rle with old method : 0.0029206275939941406 time for calcul the mask position with numpy : 0.0272371768951416 nb_pixel_total : 222419 time to create 1 rle with new method : 0.6188969612121582 time for calcul the mask position with numpy : 0.027258634567260742 nb_pixel_total : 44636 time to create 1 rle with old method : 0.049292802810668945 time for calcul the mask position with numpy : 0.02980208396911621 nb_pixel_total : 17209 time to create 1 rle with old method : 0.01897287368774414 time for calcul the mask position with numpy : 0.028089523315429688 nb_pixel_total : 113313 time to create 1 rle with old method : 0.13074541091918945 time for calcul the mask position with numpy : 0.029392242431640625 nb_pixel_total : 2042 time to create 1 rle with old method : 0.0024580955505371094 time for calcul the mask position with numpy : 0.028768301010131836 nb_pixel_total : 53011 time to create 1 rle with old method : 0.06642508506774902 time for calcul the mask position with numpy : 0.025304079055786133 nb_pixel_total : 7475 time to create 1 rle with old method : 0.008370399475097656 time for calcul the mask position with numpy : 0.027440547943115234 nb_pixel_total : 5183 time to create 1 rle with old method : 0.0059719085693359375 time for calcul the mask position with numpy : 0.026926040649414062 nb_pixel_total : 63274 time to create 1 rle with old method : 0.08014965057373047 time for calcul the mask position with numpy : 0.03942370414733887 nb_pixel_total : 9623 time to create 1 rle with old method : 0.011430978775024414 time for calcul the mask position with numpy : 0.038974761962890625 nb_pixel_total : 2917 time to create 1 rle with old method : 0.86788010597229 time for calcul the mask position with numpy : 0.03911900520324707 nb_pixel_total : 69373 time to create 1 rle with old method : 0.07461714744567871 time for calcul the mask position with numpy : 0.042276620864868164 nb_pixel_total : 1340 time to create 1 rle with old method : 0.002236604690551758 time for calcul the mask position with numpy : 0.04497122764587402 nb_pixel_total : 6142 time to create 1 rle with old method : 0.010956764221191406 time for calcul the mask position with numpy : 0.04931998252868652 nb_pixel_total : 295599 time to create 1 rle with new method : 0.8983492851257324 create new chi : 4.570788145065308 time to delete rle : 0.0016100406646728516 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 11935 TO DO : save crop sub photo not yet done ! save time : 5.46002984046936 nb_obj : 27 nb_hashtags : 7 time to prepare the origin masks : 11.491077661514282 time for calcul the mask position with numpy : 0.6389601230621338 nb_pixel_total : 5426235 time to create 1 rle with new method : 0.7087795734405518 time for calcul the mask position with numpy : 0.030521631240844727 nb_pixel_total : 22820 time to create 1 rle with old method : 0.025890588760375977 time for calcul the mask position with numpy : 0.035895347595214844 nb_pixel_total : 253760 time to create 1 rle with new method : 1.600386619567871 time for calcul the mask position with numpy : 0.02961564064025879 nb_pixel_total : 4999 time to create 1 rle with old method : 0.005684614181518555 time for calcul the mask position with numpy : 0.029521942138671875 nb_pixel_total : 2549 time to create 1 rle with old method : 0.0030226707458496094 time for calcul the mask position with numpy : 0.030277013778686523 nb_pixel_total : 45794 time to create 1 rle with old method : 0.0596013069152832 time for calcul the mask position with numpy : 0.039472103118896484 nb_pixel_total : 190157 time to create 1 rle with new method : 1.742903232574463 time for calcul the mask position with numpy : 0.030018329620361328 nb_pixel_total : 63350 time to create 1 rle with old method : 0.0735008716583252 time for calcul the mask position with numpy : 0.02915048599243164 nb_pixel_total : 2313 time to create 1 rle with old method : 0.0026702880859375 time for calcul the mask position with numpy : 0.034357309341430664 nb_pixel_total : 69875 time to create 1 rle with old method : 0.07999062538146973 time for calcul the mask position with numpy : 0.030880451202392578 nb_pixel_total : 102236 time to create 1 rle with old method : 0.12187528610229492 time for calcul the mask position with numpy : 0.02969193458557129 nb_pixel_total : 3246 time to create 1 rle with old method : 0.003693103790283203 time for calcul the mask position with numpy : 0.030271530151367188 nb_pixel_total : 127960 time to create 1 rle with old method : 0.14983797073364258 time for calcul the mask position with numpy : 0.037286996841430664 nb_pixel_total : 69349 time to create 1 rle with old method : 0.08405494689941406 time for calcul the mask position with numpy : 0.030551910400390625 nb_pixel_total : 79206 time to create 1 rle with old method : 0.09093284606933594 time for calcul the mask position with numpy : 0.029434919357299805 nb_pixel_total : 17493 time to create 1 rle with old method : 0.021068096160888672 time for calcul the mask position with numpy : 0.029568195343017578 nb_pixel_total : 46401 time to create 1 rle with old method : 0.0512237548828125 time for calcul the mask position with numpy : 0.03353548049926758 nb_pixel_total : 70133 time to create 1 rle with old method : 0.07908201217651367 time for calcul the mask position with numpy : 0.03169703483581543 nb_pixel_total : 2056 time to create 1 rle with old method : 0.004909992218017578 time for calcul the mask position with numpy : 0.03714871406555176 nb_pixel_total : 219263 time to create 1 rle with new method : 0.7499072551727295 time for calcul the mask position with numpy : 0.028472423553466797 nb_pixel_total : 2902 time to create 1 rle with old method : 0.0032720565795898438 time for calcul the mask position with numpy : 0.029315710067749023 nb_pixel_total : 43649 time to create 1 rle with old method : 0.05639076232910156 time for calcul the mask position with numpy : 0.03431987762451172 nb_pixel_total : 7257 time to create 1 rle with old method : 0.011595487594604492 time for calcul the mask position with numpy : 0.03153872489929199 nb_pixel_total : 31598 time to create 1 rle with old method : 0.03850603103637695 time for calcul the mask position with numpy : 0.030162334442138672 nb_pixel_total : 1376 time to create 1 rle with old method : 0.0017769336700439453 time for calcul the mask position with numpy : 0.03337430953979492 nb_pixel_total : 89982 time to create 1 rle with old method : 0.10518717765808105 time for calcul the mask position with numpy : 0.030352354049682617 nb_pixel_total : 12471 time to create 1 rle with old method : 0.014222145080566406 time for calcul the mask position with numpy : 0.029494285583496094 nb_pixel_total : 41810 time to create 1 rle with old method : 0.046465158462524414 create new chi : 7.542935609817505 time to delete rle : 0.002393484115600586 batch 1 Loaded 28 chid ids of type : 3726 Number RLEs to save : 19225 TO DO : save crop sub photo not yet done ! save time : 12.620326042175293 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 5.712357759475708 time for calcul the mask position with numpy : 0.06888771057128906 nb_pixel_total : 2372254 time to create 1 rle with new method : 0.8023757934570312 time for calcul the mask position with numpy : 0.03659677505493164 nb_pixel_total : 16570 time to create 1 rle with old method : 0.018955707550048828 time for calcul the mask position with numpy : 0.0337224006652832 nb_pixel_total : 56774 time to create 1 rle with old method : 0.09764456748962402 time for calcul the mask position with numpy : 0.03420233726501465 nb_pixel_total : 215245 time to create 1 rle with new method : 0.7664332389831543 time for calcul the mask position with numpy : 0.3944666385650635 nb_pixel_total : 4389397 time to create 1 rle with new method : 0.9579639434814453 create new chi : 3.307138681411743 time to delete rle : 0.0025086402893066406 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 12062 TO DO : save crop sub photo not yet done ! save time : 8.739839315414429 nb_obj : 10 nb_hashtags : 6 time to prepare the origin masks : 9.817703247070312 time for calcul the mask position with numpy : 0.4524221420288086 nb_pixel_total : 6589655 time to create 1 rle with new method : 0.995436429977417 time for calcul the mask position with numpy : 0.06291604042053223 nb_pixel_total : 5986 time to create 1 rle with old method : 0.011311054229736328 time for calcul the mask position with numpy : 0.0589902400970459 nb_pixel_total : 65712 time to create 1 rle with old method : 0.07565140724182129 time for calcul the mask position with numpy : 0.03648829460144043 nb_pixel_total : 120678 time to create 1 rle with old method : 0.1361401081085205 time for calcul the mask position with numpy : 0.03436422348022461 nb_pixel_total : 28565 time to create 1 rle with old method : 0.034598350524902344 time for calcul the mask position with numpy : 0.022922277450561523 nb_pixel_total : 9501 time to create 1 rle with old method : 0.012659311294555664 time for calcul the mask position with numpy : 0.022756576538085938 nb_pixel_total : 53094 time to create 1 rle with old method : 0.058637380599975586 time for calcul the mask position with numpy : 0.022136688232421875 nb_pixel_total : 5015 time to create 1 rle with old method : 0.0055561065673828125 time for calcul the mask position with numpy : 0.02115035057067871 nb_pixel_total : 21876 time to create 1 rle with old method : 0.02405571937561035 time for calcul the mask position with numpy : 0.02228689193725586 nb_pixel_total : 24714 time to create 1 rle with old method : 0.02671051025390625 time for calcul the mask position with numpy : 0.02308964729309082 nb_pixel_total : 125444 time to create 1 rle with old method : 0.15351152420043945 create new chi : 2.40480375289917 time to delete rle : 0.0019288063049316406 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 7858 TO DO : save crop sub photo not yet done ! save time : 8.860295057296753 nb_obj : 25 nb_hashtags : 7 time to prepare the origin masks : 21.20721936225891 time for calcul the mask position with numpy : 0.6240127086639404 nb_pixel_total : 5816552 time to create 1 rle with new method : 0.3837440013885498 time for calcul the mask position with numpy : 0.052023887634277344 nb_pixel_total : 53176 time to create 1 rle with old method : 0.06769418716430664 time for calcul the mask position with numpy : 0.048150062561035156 nb_pixel_total : 2369 time to create 1 rle with old method : 0.003013134002685547 time for calcul the mask position with numpy : 0.047043800354003906 nb_pixel_total : 187437 time to create 1 rle with new method : 0.8141522407531738 time for calcul the mask position with numpy : 0.04718899726867676 nb_pixel_total : 198 time to create 1 rle with old method : 0.0005307197570800781 time for calcul the mask position with numpy : 0.03901553153991699 nb_pixel_total : 1307 time to create 1 rle with old method : 0.0015156269073486328 time for calcul the mask position with numpy : 0.05133533477783203 nb_pixel_total : 1459 time to create 1 rle with old method : 0.001837015151977539 time for calcul the mask position with numpy : 0.04698777198791504 nb_pixel_total : 2063 time to create 1 rle with old method : 0.0024709701538085938 time for calcul the mask position with numpy : 0.057782888412475586 nb_pixel_total : 70474 time to create 1 rle with old method : 0.07687592506408691 time for calcul the mask position with numpy : 0.04247760772705078 nb_pixel_total : 2428 time to create 1 rle with old method : 0.0027360916137695312 time for calcul the mask position with numpy : 0.04040646553039551 nb_pixel_total : 93988 time to create 1 rle with old method : 0.10171818733215332 time for calcul the mask position with numpy : 0.047910451889038086 nb_pixel_total : 7202 time to create 1 rle with old method : 0.01167607307434082 time for calcul the mask position with numpy : 0.06167244911193848 nb_pixel_total : 8881 time to create 1 rle with old method : 0.009768962860107422 time for calcul the mask position with numpy : 0.04081535339355469 nb_pixel_total : 60959 time to create 1 rle with old method : 0.06615805625915527 time for calcul the mask position with numpy : 0.04232072830200195 nb_pixel_total : 16050 time to create 1 rle with old method : 0.01752448081970215 time for calcul the mask position with numpy : 0.044049739837646484 nb_pixel_total : 108788 time to create 1 rle with old method : 0.14724326133728027 time for calcul the mask position with numpy : 0.07921743392944336 nb_pixel_total : 5958 time to create 1 rle with old method : 0.013398170471191406 time for calcul the mask position with numpy : 0.044300079345703125 nb_pixel_total : 10701 time to create 1 rle with old method : 0.011907339096069336 time for calcul the mask position with numpy : 0.04526638984680176 nb_pixel_total : 2666 time to create 1 rle with old method : 0.0030639171600341797 time for calcul the mask position with numpy : 0.04839205741882324 nb_pixel_total : 13303 time to create 1 rle with old method : 0.014817953109741211 time for calcul the mask position with numpy : 0.043473243713378906 nb_pixel_total : 40484 time to create 1 rle with old method : 0.04445910453796387 time for calcul the mask position with numpy : 0.04250955581665039 nb_pixel_total : 29717 time to create 1 rle with old method : 0.036224365234375 time for calcul the mask position with numpy : 0.04072976112365723 nb_pixel_total : 1311 time to create 1 rle with old method : 0.001544952392578125 time for calcul the mask position with numpy : 0.04643845558166504 nb_pixel_total : 52878 time to create 1 rle with old method : 0.06046485900878906 time for calcul the mask position with numpy : 0.04614543914794922 nb_pixel_total : 131854 time to create 1 rle with old method : 0.15146780014038086 time for calcul the mask position with numpy : 0.043378591537475586 nb_pixel_total : 328037 time to create 1 rle with new method : 0.692946195602417 create new chi : 4.65921425819397 time to delete rle : 0.002490997314453125 batch 1 Loaded 26 chid ids of type : 3726 Number RLEs to save : 15550 TO DO : save crop sub photo not yet done ! save time : 14.858547687530518 nb_obj : 16 nb_hashtags : 8 time to prepare the origin masks : 14.643067121505737 time for calcul the mask position with numpy : 0.5899527072906494 nb_pixel_total : 6269959 time to create 1 rle with new method : 0.776691198348999 time for calcul the mask position with numpy : 0.040348052978515625 nb_pixel_total : 55026 time to create 1 rle with old method : 0.06734704971313477 time for calcul the mask position with numpy : 0.038880109786987305 nb_pixel_total : 576 time to create 1 rle with old method : 0.0008056163787841797 time for calcul the mask position with numpy : 0.03435564041137695 nb_pixel_total : 687 time to create 1 rle with old method : 0.0010519027709960938 time for calcul the mask position with numpy : 0.04142165184020996 nb_pixel_total : 283715 time to create 1 rle with new method : 1.8210828304290771 time for calcul the mask position with numpy : 0.042389631271362305 nb_pixel_total : 30092 time to create 1 rle with old method : 0.03325486183166504 time for calcul the mask position with numpy : 0.04415392875671387 nb_pixel_total : 37294 time to create 1 rle with old method : 0.04236149787902832 time for calcul the mask position with numpy : 0.04185223579406738 nb_pixel_total : 15240 time to create 1 rle with old method : 0.017785072326660156 time for calcul the mask position with numpy : 0.03986644744873047 nb_pixel_total : 4576 time to create 1 rle with old method : 0.005864143371582031 time for calcul the mask position with numpy : 0.05061459541320801 nb_pixel_total : 2267 time to create 1 rle with old method : 0.0028090476989746094 time for calcul the mask position with numpy : 0.061742305755615234 nb_pixel_total : 38484 time to create 1 rle with old method : 0.04342317581176758 time for calcul the mask position with numpy : 0.06362080574035645 nb_pixel_total : 39456 time to create 1 rle with old method : 0.04393148422241211 time for calcul the mask position with numpy : 0.06386184692382812 nb_pixel_total : 25731 time to create 1 rle with old method : 0.02854323387145996 time for calcul the mask position with numpy : 0.07880783081054688 nb_pixel_total : 73038 time to create 1 rle with old method : 0.10268974304199219 time for calcul the mask position with numpy : 0.06433677673339844 nb_pixel_total : 4496 time to create 1 rle with old method : 0.005243539810180664 time for calcul the mask position with numpy : 0.06554579734802246 nb_pixel_total : 69653 time to create 1 rle with old method : 0.08089923858642578 time for calcul the mask position with numpy : 0.08480668067932129 nb_pixel_total : 99950 time to create 1 rle with old method : 0.11345100402832031 create new chi : 4.755979061126709 time to delete rle : 0.002268552780151367 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 9811 TO DO : save crop sub photo not yet done ! save time : 2.0769660472869873 nb_obj : 15 nb_hashtags : 8 time to prepare the origin masks : 12.122854709625244 time for calcul the mask position with numpy : 0.5438799858093262 nb_pixel_total : 6649049 time to create 1 rle with new method : 1.679579496383667 time for calcul the mask position with numpy : 0.04123377799987793 nb_pixel_total : 270 time to create 1 rle with old method : 0.0005548000335693359 time for calcul the mask position with numpy : 0.047921180725097656 nb_pixel_total : 8777 time to create 1 rle with old method : 0.012549161911010742 time for calcul the mask position with numpy : 0.0448150634765625 nb_pixel_total : 24036 time to create 1 rle with old method : 0.028504133224487305 time for calcul the mask position with numpy : 0.04092097282409668 nb_pixel_total : 38941 time to create 1 rle with old method : 0.045625925064086914 time for calcul the mask position with numpy : 0.03841233253479004 nb_pixel_total : 4496 time to create 1 rle with old method : 0.10924243927001953 time for calcul the mask position with numpy : 0.041112661361694336 nb_pixel_total : 7841 time to create 1 rle with old method : 0.00982809066772461 time for calcul the mask position with numpy : 0.03889727592468262 nb_pixel_total : 14807 time to create 1 rle with old method : 0.01715564727783203 time for calcul the mask position with numpy : 0.038910865783691406 nb_pixel_total : 10850 time to create 1 rle with old method : 0.01216888427734375 time for calcul the mask position with numpy : 0.03404355049133301 nb_pixel_total : 22013 time to create 1 rle with old method : 0.03206133842468262 time for calcul the mask position with numpy : 0.04278254508972168 nb_pixel_total : 25078 time to create 1 rle with old method : 0.028479814529418945 time for calcul the mask position with numpy : 0.03770589828491211 nb_pixel_total : 2235 time to create 1 rle with old method : 0.002580404281616211 time for calcul the mask position with numpy : 0.034459590911865234 nb_pixel_total : 50509 time to create 1 rle with old method : 0.058658599853515625 time for calcul the mask position with numpy : 0.03548717498779297 nb_pixel_total : 12070 time to create 1 rle with old method : 0.01366114616394043 time for calcul the mask position with numpy : 0.04815483093261719 nb_pixel_total : 1181 time to create 1 rle with old method : 0.00193023681640625 time for calcul the mask position with numpy : 0.07338452339172363 nb_pixel_total : 178087 time to create 1 rle with new method : 1.3392610549926758 create new chi : 4.67689323425293 time to delete rle : 0.0013861656188964844 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 7764 TO DO : save crop sub photo not yet done ! save time : 1.8260438442230225 map_output_result : {1343140519: (0.0, 'Should be the crop_list due to order', 0), 1343140512: (0.0, 'Should be the crop_list due to order', 0), 1343140503: (0.0, 'Should be the crop_list due to order', 0), 1343140469: (0.0, 'Should be the crop_list due to order', 0), 1343140456: (0.0, 'Should be the crop_list due to order', 0), 1343140454: (0.0, 'Should be the crop_list due to order', 0), 1343140413: (0.0, 'Should be the crop_list due to order', 0), 1343140365: (0.0, 'Should be the crop_list due to order', 0), 1343140214: (0.0, 'Should be the crop_list due to order', 0), 1343140197: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1343140519, 1343140512, 1343140503, 1343140469, 1343140456, 1343140454, 1343140413, 1343140365, 1343140214, 1343140197] Looping around the photos to save general results len do output : 10 /1343140519.Didn't retrieve data . /1343140512.Didn't retrieve data . /1343140503.Didn't retrieve data . /1343140469.Didn't retrieve data . /1343140456.Didn't retrieve data . /1343140454.Didn't retrieve data . /1343140413.Didn't retrieve data . /1343140365.Didn't retrieve data . /1343140214.Didn't retrieve data . /1343140197.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, '2659311') ('3459', '21304707', '1343140519', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140512', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140503', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140469', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140456', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140454', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140413', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140365', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140214', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140197', None, None, None, None, None, '2659311') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 1.2659547328948975 save_final save missing photos in datou_result : time spend for datou_step_exec : 247.5965540409088 time spend to save output : 1.2700598239898682 total time spend for step 5 : 248.86661386489868 step6:crop_condition Tue Mar 11 19:31:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure some photos are not treated, begin crop_condition Loading chi in step crop with photo_hashtag_type : 3726 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 148 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 4869462 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741717901_2298410 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.1291611194610596 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 ! 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/1741717905_2298410 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.9648640155792236 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 4869462 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741717911_2298410 we have uploaded 7 photos in the portfolio 4869462 time of upload the photos Elapsed time : 11.236215353012085 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741717926_2298410 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.4501278400421143 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 4869462 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741717930_2298410 we have uploaded 7 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.7540972232818604 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/1741717935_2298410 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 4.509999990463257 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741717941_2298410 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5531973838806152 we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1343140519, 1343140512, 1343140503, 1343140469, 1343140456, 1343140454, 1343140413, 1343140365, 1343140214, 1343140197] Looping around the photos to save general results len do output : 32 /1343164760Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164761Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164764Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164765Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164767Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164768Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164773Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164774Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164818Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164819Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164821Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164823Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164825Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164828Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164829Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164860Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164861Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164863Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164864Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164867Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164881Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164882Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164884Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164886Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164887Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164889Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164890Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164906Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164909Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164910Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164912Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343164925Didn'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, '2659311') ('3459', '21304707', '1343140519', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140512', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140503', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140469', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140456', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140454', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140413', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140365', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140214', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140197', None, None, None, None, None, '2659311') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 106 time used for this insertion : 0.11523079872131348 save_final save missing photos in datou_result : time spend for datou_step_exec : 61.07792258262634 time spend to save output : 0.12911438941955566 total time spend for step 6 : 61.2070369720459 step7:ventilate_hashtags_in_portfolio Tue Mar 11 19:32:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 21304707 get user id for portfolio 21304707 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`=21304707 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','metal','Carton_gris','Teint_Dans_La_Masse','plastique','environnement','autre_refus','cartonnette','kraft','papier','Carton_brun','flou')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21304707 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','metal','Carton_gris','Teint_Dans_La_Masse','plastique','environnement','autre_refus','cartonnette','kraft','papier','Carton_brun','flou')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21304707 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','metal','Carton_gris','Teint_Dans_La_Masse','plastique','environnement','autre_refus','cartonnette','kraft','papier','Carton_brun','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/21304916,21304917,21304918,21304919,21304920,21304921,21304922,21304923,21304924,21304925,21304926,21304927?tags=mal_croppe,metal,Carton_gris,Teint_Dans_La_Masse,plastique,environnement,autre_refus,cartonnette,kraft,papier,Carton_brun,flou Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1343140519, 1343140512, 1343140503, 1343140469, 1343140456, 1343140454, 1343140413, 1343140365, 1343140214, 1343140197] Looping around the photos to save general results len do output : 1 /21304707. 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, '2659311') ('3459', '21304707', '1343140519', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140512', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140503', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140469', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140456', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140454', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140413', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140365', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140214', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140197', None, None, None, None, None, '2659311') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.015921354293823242 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.1038012504577637 time spend to save output : 0.016202926635742188 total time spend for step 7 : 2.120004177093506 step8:final Tue Mar 11 19:32:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1343140519: ('0.08739875846012965',), 1343140512: ('0.08739875846012965',), 1343140503: ('0.08739875846012965',), 1343140469: ('0.08739875846012965',), 1343140456: ('0.08739875846012965',), 1343140454: ('0.08739875846012965',), 1343140413: ('0.08739875846012965',), 1343140365: ('0.08739875846012965',), 1343140214: ('0.08739875846012965',), 1343140197: ('0.08739875846012965',)} new output for save of step final : {1343140519: ('0.08739875846012965',), 1343140512: ('0.08739875846012965',), 1343140503: ('0.08739875846012965',), 1343140469: ('0.08739875846012965',), 1343140456: ('0.08739875846012965',), 1343140454: ('0.08739875846012965',), 1343140413: ('0.08739875846012965',), 1343140365: ('0.08739875846012965',), 1343140214: ('0.08739875846012965',), 1343140197: ('0.08739875846012965',)} [1343140519, 1343140512, 1343140503, 1343140469, 1343140456, 1343140454, 1343140413, 1343140365, 1343140214, 1343140197] Looping around the photos to save general results len do output : 10 /1343140519.Didn't retrieve data . /1343140512.Didn't retrieve data . /1343140503.Didn't retrieve data . /1343140469.Didn't retrieve data . /1343140456.Didn't retrieve data . /1343140454.Didn't retrieve data . /1343140413.Didn't retrieve data . /1343140365.Didn't retrieve data . /1343140214.Didn't retrieve data . /1343140197.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, '2659311') ('3459', '21304707', '1343140519', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140512', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140503', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140469', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140456', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140454', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140413', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140365', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140214', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140197', None, None, None, None, None, '2659311') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01408529281616211 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10684394836425781 time spend to save output : 0.01491999626159668 total time spend for step 8 : 0.12176394462585449 step9:velours_tree Tue Mar 11 19:32:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.3127150535583496 time spend to save output : 5.9604644775390625e-05 total time spend for step 9 : 0.312774658203125 step10:send_mail_cod Tue Mar 11 19:32:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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_P21304707_11-03-2025_19_32_36.pdf 21304916 imagette213049161741717956 21304917 imagette213049171741717956 21304920 change filename to text .change filename to text .change filename to text .change filename to text .imagette213049201741717956 21304922 change filename to text .change filename to text .imagette213049221741717957 21304923 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette213049231741717957 21304924 change filename to text .imagette213049241741717957 21304927 imagette213049271741717957 21304918 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 .imagette213049181741717957 21304919 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette213049191741717958 21304926 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 .imagette213049261741717958 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21304707 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21304916,21304917,21304918,21304919,21304920,21304921,21304922,21304923,21304924,21304925,21304926,21304927?tags=mal_croppe,metal,Carton_gris,Teint_Dans_La_Masse,plastique,environnement,autre_refus,cartonnette,kraft,papier,Carton_brun,flou your option no_mail is active, we will not send the real mail to your client args[1343140519] : ('0.08739875846012965',) no score found for photo 1343140519 We are sending mail with results at report@fotonower.com args[1343140512] : ('0.08739875846012965',) no score found for photo 1343140512 We are sending mail with results at report@fotonower.com args[1343140503] : ('0.08739875846012965',) no score found for photo 1343140503 We are sending mail with results at report@fotonower.com args[1343140469] : ('0.08739875846012965',) no score found for photo 1343140469 We are sending mail with results at report@fotonower.com args[1343140456] : ('0.08739875846012965',) no score found for photo 1343140456 We are sending mail with results at report@fotonower.com args[1343140454] : ('0.08739875846012965',) no score found for photo 1343140454 We are sending mail with results at report@fotonower.com args[1343140413] : ('0.08739875846012965',) no score found for photo 1343140413 We are sending mail with results at report@fotonower.com args[1343140365] : ('0.08739875846012965',) no score found for photo 1343140365 We are sending mail with results at report@fotonower.com args[1343140214] : ('0.08739875846012965',) no score found for photo 1343140214 We are sending mail with results at report@fotonower.com args[1343140197] : ('0.08739875846012965',) no score found for photo 1343140197 We are sending mail with results at report@fotonower.com refus_total : 0.08739875846012965 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=21304707 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1343140080,1343140093,1343140121,1343140167,1343140197,1343140365,1343140413,1343140456,1343140469,1343140214,1343140454,1343140503,1343140512,1343140519) Found this number of photos: 14 begin to download photo : 1343140080 begin to download photo : 1343140167 begin to download photo : 1343140413 begin to download photo : 1343140214 begin to download photo : 1343140512 download finish for photo 1343140214 begin to download photo : 1343140454 download finish for photo 1343140512 begin to download photo : 1343140519 download finish for photo 1343140080 begin to download photo : 1343140093 download finish for photo 1343140167 begin to download photo : 1343140197 download finish for photo 1343140413 begin to download photo : 1343140456 download finish for photo 1343140454 begin to download photo : 1343140503 download finish for photo 1343140093 begin to download photo : 1343140121 download finish for photo 1343140519 download finish for photo 1343140197 begin to download photo : 1343140365 download finish for photo 1343140456 begin to download photo : 1343140469 download finish for photo 1343140503 download finish for photo 1343140365 download finish for photo 1343140469 download finish for photo 1343140121 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21304707_11-03-2025_19_32_36.pdf results_Auto_P21304707_11-03-2025_19_32_36.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21304707_11-03-2025_19_32_36.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','21304707','results_Auto_P21304707_11-03-2025_19_32_36.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21304707_11-03-2025_19_32_36.pdf','pdf','','0.64','0.08739875846012965') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1343140519, 1343140512, 1343140503, 1343140469, 1343140456, 1343140454, 1343140413, 1343140365, 1343140214, 1343140197] 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, '2659311') ('3459', '21304707', '1343140519', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140512', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140503', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140469', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140456', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140454', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140413', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140365', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140214', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140197', None, None, None, None, None, '2659311') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.021039485931396484 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.646644353866577 time spend to save output : 0.02147674560546875 total time spend for step 10 : 6.668121099472046 step11:split_time_score Tue Mar 11 19:32:43 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('18', 14),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 11032025 21304707 Nombre de photos uploadées : 14 / 23040 (0%) 11032025 21304707 Nombre de photos taguées (types de déchets): 0 / 14 (0%) 11032025 21304707 Nombre de photos taguées (volume) : 0 / 14 (0%) elapsed_time : load_data_split_time_score 5.7220458984375e-06 elapsed_time : order_list_meta_photo_and_scores 1.811981201171875e-05 ?????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0013720989227294922 elapsed_time : insert_dashboard_record_day_entry 0.023917675018310547 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.05881318002080126 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21291426_11-03-2025_16_06_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21291426 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`=21291426 AND mptpi.`type`=4207 To do Qualite : 0.07848604537653218 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21268995_11-03-2025_10_04_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21268995 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`=21268995 AND mptpi.`type`=4207 To do Qualite : 0.21508235889842053 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21268996_11-03-2025_09_21_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21268996 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`=21268996 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21268997_11-03-2025_09_36_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21268997 order by id desc limit 1 Qualite : 0.2996323014615577 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21268998_11-03-2025_09_21_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21268998 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`=21268998 AND mptpi.`type`=4200 To do Qualite : 0.059107923268759154 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21269000_11-03-2025_09_44_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21269000 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11488 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11496 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11497 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11495 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11495 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11575 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11575 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11491 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11490 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11490 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11498 send_mail_cod have less outputs used (0) than in the step definition (1) : some outputs may be not used ! Step 11499 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11491 doesn't seem to be define in the database( WARNING : type of input 3 of step 11490 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11488 doesn't seem to be define in the database( WARNING : type of input 2 of step 11492 doesn't seem to be define in the database( WARNING : output 1 of step 11488 have datatype=2 whereas input 1 of step 11495 have datatype=7 WARNING : type of output 2 of step 11495 doesn't seem to be define in the database( WARNING : type of input 1 of step 11489 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11491 have datatype=10 whereas input 3 of step 11498 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11575 doesn't seem to be define in the database( WARNING : output 1 of step 11489 have datatype=7 whereas input 2 of step 11575 have datatype=None WARNING : type of output 3 of step 11575 doesn't seem to be define in the database( WARNING : type of input 1 of step 11491 doesn't seem to be define in the database( WARNING : output 0 of step 11491 have datatype=10 whereas input 0 of step 11581 have datatype=18 WARNING : type of input 5 of step 11498 doesn't seem to be define in the database( WARNING : output 0 of step 11581 have datatype=11 whereas input 5 of step 11498 have datatype=None WARNING : type of output 1 of step 11496 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : type of output 1 of step 11497 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : output 0 of step 11495 have datatype=1 whereas input 0 of step 11489 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21269000 AND mptpi.`type`=4209 To do Qualite : 0.09529821171173529 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21269001_11-03-2025_09_17_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21269001 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`=21269001 AND mptpi.`type`=3726 To do Qualite : 0.12370809963529884 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21270945_11-03-2025_12_54_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21270945 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`=21270945 AND mptpi.`type`=3327 To do Qualite : 0.044100679011939585 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21276914_11-03-2025_11_38_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21276914 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`=21276914 AND mptpi.`type`=4207 To do Qualite : 0.04798165055335807 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21276915_11-03-2025_12_41_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21276915 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`=21276915 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21290022 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21290047 order by id desc limit 1 Qualite : 0.24539234952758107 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21282296_11-03-2025_13_26_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21282296 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`=21282296 AND mptpi.`type`=3594 To do Qualite : 0.23651912322606505 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21282297_11-03-2025_14_28_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21282297 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`=21282297 AND mptpi.`type`=3594 To do Qualite : 0.30571381203013953 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21282298_11-03-2025_13_24_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21282298 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`=21282298 AND mptpi.`type`=4200 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21282299_11-03-2025_12_43_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21282299 order by id desc limit 1 Qualite : 0.3846979317267506 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21282300_11-03-2025_13_27_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21282300 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`=21282300 AND mptpi.`type`=4200 To do Qualite : 0.3844764824714978 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21282301_11-03-2025_13_46_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21282301 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`=21282301 AND mptpi.`type`=4200 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21282303_11-03-2025_12_44_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21282303 order by id desc limit 1 Qualite : 0.21547889555127603 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21290048_11-03-2025_15_09_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21290048 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`=21290048 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21290049 order by id desc limit 1 Qualite : 0.056030119320647845 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21290050_11-03-2025_15_43_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21290050 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11488 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11496 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11497 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11495 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11495 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11575 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11575 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11491 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11490 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11490 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11498 send_mail_cod have less outputs used (0) than in the step definition (1) : some outputs may be not used ! Step 11499 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11491 doesn't seem to be define in the database( WARNING : type of input 3 of step 11490 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11488 doesn't seem to be define in the database( WARNING : type of input 2 of step 11492 doesn't seem to be define in the database( WARNING : output 1 of step 11488 have datatype=2 whereas input 1 of step 11495 have datatype=7 WARNING : type of output 2 of step 11495 doesn't seem to be define in the database( WARNING : type of input 1 of step 11489 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11491 have datatype=10 whereas input 3 of step 11498 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11575 doesn't seem to be define in the database( WARNING : output 1 of step 11489 have datatype=7 whereas input 2 of step 11575 have datatype=None WARNING : type of output 3 of step 11575 doesn't seem to be define in the database( WARNING : type of input 1 of step 11491 doesn't seem to be define in the database( WARNING : output 0 of step 11491 have datatype=10 whereas input 0 of step 11581 have datatype=18 WARNING : type of input 5 of step 11498 doesn't seem to be define in the database( WARNING : output 0 of step 11581 have datatype=11 whereas input 5 of step 11498 have datatype=None WARNING : type of output 1 of step 11496 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : type of output 1 of step 11497 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : output 0 of step 11495 have datatype=1 whereas input 0 of step 11489 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21290050 AND mptpi.`type`=4209 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21290051 order by id desc limit 1 Qualite : 0.04833780284360806 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21290052_11-03-2025_15_05_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21290052 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`=21290052 AND mptpi.`type`=4207 To do Qualite : 0.0812687785847433 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21291428_11-03-2025_15_38_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21291428 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`=21291428 AND mptpi.`type`=3726 To do Qualite : 0.07647240353513372 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21291429_11-03-2025_16_22_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21291429 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11524 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11533 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11532 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11528 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11528 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11531 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11531 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11578 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11578 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11527 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11526 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11526 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11535 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11527 doesn't seem to be define in the database( WARNING : type of input 3 of step 11526 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11524 doesn't seem to be define in the database( WARNING : type of input 2 of step 11528 doesn't seem to be define in the database( WARNING : output 1 of step 11524 have datatype=2 whereas input 1 of step 11531 have datatype=7 WARNING : type of output 2 of step 11531 doesn't seem to be define in the database( WARNING : type of input 1 of step 11525 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11527 have datatype=10 whereas input 3 of step 11534 have datatype=6 WARNING : type of input 2 of step 11578 doesn't seem to be define in the database( WARNING : output 1 of step 11525 have datatype=7 whereas input 2 of step 11578 have datatype=None WARNING : type of output 3 of step 11578 doesn't seem to be define in the database( WARNING : type of input 1 of step 11527 doesn't seem to be define in the database( WARNING : output 0 of step 11527 have datatype=10 whereas input 0 of step 11584 have datatype=18 WARNING : type of input 5 of step 11534 doesn't seem to be define in the database( WARNING : output 0 of step 11584 have datatype=11 whereas input 5 of step 11534 have datatype=None WARNING : type of output 1 of step 11533 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : type of output 1 of step 11532 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : output 0 of step 11531 have datatype=1 whereas input 0 of step 11525 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21291429 AND mptpi.`type`=4211 To do Qualite : 0.11562154222841053 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21299945_11-03-2025_18_24_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21299945 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`=21299945 AND mptpi.`type`=3327 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21297107_11-03-2025_17_13_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21297107 order by id desc limit 1 Qualite : 0.0 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21297109_11-03-2025_18_02_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21297109 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`=21297109 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21299946_11-03-2025_19_02_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21299946 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21304676 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21304677 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21304678 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21304679 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21304704 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21304705 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21304706 order by id desc limit 1 Qualite : 0.08739875846012965 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21304707_11-03-2025_19_32_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21304707 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`=21304707 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21304708 order by id desc limit 1 Qualite : 0.09125337528151699 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21304709_11-03-2025_19_32_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21304709 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`=21304709 AND mptpi.`type`=4207 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'11032025': {'nb_upload': 14, '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 [1343140519, 1343140512, 1343140503, 1343140469, 1343140456, 1343140454, 1343140413, 1343140365, 1343140214, 1343140197] Looping around the photos to save general results len do output : 1 /21304707Didn'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, '2659311') ('3459', '21304707', '1343140519', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140512', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140503', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140469', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140456', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140454', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140413', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140365', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140214', None, None, None, None, None, '2659311') ('3459', None, None, None, None, None, None, None, '2659311') ('3459', '21304707', '1343140197', None, None, None, None, None, '2659311') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.1163475513458252 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.29351282119751 time spend to save output : 0.1166391372680664 total time spend for step 11 : 13.410151958465576 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 170.11user 182.65system 8:32.82elapsed 68%CPU (0avgtext+0avgdata 4491636maxresident)k 1789000inputs+123064outputs (22802major+13329873minor)pagefaults 0swaps