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 : 1277074 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 : 30>10 please execute split_portfolio.py -i 20831713 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2615299'] with mtr_portfolio_ids : ['20831713'] and first list_photo_ids : [] new path : /proc/1277074/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.2169146537780762 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Wed Feb 26 09:26: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 Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory havn't enough memory gpu , need / 3000 l 3632 free memory gpu now : 1502 wait 20 seconds l 3637 free memory gpu now : 1502 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-26 09:26:51.196859: 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-26 09:26:51.223333: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-26 09:26:51.225505: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fbf14000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-26 09:26:51.225565: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-26 09:26:51.229491: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-26 09:26:51.459247: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x67acec0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-26 09:26:51.459304: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-26 09:26:51.460089: 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-26 09:26:51.460869: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-26 09:26:51.465490: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-26 09:26:51.468613: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-26 09:26:51.469538: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-26 09:26:51.472024: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-26 09:26:51.473092: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-26 09:26:51.478218: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-26 09:26:51.479191: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-26 09:26:51.479272: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-26 09:26:51.479779: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-26 09:26:51.479795: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-26 09:26:51.479805: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-26 09:26:51.480608: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1125 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-26 09:26:51.735871: 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-26 09:26:51.736022: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-26 09:26:51.736051: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-26 09:26:51.736077: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-26 09:26:51.736102: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-26 09:26:51.736126: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-26 09:26:51.736150: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-26 09:26:51.736175: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-26 09:26:51.736954: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-26 09:26:51.737831: 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-26 09:26:51.737866: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-26 09:26:51.737882: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-26 09:26:51.737898: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-26 09:26:51.737913: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-26 09:26:51.737928: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-26 09:26:51.737943: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-26 09:26:51.737958: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-26 09:26:51.738598: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-26 09:26:51.738633: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-26 09:26:51.738642: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-26 09:26:51.738649: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-26 09:26:51.739358: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1125 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-26 09:27:00.211624: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-26 09:27:00.397990: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-26 09:27:01.807355: 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-26 09:27:01.807436: 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-26 09:27:01.814865: 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-26 09:27:01.814890: 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-26 09:27:01.822840: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:01.822874: 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-26 09:27:01.823365: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:01.823384: 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-26 09:27:01.859464: 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-26 09:27:01.859501: 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-26 09:27:01.866112: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:01.866138: 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-26 09:27:01.866586: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:01.866623: 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-26 09:27:01.909490: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:01.909951: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:01.988842: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:01.989325: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:01.990920: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:01.991366: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:01.998923: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:01.999375: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.005888: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.006338: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.007922: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.008367: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.035462: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.035959: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.036433: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.036906: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.040337: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.040817: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.056169: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.056622: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.057059: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.057512: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.069730: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.070213: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.078373: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.078822: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.090658: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.091161: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.095200: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.095649: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.096281: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.096731: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.107392: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.107871: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.108349: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.108786: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.109223: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.109659: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.179579: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.180108: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.187845: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.188325: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.204877: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.205714: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.206638: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.207496: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.212112: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.212971: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.213788: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.214598: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.216293: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.216327: 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-26 09:27:02.226588: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.227625: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.237811: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.238739: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.239651: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.240506: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.241368: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-26 09:27:02.242202: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 614.88M (644743168 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 6 Detection mask done ! Trying to reset tf kernel 1278293 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 9400 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 10593 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.0007894039154052734 nb_pixel_total : 41357 time to create 1 rle with old method : 0.04757070541381836 length of segment : 429 time for calcul the mask position with numpy : 0.00015425682067871094 nb_pixel_total : 8063 time to create 1 rle with old method : 0.009190559387207031 length of segment : 170 time for calcul the mask position with numpy : 0.014160394668579102 nb_pixel_total : 926967 time to create 1 rle with new method : 0.05084705352783203 length of segment : 1407 time for calcul the mask position with numpy : 0.00017118453979492188 nb_pixel_total : 5418 time to create 1 rle with old method : 0.0064296722412109375 length of segment : 134 time for calcul the mask position with numpy : 0.0006532669067382812 nb_pixel_total : 30223 time to create 1 rle with old method : 0.03577470779418945 length of segment : 293 time for calcul the mask position with numpy : 0.004225969314575195 nb_pixel_total : 302135 time to create 1 rle with new method : 0.007998466491699219 length of segment : 1040 time for calcul the mask position with numpy : 0.0007228851318359375 nb_pixel_total : 58006 time to create 1 rle with old method : 0.0632624626159668 length of segment : 272 time for calcul the mask position with numpy : 0.0004353523254394531 nb_pixel_total : 16361 time to create 1 rle with old method : 0.020101308822631836 length of segment : 168 time for calcul the mask position with numpy : 0.007133007049560547 nb_pixel_total : 495225 time to create 1 rle with new method : 0.01818680763244629 length of segment : 1390 time for calcul the mask position with numpy : 0.0006248950958251953 nb_pixel_total : 28739 time to create 1 rle with old method : 0.031816720962524414 length of segment : 304 time for calcul the mask position with numpy : 0.00019025802612304688 nb_pixel_total : 7804 time to create 1 rle with old method : 0.008578300476074219 length of segment : 186 time for calcul the mask position with numpy : 0.007523536682128906 nb_pixel_total : 570924 time to create 1 rle with new method : 0.017117738723754883 length of segment : 1705 time for calcul the mask position with numpy : 0.0001304149627685547 nb_pixel_total : 803 time to create 1 rle with old method : 0.0010447502136230469 length of segment : 39 time for calcul the mask position with numpy : 0.0002853870391845703 nb_pixel_total : 3465 time to create 1 rle with old method : 0.004414558410644531 length of segment : 110 time for calcul the mask position with numpy : 0.0018529891967773438 nb_pixel_total : 61700 time to create 1 rle with old method : 0.07212018966674805 length of segment : 439 time for calcul the mask position with numpy : 0.0005927085876464844 nb_pixel_total : 24755 time to create 1 rle with old method : 0.027297258377075195 length of segment : 164 time for calcul the mask position with numpy : 0.016106128692626953 nb_pixel_total : 702920 time to create 1 rle with new method : 0.03206968307495117 length of segment : 1407 time for calcul the mask position with numpy : 0.00063323974609375 nb_pixel_total : 35870 time to create 1 rle with old method : 0.042002201080322266 length of segment : 176 time for calcul the mask position with numpy : 0.0009458065032958984 nb_pixel_total : 71821 time to create 1 rle with old method : 0.0843040943145752 length of segment : 286 time for calcul the mask position with numpy : 0.0026710033416748047 nb_pixel_total : 149227 time to create 1 rle with old method : 0.17578363418579102 length of segment : 921 time for calcul the mask position with numpy : 0.021607160568237305 nb_pixel_total : 963946 time to create 1 rle with new method : 0.44278717041015625 length of segment : 1651 time for calcul the mask position with numpy : 0.0001373291015625 nb_pixel_total : 6164 time to create 1 rle with old method : 0.007091999053955078 length of segment : 80 time for calcul the mask position with numpy : 0.0003447532653808594 nb_pixel_total : 24977 time to create 1 rle with old method : 0.029540538787841797 length of segment : 220 time for calcul the mask position with numpy : 0.003345966339111328 nb_pixel_total : 292855 time to create 1 rle with new method : 0.007888078689575195 length of segment : 966 time for calcul the mask position with numpy : 0.00038933753967285156 nb_pixel_total : 26719 time to create 1 rle with old method : 0.029424428939819336 length of segment : 254 time for calcul the mask position with numpy : 0.00037026405334472656 nb_pixel_total : 18750 time to create 1 rle with old method : 0.023168563842773438 length of segment : 160 time for calcul the mask position with numpy : 0.0018532276153564453 nb_pixel_total : 110852 time to create 1 rle with old method : 0.12966156005859375 length of segment : 328 time for calcul the mask position with numpy : 0.0020279884338378906 nb_pixel_total : 73521 time to create 1 rle with old method : 0.08579230308532715 length of segment : 661 time for calcul the mask position with numpy : 0.008554935455322266 nb_pixel_total : 297558 time to create 1 rle with new method : 0.016721487045288086 length of segment : 1405 time for calcul the mask position with numpy : 0.0004851818084716797 nb_pixel_total : 28518 time to create 1 rle with old method : 0.0339055061340332 length of segment : 212 time for calcul the mask position with numpy : 0.0012104511260986328 nb_pixel_total : 69421 time to create 1 rle with old method : 0.0778496265411377 length of segment : 338 time for calcul the mask position with numpy : 0.0011584758758544922 nb_pixel_total : 78905 time to create 1 rle with old method : 0.08830070495605469 length of segment : 457 time for calcul the mask position with numpy : 0.0013060569763183594 nb_pixel_total : 103514 time to create 1 rle with old method : 0.11795926094055176 length of segment : 340 time for calcul the mask position with numpy : 0.00040221214294433594 nb_pixel_total : 30519 time to create 1 rle with old method : 0.037131309509277344 length of segment : 142 time for calcul the mask position with numpy : 0.0009827613830566406 nb_pixel_total : 44050 time to create 1 rle with old method : 0.04825186729431152 length of segment : 261 time for calcul the mask position with numpy : 0.0010004043579101562 nb_pixel_total : 83940 time to create 1 rle with old method : 0.09312653541564941 length of segment : 478 time for calcul the mask position with numpy : 0.001489400863647461 nb_pixel_total : 61168 time to create 1 rle with old method : 0.07365942001342773 length of segment : 431 time for calcul the mask position with numpy : 0.002249002456665039 nb_pixel_total : 105315 time to create 1 rle with old method : 0.12421154975891113 length of segment : 419 time for calcul the mask position with numpy : 0.00018024444580078125 nb_pixel_total : 2561 time to create 1 rle with old method : 0.003185272216796875 length of segment : 70 time for calcul the mask position with numpy : 0.01077890396118164 nb_pixel_total : 610475 time to create 1 rle with new method : 0.02249884605407715 length of segment : 1473 time for calcul the mask position with numpy : 0.0001614093780517578 nb_pixel_total : 3782 time to create 1 rle with old method : 0.004541158676147461 length of segment : 73 time for calcul the mask position with numpy : 0.00026226043701171875 nb_pixel_total : 20154 time to create 1 rle with old method : 0.02471446990966797 length of segment : 168 time for calcul the mask position with numpy : 0.0015003681182861328 nb_pixel_total : 80493 time to create 1 rle with old method : 0.09449291229248047 length of segment : 339 time for calcul the mask position with numpy : 0.0013806819915771484 nb_pixel_total : 110441 time to create 1 rle with old method : 0.12022519111633301 length of segment : 448 time for calcul the mask position with numpy : 0.00032520294189453125 nb_pixel_total : 18317 time to create 1 rle with old method : 0.019738435745239258 length of segment : 178 time for calcul the mask position with numpy : 0.0010864734649658203 nb_pixel_total : 51941 time to create 1 rle with old method : 0.06040000915527344 length of segment : 412 time for calcul the mask position with numpy : 0.0009412765502929688 nb_pixel_total : 62031 time to create 1 rle with old method : 0.06963133811950684 length of segment : 365 time for calcul the mask position with numpy : 0.0021708011627197266 nb_pixel_total : 115921 time to create 1 rle with old method : 0.13523316383361816 length of segment : 547 time for calcul the mask position with numpy : 0.007007122039794922 nb_pixel_total : 302164 time to create 1 rle with new method : 0.014370203018188477 length of segment : 936 time for calcul the mask position with numpy : 0.00037097930908203125 nb_pixel_total : 13058 time to create 1 rle with old method : 0.015962839126586914 length of segment : 188 time for calcul the mask position with numpy : 0.0025076866149902344 nb_pixel_total : 113506 time to create 1 rle with old method : 0.12764310836791992 length of segment : 714 time for calcul the mask position with numpy : 0.0012276172637939453 nb_pixel_total : 82082 time to create 1 rle with old method : 0.08893251419067383 length of segment : 478 time for calcul the mask position with numpy : 0.0014524459838867188 nb_pixel_total : 79027 time to create 1 rle with old method : 0.09583616256713867 length of segment : 470 time for calcul the mask position with numpy : 0.0005142688751220703 nb_pixel_total : 18307 time to create 1 rle with old method : 0.030226707458496094 length of segment : 125 time for calcul the mask position with numpy : 0.016953229904174805 nb_pixel_total : 799338 time to create 1 rle with new method : 0.05256199836730957 length of segment : 1059 time for calcul the mask position with numpy : 0.0022284984588623047 nb_pixel_total : 108657 time to create 1 rle with old method : 0.1265707015991211 length of segment : 458 time for calcul the mask position with numpy : 0.0017135143280029297 nb_pixel_total : 105785 time to create 1 rle with old method : 0.12414193153381348 length of segment : 565 time for calcul the mask position with numpy : 0.003465890884399414 nb_pixel_total : 305409 time to create 1 rle with new method : 0.008097410202026367 length of segment : 1042 time for calcul the mask position with numpy : 0.00036144256591796875 nb_pixel_total : 13227 time to create 1 rle with old method : 0.014852762222290039 length of segment : 230 time for calcul the mask position with numpy : 0.00047326087951660156 nb_pixel_total : 14939 time to create 1 rle with old method : 0.01644587516784668 length of segment : 192 time for calcul the mask position with numpy : 0.00522160530090332 nb_pixel_total : 326658 time to create 1 rle with new method : 0.010080575942993164 length of segment : 1199 time for calcul the mask position with numpy : 0.0008406639099121094 nb_pixel_total : 48704 time to create 1 rle with old method : 0.05499601364135742 length of segment : 174 time for calcul the mask position with numpy : 0.00019693374633789062 nb_pixel_total : 1542 time to create 1 rle with old method : 0.002223968505859375 length of segment : 70 time for calcul the mask position with numpy : 0.004565715789794922 nb_pixel_total : 338113 time to create 1 rle with new method : 0.011985301971435547 length of segment : 1206 time spent for convertir_results : 8.109711408615112 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 64 chid ids of type : 3663 Number RLEs to save : 33022 save missing photos in datou_result : time spend for datou_step_exec : 52.328885555267334 time spend to save output : 1.8352527618408203 total time spend for step 1 : 54.164138317108154 step2:crop_condition Wed Feb 26 09:27:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3663 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 64 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 ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 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 ! 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_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! we have finished the crop for the class : 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 [1339688851, 1339688795, 1339688792, 1339688724, 1339688722, 1339688670, 1339688666, 1339688607, 1339688604, 1339688542] Looping around the photos to save general results len do output : 31 /-3687283995Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284005Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284022Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284028Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284041Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284046Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284021Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284026Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284023Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284034Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284035Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284052Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284053Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687283997Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284015Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284009Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284012Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284024Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284027Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284025Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284037Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284044Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284043Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284047Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284054Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284013Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284031Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687283998Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284020Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284017Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687284032Didn'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, '2615299') ('3459', None, '1339688851', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688795', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688792', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688724', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688722', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688670', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688666', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688607', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688604', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688542', None, None, None, None, None, '2615299') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 103 time used for this insertion : 0.0219419002532959 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.557119846343994 time spend to save output : 0.024271249771118164 total time spend for step 2 : 10.581391096115112 step3:thcl Wed Feb 26 09:27:33 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.004232168197631836 time to convert the images to numpy array : 4.0531158447265625e-06 time to import caffe and check if the image exist : 0.006469249725341797 time to convert the images to numpy array : 2.384185791015625e-06 time to import caffe and check if the image exist : 0.006954193115234375 time to convert the images to numpy array : 0.029035329818725586 time to import caffe and check if the image exist : 0.009346723556518555 time to convert the images to numpy array : 0.026048660278320312 time to import caffe and check if the image exist : 0.0064771175384521484 time to convert the images to numpy array : 0.0293881893157959 time to import caffe and check if the image exist : 0.005373477935791016 time to convert the images to numpy array : 0.04120016098022461 time to import caffe and check if the image exist : 0.0071887969970703125 time to convert the images to numpy array : 0.04032325744628906 time to import caffe and check if the image exist : 0.008950233459472656 time to convert the images to numpy array : 0.04459381103515625 time to import caffe and check if the image exist : 0.00612950325012207 time to convert the images to numpy array : 0.050089120864868164 time to import caffe and check if the image exist : 0.007365226745605469 time to convert the images to numpy array : 0.04840230941772461 total time to convert the images to numpy array : 0.24875950813293457 list photo_ids error: [] list photo_ids correct : [-3687284053, -3687283997, -3687284015, -3687284009, -3687284020, -3687284017, -3687284032, -3687284012, -3687284024, -3687284027, -3687284025, -3687284023, -3687284034, -3687284035, -3687284052, -3687283995, -3687284005, -3687284022, -3687284028, -3687284037, -3687284044, -3687284043, -3687284047, -3687284041, -3687284046, -3687284021, -3687284026, -3687284054, -3687284013, -3687284031, -3687283998] number of photos to traite : 31 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 : 7037 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 : 6818 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.3110673427581787 time used to do the prediction : 0.12154746055603027 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 : 6816 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 : 6816 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.2921559810638428 time used to do the prediction : 0.10335803031921387 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.4543533325195312e-05 save missing photos in datou_result : time spend for datou_step_exec : 7.619625568389893 time spend to save output : 0.0003902912139892578 total time spend for step 3 : 7.620015859603882 step4:merge_mask_thcl_custom Wed Feb 26 09:27:40 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step merge_mask_thcl_custom batch 1 Loaded 64 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 [1339688851, 1339688795, 1339688792, 1339688724, 1339688722, 1339688670, 1339688666, 1339688607, 1339688604, 1339688542] Looping around the photos to save general results len do output : 10 /1339688851Didn't retrieve data .Didn't retrieve data . /1339688795Didn't retrieve data .Didn't retrieve data . /1339688792Didn't retrieve data .Didn't retrieve data . /1339688724Didn't retrieve data .Didn't retrieve data . /1339688722Didn't retrieve data .Didn't retrieve data . /1339688670Didn't retrieve data .Didn't retrieve data . /1339688666Didn't retrieve data .Didn't retrieve data . /1339688607Didn't retrieve data .Didn't retrieve data . /1339688604Didn't retrieve data .Didn't retrieve data . /1339688542Didn'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, '2615299') ('3459', None, '1339688851', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688795', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688792', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688724', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688722', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688670', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688666', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688607', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688604', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688542', None, None, None, None, None, '2615299') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013927459716796875 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.05393028259277344 time spend to save output : 0.014467954635620117 total time spend for step 4 : 0.06839823722839355 step5:rle_unique_nms_with_priority Wed Feb 26 09:27:40 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 8 nb_hashtags : 4 time to prepare the origin masks : 1.866333246231079 time for calcul the mask position with numpy : 0.03608107566833496 nb_pixel_total : 949461 time to create 1 rle with new method : 0.2653634548187256 time for calcul the mask position with numpy : 0.006384134292602539 nb_pixel_total : 37869 time to create 1 rle with old method : 0.04218864440917969 time for calcul the mask position with numpy : 0.006883382797241211 nb_pixel_total : 65016 time to create 1 rle with old method : 0.07179117202758789 time for calcul the mask position with numpy : 0.0065746307373046875 nb_pixel_total : 15219 time to create 1 rle with old method : 0.01710033416748047 time for calcul the mask position with numpy : 0.006640434265136719 nb_pixel_total : 16270 time to create 1 rle with old method : 0.01800847053527832 time for calcul the mask position with numpy : 0.006071805953979492 nb_pixel_total : 5388 time to create 1 rle with old method : 0.005858421325683594 time for calcul the mask position with numpy : 0.03546142578125 nb_pixel_total : 935123 time to create 1 rle with new method : 0.9050784111022949 time for calcul the mask position with numpy : 0.006610870361328125 nb_pixel_total : 8038 time to create 1 rle with old method : 0.009164094924926758 time for calcul the mask position with numpy : 0.007117748260498047 nb_pixel_total : 41216 time to create 1 rle with old method : 0.04644060134887695 create new chi : 1.5158977508544922 time to delete rle : 0.019249677658081055 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 6775 TO DO : save crop sub photo not yet done ! save time : 0.3970372676849365 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.2532179355621338 time for calcul the mask position with numpy : 0.02199268341064453 nb_pixel_total : 1498694 time to create 1 rle with new method : 0.10097670555114746 time for calcul the mask position with numpy : 0.007750272750854492 nb_pixel_total : 28691 time to create 1 rle with old method : 0.03326606750488281 time for calcul the mask position with numpy : 0.015033245086669922 nb_pixel_total : 546215 time to create 1 rle with new method : 0.047626495361328125 create new chi : 0.22735142707824707 time to delete rle : 0.0005004405975341797 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 3814 TO DO : save crop sub photo not yet done ! save time : 0.23729515075683594 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.601935863494873 time for calcul the mask position with numpy : 0.05866551399230957 nb_pixel_total : 1447867 time to create 1 rle with new method : 0.22816872596740723 time for calcul the mask position with numpy : 0.006826639175415039 nb_pixel_total : 799 time to create 1 rle with old method : 0.001013040542602539 time for calcul the mask position with numpy : 0.015010595321655273 nb_pixel_total : 617169 time to create 1 rle with new method : 0.037871360778808594 time for calcul the mask position with numpy : 0.007323741912841797 nb_pixel_total : 7765 time to create 1 rle with old method : 0.012535333633422852 create new chi : 0.3682832717895508 time to delete rle : 0.0008018016815185547 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 3850 TO DO : save crop sub photo not yet done ! save time : 0.25769686698913574 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.4213435649871826 time for calcul the mask position with numpy : 0.1513385772705078 nb_pixel_total : 1132285 time to create 1 rle with new method : 0.08972048759460449 time for calcul the mask position with numpy : 0.010454893112182617 nb_pixel_total : 35712 time to create 1 rle with old method : 0.04200315475463867 time for calcul the mask position with numpy : 0.011096715927124023 nb_pixel_total : 71649 time to create 1 rle with old method : 0.082427978515625 time for calcul the mask position with numpy : 0.02067422866821289 nb_pixel_total : 747647 time to create 1 rle with new method : 0.18036413192749023 time for calcul the mask position with numpy : 0.011751174926757812 nb_pixel_total : 24671 time to create 1 rle with old method : 0.030477285385131836 time for calcul the mask position with numpy : 0.010730981826782227 nb_pixel_total : 61636 time to create 1 rle with old method : 0.09361004829406738 create new chi : 0.7437894344329834 time to delete rle : 0.0009443759918212891 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 5436 TO DO : save crop sub photo not yet done ! save time : 0.355679988861084 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 0.7242858409881592 time for calcul the mask position with numpy : 0.03556227684020996 nb_pixel_total : 899252 time to create 1 rle with new method : 0.15732836723327637 time for calcul the mask position with numpy : 0.0060422420501708984 nb_pixel_total : 641 time to create 1 rle with old method : 0.0008788108825683594 time for calcul the mask position with numpy : 0.005998134613037109 nb_pixel_total : 26645 time to create 1 rle with old method : 0.029921531677246094 time for calcul the mask position with numpy : 0.006448984146118164 nb_pixel_total : 16465 time to create 1 rle with old method : 0.018187284469604492 time for calcul the mask position with numpy : 0.005909442901611328 nb_pixel_total : 6141 time to create 1 rle with old method : 0.0064465999603271484 time for calcul the mask position with numpy : 0.006327629089355469 nb_pixel_total : 83399 time to create 1 rle with old method : 0.09017658233642578 time for calcul the mask position with numpy : 0.012739181518554688 nb_pixel_total : 892085 time to create 1 rle with new method : 0.2735927104949951 time for calcul the mask position with numpy : 0.007751941680908203 nb_pixel_total : 148972 time to create 1 rle with old method : 0.17612552642822266 create new chi : 0.854851484298706 time to delete rle : 0.0007262229919433594 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 7459 TO DO : save crop sub photo not yet done ! save time : 0.44553399085998535 nb_obj : 11 nb_hashtags : 6 time to prepare the origin masks : 1.1134717464447021 time for calcul the mask position with numpy : 0.04420876502990723 nb_pixel_total : 1297723 time to create 1 rle with new method : 0.432605504989624 time for calcul the mask position with numpy : 0.006746530532836914 nb_pixel_total : 3907 time to create 1 rle with old method : 0.005185842514038086 time for calcul the mask position with numpy : 0.006730556488037109 nb_pixel_total : 60947 time to create 1 rle with old method : 0.06846499443054199 time for calcul the mask position with numpy : 0.007618904113769531 nb_pixel_total : 84782 time to create 1 rle with old method : 0.09279084205627441 time for calcul the mask position with numpy : 0.007059335708618164 nb_pixel_total : 28392 time to create 1 rle with old method : 0.032030582427978516 time for calcul the mask position with numpy : 0.007260799407958984 nb_pixel_total : 44005 time to create 1 rle with old method : 0.04841876029968262 time for calcul the mask position with numpy : 0.007033824920654297 nb_pixel_total : 21 time to create 1 rle with old method : 0.0004851818084716797 time for calcul the mask position with numpy : 0.007537364959716797 nb_pixel_total : 83949 time to create 1 rle with old method : 0.0924222469329834 time for calcul the mask position with numpy : 0.007035017013549805 nb_pixel_total : 69088 time to create 1 rle with old method : 0.07902336120605469 time for calcul the mask position with numpy : 0.00881648063659668 nb_pixel_total : 296795 time to create 1 rle with new method : 0.09128880500793457 time for calcul the mask position with numpy : 0.007264852523803711 nb_pixel_total : 73520 time to create 1 rle with old method : 0.08184671401977539 time for calcul the mask position with numpy : 0.006620168685913086 nb_pixel_total : 30471 time to create 1 rle with old method : 0.03377723693847656 create new chi : 1.1926934719085693 time to delete rle : 0.0010159015655517578 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 9542 TO DO : save crop sub photo not yet done ! save time : 0.6538329124450684 nb_obj : 10 nb_hashtags : 4 time to prepare the origin masks : 0.9857280254364014 time for calcul the mask position with numpy : 0.025047779083251953 nb_pixel_total : 1180609 time to create 1 rle with new method : 0.1896679401397705 time for calcul the mask position with numpy : 0.00627446174621582 nb_pixel_total : 3766 time to create 1 rle with old method : 0.004397869110107422 time for calcul the mask position with numpy : 0.006282806396484375 nb_pixel_total : 5908 time to create 1 rle with old method : 0.006736040115356445 time for calcul the mask position with numpy : 0.006734609603881836 nb_pixel_total : 104330 time to create 1 rle with old method : 0.13835978507995605 time for calcul the mask position with numpy : 0.006697654724121094 nb_pixel_total : 3452 time to create 1 rle with old method : 0.004239082336425781 time for calcul the mask position with numpy : 0.006293296813964844 nb_pixel_total : 6840 time to create 1 rle with old method : 0.008010149002075195 time for calcul the mask position with numpy : 0.006569862365722656 nb_pixel_total : 46322 time to create 1 rle with old method : 0.05234098434448242 time for calcul the mask position with numpy : 0.006657600402832031 nb_pixel_total : 20115 time to create 1 rle with old method : 0.029577970504760742 time for calcul the mask position with numpy : 0.015300989151000977 nb_pixel_total : 637926 time to create 1 rle with new method : 0.06774544715881348 time for calcul the mask position with numpy : 0.006204366683959961 nb_pixel_total : 2551 time to create 1 rle with old method : 0.0029942989349365234 time for calcul the mask position with numpy : 0.006573915481567383 nb_pixel_total : 61781 time to create 1 rle with old method : 0.06950831413269043 create new chi : 0.6808593273162842 time to delete rle : 0.0009377002716064453 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 7004 TO DO : save crop sub photo not yet done ! save time : 0.4090995788574219 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 0.5840637683868408 time for calcul the mask position with numpy : 0.024338245391845703 nb_pixel_total : 1429430 time to create 1 rle with new method : 0.04904484748840332 time for calcul the mask position with numpy : 0.011403083801269531 nb_pixel_total : 18184 time to create 1 rle with old method : 0.02128744125366211 time for calcul the mask position with numpy : 0.011554956436157227 nb_pixel_total : 4309 time to create 1 rle with old method : 0.005671501159667969 time for calcul the mask position with numpy : 0.010494232177734375 nb_pixel_total : 12370 time to create 1 rle with old method : 0.013657093048095703 time for calcul the mask position with numpy : 0.011247396469116211 nb_pixel_total : 113015 time to create 1 rle with old method : 0.12384700775146484 time for calcul the mask position with numpy : 0.011876344680786133 nb_pixel_total : 302186 time to create 1 rle with new method : 0.03358745574951172 time for calcul the mask position with numpy : 0.007398128509521484 nb_pixel_total : 115194 time to create 1 rle with old method : 0.12723398208618164 time for calcul the mask position with numpy : 0.007012844085693359 nb_pixel_total : 78912 time to create 1 rle with old method : 0.08961963653564453 create new chi : 0.5606732368469238 time to delete rle : 0.0012240409851074219 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 7510 TO DO : save crop sub photo not yet done ! save time : 0.5210638046264648 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.4665260314941406 time for calcul the mask position with numpy : 0.018988847732543945 nb_pixel_total : 949825 time to create 1 rle with new method : 0.033731937408447266 time for calcul the mask position with numpy : 0.006452798843383789 nb_pixel_total : 13173 time to create 1 rle with old method : 0.014875411987304688 time for calcul the mask position with numpy : 0.006885528564453125 nb_pixel_total : 106663 time to create 1 rle with old method : 0.12094640731811523 time for calcul the mask position with numpy : 0.0072062015533447266 nb_pixel_total : 105422 time to create 1 rle with old method : 0.1141207218170166 time for calcul the mask position with numpy : 0.007105588912963867 nb_pixel_total : 98149 time to create 1 rle with old method : 0.11482644081115723 time for calcul the mask position with numpy : 0.012161493301391602 nb_pixel_total : 800368 time to create 1 rle with new method : 0.03060150146484375 create new chi : 0.4889564514160156 time to delete rle : 0.0005867481231689453 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 6390 TO DO : save crop sub photo not yet done ! save time : 0.38806653022766113 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.5171339511871338 time for calcul the mask position with numpy : 0.017400503158569336 nb_pixel_total : 1622045 time to create 1 rle with new method : 0.1817302703857422 time for calcul the mask position with numpy : 0.0061872005462646484 nb_pixel_total : 44998 time to create 1 rle with old method : 0.049841880798339844 time for calcul the mask position with numpy : 0.006139278411865234 nb_pixel_total : 48629 time to create 1 rle with old method : 0.0529630184173584 time for calcul the mask position with numpy : 0.008271217346191406 nb_pixel_total : 341474 time to create 1 rle with new method : 0.051697492599487305 time for calcul the mask position with numpy : 0.0060579776763916016 nb_pixel_total : 1520 time to create 1 rle with old method : 0.0016350746154785156 time for calcul the mask position with numpy : 0.00591588020324707 nb_pixel_total : 14934 time to create 1 rle with old method : 0.01580023765563965 create new chi : 0.4108719825744629 time to delete rle : 0.0004916191101074219 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 5199 TO DO : save crop sub photo not yet done ! save time : 0.3209390640258789 map_output_result : {1339688851: (0.0, 'Should be the crop_list due to order', 0), 1339688795: (0.0, 'Should be the crop_list due to order', 0), 1339688792: (0.0, 'Should be the crop_list due to order', 0), 1339688724: (0.0, 'Should be the crop_list due to order', 0), 1339688722: (0.0, 'Should be the crop_list due to order', 0), 1339688670: (0.0, 'Should be the crop_list due to order', 0), 1339688666: (0.0, 'Should be the crop_list due to order', 0), 1339688607: (0.0, 'Should be the crop_list due to order', 0), 1339688604: (0.0, 'Should be the crop_list due to order', 0), 1339688542: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1339688851, 1339688795, 1339688792, 1339688724, 1339688722, 1339688670, 1339688666, 1339688607, 1339688604, 1339688542] Looping around the photos to save general results len do output : 10 /1339688851.Didn't retrieve data . /1339688795.Didn't retrieve data . /1339688792.Didn't retrieve data . /1339688724.Didn't retrieve data . /1339688722.Didn't retrieve data . /1339688670.Didn't retrieve data . /1339688666.Didn't retrieve data . /1339688607.Didn't retrieve data . /1339688604.Didn't retrieve data . /1339688542.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, '2615299') ('3459', None, '1339688851', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688795', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688792', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688724', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688722', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688670', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688666', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688607', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688604', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688542', None, None, None, None, None, '2615299') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.9696969985961914 save_final save missing photos in datou_result : time spend for datou_step_exec : 18.910311937332153 time spend to save output : 0.9701776504516602 total time spend for step 5 : 19.880489587783813 step6:crop_condition Wed Feb 26 09:28:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure some photos are not treated, begin crop_condition Loading chi in step crop with photo_hashtag_type : 3726 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 73 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740558481_1277074 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5583436489105225 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740558483_1277074 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.1856606006622314 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 ! 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/1740558485_1277074 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7298638820648193 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 ! 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/1740558486_1277074 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7424931526184082 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 begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! Next one ! Next one ! 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/1740558487_1277074 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.9925498962402344 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740558489_1277074 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6539721488952637 we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1339688851, 1339688795, 1339688792, 1339688724, 1339688722, 1339688670, 1339688666, 1339688607, 1339688604, 1339688542] Looping around the photos to save general results len do output : 11 /1339695289Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339695290Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339695291Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339695292Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339695294Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339695295Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339695296Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339695297Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339695298Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339695299Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339695301Didn'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, '2615299') ('3459', None, '1339688851', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688795', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688792', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688724', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688722', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688670', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688666', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688607', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688604', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688542', None, None, None, None, None, '2615299') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 43 time used for this insertion : 0.023501157760620117 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.208292961120605 time spend to save output : 0.024208784103393555 total time spend for step 6 : 9.232501745223999 step7:ventilate_hashtags_in_portfolio Wed Feb 26 09:28:09 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 : 20831713 get user id for portfolio 20831713 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`=20831713 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','flou','metal','plastique','autre_refus','mal_croppe','cartonnette','Teint_Dans_La_Masse','environnement','Carton_gris','papier','Carton_brun')) 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`=20831713 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','flou','metal','plastique','autre_refus','mal_croppe','cartonnette','Teint_Dans_La_Masse','environnement','Carton_gris','papier','Carton_brun')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20832293,20832294,20832295,20832296,20832297,20832298,20832299,20832300,20832301,20832302,20832303,20832304?tags=plastique,Teint_Dans_La_Masse,Carton_gris,kraft,autre_refus,mal_croppe,flou,Carton_brun,cartonnette,environnement,papier,metal Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339688851, 1339688795, 1339688792, 1339688724, 1339688722, 1339688670, 1339688666, 1339688607, 1339688604, 1339688542] Looping around the photos to save general results len do output : 1 /20831713. 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, '2615299') ('3459', None, '1339688851', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688795', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688792', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688724', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688722', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688670', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688666', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688607', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688604', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688542', None, None, None, None, None, '2615299') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.014386177062988281 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.9991331100463867 time spend to save output : 0.01469111442565918 total time spend for step 7 : 3.013824224472046 step8:final Wed Feb 26 09:28:12 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1339688851: ('0.04111563745963112',), 1339688795: ('0.04111563745963112',), 1339688792: ('0.04111563745963112',), 1339688724: ('0.04111563745963112',), 1339688722: ('0.04111563745963112',), 1339688670: ('0.04111563745963112',), 1339688666: ('0.04111563745963112',), 1339688607: ('0.04111563745963112',), 1339688604: ('0.04111563745963112',), 1339688542: ('0.04111563745963112',)} new output for save of step final : {1339688851: ('0.04111563745963112',), 1339688795: ('0.04111563745963112',), 1339688792: ('0.04111563745963112',), 1339688724: ('0.04111563745963112',), 1339688722: ('0.04111563745963112',), 1339688670: ('0.04111563745963112',), 1339688666: ('0.04111563745963112',), 1339688607: ('0.04111563745963112',), 1339688604: ('0.04111563745963112',), 1339688542: ('0.04111563745963112',)} [1339688851, 1339688795, 1339688792, 1339688724, 1339688722, 1339688670, 1339688666, 1339688607, 1339688604, 1339688542] Looping around the photos to save general results len do output : 10 /1339688851.Didn't retrieve data . /1339688795.Didn't retrieve data . /1339688792.Didn't retrieve data . /1339688724.Didn't retrieve data . /1339688722.Didn't retrieve data . /1339688670.Didn't retrieve data . /1339688666.Didn't retrieve data . /1339688607.Didn't retrieve data . /1339688604.Didn't retrieve data . /1339688542.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, '2615299') ('3459', None, '1339688851', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688795', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688792', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688724', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688722', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688670', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688666', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688607', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688604', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688542', None, None, None, None, None, '2615299') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01235818862915039 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.09936857223510742 time spend to save output : 0.012981176376342773 total time spend for step 8 : 0.1123497486114502 step9:velours_tree Wed Feb 26 09:28:13 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.0321505069732666 time spend to save output : 3.123283386230469e-05 total time spend for step 9 : 0.032181739807128906 step10:send_mail_cod Wed Feb 26 09:28:13 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_P20831713_26-02-2025_09_28_13.pdf 20832293 change filename to text .change filename to text .change filename to text .change filename to text .imagette208322931740558493 20832296 change filename to text .imagette208322961740558493 20832297 change filename to text .change filename to text .change filename to text .imagette208322971740558493 20832298 imagette208322981740558493 20832299 imagette208322991740558493 20832301 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette208323011740558493 20832304 imagette208323041740558494 20832294 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette208322941740558494 20832295 change filename to text .change filename to text .change filename to text .imagette208322951740558494 20832300 change filename to text .change filename to text .change filename to text .imagette208323001740558494 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20831713 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20832293,20832294,20832295,20832296,20832297,20832298,20832299,20832300,20832301,20832302,20832303,20832304?tags=plastique,Teint_Dans_La_Masse,Carton_gris,kraft,autre_refus,mal_croppe,flou,Carton_brun,cartonnette,environnement,papier,metal your option no_mail is active, we will not send the real mail to your client args[1339688851] : ('0.04111563745963112',) no score found for photo 1339688851 We are sending mail with results at report@fotonower.com args[1339688795] : ('0.04111563745963112',) no score found for photo 1339688795 We are sending mail with results at report@fotonower.com args[1339688792] : ('0.04111563745963112',) no score found for photo 1339688792 We are sending mail with results at report@fotonower.com args[1339688724] : ('0.04111563745963112',) no score found for photo 1339688724 We are sending mail with results at report@fotonower.com args[1339688722] : ('0.04111563745963112',) no score found for photo 1339688722 We are sending mail with results at report@fotonower.com args[1339688670] : ('0.04111563745963112',) no score found for photo 1339688670 We are sending mail with results at report@fotonower.com args[1339688666] : ('0.04111563745963112',) no score found for photo 1339688666 We are sending mail with results at report@fotonower.com args[1339688607] : ('0.04111563745963112',) no score found for photo 1339688607 We are sending mail with results at report@fotonower.com args[1339688604] : ('0.04111563745963112',) no score found for photo 1339688604 We are sending mail with results at report@fotonower.com args[1339688542] : ('0.04111563745963112',) no score found for photo 1339688542 We are sending mail with results at report@fotonower.com refus_total : 0.04111563745963112 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=20831713 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1339688994,1339688542,1339689499,1339689449,1339689447,1339689404,1339689402,1339689366,1339689320,1339689251,1339689182,1339689125,1339689114,1339689065,1339689064,1339688995,1339688961,1339688953,1339688912,1339688906) Found this number of photos: 20 begin to download photo : 1339688994 begin to download photo : 1339689404 begin to download photo : 1339689182 begin to download photo : 1339688995 download finish for photo 1339688994 begin to download photo : 1339688542 download finish for photo 1339689404 begin to download photo : 1339689402 download finish for photo 1339689182 begin to download photo : 1339689125 download finish for photo 1339688995 begin to download photo : 1339688961 download finish for photo 1339688542 begin to download photo : 1339689499 download finish for photo 1339689402 begin to download photo : 1339689366 download finish for photo 1339689125 begin to download photo : 1339689114 download finish for photo 1339688961 begin to download photo : 1339688953 download finish for photo 1339689499 begin to download photo : 1339689449 download finish for photo 1339689366 begin to download photo : 1339689320 download finish for photo 1339689114 begin to download photo : 1339689065 download finish for photo 1339688953 begin to download photo : 1339688912 download finish for photo 1339689320 begin to download photo : 1339689251 download finish for photo 1339689449 begin to download photo : 1339689447 download finish for photo 1339689065 begin to download photo : 1339689064 download finish for photo 1339688912 begin to download photo : 1339688906 download finish for photo 1339689447 download finish for photo 1339689064 download finish for photo 1339688906 download finish for photo 1339689251 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20831713_26-02-2025_09_28_13.pdf results_Auto_P20831713_26-02-2025_09_28_13.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20831713_26-02-2025_09_28_13.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','20831713','results_Auto_P20831713_26-02-2025_09_28_13.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20831713_26-02-2025_09_28_13.pdf','pdf','','0.29','0.04111563745963112') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339688851, 1339688795, 1339688792, 1339688724, 1339688722, 1339688670, 1339688666, 1339688607, 1339688604, 1339688542] 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, '2615299') ('3459', None, '1339688851', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688795', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688792', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688724', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688722', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688670', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688666', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688607', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688604', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688542', None, None, None, None, None, '2615299') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.014408349990844727 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.6280770301818848 time spend to save output : 0.01469111442565918 total time spend for step 10 : 3.642768144607544 step11:split_time_score Wed Feb 26 09:28:16 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('08', 30),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26022025 20831713 Nombre de photos uploadées : 30 / 23040 (0%) 26022025 20831713 Nombre de photos taguées (types de déchets): 0 / 30 (0%) 26022025 20831713 Nombre de photos taguées (volume) : 0 / 30 (0%) elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 7.152557373046875e-06 ?????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0013668537139892578 elapsed_time : insert_dashboard_record_day_entry 0.022476911544799805 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.02254081664272345 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20827856_26-02-2025_07_51_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20827856 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`=20827856 AND mptpi.`type`=3726 To do Qualite : 0.017155428794724092 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20827857_26-02-2025_07_43_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20827857 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`=20827857 AND mptpi.`type`=3726 To do Qualite : 0.030893797764585375 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829133_26-02-2025_08_11_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20829133 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`=20829133 AND mptpi.`type`=3726 To do Qualite : 0.04827767634589064 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829134_26-02-2025_08_17_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20829134 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`=20829134 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20831711 order by id desc limit 1 Qualite : 0.05143760370422941 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20831712_26-02-2025_09_27_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20831712 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`=20831712 AND mptpi.`type`=3726 To do Qualite : 0.032421957006809145 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20831713_26-02-2025_09_28_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20831713 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`=20831713 AND mptpi.`type`=3726 To do Qualite : 0.051330577474808986 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20831714_26-02-2025_09_18_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20831714 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`=20831714 AND mptpi.`type`=3726 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26022025': {'nb_upload': 30, '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 [1339688851, 1339688795, 1339688792, 1339688724, 1339688722, 1339688670, 1339688666, 1339688607, 1339688604, 1339688542] Looping around the photos to save general results len do output : 1 /20831713Didn'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, '2615299') ('3459', None, '1339688851', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688795', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688792', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688724', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688722', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688670', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688666', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688607', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688604', None, None, None, None, None, '2615299') ('3459', None, None, None, None, None, None, None, '2615299') ('3459', None, '1339688542', None, None, None, None, None, '2615299') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013063430786132812 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.3639588356018066 time spend to save output : 0.013281583786010742 total time spend for step 11 : 1.3772404193878174 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 50.11user 29.82system 1:52.98elapsed 70%CPU (0avgtext+0avgdata 2668156maxresident)k 13584inputs+41152outputs (251major+2208807minor)pagefaults 0swaps