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 : 401686 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 : 27>10 please execute split_portfolio.py -i 20423281 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2574201'] with mtr_portfolio_ids : ['20423281'] and first list_photo_ids : [] new path : /proc/401686/ 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 ! BFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 7 ; length of list_pids : 7 ; length of list_args : 7 time to download the photos : 1.3215818405151367 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Tue Feb 11 00:20:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 4026 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-11 00:20:35.904790: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-02-11 00:20:35.931071: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-11 00:20:35.933344: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fd484000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-11 00:20:35.933424: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-11 00:20:35.938036: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-11 00:20:36.108915: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x42b9b160 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-11 00:20:36.109020: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-11 00:20:36.110392: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-11 00:20:36.111115: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-11 00:20:36.113706: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-11 00:20:36.116407: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-11 00:20:36.116930: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-11 00:20:36.119969: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-11 00:20:36.121206: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-11 00:20:36.126270: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-11 00:20:36.127552: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-11 00:20:36.127670: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-11 00:20:36.128284: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-11 00:20:36.128303: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-11 00:20:36.128312: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-11 00:20:36.129296: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2988 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-02-11 00:20:36.467713: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-11 00:20:36.467846: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-11 00:20:36.467869: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-11 00:20:36.467887: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-11 00:20:36.467902: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-11 00:20:36.467916: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-11 00:20:36.467930: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-11 00:20:36.467945: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-11 00:20:36.468877: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-11 00:20:36.470132: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-11 00:20:36.470204: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-11 00:20:36.470221: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-11 00:20:36.470237: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-11 00:20:36.470251: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-11 00:20:36.470265: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-11 00:20:36.470284: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-11 00:20:36.470299: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-11 00:20:36.471217: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-11 00:20:36.471259: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-11 00:20:36.471268: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-11 00:20:36.471277: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-11 00:20:36.472228: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2988 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-02-11 00:20:49.745825: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-11 00:20:50.006152: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-11 00:20:51.675618: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.676191: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.18G (2338416128 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.676231: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-11 00:20:51.676741: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.676757: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-11 00:20:51.683857: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.683911: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-11 00:20:51.684741: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.684763: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-11 00:20:51.691101: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.691128: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 466.56MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-11 00:20:51.691961: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.691983: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 466.56MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-11 00:20:51.720458: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.720510: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-11 00:20:51.721116: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.721135: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-11 00:20:51.726595: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.726636: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 243.25MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-11 00:20:51.729834: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.729865: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 243.25MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-11 00:20:51.771775: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.772897: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.775465: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.776490: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.813471: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.814084: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.816055: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.816639: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.842059: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.842678: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.844229: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.844831: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.850383: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.851001: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.852667: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.853254: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.858964: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.859571: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.861131: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.861713: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.888945: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.889561: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.890154: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.890742: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.894437: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.895080: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.910959: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.911598: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.912179: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.912746: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.925224: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.925825: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.926435: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.927023: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.931492: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.932102: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.936874: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.937474: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.949882: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.950490: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.954743: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.955481: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.956056: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.956621: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.957470: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.958050: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.968879: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.969485: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.970073: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.970640: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.971214: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.971780: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.987218: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:51.987839: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.022026: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.022112: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-02-11 00:20:52.023191: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.024233: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.031187: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.031783: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.032416: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.033015: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.041090: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.041735: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.058792: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.059574: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.060300: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.061009: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.065071: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.065613: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.066141: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.066667: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.067648: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.077825: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.078404: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.087366: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.087963: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.088553: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.089129: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.089698: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:20:52.090259: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.42G (2598240256 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 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 : 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 : 16 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 19 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 19 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 22 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 19 Detection mask done ! Trying to reset tf kernel 402492 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 841 tf kernel not reseted sub process len(results) : 7 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 7 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 : 1640 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.000431060791015625 nb_pixel_total : 6447 time to create 1 rle with old method : 0.010025262832641602 length of segment : 132 time for calcul the mask position with numpy : 0.0003371238708496094 nb_pixel_total : 13158 time to create 1 rle with old method : 0.015009403228759766 length of segment : 185 time for calcul the mask position with numpy : 7.867813110351562e-05 nb_pixel_total : 1204 time to create 1 rle with old method : 0.0014278888702392578 length of segment : 44 time for calcul the mask position with numpy : 0.0003752708435058594 nb_pixel_total : 13961 time to create 1 rle with old method : 0.01646876335144043 length of segment : 151 time for calcul the mask position with numpy : 0.0002460479736328125 nb_pixel_total : 11021 time to create 1 rle with old method : 0.01339411735534668 length of segment : 135 time for calcul the mask position with numpy : 0.0002434253692626953 nb_pixel_total : 12260 time to create 1 rle with old method : 0.015127420425415039 length of segment : 133 time for calcul the mask position with numpy : 0.0011851787567138672 nb_pixel_total : 46302 time to create 1 rle with old method : 0.0574190616607666 length of segment : 234 time for calcul the mask position with numpy : 0.00013566017150878906 nb_pixel_total : 3522 time to create 1 rle with old method : 0.00394749641418457 length of segment : 70 time for calcul the mask position with numpy : 0.0001983642578125 nb_pixel_total : 5999 time to create 1 rle with old method : 0.007358074188232422 length of segment : 108 time for calcul the mask position with numpy : 0.0001251697540283203 nb_pixel_total : 4857 time to create 1 rle with old method : 0.00619196891784668 length of segment : 99 time for calcul the mask position with numpy : 0.0001590251922607422 nb_pixel_total : 4636 time to create 1 rle with old method : 0.0061876773834228516 length of segment : 126 time for calcul the mask position with numpy : 0.0005102157592773438 nb_pixel_total : 14095 time to create 1 rle with old method : 0.018414735794067383 length of segment : 225 time for calcul the mask position with numpy : 0.002868175506591797 nb_pixel_total : 96825 time to create 1 rle with old method : 0.10638666152954102 length of segment : 376 time for calcul the mask position with numpy : 0.0004100799560546875 nb_pixel_total : 18200 time to create 1 rle with old method : 0.020495176315307617 length of segment : 235 time for calcul the mask position with numpy : 0.0010690689086914062 nb_pixel_total : 48763 time to create 1 rle with old method : 0.0539858341217041 length of segment : 187 time for calcul the mask position with numpy : 0.0002961158752441406 nb_pixel_total : 12084 time to create 1 rle with old method : 0.014942407608032227 length of segment : 234 time for calcul the mask position with numpy : 0.00038623809814453125 nb_pixel_total : 20148 time to create 1 rle with old method : 0.02276754379272461 length of segment : 98 time for calcul the mask position with numpy : 0.001306772232055664 nb_pixel_total : 49296 time to create 1 rle with old method : 0.05872511863708496 length of segment : 272 time for calcul the mask position with numpy : 0.00042438507080078125 nb_pixel_total : 16054 time to create 1 rle with old method : 0.01755356788635254 length of segment : 211 time for calcul the mask position with numpy : 0.00022363662719726562 nb_pixel_total : 9928 time to create 1 rle with old method : 0.011734247207641602 length of segment : 118 time for calcul the mask position with numpy : 0.00019121170043945312 nb_pixel_total : 5708 time to create 1 rle with old method : 0.007435798645019531 length of segment : 59 time for calcul the mask position with numpy : 0.0020987987518310547 nb_pixel_total : 101037 time to create 1 rle with old method : 0.1089940071105957 length of segment : 410 time for calcul the mask position with numpy : 0.0010707378387451172 nb_pixel_total : 37966 time to create 1 rle with old method : 0.046132564544677734 length of segment : 523 time for calcul the mask position with numpy : 0.0002079010009765625 nb_pixel_total : 4321 time to create 1 rle with old method : 0.005156755447387695 length of segment : 152 time for calcul the mask position with numpy : 0.0014233589172363281 nb_pixel_total : 47292 time to create 1 rle with old method : 0.05088329315185547 length of segment : 330 time for calcul the mask position with numpy : 0.0005884170532226562 nb_pixel_total : 25135 time to create 1 rle with old method : 0.028912782669067383 length of segment : 255 time for calcul the mask position with numpy : 0.00061798095703125 nb_pixel_total : 29414 time to create 1 rle with old method : 0.03366422653198242 length of segment : 274 time for calcul the mask position with numpy : 0.0003654956817626953 nb_pixel_total : 15497 time to create 1 rle with old method : 0.0171356201171875 length of segment : 185 time for calcul the mask position with numpy : 0.0010962486267089844 nb_pixel_total : 51294 time to create 1 rle with old method : 0.059159040451049805 length of segment : 252 time for calcul the mask position with numpy : 0.0003502368927001953 nb_pixel_total : 13464 time to create 1 rle with old method : 0.01686406135559082 length of segment : 121 time for calcul the mask position with numpy : 0.0001304149627685547 nb_pixel_total : 4827 time to create 1 rle with old method : 0.006035327911376953 length of segment : 64 time for calcul the mask position with numpy : 0.004457950592041016 nb_pixel_total : 186461 time to create 1 rle with new method : 0.011535167694091797 length of segment : 776 time for calcul the mask position with numpy : 0.0003230571746826172 nb_pixel_total : 8133 time to create 1 rle with old method : 0.009342432022094727 length of segment : 174 time for calcul the mask position with numpy : 0.00027489662170410156 nb_pixel_total : 9977 time to create 1 rle with old method : 0.011787176132202148 length of segment : 61 time for calcul the mask position with numpy : 0.0017008781433105469 nb_pixel_total : 64902 time to create 1 rle with old method : 0.07372236251831055 length of segment : 502 time for calcul the mask position with numpy : 0.0014548301696777344 nb_pixel_total : 70489 time to create 1 rle with old method : 0.08218526840209961 length of segment : 400 time for calcul the mask position with numpy : 0.0001666545867919922 nb_pixel_total : 2184 time to create 1 rle with old method : 0.002552509307861328 length of segment : 80 time for calcul the mask position with numpy : 0.000438690185546875 nb_pixel_total : 11332 time to create 1 rle with old method : 0.013283252716064453 length of segment : 140 time for calcul the mask position with numpy : 0.0010685920715332031 nb_pixel_total : 31291 time to create 1 rle with old method : 0.0364077091217041 length of segment : 264 time for calcul the mask position with numpy : 0.0002334117889404297 nb_pixel_total : 5291 time to create 1 rle with old method : 0.005952119827270508 length of segment : 102 time for calcul the mask position with numpy : 0.00033354759216308594 nb_pixel_total : 9256 time to create 1 rle with old method : 0.010921955108642578 length of segment : 103 time for calcul the mask position with numpy : 0.00014472007751464844 nb_pixel_total : 3732 time to create 1 rle with old method : 0.004685163497924805 length of segment : 68 time for calcul the mask position with numpy : 0.0035932064056396484 nb_pixel_total : 131931 time to create 1 rle with old method : 0.1450800895690918 length of segment : 528 time for calcul the mask position with numpy : 0.0003662109375 nb_pixel_total : 11124 time to create 1 rle with old method : 0.01360630989074707 length of segment : 149 time for calcul the mask position with numpy : 0.00261688232421875 nb_pixel_total : 108070 time to create 1 rle with old method : 0.12168717384338379 length of segment : 419 time for calcul the mask position with numpy : 0.000843048095703125 nb_pixel_total : 25944 time to create 1 rle with old method : 0.03033924102783203 length of segment : 204 time for calcul the mask position with numpy : 0.0003819465637207031 nb_pixel_total : 14765 time to create 1 rle with old method : 0.017744779586791992 length of segment : 128 time for calcul the mask position with numpy : 0.0001742839813232422 nb_pixel_total : 3596 time to create 1 rle with old method : 0.004559755325317383 length of segment : 86 time for calcul the mask position with numpy : 0.0003578662872314453 nb_pixel_total : 14120 time to create 1 rle with old method : 0.015318155288696289 length of segment : 135 time for calcul the mask position with numpy : 0.00013875961303710938 nb_pixel_total : 3396 time to create 1 rle with old method : 0.004102230072021484 length of segment : 48 time for calcul the mask position with numpy : 0.0001952648162841797 nb_pixel_total : 4268 time to create 1 rle with old method : 0.0050296783447265625 length of segment : 126 time for calcul the mask position with numpy : 0.00015091896057128906 nb_pixel_total : 3477 time to create 1 rle with old method : 0.004319906234741211 length of segment : 125 time for calcul the mask position with numpy : 0.00017118453979492188 nb_pixel_total : 4271 time to create 1 rle with old method : 0.0051915645599365234 length of segment : 110 time for calcul the mask position with numpy : 0.0019435882568359375 nb_pixel_total : 77882 time to create 1 rle with old method : 0.0834660530090332 length of segment : 290 time for calcul the mask position with numpy : 0.00032591819763183594 nb_pixel_total : 12545 time to create 1 rle with old method : 0.014676809310913086 length of segment : 115 time for calcul the mask position with numpy : 0.003244161605834961 nb_pixel_total : 108246 time to create 1 rle with old method : 0.12358689308166504 length of segment : 294 time for calcul the mask position with numpy : 0.0032567977905273438 nb_pixel_total : 78295 time to create 1 rle with old method : 0.09048295021057129 length of segment : 311 time for calcul the mask position with numpy : 0.0010249614715576172 nb_pixel_total : 10507 time to create 1 rle with old method : 0.012209653854370117 length of segment : 196 time for calcul the mask position with numpy : 0.00026917457580566406 nb_pixel_total : 2256 time to create 1 rle with old method : 0.002844095230102539 length of segment : 61 time for calcul the mask position with numpy : 0.00030517578125 nb_pixel_total : 5766 time to create 1 rle with old method : 0.0072460174560546875 length of segment : 116 time for calcul the mask position with numpy : 0.01145792007446289 nb_pixel_total : 244285 time to create 1 rle with new method : 0.03458142280578613 length of segment : 642 time for calcul the mask position with numpy : 0.0011112689971923828 nb_pixel_total : 6329 time to create 1 rle with old method : 0.008342981338500977 length of segment : 257 time for calcul the mask position with numpy : 0.00030350685119628906 nb_pixel_total : 6890 time to create 1 rle with old method : 0.00867605209350586 length of segment : 104 time for calcul the mask position with numpy : 0.0017898082733154297 nb_pixel_total : 43381 time to create 1 rle with old method : 0.04642152786254883 length of segment : 327 time for calcul the mask position with numpy : 0.00038933753967285156 nb_pixel_total : 2251 time to create 1 rle with old method : 0.0027680397033691406 length of segment : 109 time for calcul the mask position with numpy : 0.00021600723266601562 nb_pixel_total : 2674 time to create 1 rle with old method : 0.0031239986419677734 length of segment : 62 time for calcul the mask position with numpy : 0.006304025650024414 nb_pixel_total : 179294 time to create 1 rle with new method : 0.012778282165527344 length of segment : 488 time for calcul the mask position with numpy : 0.002614259719848633 nb_pixel_total : 57604 time to create 1 rle with old method : 0.05954790115356445 length of segment : 435 time for calcul the mask position with numpy : 0.00026679039001464844 nb_pixel_total : 1899 time to create 1 rle with old method : 0.0022521018981933594 length of segment : 73 time for calcul the mask position with numpy : 0.0010232925415039062 nb_pixel_total : 7670 time to create 1 rle with old method : 0.008918285369873047 length of segment : 125 time for calcul the mask position with numpy : 0.000396728515625 nb_pixel_total : 13704 time to create 1 rle with old method : 0.014904260635375977 length of segment : 89 time for calcul the mask position with numpy : 0.0003159046173095703 nb_pixel_total : 2004 time to create 1 rle with old method : 0.0023186206817626953 length of segment : 107 time for calcul the mask position with numpy : 0.0005340576171875 nb_pixel_total : 8624 time to create 1 rle with old method : 0.010271310806274414 length of segment : 107 time for calcul the mask position with numpy : 0.0020313262939453125 nb_pixel_total : 58849 time to create 1 rle with old method : 0.06632709503173828 length of segment : 366 time for calcul the mask position with numpy : 0.0004341602325439453 nb_pixel_total : 5848 time to create 1 rle with old method : 0.006716489791870117 length of segment : 89 time for calcul the mask position with numpy : 0.0030906200408935547 nb_pixel_total : 91763 time to create 1 rle with old method : 0.09918403625488281 length of segment : 338 time for calcul the mask position with numpy : 0.00023508071899414062 nb_pixel_total : 5108 time to create 1 rle with old method : 0.005671501159667969 length of segment : 86 time for calcul the mask position with numpy : 0.0011754035949707031 nb_pixel_total : 36564 time to create 1 rle with old method : 0.03845930099487305 length of segment : 137 time for calcul the mask position with numpy : 0.0032777786254882812 nb_pixel_total : 64508 time to create 1 rle with old method : 0.06749534606933594 length of segment : 466 time for calcul the mask position with numpy : 0.00016164779663085938 nb_pixel_total : 1638 time to create 1 rle with old method : 0.0021533966064453125 length of segment : 73 time for calcul the mask position with numpy : 0.00020623207092285156 nb_pixel_total : 3057 time to create 1 rle with old method : 0.003984928131103516 length of segment : 64 time for calcul the mask position with numpy : 0.001783132553100586 nb_pixel_total : 43162 time to create 1 rle with old method : 0.04678702354431152 length of segment : 339 time for calcul the mask position with numpy : 0.0014832019805908203 nb_pixel_total : 41149 time to create 1 rle with old method : 0.04632878303527832 length of segment : 234 time for calcul the mask position with numpy : 0.005341291427612305 nb_pixel_total : 146670 time to create 1 rle with old method : 0.16859006881713867 length of segment : 737 time for calcul the mask position with numpy : 0.0006825923919677734 nb_pixel_total : 9048 time to create 1 rle with old method : 0.011088848114013672 length of segment : 142 time for calcul the mask position with numpy : 0.02105259895324707 nb_pixel_total : 284504 time to create 1 rle with new method : 0.05155777931213379 length of segment : 1074 time for calcul the mask position with numpy : 0.0008006095886230469 nb_pixel_total : 44884 time to create 1 rle with old method : 0.048427581787109375 length of segment : 206 time for calcul the mask position with numpy : 0.0026400089263916016 nb_pixel_total : 71331 time to create 1 rle with old method : 0.07679080963134766 length of segment : 339 time for calcul the mask position with numpy : 0.0006248950958251953 nb_pixel_total : 12912 time to create 1 rle with old method : 0.014400005340576172 length of segment : 127 time for calcul the mask position with numpy : 0.0017180442810058594 nb_pixel_total : 37203 time to create 1 rle with old method : 0.03972220420837402 length of segment : 608 time for calcul the mask position with numpy : 0.000225067138671875 nb_pixel_total : 3581 time to create 1 rle with old method : 0.0044858455657958984 length of segment : 61 time for calcul the mask position with numpy : 0.008945226669311523 nb_pixel_total : 253493 time to create 1 rle with new method : 0.27520179748535156 length of segment : 707 time for calcul the mask position with numpy : 0.001935720443725586 nb_pixel_total : 61204 time to create 1 rle with old method : 0.06730341911315918 length of segment : 318 time for calcul the mask position with numpy : 0.004888772964477539 nb_pixel_total : 194311 time to create 1 rle with new method : 0.02909708023071289 length of segment : 879 time for calcul the mask position with numpy : 0.005141496658325195 nb_pixel_total : 201322 time to create 1 rle with new method : 0.013584136962890625 length of segment : 724 time for calcul the mask position with numpy : 0.0003323554992675781 nb_pixel_total : 7434 time to create 1 rle with old method : 0.009096622467041016 length of segment : 87 time for calcul the mask position with numpy : 0.002606630325317383 nb_pixel_total : 92988 time to create 1 rle with old method : 0.10278606414794922 length of segment : 364 time for calcul the mask position with numpy : 0.0029151439666748047 nb_pixel_total : 72415 time to create 1 rle with old method : 0.08127498626708984 length of segment : 411 time for calcul the mask position with numpy : 0.0007488727569580078 nb_pixel_total : 16387 time to create 1 rle with old method : 0.019029617309570312 length of segment : 205 time for calcul the mask position with numpy : 0.0005517005920410156 nb_pixel_total : 11401 time to create 1 rle with old method : 0.013013362884521484 length of segment : 156 time for calcul the mask position with numpy : 0.006551980972290039 nb_pixel_total : 205991 time to create 1 rle with new method : 0.017504453659057617 length of segment : 557 time for calcul the mask position with numpy : 0.005457639694213867 nb_pixel_total : 127248 time to create 1 rle with old method : 0.15578484535217285 length of segment : 441 time for calcul the mask position with numpy : 0.0004062652587890625 nb_pixel_total : 4281 time to create 1 rle with old method : 0.005163908004760742 length of segment : 133 time for calcul the mask position with numpy : 9.179115295410156e-05 nb_pixel_total : 995 time to create 1 rle with old method : 0.0014104843139648438 length of segment : 51 time for calcul the mask position with numpy : 0.0004863739013671875 nb_pixel_total : 6809 time to create 1 rle with old method : 0.008017778396606445 length of segment : 122 time for calcul the mask position with numpy : 0.00013208389282226562 nb_pixel_total : 2239 time to create 1 rle with old method : 0.00312042236328125 length of segment : 40 time for calcul the mask position with numpy : 0.0027840137481689453 nb_pixel_total : 122484 time to create 1 rle with old method : 0.13721346855163574 length of segment : 443 time for calcul the mask position with numpy : 0.0039331912994384766 nb_pixel_total : 122632 time to create 1 rle with old method : 0.13143348693847656 length of segment : 479 time for calcul the mask position with numpy : 0.0008409023284912109 nb_pixel_total : 26647 time to create 1 rle with old method : 0.03116440773010254 length of segment : 236 time for calcul the mask position with numpy : 0.00035834312438964844 nb_pixel_total : 5047 time to create 1 rle with old method : 0.006417751312255859 length of segment : 160 time for calcul the mask position with numpy : 0.00029087066650390625 nb_pixel_total : 4138 time to create 1 rle with old method : 0.0073642730712890625 length of segment : 55 time for calcul the mask position with numpy : 0.02300405502319336 nb_pixel_total : 274258 time to create 1 rle with new method : 0.020000219345092773 length of segment : 759 time for calcul the mask position with numpy : 0.002437591552734375 nb_pixel_total : 113822 time to create 1 rle with old method : 0.13140273094177246 length of segment : 478 time for calcul the mask position with numpy : 0.0009653568267822266 nb_pixel_total : 15201 time to create 1 rle with old method : 0.0282747745513916 length of segment : 215 time spent for convertir_results : 9.531489610671997 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 114 chid ids of type : 3663 Number RLEs to save : 28540 save missing photos in datou_result : time spend for datou_step_exec : 53.60470771789551 time spend to save output : 3.6372246742248535 total time spend for step 1 : 57.24193239212036 step2:crop_condition Tue Feb 11 00:21: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 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 : 7 ! batch 1 Loaded 114 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 ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : 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 ! map_result returned by crop_photo_return_map_crop : length : 30 About to insert : list_path_to_insert length 30 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 ! 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 : 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 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 [1336549205, 1336549004, 1336548902, 1336548792, 1336548746, 1336548735, 1336548726] Looping around the photos to save general results len do output : 52 /-3668751602Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751605Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751611Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751617Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751662Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751695Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751620Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751634Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751644Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751680Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751689Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751682Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751708Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751693Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751624Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751687Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751609Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751608Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751610Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751618Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751613Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751622Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751621Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751640Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751631Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751627Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751638Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751630Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751652Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751641Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751650Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751653Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751671Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751674Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751669Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751663Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751685Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751677Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751690Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751683Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751681Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751704Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751696Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751692Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751707Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751697Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751615Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751623Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751664Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751679Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751702Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668751703Didn'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, '2574201') ('3459', None, '1336549205', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549004', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548902', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548792', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548746', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548735', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548726', None, None, None, None, None, '2574201') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 163 time used for this insertion : 0.03099536895751953 save_final save missing photos in datou_result : time spend for datou_step_exec : 25.949814558029175 time spend to save output : 0.032819271087646484 total time spend for step 2 : 25.98263382911682 step3:thcl Tue Feb 11 00:21:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure 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.006178140640258789 time to convert the images to numpy array : 3.814697265625e-06 time to import caffe and check if the image exist : 0.013010263442993164 time to convert the images to numpy array : 0.105316162109375 time to import caffe and check if the image exist : 0.01138925552368164 time to convert the images to numpy array : 0.14844250679016113 time to import caffe and check if the image exist : 0.012024641036987305 time to convert the images to numpy array : 0.14836382865905762 time to import caffe and check if the image exist : 0.00901341438293457 time to convert the images to numpy array : 0.15501165390014648 time to import caffe and check if the image exist : 0.015168428421020508 time to convert the images to numpy array : 0.1737062931060791 time to import caffe and check if the image exist : 0.008850812911987305 time to convert the images to numpy array : 0.1905350685119629 time to import caffe and check if the image exist : 0.01441502571105957 time to convert the images to numpy array : 0.19326567649841309 time to import caffe and check if the image exist : 0.015747785568237305 time to convert the images to numpy array : 0.20753121376037598 time to import caffe and check if the image exist : 0.016687870025634766 time to convert the images to numpy array : 0.2176058292388916 total time to convert the images to numpy array : 0.6825404167175293 list photo_ids error: [] list photo_ids correct : [-3668751650, -3668751653, -3668751671, -3668751674, -3668751669, -3668751663, -3668751664, -3668751679, -3668751702, -3668751703, -3668751610, -3668751618, -3668751613, -3668751622, -3668751621, -3668751640, -3668751602, -3668751605, -3668751611, -3668751617, -3668751662, -3668751695, -3668751631, -3668751627, -3668751638, -3668751630, -3668751652, -3668751641, -3668751696, -3668751692, -3668751707, -3668751697, -3668751615, -3668751623, -3668751620, -3668751634, -3668751644, -3668751680, -3668751689, -3668751682, -3668751708, -3668751693, -3668751624, -3668751687, -3668751609, -3668751608, -3668751685, -3668751677, -3668751690, -3668751683, -3668751681, -3668751704] number of photos to traite : 52 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 : 2833 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 : 2614 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.9433629512786865 time used to do the prediction : 0.2407088279724121 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 : 2612 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 : 2612 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.7617268562316895 time used to do the prediction : 0.13884615898132324 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 1.8596649169921875e-05 save missing photos in datou_result : time spend for datou_step_exec : 9.964318752288818 time spend to save output : 0.00043201446533203125 total time spend for step 3 : 9.96475076675415 step4:merge_mask_thcl_custom Tue Feb 11 00:22:06 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 114 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 [1336549205, 1336549004, 1336548902, 1336548792, 1336548746, 1336548735, 1336548726] Looping around the photos to save general results len do output : 7 /1336549205Didn't retrieve data .Didn't retrieve data . /1336549004Didn't retrieve data .Didn't retrieve data . /1336548902Didn't retrieve data .Didn't retrieve data . /1336548792Didn't retrieve data .Didn't retrieve data . /1336548746Didn't retrieve data .Didn't retrieve data . /1336548735Didn't retrieve data .Didn't retrieve data . /1336548726Didn'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, '2574201') ('3459', None, '1336549205', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549004', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548902', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548792', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548746', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548735', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548726', None, None, None, None, None, '2574201') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.018611431121826172 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06084036827087402 time spend to save output : 0.01903057098388672 total time spend for step 4 : 0.07987093925476074 step5:rle_unique_nms_with_priority Tue Feb 11 00:22:06 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 : 14 nb_hashtags : 3 time to prepare the origin masks : 9.118209838867188 time for calcul the mask position with numpy : 0.7423334121704102 nb_pixel_total : 6798599 time to create 1 rle with new method : 1.035273790359497 time for calcul the mask position with numpy : 0.030056476593017578 nb_pixel_total : 96649 time to create 1 rle with old method : 0.10411548614501953 time for calcul the mask position with numpy : 0.03431057929992676 nb_pixel_total : 14034 time to create 1 rle with old method : 0.01615738868713379 time for calcul the mask position with numpy : 0.025404691696166992 nb_pixel_total : 18182 time to create 1 rle with old method : 0.020017623901367188 time for calcul the mask position with numpy : 0.022697925567626953 nb_pixel_total : 4610 time to create 1 rle with old method : 0.005270481109619141 time for calcul the mask position with numpy : 0.021579742431640625 nb_pixel_total : 5934 time to create 1 rle with old method : 0.006764411926269531 time for calcul the mask position with numpy : 0.022251605987548828 nb_pixel_total : 3504 time to create 1 rle with old method : 0.004033327102661133 time for calcul the mask position with numpy : 0.022463321685791016 nb_pixel_total : 12182 time to create 1 rle with old method : 0.013981819152832031 time for calcul the mask position with numpy : 0.022811174392700195 nb_pixel_total : 10986 time to create 1 rle with old method : 0.012525796890258789 time for calcul the mask position with numpy : 0.021512746810913086 nb_pixel_total : 4812 time to create 1 rle with old method : 0.005549907684326172 time for calcul the mask position with numpy : 0.022168397903442383 nb_pixel_total : 13906 time to create 1 rle with old method : 0.015995264053344727 time for calcul the mask position with numpy : 0.021066904067993164 nb_pixel_total : 1192 time to create 1 rle with old method : 0.0014433860778808594 time for calcul the mask position with numpy : 0.022895097732543945 nb_pixel_total : 13116 time to create 1 rle with old method : 0.01442718505859375 time for calcul the mask position with numpy : 0.021996736526489258 nb_pixel_total : 6433 time to create 1 rle with old method : 0.007441043853759766 time for calcul the mask position with numpy : 0.02120685577392578 nb_pixel_total : 46101 time to create 1 rle with old method : 0.08187270164489746 create new chi : 2.458829402923584 time to delete rle : 0.014182806015014648 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 6710 TO DO : save crop sub photo not yet done ! save time : 0.4589235782623291 nb_obj : 15 nb_hashtags : 4 time to prepare the origin masks : 9.394888877868652 time for calcul the mask position with numpy : 0.6120359897613525 nb_pixel_total : 6639115 time to create 1 rle with new method : 1.2141947746276855 time for calcul the mask position with numpy : 0.039340972900390625 nb_pixel_total : 855 time to create 1 rle with old method : 0.0011560916900634766 time for calcul the mask position with numpy : 0.03763937950134277 nb_pixel_total : 25092 time to create 1 rle with old method : 0.027262210845947266 time for calcul the mask position with numpy : 0.03716707229614258 nb_pixel_total : 9903 time to create 1 rle with old method : 0.011547327041625977 time for calcul the mask position with numpy : 0.03876090049743652 nb_pixel_total : 12063 time to create 1 rle with old method : 0.013502836227416992 time for calcul the mask position with numpy : 0.03545022010803223 nb_pixel_total : 4291 time to create 1 rle with old method : 0.0050547122955322266 time for calcul the mask position with numpy : 0.027586698532104492 nb_pixel_total : 29381 time to create 1 rle with old method : 0.03182840347290039 time for calcul the mask position with numpy : 0.027256488800048828 nb_pixel_total : 5655 time to create 1 rle with old method : 0.00623774528503418 time for calcul the mask position with numpy : 0.028033971786499023 nb_pixel_total : 15962 time to create 1 rle with old method : 0.01832127571105957 time for calcul the mask position with numpy : 0.03385639190673828 nb_pixel_total : 38171 time to create 1 rle with old method : 0.046111106872558594 time for calcul the mask position with numpy : 0.03290295600891113 nb_pixel_total : 20045 time to create 1 rle with old method : 0.022518396377563477 time for calcul the mask position with numpy : 0.03450584411621094 nb_pixel_total : 47112 time to create 1 rle with old method : 0.05115628242492676 time for calcul the mask position with numpy : 0.033945322036743164 nb_pixel_total : 4142 time to create 1 rle with old method : 0.0052127838134765625 time for calcul the mask position with numpy : 0.03448772430419922 nb_pixel_total : 49141 time to create 1 rle with old method : 0.05379009246826172 time for calcul the mask position with numpy : 0.03969526290893555 nb_pixel_total : 48466 time to create 1 rle with old method : 0.054791927337646484 time for calcul the mask position with numpy : 0.035768747329711914 nb_pixel_total : 100846 time to create 1 rle with old method : 0.10869240760803223 create new chi : 2.850010871887207 time to delete rle : 0.0009253025054931641 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 8885 TO DO : save crop sub photo not yet done ! save time : 0.519895076751709 nb_obj : 15 nb_hashtags : 4 time to prepare the origin masks : 13.24435043334961 time for calcul the mask position with numpy : 0.7899479866027832 nb_pixel_total : 6388979 time to create 1 rle with new method : 0.40801024436950684 time for calcul the mask position with numpy : 0.034483909606933594 nb_pixel_total : 31119 time to create 1 rle with old method : 0.03363156318664551 time for calcul the mask position with numpy : 0.03392529487609863 nb_pixel_total : 70353 time to create 1 rle with old method : 0.0764620304107666 time for calcul the mask position with numpy : 0.036890506744384766 nb_pixel_total : 11073 time to create 1 rle with old method : 0.012495756149291992 time for calcul the mask position with numpy : 0.03485107421875 nb_pixel_total : 131450 time to create 1 rle with old method : 0.13983368873596191 time for calcul the mask position with numpy : 0.0343320369720459 nb_pixel_total : 3712 time to create 1 rle with old method : 0.004349231719970703 time for calcul the mask position with numpy : 0.0354771614074707 nb_pixel_total : 186039 time to create 1 rle with new method : 0.9430484771728516 time for calcul the mask position with numpy : 0.03246569633483887 nb_pixel_total : 5281 time to create 1 rle with old method : 0.006078958511352539 time for calcul the mask position with numpy : 0.03233838081359863 nb_pixel_total : 11268 time to create 1 rle with old method : 0.012892007827758789 time for calcul the mask position with numpy : 0.033524274826049805 nb_pixel_total : 2180 time to create 1 rle with old method : 0.0025610923767089844 time for calcul the mask position with numpy : 0.03348851203918457 nb_pixel_total : 9933 time to create 1 rle with old method : 0.010933637619018555 time for calcul the mask position with numpy : 0.03694915771484375 nb_pixel_total : 8054 time to create 1 rle with old method : 0.025476932525634766 time for calcul the mask position with numpy : 0.037340641021728516 nb_pixel_total : 64868 time to create 1 rle with old method : 0.06862187385559082 time for calcul the mask position with numpy : 0.0336909294128418 nb_pixel_total : 4794 time to create 1 rle with old method : 0.005427122116088867 time for calcul the mask position with numpy : 0.035286903381347656 nb_pixel_total : 13363 time to create 1 rle with old method : 0.014680862426757812 time for calcul the mask position with numpy : 0.023967504501342773 nb_pixel_total : 107774 time to create 1 rle with old method : 0.11429810523986816 create new chi : 3.245405912399292 time to delete rle : 0.0012793540954589844 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 9900 TO DO : save crop sub photo not yet done ! save time : 0.8033075332641602 nb_obj : 16 nb_hashtags : 5 time to prepare the origin masks : 14.825333595275879 time for calcul the mask position with numpy : 0.7243893146514893 nb_pixel_total : 6679919 time to create 1 rle with new method : 0.9705312252044678 time for calcul the mask position with numpy : 0.03230857849121094 nb_pixel_total : 10501 time to create 1 rle with old method : 0.011415958404541016 time for calcul the mask position with numpy : 0.033477783203125 nb_pixel_total : 14071 time to create 1 rle with old method : 0.01581597328186035 time for calcul the mask position with numpy : 0.034639835357666016 nb_pixel_total : 25850 time to create 1 rle with old method : 0.03191518783569336 time for calcul the mask position with numpy : 0.0335390567779541 nb_pixel_total : 1684 time to create 1 rle with old method : 0.0020008087158203125 time for calcul the mask position with numpy : 0.031156539916992188 nb_pixel_total : 5748 time to create 1 rle with old method : 0.006270408630371094 time for calcul the mask position with numpy : 0.03237628936767578 nb_pixel_total : 2245 time to create 1 rle with old method : 0.0026056766510009766 time for calcul the mask position with numpy : 0.03131699562072754 nb_pixel_total : 108061 time to create 1 rle with old method : 0.11593437194824219 time for calcul the mask position with numpy : 0.02854752540588379 nb_pixel_total : 12455 time to create 1 rle with old method : 0.013764381408691406 time for calcul the mask position with numpy : 0.021805763244628906 nb_pixel_total : 77642 time to create 1 rle with old method : 0.08177685737609863 time for calcul the mask position with numpy : 0.022799015045166016 nb_pixel_total : 4260 time to create 1 rle with old method : 0.006921052932739258 time for calcul the mask position with numpy : 0.022238969802856445 nb_pixel_total : 3464 time to create 1 rle with old method : 0.005647897720336914 time for calcul the mask position with numpy : 0.021338701248168945 nb_pixel_total : 4250 time to create 1 rle with old method : 0.004602909088134766 time for calcul the mask position with numpy : 0.02126312255859375 nb_pixel_total : 3367 time to create 1 rle with old method : 0.003894329071044922 time for calcul the mask position with numpy : 0.021593332290649414 nb_pixel_total : 78075 time to create 1 rle with old method : 0.08472800254821777 time for calcul the mask position with numpy : 0.022002458572387695 nb_pixel_total : 3581 time to create 1 rle with old method : 0.0042002201080322266 time for calcul the mask position with numpy : 0.021879196166992188 nb_pixel_total : 15067 time to create 1 rle with old method : 0.016665935516357422 create new chi : 2.5843372344970703 time to delete rle : 0.0007619857788085938 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 7167 TO DO : save crop sub photo not yet done ! save time : 0.49553656578063965 nb_obj : 16 nb_hashtags : 5 time to prepare the origin masks : 12.6657075881958 time for calcul the mask position with numpy : 0.5628859996795654 nb_pixel_total : 6506804 time to create 1 rle with new method : 1.1611979007720947 time for calcul the mask position with numpy : 0.03151965141296387 nb_pixel_total : 91269 time to create 1 rle with old method : 0.09485530853271484 time for calcul the mask position with numpy : 0.033896446228027344 nb_pixel_total : 378 time to create 1 rle with old method : 0.0005252361297607422 time for calcul the mask position with numpy : 0.032993316650390625 nb_pixel_total : 5083 time to create 1 rle with old method : 0.005663394927978516 time for calcul the mask position with numpy : 0.03273940086364746 nb_pixel_total : 57555 time to create 1 rle with old method : 0.060578346252441406 time for calcul the mask position with numpy : 0.03268027305603027 nb_pixel_total : 5810 time to create 1 rle with old method : 0.006287574768066406 time for calcul the mask position with numpy : 0.032125234603881836 nb_pixel_total : 1883 time to create 1 rle with old method : 0.002043485641479492 time for calcul the mask position with numpy : 0.03216195106506348 nb_pixel_total : 8568 time to create 1 rle with old method : 0.00954890251159668 time for calcul the mask position with numpy : 0.019635677337646484 nb_pixel_total : 1996 time to create 1 rle with old method : 0.0021550655364990234 time for calcul the mask position with numpy : 0.02025461196899414 nb_pixel_total : 13491 time to create 1 rle with old method : 0.014574050903320312 time for calcul the mask position with numpy : 0.020316362380981445 nb_pixel_total : 7554 time to create 1 rle with old method : 0.008422374725341797 time for calcul the mask position with numpy : 0.0213775634765625 nb_pixel_total : 178768 time to create 1 rle with new method : 0.8472216129302979 time for calcul the mask position with numpy : 0.02079629898071289 nb_pixel_total : 2666 time to create 1 rle with old method : 0.003092527389526367 time for calcul the mask position with numpy : 0.021963834762573242 nb_pixel_total : 64294 time to create 1 rle with old method : 0.0698394775390625 time for calcul the mask position with numpy : 0.021654844284057617 nb_pixel_total : 2241 time to create 1 rle with old method : 0.002536773681640625 time for calcul the mask position with numpy : 0.022003650665283203 nb_pixel_total : 43243 time to create 1 rle with old method : 0.04682660102844238 time for calcul the mask position with numpy : 0.027269840240478516 nb_pixel_total : 58637 time to create 1 rle with old method : 0.06442713737487793 create new chi : 3.452547311782837 time to delete rle : 0.0009129047393798828 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 8743 TO DO : save crop sub photo not yet done ! save time : 1.13936185836792 nb_obj : 16 nb_hashtags : 5 time to prepare the origin masks : 15.696360111236572 time for calcul the mask position with numpy : 0.6875815391540527 nb_pixel_total : 5922045 time to create 1 rle with new method : 1.7700495719909668 time for calcul the mask position with numpy : 0.021719694137573242 nb_pixel_total : 62098 time to create 1 rle with old method : 0.06905794143676758 time for calcul the mask position with numpy : 0.020506858825683594 nb_pixel_total : 7409 time to create 1 rle with old method : 0.008405208587646484 time for calcul the mask position with numpy : 0.021808147430419922 nb_pixel_total : 61064 time to create 1 rle with old method : 0.0664212703704834 time for calcul the mask position with numpy : 0.020692825317382812 nb_pixel_total : 9033 time to create 1 rle with old method : 0.010463953018188477 time for calcul the mask position with numpy : 0.023011207580566406 nb_pixel_total : 204242 time to create 1 rle with new method : 0.9172413349151611 time for calcul the mask position with numpy : 0.022440671920776367 nb_pixel_total : 3570 time to create 1 rle with old method : 0.004051923751831055 time for calcul the mask position with numpy : 0.022351741790771484 nb_pixel_total : 45301 time to create 1 rle with old method : 0.04989504814147949 time for calcul the mask position with numpy : 0.02108287811279297 nb_pixel_total : 12749 time to create 1 rle with old method : 0.014747381210327148 time for calcul the mask position with numpy : 0.021580219268798828 nb_pixel_total : 43103 time to create 1 rle with old method : 0.046749114990234375 time for calcul the mask position with numpy : 0.02325439453125 nb_pixel_total : 110157 time to create 1 rle with old method : 0.12065768241882324 time for calcul the mask position with numpy : 0.022144317626953125 nb_pixel_total : 31213 time to create 1 rle with old method : 0.03459024429321289 time for calcul the mask position with numpy : 0.02162337303161621 nb_pixel_total : 62561 time to create 1 rle with old method : 0.06809544563293457 time for calcul the mask position with numpy : 0.023504257202148438 nb_pixel_total : 285647 time to create 1 rle with new method : 0.7630963325500488 time for calcul the mask position with numpy : 0.021618366241455078 nb_pixel_total : 40944 time to create 1 rle with old method : 0.04449868202209473 time for calcul the mask position with numpy : 0.02533411979675293 nb_pixel_total : 146057 time to create 1 rle with old method : 0.16048884391784668 time for calcul the mask position with numpy : 0.02349090576171875 nb_pixel_total : 3047 time to create 1 rle with old method : 0.003552675247192383 create new chi : 5.289167642593384 time to delete rle : 0.0012636184692382812 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 13325 TO DO : save crop sub photo not yet done ! save time : 0.8465368747711182 nb_obj : 18 nb_hashtags : 7 time to prepare the origin masks : 13.967249631881714 time for calcul the mask position with numpy : 0.9258418083190918 nb_pixel_total : 5942453 time to create 1 rle with new method : 1.6924974918365479 time for calcul the mask position with numpy : 0.03141283988952637 nb_pixel_total : 72139 time to create 1 rle with old method : 0.07587099075317383 time for calcul the mask position with numpy : 0.033907175064086914 nb_pixel_total : 7466 time to create 1 rle with old method : 0.00869297981262207 time for calcul the mask position with numpy : 0.03357338905334473 nb_pixel_total : 15159 time to create 1 rle with old method : 0.016575336456298828 time for calcul the mask position with numpy : 0.034155845642089844 nb_pixel_total : 205664 time to create 1 rle with new method : 1.0847716331481934 time for calcul the mask position with numpy : 0.03409981727600098 nb_pixel_total : 127091 time to create 1 rle with old method : 0.15969038009643555 time for calcul the mask position with numpy : 0.03753185272216797 nb_pixel_total : 26497 time to create 1 rle with old method : 0.027710676193237305 time for calcul the mask position with numpy : 0.034731388092041016 nb_pixel_total : 4070 time to create 1 rle with old method : 0.004259586334228516 time for calcul the mask position with numpy : 0.03418469429016113 nb_pixel_total : 5021 time to create 1 rle with old method : 0.005645036697387695 time for calcul the mask position with numpy : 0.03395414352416992 nb_pixel_total : 2209 time to create 1 rle with old method : 0.0024809837341308594 time for calcul the mask position with numpy : 0.0355982780456543 nb_pixel_total : 113453 time to create 1 rle with old method : 0.12411999702453613 time for calcul the mask position with numpy : 0.034407615661621094 nb_pixel_total : 6790 time to create 1 rle with old method : 0.007356882095336914 time for calcul the mask position with numpy : 0.03439688682556152 nb_pixel_total : 122524 time to create 1 rle with old method : 0.13060736656188965 time for calcul the mask position with numpy : 0.03723859786987305 nb_pixel_total : 986 time to create 1 rle with old method : 0.0011816024780273438 time for calcul the mask position with numpy : 0.0343625545501709 nb_pixel_total : 4262 time to create 1 rle with old method : 0.004957437515258789 time for calcul the mask position with numpy : 0.0341954231262207 nb_pixel_total : 11370 time to create 1 rle with old method : 0.012408733367919922 time for calcul the mask position with numpy : 0.03498268127441406 nb_pixel_total : 273692 time to create 1 rle with new method : 1.1676030158996582 time for calcul the mask position with numpy : 0.03283500671386719 nb_pixel_total : 16337 time to create 1 rle with old method : 0.017743587493896484 time for calcul the mask position with numpy : 0.03516364097595215 nb_pixel_total : 93057 time to create 1 rle with old method : 0.09858298301696777 create new chi : 6.279417037963867 time to delete rle : 0.0017056465148925781 batch 1 Loaded 19 chid ids of type : 3726 Number RLEs to save : 12388 TO DO : save crop sub photo not yet done ! save time : 0.8131024837493896 map_output_result : {1336549205: (0.0, 'Should be the crop_list due to order', 0.0), 1336549004: (0.0, 'Should be the crop_list due to order', 0.0), 1336548902: (0.0, 'Should be the crop_list due to order', 0.0), 1336548792: (0.0, 'Should be the crop_list due to order', 0.0), 1336548746: (0.0, 'Should be the crop_list due to order', 0.0), 1336548735: (0.0, 'Should be the crop_list due to order', 0.0), 1336548726: (0.0, 'Should be the crop_list due to order', 0.0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1336549205, 1336549004, 1336548902, 1336548792, 1336548746, 1336548735, 1336548726] Looping around the photos to save general results len do output : 7 /1336549205.Didn't retrieve data . /1336549004.Didn't retrieve data . /1336548902.Didn't retrieve data . /1336548792.Didn't retrieve data . /1336548746.Didn't retrieve data . /1336548735.Didn't retrieve data . /1336548726.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, '2574201') ('3459', None, '1336549205', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549004', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548902', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548792', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548746', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548735', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548726', None, None, None, None, None, '2574201') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.016680479049682617 save_final save missing photos in datou_result : time spend for datou_step_exec : 120.90401816368103 time spend to save output : 0.01837754249572754 total time spend for step 5 : 120.92239570617676 step6:crop_condition Tue Feb 11 00:24:07 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 7 ! batch 1 Loaded 117 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/1739229850_401686 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.0384504795074463 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 ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 4869462 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739229854_401686 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.6098437309265137 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739229857_401686 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.096574068069458 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 4869462 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739229860_401686 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.5169391632080078 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739229863_401686 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7924008369445801 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 ! 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/1739229865_401686 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.612797737121582 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1336549205, 1336549004, 1336548902, 1336548792, 1336548746, 1336548735, 1336548726] Looping around the photos to save general results len do output : 21 /1336628726Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628727Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628728Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628732Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628733Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628734Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628735Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628736Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628737Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628740Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628741Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628742Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628745Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628746Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628747Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628748Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628749Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628750Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628751Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628752Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628753Didn'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, '2574201') ('3459', None, '1336549205', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549004', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548902', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548792', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548746', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548735', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548726', None, None, None, None, None, '2574201') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 70 time used for this insertion : 0.03340005874633789 save_final save missing photos in datou_result : time spend for datou_step_exec : 19.80054783821106 time spend to save output : 0.03453373908996582 total time spend for step 6 : 19.835081577301025 step7:ventilate_hashtags_in_portfolio Tue Feb 11 00:24: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 ! 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 : 20423281 get user id for portfolio 20423281 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`=20423281 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','autre_refus','Carton_brun','kraft','metal','papier','Teint_Dans_La_Masse','cartonnette','Carton_gris','flou','environnement','mal_croppe')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20423281 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','autre_refus','Carton_brun','kraft','metal','papier','Teint_Dans_La_Masse','cartonnette','Carton_gris','flou','environnement','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20423441,20423442,20423443,20423444,20423445,20423446,20423447,20423448,20423449,20423450,20423451,20423452?tags=environnement,Teint_Dans_La_Masse,papier,metal,Carton_brun,flou,plastique,autre_refus,kraft,cartonnette,Carton_gris,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1336549205, 1336549004, 1336548902, 1336548792, 1336548746, 1336548735, 1336548726] Looping around the photos to save general results len do output : 1 /20423281. 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, '2574201') ('3459', None, '1336549205', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549004', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548902', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548792', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548746', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548735', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548726', None, None, None, None, None, '2574201') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.016742706298828125 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.575042963027954 time spend to save output : 0.017006635665893555 total time spend for step 7 : 1.5920495986938477 step8:final Tue Feb 11 00:24:28 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 : {1336549205: ('0.07299085429468316',), 1336549004: ('0.07299085429468316',), 1336548902: ('0.07299085429468316',), 1336548792: ('0.07299085429468316',), 1336548746: ('0.07299085429468316',), 1336548735: ('0.07299085429468316',), 1336548726: ('0.07299085429468316',)} new output for save of step final : {1336549205: ('0.07299085429468316',), 1336549004: ('0.07299085429468316',), 1336548902: ('0.07299085429468316',), 1336548792: ('0.07299085429468316',), 1336548746: ('0.07299085429468316',), 1336548735: ('0.07299085429468316',), 1336548726: ('0.07299085429468316',)} [1336549205, 1336549004, 1336548902, 1336548792, 1336548746, 1336548735, 1336548726] Looping around the photos to save general results len do output : 7 /1336549205.Didn't retrieve data . /1336549004.Didn't retrieve data . /1336548902.Didn't retrieve data . /1336548792.Didn't retrieve data . /1336548746.Didn't retrieve data . /1336548735.Didn't retrieve data . /1336548726.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, '2574201') ('3459', None, '1336549205', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549004', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548902', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548792', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548746', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548735', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548726', None, None, None, None, None, '2574201') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.013933181762695312 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.13367033004760742 time spend to save output : 0.014371871948242188 total time spend for step 8 : 0.1480422019958496 step9:velours_tree Tue Feb 11 00:24:28 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.14758729934692383 time spend to save output : 4.363059997558594e-05 total time spend for step 9 : 0.14763092994689941 step10:send_mail_cod Tue Feb 11 00:24:28 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_P20423281_11-02-2025_00_24_28.pdf 20423444 imagette204234441739229868 20423446 imagette204234461739229868 20423447 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette204234471739229868 20423448 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 .imagette204234481739229869 20423449 change filename to text .imagette204234491739229870 20423450 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 .imagette204234501739229870 20423452 imagette204234521739229871 20423442 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 .imagette204234421739229871 20423445 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 .imagette204234451739229872 20423451 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 .imagette204234511739229873 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20423281 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20423441,20423442,20423443,20423444,20423445,20423446,20423447,20423448,20423449,20423450,20423451,20423452?tags=environnement,Teint_Dans_La_Masse,papier,metal,Carton_brun,flou,plastique,autre_refus,kraft,cartonnette,Carton_gris,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1336549205] : ('0.07299085429468316',) no score found for photo 1336549205 apple ('0.07299085429468316',) We are sending mail with results at report@fotonower.com args[1336549004] : ('0.07299085429468316',) no score found for photo 1336549004 apple ('0.07299085429468316',) We are sending mail with results at report@fotonower.com args[1336548902] : ('0.07299085429468316',) no score found for photo 1336548902 apple ('0.07299085429468316',) We are sending mail with results at report@fotonower.com args[1336548792] : ('0.07299085429468316',) no score found for photo 1336548792 apple ('0.07299085429468316',) We are sending mail with results at report@fotonower.com args[1336548746] : ('0.07299085429468316',) no score found for photo 1336548746 apple ('0.07299085429468316',) We are sending mail with results at report@fotonower.com args[1336548735] : ('0.07299085429468316',) no score found for photo 1336548735 apple ('0.07299085429468316',) We are sending mail with results at report@fotonower.com args[1336548726] : ('0.07299085429468316',) no score found for photo 1336548726 apple ('0.07299085429468316',) We are sending mail with results at report@fotonower.com refus_total : 0.07299085429468316 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=20423281 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1336548735,1336616377,1336616376,1336562176,1336554334,1336554248,1336554246,1336554237,1336554231,1336554227,1336549213,1336549210,1336549207,1336549205,1336549004,1336548902,1336548726,1336548792,1336548746,1336616382) Found this number of photos: 20 begin to download photo : 1336548735 begin to download photo : 1336554248 begin to download photo : 1336549213 begin to download photo : 1336548902 download finish for photo 1336548735 begin to download photo : 1336616377 download finish for photo 1336548902 begin to download photo : 1336548726 download finish for photo 1336554248 begin to download photo : 1336554246 download finish for photo 1336549213 begin to download photo : 1336549210 download finish for photo 1336616377 begin to download photo : 1336616376 download finish for photo 1336548726 begin to download photo : 1336548792 download finish for photo 1336554246 begin to download photo : 1336554237 download finish for photo 1336549210 begin to download photo : 1336549207 download finish for photo 1336616376 begin to download photo : 1336562176 download finish for photo 1336548792 begin to download photo : 1336548746 download finish for photo 1336554237 begin to download photo : 1336554231 download finish for photo 1336549207 begin to download photo : 1336549205 download finish for photo 1336562176 begin to download photo : 1336554334 download finish for photo 1336548746 begin to download photo : 1336616382 download finish for photo 1336549205 begin to download photo : 1336549004 download finish for photo 1336554231 begin to download photo : 1336554227 download finish for photo 1336554334 download finish for photo 1336554227 download finish for photo 1336616382 download finish for photo 1336549004 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20423281_11-02-2025_00_24_28.pdf results_Auto_P20423281_11-02-2025_00_24_28.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20423281_11-02-2025_00_24_28.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','20423281','results_Auto_P20423281_11-02-2025_00_24_28.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20423281_11-02-2025_00_24_28.pdf','pdf','','1.34','0.07299085429468316') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1336549205, 1336549004, 1336548902, 1336548792, 1336548746, 1336548735, 1336548726] 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, '2574201') ('3459', None, '1336549205', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549004', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548902', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548792', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548746', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548735', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548726', None, None, None, None, None, '2574201') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.013984441757202148 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.808282613754272 time spend to save output : 0.014267683029174805 total time spend for step 10 : 9.822550296783447 step11:split_time_score Tue Feb 11 00:24: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 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'}] (('17', 18), ('18', 9)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 10022025 20423281 Nombre de photos uploadées : 27 / 23040 (0%) 10022025 20423281 Nombre de photos taguées (types de déchets): 0 / 27 (0%) 10022025 20423281 Nombre de photos taguées (volume) : 0 / 27 (0%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ??????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0015566349029541016 elapsed_time : insert_dashboard_record_day_entry 0.028747081756591797 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 = 20423264 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423265 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423266 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423267 order by id desc limit 1 Qualite : 0.46478871458569254 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20423268_11-02-2025_00_24_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423268 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`=20423268 AND mptpi.`type`=4200 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423269 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423270 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423271 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423272 order by id desc limit 1 Qualite : 0.03219250657314503 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406976_10-02-2025_18_25_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406976 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`=20406976 AND mptpi.`type`=3327 To do Qualite : 0.06874626735493077 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406978_10-02-2025_19_56_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406978 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`=20406978 AND mptpi.`type`=4207 To do Qualite : 0.039250421093410016 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406979_10-02-2025_17_47_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406979 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`=20406979 AND mptpi.`type`=4207 To do Qualite : 0.08218852237472649 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406980_10-02-2025_15_39_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406980 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`=20406980 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406981 order by id desc limit 1 Qualite : 0.22224855111315364 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406982_10-02-2025_16_37_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406982 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`=20406982 AND mptpi.`type`=3594 To do Qualite : 0.5242561690199244 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406983_10-02-2025_22_51_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406983 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`=20406983 AND mptpi.`type`=4200 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406984 order by id desc limit 1 Qualite : 0.08183746641303798 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406985_10-02-2025_17_32_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406985 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`=20406985 AND mptpi.`type`=4207 To do Qualite : 0.059440007083548574 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406986_10-02-2025_16_45_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406986 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`=20406986 AND mptpi.`type`=4207 To do Qualite : 0.062017376388549365 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406987_10-02-2025_15_54_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406987 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`=20406987 AND mptpi.`type`=4207 To do Qualite : 0.06428706812306653 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406988_10-02-2025_15_35_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406988 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`=20406988 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423273 order by id desc limit 1 Qualite : 0.05381252154827214 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20423274_11-02-2025_00_20_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423274 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`=20423274 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423275 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423276 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423277 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423278 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423279 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423280 order by id desc limit 1 Qualite : 0.08109472723835193 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20423281_11-02-2025_00_24_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423281 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`=20423281 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423282 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423283 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423284 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423285 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423286 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423287 order by id desc limit 1 Qualite : 0.19405417404230213 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20423288_11-02-2025_00_19_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423288 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`=20423288 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423289 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423290 order by id desc limit 1 Qualite : 0.04685901461815405 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20423291_11-02-2025_00_23_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423291 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`=20423291 AND mptpi.`type`=4207 To do Qualite : 0.040974842720139536 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20423292_11-02-2025_00_13_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423292 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`=20423292 AND mptpi.`type`=4207 To do Qualite : 0.06698816144505071 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20423293_11-02-2025_00_18_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423293 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`=20423293 AND mptpi.`type`=4207 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'10022025': {'nb_upload': 27, '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 [1336549205, 1336549004, 1336548902, 1336548792, 1336548746, 1336548735, 1336548726] Looping around the photos to save general results len do output : 1 /20423281Didn'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, '2574201') ('3459', None, '1336549205', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549004', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548902', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548792', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548746', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548735', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336548726', None, None, None, None, None, '2574201') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.023031234741210938 save_final save missing photos in datou_result : time spend for datou_step_exec : 20.22273349761963 time spend to save output : 0.02319502830505371 total time spend for step 11 : 20.245928525924683 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 7 set_done_treatment 105.49user 129.26system 4:34.20elapsed 85%CPU (0avgtext+0avgdata 3754964maxresident)k 1123792inputs+137152outputs (15283major+9489404minor)pagefaults 0swaps