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 : 192611 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 : 23>10 please execute split_portfolio.py -i 21390172 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2666434'] with mtr_portfolio_ids : ['21390172'] and first list_photo_ids : [] new path : /proc/192611/ 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.7847182750701904 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Thu Mar 13 20:12: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 : 9400 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-13 20:12:33.413876: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-03-13 20:12:33.443390: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-13 20:12:33.445593: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7ff364000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-13 20:12:33.445626: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-13 20:12:33.450349: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-13 20:12:33.605968: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x24be8600 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-13 20:12:33.606054: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-13 20:12:33.607662: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-03-13 20:12:33.618830: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-13 20:12:33.624344: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-13 20:12:33.627390: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-13 20:12:33.630255: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-13 20:12:33.633405: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-13 20:12:33.634857: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-13 20:12:33.642529: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-13 20:12:33.644464: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-13 20:12:33.644589: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-13 20:12:33.645614: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-13 20:12:33.645636: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-13 20:12:33.645648: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-13 20:12:33.647368: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 8693 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-03-13 20:12:33.996121: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-03-13 20:12:33.996260: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-13 20:12:33.996281: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-13 20:12:33.996296: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-13 20:12:33.996311: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-13 20:12:33.996326: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-13 20:12:33.996340: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-13 20:12:33.996355: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-13 20:12:33.997604: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-13 20:12:33.998927: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-03-13 20:12:33.998972: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-13 20:12:33.998987: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-13 20:12:33.999001: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-13 20:12:33.999014: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-13 20:12:33.999028: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-13 20:12:33.999041: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-13 20:12:33.999055: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-13 20:12:34.000277: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-13 20:12:34.000320: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-13 20:12:34.000330: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-13 20:12:34.000338: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-13 20:12:34.001622: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 8693 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-03-13 20:12:45.200258: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-13 20:12:45.985885: 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 : 30 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 26 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 4 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 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 : 4 Detection mask done ! Trying to reset tf kernel 193183 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4111 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 : 9621 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.0033211708068847656 nb_pixel_total : 85997 time to create 1 rle with old method : 0.10065531730651855 length of segment : 380 time for calcul the mask position with numpy : 0.0001010894775390625 nb_pixel_total : 1462 time to create 1 rle with old method : 0.002027750015258789 length of segment : 51 time for calcul the mask position with numpy : 0.0019443035125732422 nb_pixel_total : 87316 time to create 1 rle with old method : 0.09788036346435547 length of segment : 410 time for calcul the mask position with numpy : 0.0030143260955810547 nb_pixel_total : 107012 time to create 1 rle with old method : 0.12226200103759766 length of segment : 661 time for calcul the mask position with numpy : 0.001050710678100586 nb_pixel_total : 30729 time to create 1 rle with old method : 0.03594183921813965 length of segment : 290 time for calcul the mask position with numpy : 0.0040853023529052734 nb_pixel_total : 203656 time to create 1 rle with new method : 0.01564955711364746 length of segment : 610 time for calcul the mask position with numpy : 0.0006008148193359375 nb_pixel_total : 21008 time to create 1 rle with old method : 0.024386167526245117 length of segment : 110 time for calcul the mask position with numpy : 0.001558065414428711 nb_pixel_total : 51836 time to create 1 rle with old method : 0.06521868705749512 length of segment : 306 time for calcul the mask position with numpy : 0.0011665821075439453 nb_pixel_total : 26440 time to create 1 rle with old method : 0.04019927978515625 length of segment : 356 time for calcul the mask position with numpy : 0.0036864280700683594 nb_pixel_total : 222699 time to create 1 rle with new method : 0.010524988174438477 length of segment : 729 time for calcul the mask position with numpy : 0.0008718967437744141 nb_pixel_total : 35131 time to create 1 rle with old method : 0.04111909866333008 length of segment : 169 time for calcul the mask position with numpy : 0.0013668537139892578 nb_pixel_total : 21183 time to create 1 rle with old method : 0.025634765625 length of segment : 262 time for calcul the mask position with numpy : 0.00015020370483398438 nb_pixel_total : 1963 time to create 1 rle with old method : 0.002761363983154297 length of segment : 73 time for calcul the mask position with numpy : 0.0001270771026611328 nb_pixel_total : 2667 time to create 1 rle with old method : 0.004846811294555664 length of segment : 57 time for calcul the mask position with numpy : 0.00813150405883789 nb_pixel_total : 267135 time to create 1 rle with new method : 0.25984644889831543 length of segment : 797 time for calcul the mask position with numpy : 0.0005948543548583984 nb_pixel_total : 19931 time to create 1 rle with old method : 0.03114771842956543 length of segment : 263 time for calcul the mask position with numpy : 0.0005886554718017578 nb_pixel_total : 29553 time to create 1 rle with old method : 0.040618181228637695 length of segment : 198 time for calcul the mask position with numpy : 0.0002579689025878906 nb_pixel_total : 8105 time to create 1 rle with old method : 0.013644218444824219 length of segment : 186 time for calcul the mask position with numpy : 0.0035355091094970703 nb_pixel_total : 222103 time to create 1 rle with new method : 0.00941777229309082 length of segment : 553 time for calcul the mask position with numpy : 0.00012874603271484375 nb_pixel_total : 1219 time to create 1 rle with old method : 0.002156972885131836 length of segment : 57 time for calcul the mask position with numpy : 0.0017287731170654297 nb_pixel_total : 47747 time to create 1 rle with old method : 0.07348799705505371 length of segment : 304 time for calcul the mask position with numpy : 0.005359172821044922 nb_pixel_total : 252923 time to create 1 rle with new method : 0.013092041015625 length of segment : 568 time for calcul the mask position with numpy : 0.00041484832763671875 nb_pixel_total : 10115 time to create 1 rle with old method : 0.015776872634887695 length of segment : 119 time for calcul the mask position with numpy : 0.00040841102600097656 nb_pixel_total : 4049 time to create 1 rle with old method : 0.007077693939208984 length of segment : 131 time for calcul the mask position with numpy : 0.0003502368927001953 nb_pixel_total : 4603 time to create 1 rle with old method : 0.0062296390533447266 length of segment : 110 time for calcul the mask position with numpy : 0.0026199817657470703 nb_pixel_total : 89408 time to create 1 rle with old method : 0.12003660202026367 length of segment : 403 time for calcul the mask position with numpy : 0.004600048065185547 nb_pixel_total : 285231 time to create 1 rle with new method : 0.010972738265991211 length of segment : 498 time for calcul the mask position with numpy : 0.0037817955017089844 nb_pixel_total : 152558 time to create 1 rle with new method : 0.011813879013061523 length of segment : 784 time for calcul the mask position with numpy : 0.0015456676483154297 nb_pixel_total : 67468 time to create 1 rle with old method : 0.0836026668548584 length of segment : 513 time for calcul the mask position with numpy : 0.0019185543060302734 nb_pixel_total : 53735 time to create 1 rle with old method : 0.061181068420410156 length of segment : 434 time for calcul the mask position with numpy : 0.000720977783203125 nb_pixel_total : 17980 time to create 1 rle with old method : 0.02043008804321289 length of segment : 199 time for calcul the mask position with numpy : 0.0004839897155761719 nb_pixel_total : 9020 time to create 1 rle with old method : 0.011375904083251953 length of segment : 85 time for calcul the mask position with numpy : 0.0006425380706787109 nb_pixel_total : 15166 time to create 1 rle with old method : 0.017650365829467773 length of segment : 206 time for calcul the mask position with numpy : 0.00015616416931152344 nb_pixel_total : 1884 time to create 1 rle with old method : 0.005250692367553711 length of segment : 50 time for calcul the mask position with numpy : 0.0007200241088867188 nb_pixel_total : 15468 time to create 1 rle with old method : 0.018123388290405273 length of segment : 172 time for calcul the mask position with numpy : 0.00023365020751953125 nb_pixel_total : 2833 time to create 1 rle with old method : 0.0036482810974121094 length of segment : 69 time for calcul the mask position with numpy : 0.0001537799835205078 nb_pixel_total : 1415 time to create 1 rle with old method : 0.0019450187683105469 length of segment : 52 time for calcul the mask position with numpy : 0.00035643577575683594 nb_pixel_total : 7141 time to create 1 rle with old method : 0.008959054946899414 length of segment : 133 time for calcul the mask position with numpy : 0.0012080669403076172 nb_pixel_total : 42534 time to create 1 rle with old method : 0.049411773681640625 length of segment : 441 time for calcul the mask position with numpy : 0.006925106048583984 nb_pixel_total : 245594 time to create 1 rle with new method : 0.00973963737487793 length of segment : 576 time for calcul the mask position with numpy : 0.002752065658569336 nb_pixel_total : 102795 time to create 1 rle with old method : 0.1144099235534668 length of segment : 435 time for calcul the mask position with numpy : 0.00024962425231933594 nb_pixel_total : 1809 time to create 1 rle with old method : 0.0028209686279296875 length of segment : 52 time for calcul the mask position with numpy : 0.0008072853088378906 nb_pixel_total : 20100 time to create 1 rle with old method : 0.025681018829345703 length of segment : 212 time for calcul the mask position with numpy : 0.002309083938598633 nb_pixel_total : 52280 time to create 1 rle with old method : 0.06253695487976074 length of segment : 511 time for calcul the mask position with numpy : 0.0006504058837890625 nb_pixel_total : 16126 time to create 1 rle with old method : 0.02689647674560547 length of segment : 160 time for calcul the mask position with numpy : 0.008789777755737305 nb_pixel_total : 281655 time to create 1 rle with new method : 0.018850326538085938 length of segment : 545 time for calcul the mask position with numpy : 0.003412008285522461 nb_pixel_total : 114144 time to create 1 rle with old method : 0.13094449043273926 length of segment : 457 time for calcul the mask position with numpy : 0.003133058547973633 nb_pixel_total : 81339 time to create 1 rle with old method : 0.09591937065124512 length of segment : 463 time for calcul the mask position with numpy : 0.002293825149536133 nb_pixel_total : 46859 time to create 1 rle with old method : 0.05687522888183594 length of segment : 387 time for calcul the mask position with numpy : 0.08943724632263184 nb_pixel_total : 2709127 time to create 1 rle with new method : 0.7209804058074951 length of segment : 2868 time for calcul the mask position with numpy : 0.009435415267944336 nb_pixel_total : 597909 time to create 1 rle with new method : 0.042212486267089844 length of segment : 982 time for calcul the mask position with numpy : 0.0030851364135742188 nb_pixel_total : 249020 time to create 1 rle with new method : 0.0059015750885009766 length of segment : 573 time for calcul the mask position with numpy : 0.0006549358367919922 nb_pixel_total : 25071 time to create 1 rle with old method : 0.029869556427001953 length of segment : 267 time for calcul the mask position with numpy : 0.00023674964904785156 nb_pixel_total : 4718 time to create 1 rle with old method : 0.005584001541137695 length of segment : 127 time for calcul the mask position with numpy : 0.017522096633911133 nb_pixel_total : 854999 time to create 1 rle with new method : 0.24627256393432617 length of segment : 2044 time for calcul the mask position with numpy : 0.008155345916748047 nb_pixel_total : 609115 time to create 1 rle with new method : 0.01449894905090332 length of segment : 1252 time for calcul the mask position with numpy : 0.012779951095581055 nb_pixel_total : 635585 time to create 1 rle with new method : 0.0230252742767334 length of segment : 1404 time for calcul the mask position with numpy : 0.0009589195251464844 nb_pixel_total : 37080 time to create 1 rle with old method : 0.04452085494995117 length of segment : 300 time for calcul the mask position with numpy : 0.0001857280731201172 nb_pixel_total : 2102 time to create 1 rle with old method : 0.0025331974029541016 length of segment : 86 time for calcul the mask position with numpy : 0.03982973098754883 nb_pixel_total : 1907711 time to create 1 rle with new method : 1.206531047821045 length of segment : 3704 time for calcul the mask position with numpy : 0.0004608631134033203 nb_pixel_total : 32988 time to create 1 rle with old method : 0.03871941566467285 length of segment : 185 time for calcul the mask position with numpy : 0.00399470329284668 nb_pixel_total : 196777 time to create 1 rle with new method : 0.008003711700439453 length of segment : 701 time for calcul the mask position with numpy : 0.0481867790222168 nb_pixel_total : 2096897 time to create 1 rle with new method : 0.7650809288024902 length of segment : 3160 time for calcul the mask position with numpy : 0.0005819797515869141 nb_pixel_total : 28213 time to create 1 rle with old method : 0.03298377990722656 length of segment : 287 time for calcul the mask position with numpy : 0.018668651580810547 nb_pixel_total : 1337080 time to create 1 rle with new method : 0.0888969898223877 length of segment : 2427 time for calcul the mask position with numpy : 0.0071659088134765625 nb_pixel_total : 479566 time to create 1 rle with new method : 0.03240489959716797 length of segment : 1204 time for calcul the mask position with numpy : 0.003815174102783203 nb_pixel_total : 328099 time to create 1 rle with new method : 0.00798940658569336 length of segment : 679 time for calcul the mask position with numpy : 0.001413583755493164 nb_pixel_total : 60290 time to create 1 rle with old method : 0.06939387321472168 length of segment : 444 time for calcul the mask position with numpy : 0.12353849411010742 nb_pixel_total : 3359297 time to create 1 rle with new method : 0.23034286499023438 length of segment : 4294 time for calcul the mask position with numpy : 0.0047588348388671875 nb_pixel_total : 423538 time to create 1 rle with new method : 0.0092010498046875 length of segment : 570 time for calcul the mask position with numpy : 0.013555049896240234 nb_pixel_total : 1039257 time to create 1 rle with new method : 0.2594447135925293 length of segment : 1425 time for calcul the mask position with numpy : 0.0016086101531982422 nb_pixel_total : 88683 time to create 1 rle with old method : 0.10118579864501953 length of segment : 421 time for calcul the mask position with numpy : 0.026744604110717773 nb_pixel_total : 1137557 time to create 1 rle with new method : 0.11507940292358398 length of segment : 2817 time for calcul the mask position with numpy : 0.0007367134094238281 nb_pixel_total : 22646 time to create 1 rle with old method : 0.026137828826904297 length of segment : 282 time for calcul the mask position with numpy : 0.0025320053100585938 nb_pixel_total : 164628 time to create 1 rle with new method : 0.0031473636627197266 length of segment : 429 time for calcul the mask position with numpy : 0.00016546249389648438 nb_pixel_total : 3527 time to create 1 rle with old method : 0.0043756961822509766 length of segment : 70 time for calcul the mask position with numpy : 0.003766775131225586 nb_pixel_total : 163269 time to create 1 rle with new method : 0.006692647933959961 length of segment : 734 time for calcul the mask position with numpy : 0.00017523765563964844 nb_pixel_total : 5965 time to create 1 rle with old method : 0.007222652435302734 length of segment : 142 time for calcul the mask position with numpy : 0.0006198883056640625 nb_pixel_total : 37377 time to create 1 rle with old method : 0.042878150939941406 length of segment : 251 time for calcul the mask position with numpy : 0.0017218589782714844 nb_pixel_total : 34162 time to create 1 rle with old method : 0.03861093521118164 length of segment : 303 time for calcul the mask position with numpy : 0.00022649765014648438 nb_pixel_total : 3218 time to create 1 rle with old method : 0.0036661624908447266 length of segment : 83 time for calcul the mask position with numpy : 0.0014553070068359375 nb_pixel_total : 33473 time to create 1 rle with old method : 0.03790092468261719 length of segment : 360 time for calcul the mask position with numpy : 0.0003075599670410156 nb_pixel_total : 1916 time to create 1 rle with old method : 0.0024635791778564453 length of segment : 82 time for calcul the mask position with numpy : 0.002370595932006836 nb_pixel_total : 66611 time to create 1 rle with old method : 0.07776999473571777 length of segment : 273 time for calcul the mask position with numpy : 0.00223541259765625 nb_pixel_total : 26743 time to create 1 rle with old method : 0.031122922897338867 length of segment : 360 time for calcul the mask position with numpy : 0.002610921859741211 nb_pixel_total : 79494 time to create 1 rle with old method : 0.09507560729980469 length of segment : 391 time for calcul the mask position with numpy : 0.00019550323486328125 nb_pixel_total : 2406 time to create 1 rle with old method : 0.0029430389404296875 length of segment : 48 time for calcul the mask position with numpy : 0.00013709068298339844 nb_pixel_total : 1010 time to create 1 rle with old method : 0.0012853145599365234 length of segment : 51 time for calcul the mask position with numpy : 0.0012531280517578125 nb_pixel_total : 31593 time to create 1 rle with old method : 0.037240028381347656 length of segment : 150 time for calcul the mask position with numpy : 0.00042700767517089844 nb_pixel_total : 14006 time to create 1 rle with old method : 0.01657414436340332 length of segment : 222 time for calcul the mask position with numpy : 0.0001366138458251953 nb_pixel_total : 2966 time to create 1 rle with old method : 0.0036749839782714844 length of segment : 115 time for calcul the mask position with numpy : 0.0015854835510253906 nb_pixel_total : 45981 time to create 1 rle with old method : 0.052391767501831055 length of segment : 301 time for calcul the mask position with numpy : 0.0036575794219970703 nb_pixel_total : 114136 time to create 1 rle with old method : 0.13081836700439453 length of segment : 563 time for calcul the mask position with numpy : 0.00038123130798339844 nb_pixel_total : 9347 time to create 1 rle with old method : 0.012547731399536133 length of segment : 93 time for calcul the mask position with numpy : 0.005122661590576172 nb_pixel_total : 133251 time to create 1 rle with old method : 0.1495051383972168 length of segment : 492 time for calcul the mask position with numpy : 0.0018253326416015625 nb_pixel_total : 75622 time to create 1 rle with old method : 0.08617734909057617 length of segment : 305 time for calcul the mask position with numpy : 0.00015616416931152344 nb_pixel_total : 2064 time to create 1 rle with old method : 0.002615213394165039 length of segment : 42 time for calcul the mask position with numpy : 0.003907918930053711 nb_pixel_total : 133802 time to create 1 rle with old method : 0.15128231048583984 length of segment : 485 time for calcul the mask position with numpy : 0.00022029876708984375 nb_pixel_total : 2483 time to create 1 rle with old method : 0.003227710723876953 length of segment : 75 time for calcul the mask position with numpy : 0.0006089210510253906 nb_pixel_total : 11600 time to create 1 rle with old method : 0.014676809310913086 length of segment : 182 time for calcul the mask position with numpy : 0.0020089149475097656 nb_pixel_total : 135889 time to create 1 rle with old method : 0.14958691596984863 length of segment : 490 time for calcul the mask position with numpy : 0.00034809112548828125 nb_pixel_total : 5723 time to create 1 rle with old method : 0.0066394805908203125 length of segment : 88 time for calcul the mask position with numpy : 7.843971252441406e-05 nb_pixel_total : 1593 time to create 1 rle with old method : 0.0019485950469970703 length of segment : 49 time for calcul the mask position with numpy : 0.0002014636993408203 nb_pixel_total : 4294 time to create 1 rle with old method : 0.0051805973052978516 length of segment : 99 time for calcul the mask position with numpy : 0.001550912857055664 nb_pixel_total : 39606 time to create 1 rle with old method : 0.04738903045654297 length of segment : 318 time for calcul the mask position with numpy : 0.00017333030700683594 nb_pixel_total : 5872 time to create 1 rle with old method : 0.007083892822265625 length of segment : 66 time for calcul the mask position with numpy : 0.0034554004669189453 nb_pixel_total : 122864 time to create 1 rle with old method : 0.1386864185333252 length of segment : 473 time for calcul the mask position with numpy : 0.0007603168487548828 nb_pixel_total : 20872 time to create 1 rle with old method : 0.024959564208984375 length of segment : 300 time for calcul the mask position with numpy : 0.001260995864868164 nb_pixel_total : 51533 time to create 1 rle with old method : 0.06160402297973633 length of segment : 334 time for calcul the mask position with numpy : 0.0002567768096923828 nb_pixel_total : 6574 time to create 1 rle with old method : 0.007961273193359375 length of segment : 66 time for calcul the mask position with numpy : 0.0009698867797851562 nb_pixel_total : 50735 time to create 1 rle with old method : 0.05669713020324707 length of segment : 265 time for calcul the mask position with numpy : 0.0008862018585205078 nb_pixel_total : 36216 time to create 1 rle with old method : 0.04060626029968262 length of segment : 291 time for calcul the mask position with numpy : 0.002112865447998047 nb_pixel_total : 113775 time to create 1 rle with old method : 0.12069177627563477 length of segment : 377 time for calcul the mask position with numpy : 0.000728607177734375 nb_pixel_total : 18981 time to create 1 rle with old method : 0.021967172622680664 length of segment : 136 time for calcul the mask position with numpy : 0.0005609989166259766 nb_pixel_total : 6434 time to create 1 rle with old method : 0.007240772247314453 length of segment : 180 time for calcul the mask position with numpy : 0.001463174819946289 nb_pixel_total : 35575 time to create 1 rle with old method : 0.041167497634887695 length of segment : 347 time for calcul the mask position with numpy : 0.0007302761077880859 nb_pixel_total : 29709 time to create 1 rle with old method : 0.03312420845031738 length of segment : 255 time for calcul the mask position with numpy : 0.2562108039855957 nb_pixel_total : 5275072 time to create 1 rle with new method : 1.5401525497436523 length of segment : 3221 time for calcul the mask position with numpy : 0.008109807968139648 nb_pixel_total : 468699 time to create 1 rle with new method : 0.05032634735107422 length of segment : 1192 time for calcul the mask position with numpy : 0.016825437545776367 nb_pixel_total : 1408186 time to create 1 rle with new method : 0.10774397850036621 length of segment : 1652 time spent for convertir_results : 24.17552399635315 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 125 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 64891 save missing photos in datou_result : time spend for datou_step_exec : 76.50726008415222 time spend to save output : 6.7237465381622314 total time spend for step 1 : 83.23100662231445 step2:crop_condition Thu Mar 13 20:13:53 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 125 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! we have finished the crop for the class : 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 ! 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 : 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 ! map_result returned by crop_photo_return_map_crop : length : 31 About to insert : list_path_to_insert length 31 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 ! 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 : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 we have both polygon and rles Next one ! 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 [1343335795, 1343335785, 1343335740, 1343335735, 1343335728, 1343335719, 1343335548, 1343335520, 1343335471, 1343335388] Looping around the photos to save general results len do output : 69 /-3707312227Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312256Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312257Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312254Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312253Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312265Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312258Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312298Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312308Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312315Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312338Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312235Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312238Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312241Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312242Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312231Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312229Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312266Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312273Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312278Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312324Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312319Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312334Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312342Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312234Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312248Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710337343Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312287Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312288Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312245Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312237Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312243Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312230Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312252Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312275Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312269Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312267Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312272Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312274Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312255Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312270Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312271Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312284Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312293Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312290Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312296Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312301Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312312Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312316Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312322Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312311Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312306Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312333Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312332Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710337347Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312340Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312341Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312339Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312337Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312335Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312236Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312264Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312294Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312302Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312321Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312328Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312310Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312318Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3707312247Didn'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, '2666434') ('3459', None, '1343335795', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335785', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335740', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335735', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335728', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335719', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335548', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335520', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335471', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335388', None, None, None, None, None, '2666434') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 217 time used for this insertion : 0.1329638957977295 save_final save missing photos in datou_result : time spend for datou_step_exec : 35.641080379486084 time spend to save output : 0.15704631805419922 total time spend for step 2 : 35.79812669754028 step3:thcl Thu Mar 13 20:14:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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.01846766471862793 time to convert the images to numpy array : 0.2516818046569824 time to import caffe and check if the image exist : 0.013692855834960938 time to convert the images to numpy array : 0.27256035804748535 time to import caffe and check if the image exist : 0.008762121200561523 time to convert the images to numpy array : 0.33234095573425293 time to import caffe and check if the image exist : 0.014638185501098633 time to convert the images to numpy array : 0.3786485195159912 time to import caffe and check if the image exist : 0.021583080291748047 time to convert the images to numpy array : 0.42879199981689453 time to import caffe and check if the image exist : 0.01608872413635254 time to convert the images to numpy array : 0.43640685081481934 time to import caffe and check if the image exist : 0.013527154922485352 time to convert the images to numpy array : 0.44445037841796875 time to import caffe and check if the image exist : 0.019286394119262695 time to convert the images to numpy array : 0.48733067512512207 time to import caffe and check if the image exist : 0.01779460906982422 time to convert the images to numpy array : 0.5617375373840332 time to import caffe and check if the image exist : 0.018497943878173828 time to convert the images to numpy array : 0.5704576969146729 total time to convert the images to numpy array : 1.3284902572631836 list photo_ids error: [] list photo_ids correct : [-3707312322, -3707312311, -3707312306, -3707312333, -3707312332, -3710337347, -3707312340, -3707312302, -3707312321, -3707312328, -3707312310, -3707312318, -3707312247, -3707312227, -3707312256, -3707312257, -3707312254, -3707312253, -3707312265, -3707312258, -3707312341, -3707312339, -3707312337, -3707312335, -3707312236, -3707312264, -3707312294, -3707312269, -3707312267, -3707312272, -3707312274, -3707312255, -3707312270, -3707312271, -3707312288, -3707312245, -3707312237, -3707312243, -3707312230, -3707312252, -3707312275, -3707312284, -3707312293, -3707312290, -3707312296, -3707312301, -3707312312, -3707312316, -3707312298, -3707312308, -3707312315, -3707312338, -3707312235, -3707312238, -3707312241, -3707312242, -3707312231, -3707312229, -3707312266, -3707312273, -3707312278, -3707312324, -3707312319, -3707312334, -3707312342, -3707312234, -3707312248, -3710337343, -3707312287] number of photos to traite : 69 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 : 9621 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 : 9402 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.0458033084869385 time used to do the prediction : 0.3119051456451416 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 : 9400 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 : 9400 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.8221712112426758 time used to do the prediction : 0.12801575660705566 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 : 8.344650268554688e-06 save missing photos in datou_result : time spend for datou_step_exec : 11.135701179504395 time spend to save output : 0.0004482269287109375 total time spend for step 3 : 11.136149406433105 step4:merge_mask_thcl_custom Thu Mar 13 20:14:40 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 125 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 [1343335795, 1343335785, 1343335740, 1343335735, 1343335728, 1343335719, 1343335548, 1343335520, 1343335471, 1343335388] Looping around the photos to save general results len do output : 10 /1343335795Didn't retrieve data .Didn't retrieve data . /1343335785Didn't retrieve data .Didn't retrieve data . /1343335740Didn't retrieve data .Didn't retrieve data . /1343335735Didn't retrieve data .Didn't retrieve data . /1343335728Didn't retrieve data .Didn't retrieve data . /1343335719Didn't retrieve data .Didn't retrieve data . /1343335548Didn't retrieve data .Didn't retrieve data . /1343335520Didn't retrieve data .Didn't retrieve data . /1343335471Didn't retrieve data .Didn't retrieve data . /1343335388Didn'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, '2666434') ('3459', None, '1343335795', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335785', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335740', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335735', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335728', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335719', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335548', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335520', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335471', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335388', None, None, None, None, None, '2666434') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013943195343017578 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06833600997924805 time spend to save output : 0.014418601989746094 total time spend for step 4 : 0.08275461196899414 step5:rle_unique_nms_with_priority Thu Mar 13 20:14:40 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 25 nb_hashtags : 7 time to prepare the origin masks : 12.4982590675354 time for calcul the mask position with numpy : 0.7193927764892578 nb_pixel_total : 5670550 time to create 1 rle with new method : 1.48040771484375 time for calcul the mask position with numpy : 0.03606581687927246 nb_pixel_total : 26344 time to create 1 rle with old method : 0.03136610984802246 time for calcul the mask position with numpy : 0.04307126998901367 nb_pixel_total : 29466 time to create 1 rle with old method : 0.035260677337646484 time for calcul the mask position with numpy : 0.03513216972351074 nb_pixel_total : 87064 time to create 1 rle with old method : 0.10650825500488281 time for calcul the mask position with numpy : 0.03162860870361328 nb_pixel_total : 34922 time to create 1 rle with old method : 0.04282116889953613 time for calcul the mask position with numpy : 0.03379178047180176 nb_pixel_total : 221669 time to create 1 rle with new method : 0.3859562873840332 time for calcul the mask position with numpy : 0.03591799736022949 nb_pixel_total : 89264 time to create 1 rle with old method : 0.10580086708068848 time for calcul the mask position with numpy : 0.03428840637207031 nb_pixel_total : 4469 time to create 1 rle with old method : 0.005915403366088867 time for calcul the mask position with numpy : 0.03689885139465332 nb_pixel_total : 19816 time to create 1 rle with old method : 0.02270650863647461 time for calcul the mask position with numpy : 0.03476762771606445 nb_pixel_total : 4009 time to create 1 rle with old method : 0.004985809326171875 time for calcul the mask position with numpy : 0.036721229553222656 nb_pixel_total : 1218 time to create 1 rle with old method : 0.001535177230834961 time for calcul the mask position with numpy : 0.034667015075683594 nb_pixel_total : 8092 time to create 1 rle with old method : 0.009137153625488281 time for calcul the mask position with numpy : 0.035561561584472656 nb_pixel_total : 72847 time to create 1 rle with old method : 0.08934259414672852 time for calcul the mask position with numpy : 0.03563380241394043 nb_pixel_total : 30735 time to create 1 rle with old method : 0.03682661056518555 time for calcul the mask position with numpy : 0.03505134582519531 nb_pixel_total : 19746 time to create 1 rle with old method : 0.024677276611328125 time for calcul the mask position with numpy : 0.03594541549682617 nb_pixel_total : 233811 time to create 1 rle with new method : 0.3237278461456299 time for calcul the mask position with numpy : 0.033762216567993164 nb_pixel_total : 106710 time to create 1 rle with old method : 0.12047624588012695 time for calcul the mask position with numpy : 0.03418898582458496 nb_pixel_total : 898 time to create 1 rle with old method : 0.001283884048461914 time for calcul the mask position with numpy : 0.03450512886047363 nb_pixel_total : 51603 time to create 1 rle with old method : 0.061989784240722656 time for calcul the mask position with numpy : 0.0336606502532959 nb_pixel_total : 2637 time to create 1 rle with old method : 0.0030794143676757812 time for calcul the mask position with numpy : 0.03593778610229492 nb_pixel_total : 1944 time to create 1 rle with old method : 0.0023436546325683594 time for calcul the mask position with numpy : 0.03557562828063965 nb_pixel_total : 203419 time to create 1 rle with new method : 0.3037254810333252 time for calcul the mask position with numpy : 0.034291744232177734 nb_pixel_total : 85677 time to create 1 rle with old method : 0.09977221488952637 time for calcul the mask position with numpy : 0.033403873443603516 nb_pixel_total : 20862 time to create 1 rle with old method : 0.02356553077697754 time for calcul the mask position with numpy : 0.03277254104614258 nb_pixel_total : 1449 time to create 1 rle with old method : 0.0016951560974121094 time for calcul the mask position with numpy : 0.03295636177062988 nb_pixel_total : 21019 time to create 1 rle with old method : 0.024379730224609375 create new chi : 5.052793741226196 time to delete rle : 0.015254974365234375 batch 1 Loaded 28 chid ids of type : 3726 Number RLEs to save : 16641 TO DO : save crop sub photo not yet done ! save time : 1.178114414215088 nb_obj : 23 nb_hashtags : 6 time to prepare the origin masks : 10.688307762145996 time for calcul the mask position with numpy : 2.310598850250244 nb_pixel_total : 5473590 time to create 1 rle with new method : 1.5574407577514648 time for calcul the mask position with numpy : 0.019803762435913086 nb_pixel_total : 7117 time to create 1 rle with old method : 0.0075914859771728516 time for calcul the mask position with numpy : 0.03315114974975586 nb_pixel_total : 53116 time to create 1 rle with old method : 0.05830574035644531 time for calcul the mask position with numpy : 0.03622865676879883 nb_pixel_total : 20050 time to create 1 rle with old method : 0.022703886032104492 time for calcul the mask position with numpy : 0.03321552276611328 nb_pixel_total : 245723 time to create 1 rle with new method : 0.5597221851348877 time for calcul the mask position with numpy : 0.027927637100219727 nb_pixel_total : 12794 time to create 1 rle with old method : 0.01990675926208496 time for calcul the mask position with numpy : 0.0281524658203125 nb_pixel_total : 46696 time to create 1 rle with old method : 0.0555272102355957 time for calcul the mask position with numpy : 0.03126096725463867 nb_pixel_total : 102618 time to create 1 rle with old method : 0.11915779113769531 time for calcul the mask position with numpy : 0.026605606079101562 nb_pixel_total : 16063 time to create 1 rle with old method : 0.019313335418701172 time for calcul the mask position with numpy : 0.030402660369873047 nb_pixel_total : 113928 time to create 1 rle with old method : 0.12975502014160156 time for calcul the mask position with numpy : 0.023749113082885742 nb_pixel_total : 42254 time to create 1 rle with old method : 0.048573970794677734 time for calcul the mask position with numpy : 0.03407621383666992 nb_pixel_total : 284513 time to create 1 rle with new method : 0.35507917404174805 time for calcul the mask position with numpy : 0.024858713150024414 nb_pixel_total : 1802 time to create 1 rle with old method : 0.0034346580505371094 time for calcul the mask position with numpy : 0.024864673614501953 nb_pixel_total : 152426 time to create 1 rle with new method : 0.34129786491394043 time for calcul the mask position with numpy : 0.033788442611694336 nb_pixel_total : 17948 time to create 1 rle with old method : 0.020514965057373047 time for calcul the mask position with numpy : 0.024045705795288086 nb_pixel_total : 1404 time to create 1 rle with old method : 0.0017735958099365234 time for calcul the mask position with numpy : 0.024932146072387695 nb_pixel_total : 2812 time to create 1 rle with old method : 0.0034377574920654297 time for calcul the mask position with numpy : 0.021391630172729492 nb_pixel_total : 15423 time to create 1 rle with old method : 0.021951675415039062 time for calcul the mask position with numpy : 0.022452354431152344 nb_pixel_total : 51911 time to create 1 rle with old method : 0.08243966102600098 time for calcul the mask position with numpy : 0.021472692489624023 nb_pixel_total : 81183 time to create 1 rle with old method : 0.10210943222045898 time for calcul the mask position with numpy : 0.02156972885131836 nb_pixel_total : 1871 time to create 1 rle with old method : 0.002369403839111328 time for calcul the mask position with numpy : 0.021600961685180664 nb_pixel_total : 15156 time to create 1 rle with old method : 0.019477128982543945 time for calcul the mask position with numpy : 0.0224912166595459 nb_pixel_total : 8950 time to create 1 rle with old method : 0.010708093643188477 time for calcul the mask position with numpy : 0.0252532958984375 nb_pixel_total : 280892 time to create 1 rle with new method : 0.8021893501281738 create new chi : 7.427870035171509 time to delete rle : 0.0023386478424072266 batch 1 Loaded 25 chid ids of type : 3726 Number RLEs to save : 16708 TO DO : save crop sub photo not yet done ! save time : 1.3101692199707031 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 4.333318471908569 time for calcul the mask position with numpy : 0.22238945960998535 nb_pixel_total : 3467365 time to create 1 rle with new method : 0.4527108669281006 time for calcul the mask position with numpy : 0.020722150802612305 nb_pixel_total : 4716 time to create 1 rle with old method : 0.005490303039550781 time for calcul the mask position with numpy : 0.024727582931518555 nb_pixel_total : 248168 time to create 1 rle with new method : 0.6022348403930664 time for calcul the mask position with numpy : 0.022322654724121094 nb_pixel_total : 24998 time to create 1 rle with old method : 0.03133678436279297 time for calcul the mask position with numpy : 0.027278423309326172 nb_pixel_total : 596580 time to create 1 rle with new method : 0.39385104179382324 time for calcul the mask position with numpy : 0.04476666450500488 nb_pixel_total : 2708413 time to create 1 rle with new method : 0.5659365653991699 create new chi : 2.5266475677490234 time to delete rle : 0.0015053749084472656 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 11793 TO DO : save crop sub photo not yet done ! save time : 0.8452887535095215 nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 6.9681925773620605 time for calcul the mask position with numpy : 0.31208372116088867 nb_pixel_total : 4047784 time to create 1 rle with new method : 1.0525579452514648 time for calcul the mask position with numpy : 0.04039812088012695 nb_pixel_total : 196542 time to create 1 rle with new method : 0.5034832954406738 time for calcul the mask position with numpy : 0.04113292694091797 nb_pixel_total : 32911 time to create 1 rle with old method : 0.037943124771118164 time for calcul the mask position with numpy : 0.03833770751953125 nb_pixel_total : 6247 time to create 1 rle with old method : 0.009058237075805664 time for calcul the mask position with numpy : 0.05950593948364258 nb_pixel_total : 1012181 time to create 1 rle with new method : 0.6649730205535889 time for calcul the mask position with numpy : 0.03273653984069824 nb_pixel_total : 432 time to create 1 rle with old method : 0.0005216598510742188 time for calcul the mask position with numpy : 0.040137290954589844 nb_pixel_total : 633667 time to create 1 rle with new method : 0.7135353088378906 time for calcul the mask position with numpy : 0.03490948677062988 nb_pixel_total : 228862 time to create 1 rle with new method : 0.5381081104278564 time for calcul the mask position with numpy : 0.04299592971801758 nb_pixel_total : 854647 time to create 1 rle with new method : 0.574749231338501 time for calcul the mask position with numpy : 0.03484773635864258 nb_pixel_total : 36967 time to create 1 rle with old method : 0.04200243949890137 create new chi : 4.966237545013428 time to delete rle : 0.002310037612915039 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 17447 TO DO : save crop sub photo not yet done ! save time : 4.530176162719727 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 5.825304269790649 time for calcul the mask position with numpy : 0.40921854972839355 nb_pixel_total : 3479560 time to create 1 rle with new method : 0.8043007850646973 time for calcul the mask position with numpy : 0.021862030029296875 nb_pixel_total : 52761 time to create 1 rle with old method : 0.06392765045166016 time for calcul the mask position with numpy : 0.023671388626098633 nb_pixel_total : 28139 time to create 1 rle with old method : 0.03817629814147949 time for calcul the mask position with numpy : 0.027910470962524414 nb_pixel_total : 514293 time to create 1 rle with new method : 0.2882080078125 time for calcul the mask position with numpy : 0.028822898864746094 nb_pixel_total : 837654 time to create 1 rle with new method : 0.3295004367828369 time for calcul the mask position with numpy : 0.020639419555664062 nb_pixel_total : 50218 time to create 1 rle with old method : 0.059210777282714844 time for calcul the mask position with numpy : 0.3130977153778076 nb_pixel_total : 2087615 time to create 1 rle with new method : 0.34813404083251953 create new chi : 2.8833625316619873 time to delete rle : 0.0015032291412353516 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 14734 TO DO : save crop sub photo not yet done ! save time : 0.8201532363891602 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 5.483657121658325 time for calcul the mask position with numpy : 0.05742001533508301 nb_pixel_total : 2566184 time to create 1 rle with new method : 0.30410051345825195 time for calcul the mask position with numpy : 0.023029327392578125 nb_pixel_total : 2100 time to create 1 rle with old method : 0.003651857376098633 time for calcul the mask position with numpy : 0.025642871856689453 nb_pixel_total : 236678 time to create 1 rle with new method : 0.3712804317474365 time for calcul the mask position with numpy : 0.04456949234008789 nb_pixel_total : 422631 time to create 1 rle with new method : 0.6999907493591309 time for calcul the mask position with numpy : 0.039414405822753906 nb_pixel_total : 4269 time to create 1 rle with old method : 0.006908416748046875 time for calcul the mask position with numpy : 0.2509770393371582 nb_pixel_total : 3818378 time to create 1 rle with new method : 0.3091597557067871 create new chi : 2.240293264389038 time to delete rle : 0.0017659664154052734 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 14255 TO DO : save crop sub photo not yet done ! save time : 1.0929410457611084 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 3.7155444622039795 time for calcul the mask position with numpy : 0.35287976264953613 nb_pixel_total : 5465843 time to create 1 rle with new method : 0.326556921005249 time for calcul the mask position with numpy : 0.02504277229309082 nb_pixel_total : 164441 time to create 1 rle with new method : 0.61441969871521 time for calcul the mask position with numpy : 0.02349066734313965 nb_pixel_total : 3497 time to create 1 rle with old method : 0.008244752883911133 time for calcul the mask position with numpy : 0.0247952938079834 nb_pixel_total : 5947 time to create 1 rle with old method : 0.007572174072265625 time for calcul the mask position with numpy : 0.04712843894958496 nb_pixel_total : 163084 time to create 1 rle with new method : 0.6042609214782715 time for calcul the mask position with numpy : 0.04276108741760254 nb_pixel_total : 22527 time to create 1 rle with old method : 0.027828693389892578 time for calcul the mask position with numpy : 0.049176931381225586 nb_pixel_total : 1136364 time to create 1 rle with new method : 0.5223021507263184 time for calcul the mask position with numpy : 0.03518939018249512 nb_pixel_total : 88537 time to create 1 rle with old method : 0.11961054801940918 create new chi : 2.940446615219116 time to delete rle : 0.0027840137481689453 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 12002 TO DO : save crop sub photo not yet done ! save time : 1.630002498626709 nb_obj : 28 nb_hashtags : 7 time to prepare the origin masks : 9.363520383834839 time for calcul the mask position with numpy : 0.8941504955291748 nb_pixel_total : 6232961 time to create 1 rle with new method : 0.45409274101257324 time for calcul the mask position with numpy : 0.02935934066772461 nb_pixel_total : 5693 time to create 1 rle with old method : 0.006677150726318359 time for calcul the mask position with numpy : 0.029401302337646484 nb_pixel_total : 132982 time to create 1 rle with old method : 0.16579747200012207 time for calcul the mask position with numpy : 0.02895832061767578 nb_pixel_total : 2386 time to create 1 rle with old method : 0.002838611602783203 time for calcul the mask position with numpy : 0.029015541076660156 nb_pixel_total : 113932 time to create 1 rle with old method : 0.13223671913146973 time for calcul the mask position with numpy : 0.028754472732543945 nb_pixel_total : 4523 time to create 1 rle with old method : 0.005933046340942383 time for calcul the mask position with numpy : 0.03125643730163574 nb_pixel_total : 43 time to create 1 rle with old method : 8.606910705566406e-05 time for calcul the mask position with numpy : 0.029011249542236328 nb_pixel_total : 3207 time to create 1 rle with old method : 0.004014492034912109 time for calcul the mask position with numpy : 0.030144453048706055 nb_pixel_total : 1637 time to create 1 rle with old method : 0.0024051666259765625 time for calcul the mask position with numpy : 0.030575990676879883 nb_pixel_total : 45908 time to create 1 rle with old method : 0.05536627769470215 time for calcul the mask position with numpy : 0.02900862693786621 nb_pixel_total : 1905 time to create 1 rle with old method : 0.002412557601928711 time for calcul the mask position with numpy : 0.030669212341308594 nb_pixel_total : 134759 time to create 1 rle with old method : 0.1626284122467041 time for calcul the mask position with numpy : 0.03448128700256348 nb_pixel_total : 1370 time to create 1 rle with old method : 0.0032668113708496094 time for calcul the mask position with numpy : 0.029326677322387695 nb_pixel_total : 33235 time to create 1 rle with old method : 0.03859686851501465 time for calcul the mask position with numpy : 0.029805660247802734 nb_pixel_total : 75449 time to create 1 rle with old method : 0.12093019485473633 time for calcul the mask position with numpy : 0.02934718132019043 nb_pixel_total : 26658 time to create 1 rle with old method : 0.03114461898803711 time for calcul the mask position with numpy : 0.029219865798950195 nb_pixel_total : 34006 time to create 1 rle with old method : 0.042165279388427734 time for calcul the mask position with numpy : 0.031206130981445312 nb_pixel_total : 2069 time to create 1 rle with old method : 0.002724170684814453 time for calcul the mask position with numpy : 0.029078006744384766 nb_pixel_total : 20748 time to create 1 rle with old method : 0.024938344955444336 time for calcul the mask position with numpy : 0.029424190521240234 nb_pixel_total : 39403 time to create 1 rle with old method : 0.04649162292480469 time for calcul the mask position with numpy : 0.031180143356323242 nb_pixel_total : 13886 time to create 1 rle with old method : 0.016762256622314453 time for calcul the mask position with numpy : 0.03224301338195801 nb_pixel_total : 757 time to create 1 rle with old method : 0.001069784164428711 time for calcul the mask position with numpy : 0.02967095375061035 nb_pixel_total : 78906 time to create 1 rle with old method : 0.0969705581665039 time for calcul the mask position with numpy : 0.02982926368713379 nb_pixel_total : 31529 time to create 1 rle with old method : 0.03790473937988281 time for calcul the mask position with numpy : 0.029027223587036133 nb_pixel_total : 1002 time to create 1 rle with old method : 0.0012178421020507812 time for calcul the mask position with numpy : 0.029102563858032227 nb_pixel_total : 4287 time to create 1 rle with old method : 0.005032539367675781 time for calcul the mask position with numpy : 0.030132770538330078 nb_pixel_total : 2941 time to create 1 rle with old method : 0.003660440444946289 time for calcul the mask position with numpy : 0.0290377140045166 nb_pixel_total : 2470 time to create 1 rle with old method : 0.003607034683227539 time for calcul the mask position with numpy : 0.03060173988342285 nb_pixel_total : 1588 time to create 1 rle with old method : 0.001979827880859375 create new chi : 3.241398572921753 time to delete rle : 0.0020360946655273438 batch 1 Loaded 30 chid ids of type : 3726 Number RLEs to save : 13626 TO DO : save crop sub photo not yet done ! save time : 4.594022750854492 nb_obj : 9 nb_hashtags : 6 time to prepare the origin masks : 5.526097536087036 time for calcul the mask position with numpy : 0.2534749507904053 nb_pixel_total : 6701572 time to create 1 rle with new method : 0.31577324867248535 time for calcul the mask position with numpy : 0.02222728729248047 nb_pixel_total : 6432 time to create 1 rle with old method : 0.007573366165161133 time for calcul the mask position with numpy : 0.021670818328857422 nb_pixel_total : 29622 time to create 1 rle with old method : 0.036080121994018555 time for calcul the mask position with numpy : 0.022086620330810547 nb_pixel_total : 36154 time to create 1 rle with old method : 0.04371285438537598 time for calcul the mask position with numpy : 0.022207021713256836 nb_pixel_total : 18803 time to create 1 rle with old method : 0.023159503936767578 time for calcul the mask position with numpy : 0.022349834442138672 nb_pixel_total : 50658 time to create 1 rle with old method : 0.07167458534240723 time for calcul the mask position with numpy : 0.024401426315307617 nb_pixel_total : 51390 time to create 1 rle with old method : 0.0632936954498291 time for calcul the mask position with numpy : 0.026728391647338867 nb_pixel_total : 35586 time to create 1 rle with old method : 0.0410919189453125 time for calcul the mask position with numpy : 0.022327423095703125 nb_pixel_total : 6481 time to create 1 rle with old method : 0.010764122009277344 time for calcul the mask position with numpy : 0.02740192413330078 nb_pixel_total : 113542 time to create 1 rle with old method : 0.15783476829528809 create new chi : 1.2707710266113281 time to delete rle : 0.0007107257843017578 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 6692 TO DO : save crop sub photo not yet done ! save time : 1.201070785522461 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 7.09159255027771 time for calcul the mask position with numpy : 0.03697705268859863 nb_pixel_total : 1554408 time to create 1 rle with new method : 3.580953598022461 time for calcul the mask position with numpy : 0.05163884162902832 nb_pixel_total : 25447 time to create 1 rle with old method : 0.04788541793823242 time for calcul the mask position with numpy : 0.04371786117553711 nb_pixel_total : 210802 time to create 1 rle with new method : 0.473954439163208 time for calcul the mask position with numpy : 0.7714219093322754 nb_pixel_total : 5259583 time to create 1 rle with new method : 1.0522453784942627 create new chi : 6.168750762939453 time to delete rle : 0.013462305068969727 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 11819 TO DO : save crop sub photo not yet done ! save time : 1.5685276985168457 map_output_result : {1343335795: (0.0, 'Should be the crop_list due to order', 0), 1343335785: (0.0, 'Should be the crop_list due to order', 0), 1343335740: (0.0, 'Should be the crop_list due to order', 0), 1343335735: (0.0, 'Should be the crop_list due to order', 0), 1343335728: (0.0, 'Should be the crop_list due to order', 0), 1343335719: (0.0, 'Should be the crop_list due to order', 0), 1343335548: (0.0, 'Should be the crop_list due to order', 0), 1343335520: (0.0, 'Should be the crop_list due to order', 0), 1343335471: (0.0, 'Should be the crop_list due to order', 0), 1343335388: (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 [1343335795, 1343335785, 1343335740, 1343335735, 1343335728, 1343335719, 1343335548, 1343335520, 1343335471, 1343335388] Looping around the photos to save general results len do output : 10 /1343335795.Didn't retrieve data . /1343335785.Didn't retrieve data . /1343335740.Didn't retrieve data . /1343335735.Didn't retrieve data . /1343335728.Didn't retrieve data . /1343335719.Didn't retrieve data . /1343335548.Didn't retrieve data . /1343335520.Didn't retrieve data . /1343335471.Didn't retrieve data . /1343335388.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, '2666434') ('3459', None, '1343335795', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335785', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335740', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335735', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335728', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335719', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335548', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335520', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335471', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335388', None, None, None, None, None, '2666434') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014584064483642578 save_final save missing photos in datou_result : time spend for datou_step_exec : 129.96109127998352 time spend to save output : 0.051560401916503906 total time spend for step 5 : 130.01265168190002 step6:crop_condition Thu Mar 13 20:16:50 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 135 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 ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741893415_192611 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.025089979171753 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! About to upload 8 photos upload in portfolio : 4869462 init cache_photo without model_param we have 8 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741893422_192611 we have uploaded 8 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.3315353393554688 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 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/1741893428_192611 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.5210814476013184 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741893433_192611 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.9620192050933838 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 ! 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/1741893436_192611 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5512733459472656 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/1741893439_192611 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.5909733772277832 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 Next one ! Next one ! Next one ! 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/1741893443_192611 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.454805850982666 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 [1343335795, 1343335785, 1343335740, 1343335735, 1343335728, 1343335719, 1343335548, 1343335520, 1343335471, 1343335388] Looping around the photos to save general results len do output : 26 /1343898135Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898136Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898137Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898144Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898145Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898146Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898147Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898148Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898150Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898151Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898152Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898160Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898161Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898162Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898163Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898164Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898167Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898173Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898205Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898209Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898212Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898216Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898311Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898312Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898313Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343898314Didn'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, '2666434') ('3459', None, '1343335795', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335785', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335740', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335735', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335728', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335719', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335548', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335520', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335471', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335388', None, None, None, None, None, '2666434') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 88 time used for this insertion : 0.035207509994506836 save_final save missing photos in datou_result : time spend for datou_step_exec : 34.8134925365448 time spend to save output : 0.04814720153808594 total time spend for step 6 : 34.861639738082886 step7:ventilate_hashtags_in_portfolio Thu Mar 13 20:17: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 ! 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 : 21390172 get user id for portfolio 21390172 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`=21390172 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','autre_refus','metal','kraft','mal_croppe','Carton_gris','environnement','Teint_Dans_La_Masse','flou','cartonnette','plastique','papier')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21390172 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','autre_refus','metal','kraft','mal_croppe','Carton_gris','environnement','Teint_Dans_La_Masse','flou','cartonnette','plastique','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/21391860,21391861,21391862,21391863,21391864,21391865,21391866,21391867,21391868,21391869,21391870,21391871?tags=Carton_brun,environnement,metal,plastique,Carton_gris,Teint_Dans_La_Masse,kraft,flou,cartonnette,mal_croppe,autre_refus,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1343335795, 1343335785, 1343335740, 1343335735, 1343335728, 1343335719, 1343335548, 1343335520, 1343335471, 1343335388] Looping around the photos to save general results len do output : 1 /21390172. 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, '2666434') ('3459', None, '1343335795', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335785', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335740', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335735', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335728', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335719', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335548', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335520', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335471', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335388', None, None, None, None, None, '2666434') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.01355433464050293 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.2773451805114746 time spend to save output : 0.013833045959472656 total time spend for step 7 : 1.2911782264709473 step8:final Thu Mar 13 20:17:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1343335795: ('0.08608659608517173',), 1343335785: ('0.08608659608517173',), 1343335740: ('0.08608659608517173',), 1343335735: ('0.08608659608517173',), 1343335728: ('0.08608659608517173',), 1343335719: ('0.08608659608517173',), 1343335548: ('0.08608659608517173',), 1343335520: ('0.08608659608517173',), 1343335471: ('0.08608659608517173',), 1343335388: ('0.08608659608517173',)} new output for save of step final : {1343335795: ('0.08608659608517173',), 1343335785: ('0.08608659608517173',), 1343335740: ('0.08608659608517173',), 1343335735: ('0.08608659608517173',), 1343335728: ('0.08608659608517173',), 1343335719: ('0.08608659608517173',), 1343335548: ('0.08608659608517173',), 1343335520: ('0.08608659608517173',), 1343335471: ('0.08608659608517173',), 1343335388: ('0.08608659608517173',)} [1343335795, 1343335785, 1343335740, 1343335735, 1343335728, 1343335719, 1343335548, 1343335520, 1343335471, 1343335388] Looping around the photos to save general results len do output : 10 /1343335795.Didn't retrieve data . /1343335785.Didn't retrieve data . /1343335740.Didn't retrieve data . /1343335735.Didn't retrieve data . /1343335728.Didn't retrieve data . /1343335719.Didn't retrieve data . /1343335548.Didn't retrieve data . /1343335520.Didn't retrieve data . /1343335471.Didn't retrieve data . /1343335388.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, '2666434') ('3459', None, '1343335795', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335785', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335740', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335735', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335728', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335719', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335548', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335520', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335471', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335388', None, None, None, None, None, '2666434') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.012804508209228516 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12517595291137695 time spend to save output : 0.013772010803222656 total time spend for step 8 : 0.1389479637145996 step9:velours_tree Thu Mar 13 20:17:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure 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.3898639678955078 time spend to save output : 5.030632019042969e-05 total time spend for step 9 : 0.38991427421569824 step10:send_mail_cod Thu Mar 13 20:17:27 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_P21390172_13-03-2025_20_17_27.pdf 21391862 imagette213918621741893447 21391863 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette213918631741893447 21391866 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette213918661741893448 21391867 imagette213918671741893448 21391868 change filename to text .change filename to text .change filename to text .change filename to text .imagette213918681741893449 21391869 imagette213918691741893449 21391870 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette213918701741893449 21391860 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette213918601741893450 21391864 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette213918641741893451 21391865 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette213918651741893452 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21390172 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21391860,21391861,21391862,21391863,21391864,21391865,21391866,21391867,21391868,21391869,21391870,21391871?tags=Carton_brun,environnement,metal,plastique,Carton_gris,Teint_Dans_La_Masse,kraft,flou,cartonnette,mal_croppe,autre_refus,papier your option no_mail is active, we will not send the real mail to your client args[1343335795] : ('0.08608659608517173',) no score found for photo 1343335795 We are sending mail with results at report@fotonower.com args[1343335785] : ('0.08608659608517173',) no score found for photo 1343335785 We are sending mail with results at report@fotonower.com args[1343335740] : ('0.08608659608517173',) no score found for photo 1343335740 We are sending mail with results at report@fotonower.com args[1343335735] : ('0.08608659608517173',) no score found for photo 1343335735 We are sending mail with results at report@fotonower.com args[1343335728] : ('0.08608659608517173',) no score found for photo 1343335728 We are sending mail with results at report@fotonower.com args[1343335719] : ('0.08608659608517173',) no score found for photo 1343335719 We are sending mail with results at report@fotonower.com args[1343335548] : ('0.08608659608517173',) no score found for photo 1343335548 We are sending mail with results at report@fotonower.com args[1343335520] : ('0.08608659608517173',) no score found for photo 1343335520 We are sending mail with results at report@fotonower.com args[1343335471] : ('0.08608659608517173',) no score found for photo 1343335471 We are sending mail with results at report@fotonower.com args[1343335388] : ('0.08608659608517173',) no score found for photo 1343335388 We are sending mail with results at report@fotonower.com refus_total : 0.08608659608517173 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=21390172 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1343335331,1343612340,1343612315,1343612295,1343612283,1343612204,1343612186,1343612169,1343335800,1343335795,1343335785,1343335365,1343335520,1343612207,1343335740,1343335735,1343335728,1343335719,1343335548,1343335471) Found this number of photos: 20 begin to download photo : 1343335331 begin to download photo : 1343612204 begin to download photo : 1343335785 begin to download photo : 1343335735 download finish for photo 1343335735 begin to download photo : 1343335728 download finish for photo 1343335785 begin to download photo : 1343335365 download finish for photo 1343612204 begin to download photo : 1343612186 download finish for photo 1343335331 begin to download photo : 1343612340 download finish for photo 1343335728 begin to download photo : 1343335719 download finish for photo 1343612186 begin to download photo : 1343612169 download finish for photo 1343335365 begin to download photo : 1343335520 download finish for photo 1343612340 begin to download photo : 1343612315 download finish for photo 1343335719 begin to download photo : 1343335548 download finish for photo 1343612169 begin to download photo : 1343335800 download finish for photo 1343335520 begin to download photo : 1343612207 download finish for photo 1343612315 begin to download photo : 1343612295 download finish for photo 1343335800 begin to download photo : 1343335795 download finish for photo 1343335548 begin to download photo : 1343335471 download finish for photo 1343612295 begin to download photo : 1343612283 download finish for photo 1343612207 begin to download photo : 1343335740 download finish for photo 1343335795 download finish for photo 1343612283 download finish for photo 1343335471 download finish for photo 1343335740 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390172_13-03-2025_20_17_27.pdf results_Auto_P21390172_13-03-2025_20_17_27.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390172_13-03-2025_20_17_27.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','21390172','results_Auto_P21390172_13-03-2025_20_17_27.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390172_13-03-2025_20_17_27.pdf','pdf','','1.12','0.08608659608517173') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1343335795, 1343335785, 1343335740, 1343335735, 1343335728, 1343335719, 1343335548, 1343335520, 1343335471, 1343335388] 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, '2666434') ('3459', None, '1343335795', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335785', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335740', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335735', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335728', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335719', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335548', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335520', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335471', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335388', None, None, None, None, None, '2666434') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.012975454330444336 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.253645420074463 time spend to save output : 0.013154029846191406 total time spend for step 10 : 11.266799449920654 step11:split_time_score Thu Mar 13 20:17:38 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'}] (('09', 23),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 12032025 21390172 Nombre de photos uploadées : 23 / 23040 (0%) 12032025 21390172 Nombre de photos taguées (types de déchets): 0 / 23 (0%) 12032025 21390172 Nombre de photos taguées (volume) : 0 / 23 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ??????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0013241767883300781 elapsed_time : insert_dashboard_record_day_entry 0.02407383918762207 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390131 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390150 order by id desc limit 1 Qualite : 0.16239504110969852 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21338186_12-03-2025_13_08_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21338186 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`=21338186 AND mptpi.`type`=3327 To do Qualite : 0.26606405168239766 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21338187_12-03-2025_09_14_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21338187 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`=21338187 AND mptpi.`type`=4200 To do Qualite : 0.20764398375090778 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21336808_12-03-2025_17_07_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21336808 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`=21336808 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21336809_12-03-2025_12_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21336809 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21336810_12-03-2025_08_47_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21336810 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21336811_12-03-2025_08_46_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21336811 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390151 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390165 order by id desc limit 1 Qualite : 0.07511181669200917 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390171_13-03-2025_20_15_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390171 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`=21390171 AND mptpi.`type`=4209 To do Qualite : 0.08657604009964637 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390172_13-03-2025_20_17_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390172 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`=21390172 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390173 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390174 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390175 order by id desc limit 1 Qualite : 0.06802220071743272 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390176_13-03-2025_20_10_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390176 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`=21390176 AND mptpi.`type`=4211 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390177 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390178_13-03-2025_20_09_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390178 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390179 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390180_13-03-2025_20_06_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390180 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21356680_12-03-2025_16_52_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356680 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21346469_12-03-2025_18_38_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21346469 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21346470_12-03-2025_18_37_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21346470 order by id desc limit 1 Qualite : 0.20055419705176306 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21346477_12-03-2025_23_35_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21346477 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`=21346477 AND mptpi.`type`=3594 To do Qualite : 0.04909333018945315 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21356682_12-03-2025_23_40_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356682 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`=21356682 AND mptpi.`type`=4207 To do Qualite : 0.08784513863233476 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21356695_12-03-2025_23_45_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356695 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`=21356695 AND mptpi.`type`=4207 To do Qualite : 0.08105258336049156 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356696 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`=21356696 AND mptpi.`type`=4209 To do Qualite : 0.05966273015252707 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21356697_12-03-2025_16_41_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356697 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`=21356697 AND mptpi.`type`=3726 To do Qualite : 0.3749451607874188 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390181_13-03-2025_20_10_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390181 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`=21390181 AND mptpi.`type`=4200 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390182 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390183 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390184 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390185 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390186 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21356702_12-03-2025_16_52_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356702 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390187 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21356704_12-03-2025_16_41_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356704 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21356706_12-03-2025_16_50_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356706 order by id desc limit 1 Qualite : 0.1934948204709235 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390188_13-03-2025_20_11_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390188 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`=21390188 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390189_13-03-2025_20_13_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390189 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390190 order by id desc limit 1 Qualite : 0.019720667963253773 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390191 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`=21390191 AND mptpi.`type`=3327 To do Qualite : 0.0763601449132017 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390192_13-03-2025_20_08_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390192 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`=21390192 AND mptpi.`type`=4209 To do Qualite : 0.08301419090075145 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390193_13-03-2025_20_12_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390193 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`=21390193 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390194 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390195 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390196 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390197 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21363862_12-03-2025_19_03_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21363862 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21364970_13-03-2025_19_59_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21364970 order by id desc limit 1 Qualite : 0.18677083535960678 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390198_13-03-2025_20_10_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390198 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`=21390198 AND mptpi.`type`=3594 To do Qualite : 0.04481725503689865 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390199_13-03-2025_19_52_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390199 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`=21390199 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390200 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390201 order by id desc limit 1 Qualite : 0.0510251638063006 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390202_13-03-2025_20_05_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390202 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`=21390202 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390203 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'12032025': {'nb_upload': 23, '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 [1343335795, 1343335785, 1343335740, 1343335735, 1343335728, 1343335719, 1343335548, 1343335520, 1343335471, 1343335388] Looping around the photos to save general results len do output : 1 /21390172Didn'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, '2666434') ('3459', None, '1343335795', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335785', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335740', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335735', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335728', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335719', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335548', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335520', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335471', None, None, None, None, None, '2666434') ('3459', None, None, None, None, None, None, None, '2666434') ('3459', None, '1343335388', None, None, None, None, None, '2666434') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.023853063583374023 save_final save missing photos in datou_result : time spend for datou_step_exec : 28.73251223564148 time spend to save output : 0.024066448211669922 total time spend for step 11 : 28.75657868385315 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 145.76user 128.98system 5:44.46elapsed 79%CPU (0avgtext+0avgdata 3793408maxresident)k 1872712inputs+142280outputs (25253major+12618683minor)pagefaults 0swaps