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 : 328715 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 : 28>10 please execute split_portfolio.py -i 20799180 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2612418'] with mtr_portfolio_ids : ['20799180'] and first list_photo_ids : [] new path : /proc/328715/ 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.213113784790039 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Tue Feb 25 10:38:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory havn't enough memory gpu , need / 3000 l 3632 free memory gpu now : 1713 wait 20 seconds l 3637 free memory gpu now : 1713 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-25 10:38:53.815558: 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-25 10:38:53.847131: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-25 10:38:53.849142: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f9a18000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-25 10:38:53.849203: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-25 10:38:53.853270: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-25 10:38:54.091837: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1f335ca0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-25 10:38:54.091893: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-25 10:38:54.092855: 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-25 10:38:54.093315: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-25 10:38:54.096652: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-25 10:38:54.099297: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-25 10:38:54.099731: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-25 10:38:54.102732: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-25 10:38:54.104201: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-25 10:38:54.109132: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-25 10:38:54.110091: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-25 10:38:54.110179: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-25 10:38:54.110707: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-25 10:38:54.110724: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-25 10:38:54.110734: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-25 10:38:54.111571: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1336 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-25 10:38:54.396773: 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-25 10:38:54.396866: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-25 10:38:54.396887: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-25 10:38:54.396905: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-25 10:38:54.396922: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-25 10:38:54.396940: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-25 10:38:54.396958: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-25 10:38:54.396975: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-25 10:38:54.397855: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-25 10:38:54.398762: 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-25 10:38:54.398797: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-25 10:38:54.398816: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-25 10:38:54.398833: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-25 10:38:54.398850: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-25 10:38:54.398867: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-25 10:38:54.398885: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-25 10:38:54.398914: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-25 10:38:54.399796: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-25 10:38:54.399826: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-25 10:38:54.399836: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-25 10:38:54.399845: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-25 10:38:54.400768: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1336 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-25 10:39:02.026437: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-25 10:39:02.218372: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-25 10:39:03.515995: 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-25 10:39:03.516052: 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-25 10:39:03.522536: 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-25 10:39:03.522572: 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-25 10:39:03.572943: 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-25 10:39:03.572989: 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-25 10:39:03.615177: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB 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-25 10:39:03.615222: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB 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-25 10:39:03.666594: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB 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-25 10:39:03.666629: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB 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-25 10:39:03.698011: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-02-25 10:39:03.720325: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.721280: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 743.29M (779393536 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.722159: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 668.96M (701454336 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.723128: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 602.06M (631309056 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.724080: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.726410: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.727360: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.735788: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.736335: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.743073: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.743615: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.745236: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.745718: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.776916: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.777625: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.778202: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.778734: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.782152: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.782648: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.797953: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.798490: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.799073: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.799616: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.811872: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.812408: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.812911: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.813434: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.821613: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.822098: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.833996: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.834502: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.838551: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.839127: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.839880: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.840411: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.850966: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.851522: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.852067: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.852592: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.853116: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.853638: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.932299: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.932864: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.940622: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.941126: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.956676: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.957380: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.958047: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.958692: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.962843: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.963548: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.964155: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.964648: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.965551: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.965567: 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-25 10:39:03.975765: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.976302: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.985369: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.985921: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.986415: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.986925: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.987476: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 10:39:03.988002: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 825.88M (865992704 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 : 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 : 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 : 2 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 : 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 : 2 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 : 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 : 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 : 5 Detection mask done ! Trying to reset tf kernel 330365 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 520 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 : 1713 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.0012271404266357422 nb_pixel_total : 47783 time to create 1 rle with old method : 0.053681373596191406 length of segment : 577 time for calcul the mask position with numpy : 0.014513492584228516 nb_pixel_total : 668558 time to create 1 rle with new method : 0.12312555313110352 length of segment : 1220 time for calcul the mask position with numpy : 0.00012040138244628906 nb_pixel_total : 1910 time to create 1 rle with old method : 0.0022830963134765625 length of segment : 75 time for calcul the mask position with numpy : 0.00012111663818359375 nb_pixel_total : 5180 time to create 1 rle with old method : 0.006020307540893555 length of segment : 80 time for calcul the mask position with numpy : 0.0005168914794921875 nb_pixel_total : 19669 time to create 1 rle with old method : 0.022021055221557617 length of segment : 263 time for calcul the mask position with numpy : 0.0015742778778076172 nb_pixel_total : 35458 time to create 1 rle with old method : 0.040462493896484375 length of segment : 458 time for calcul the mask position with numpy : 0.00016641616821289062 nb_pixel_total : 5814 time to create 1 rle with old method : 0.006841421127319336 length of segment : 83 time for calcul the mask position with numpy : 0.0025153160095214844 nb_pixel_total : 173162 time to create 1 rle with new method : 0.006355762481689453 length of segment : 609 time for calcul the mask position with numpy : 0.007818460464477539 nb_pixel_total : 442891 time to create 1 rle with new method : 0.022396087646484375 length of segment : 1424 time for calcul the mask position with numpy : 0.004819154739379883 nb_pixel_total : 350515 time to create 1 rle with new method : 0.013399839401245117 length of segment : 1774 time for calcul the mask position with numpy : 0.0027930736541748047 nb_pixel_total : 178894 time to create 1 rle with new method : 0.008917093276977539 length of segment : 929 time for calcul the mask position with numpy : 0.0017018318176269531 nb_pixel_total : 114471 time to create 1 rle with old method : 0.1272428035736084 length of segment : 595 time for calcul the mask position with numpy : 0.0002987384796142578 nb_pixel_total : 14697 time to create 1 rle with old method : 0.020754575729370117 length of segment : 122 time for calcul the mask position with numpy : 0.0018045902252197266 nb_pixel_total : 67211 time to create 1 rle with old method : 0.07274007797241211 length of segment : 257 time for calcul the mask position with numpy : 0.0007317066192626953 nb_pixel_total : 25149 time to create 1 rle with old method : 0.027053117752075195 length of segment : 254 time for calcul the mask position with numpy : 0.0009481906890869141 nb_pixel_total : 26123 time to create 1 rle with old method : 0.02877068519592285 length of segment : 245 time for calcul the mask position with numpy : 0.0007331371307373047 nb_pixel_total : 30978 time to create 1 rle with old method : 0.03432869911193848 length of segment : 181 time for calcul the mask position with numpy : 0.0010364055633544922 nb_pixel_total : 63857 time to create 1 rle with old method : 0.07091927528381348 length of segment : 263 time for calcul the mask position with numpy : 0.008615732192993164 nb_pixel_total : 343888 time to create 1 rle with new method : 0.017836570739746094 length of segment : 1019 time for calcul the mask position with numpy : 0.00020742416381835938 nb_pixel_total : 8695 time to create 1 rle with old method : 0.009953975677490234 length of segment : 105 time for calcul the mask position with numpy : 0.00121307373046875 nb_pixel_total : 52090 time to create 1 rle with old method : 0.05719804763793945 length of segment : 248 time for calcul the mask position with numpy : 0.0018420219421386719 nb_pixel_total : 56386 time to create 1 rle with old method : 0.06142735481262207 length of segment : 610 time for calcul the mask position with numpy : 0.00031495094299316406 nb_pixel_total : 10606 time to create 1 rle with old method : 0.012117862701416016 length of segment : 104 time for calcul the mask position with numpy : 0.009289741516113281 nb_pixel_total : 450674 time to create 1 rle with new method : 0.025415658950805664 length of segment : 1588 time for calcul the mask position with numpy : 0.0015106201171875 nb_pixel_total : 88777 time to create 1 rle with old method : 0.11577463150024414 length of segment : 204 time for calcul the mask position with numpy : 0.0010294914245605469 nb_pixel_total : 85764 time to create 1 rle with old method : 0.09427380561828613 length of segment : 208 time for calcul the mask position with numpy : 0.009033203125 nb_pixel_total : 654176 time to create 1 rle with new method : 0.018568038940429688 length of segment : 1245 time for calcul the mask position with numpy : 0.00012111663818359375 nb_pixel_total : 3967 time to create 1 rle with old method : 0.004858255386352539 length of segment : 96 time for calcul the mask position with numpy : 0.00637364387512207 nb_pixel_total : 401346 time to create 1 rle with new method : 0.012049674987792969 length of segment : 1321 time for calcul the mask position with numpy : 0.00034427642822265625 nb_pixel_total : 13661 time to create 1 rle with old method : 0.015486955642700195 length of segment : 182 time for calcul the mask position with numpy : 0.00019812583923339844 nb_pixel_total : 12690 time to create 1 rle with old method : 0.015343904495239258 length of segment : 69 time for calcul the mask position with numpy : 0.0007975101470947266 nb_pixel_total : 63689 time to create 1 rle with old method : 0.07241463661193848 length of segment : 315 time for calcul the mask position with numpy : 0.0002300739288330078 nb_pixel_total : 1871 time to create 1 rle with old method : 0.0029969215393066406 length of segment : 86 time for calcul the mask position with numpy : 0.0015113353729248047 nb_pixel_total : 70201 time to create 1 rle with old method : 0.07896542549133301 length of segment : 400 time for calcul the mask position with numpy : 0.0049135684967041016 nb_pixel_total : 352736 time to create 1 rle with new method : 0.008919954299926758 length of segment : 1079 time for calcul the mask position with numpy : 0.0028982162475585938 nb_pixel_total : 227037 time to create 1 rle with new method : 0.007585287094116211 length of segment : 1010 time for calcul the mask position with numpy : 0.0002048015594482422 nb_pixel_total : 6693 time to create 1 rle with old method : 0.008050918579101562 length of segment : 85 time for calcul the mask position with numpy : 0.0005521774291992188 nb_pixel_total : 24434 time to create 1 rle with old method : 0.02826237678527832 length of segment : 222 time for calcul the mask position with numpy : 0.0006909370422363281 nb_pixel_total : 29006 time to create 1 rle with old method : 0.03420233726501465 length of segment : 246 time for calcul the mask position with numpy : 0.0003292560577392578 nb_pixel_total : 5416 time to create 1 rle with old method : 0.006357669830322266 length of segment : 176 time for calcul the mask position with numpy : 0.012908220291137695 nb_pixel_total : 561013 time to create 1 rle with new method : 0.05031132698059082 length of segment : 1375 time for calcul the mask position with numpy : 0.000118255615234375 nb_pixel_total : 2402 time to create 1 rle with old method : 0.002843618392944336 length of segment : 81 time for calcul the mask position with numpy : 0.001361846923828125 nb_pixel_total : 69178 time to create 1 rle with old method : 0.08003950119018555 length of segment : 548 time for calcul the mask position with numpy : 0.00012421607971191406 nb_pixel_total : 161 time to create 1 rle with old method : 0.00023031234741210938 length of segment : 27 time for calcul the mask position with numpy : 0.0010213851928710938 nb_pixel_total : 45438 time to create 1 rle with old method : 0.05014443397521973 length of segment : 373 time for calcul the mask position with numpy : 0.007812976837158203 nb_pixel_total : 267111 time to create 1 rle with new method : 0.22449135780334473 length of segment : 1487 time for calcul the mask position with numpy : 0.003914356231689453 nb_pixel_total : 345655 time to create 1 rle with new method : 0.01025533676147461 length of segment : 954 time for calcul the mask position with numpy : 0.0007138252258300781 nb_pixel_total : 34121 time to create 1 rle with old method : 0.039067983627319336 length of segment : 214 time spent for convertir_results : 5.3561484813690186 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 48 chid ids of type : 3663 Number RLEs to save : 25086 save missing photos in datou_result : time spend for datou_step_exec : 45.21785354614258 time spend to save output : 1.638725757598877 total time spend for step 1 : 46.856579303741455 step2:crop_condition Tue Feb 25 10:39:17 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 48 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 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 ! 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 : 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 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 ! 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 : 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 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! we have finished the crop for the class : 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 [1339522698, 1339522657, 1339522656, 1339522628, 1339522627, 1339522601, 1339522600, 1339522574, 1339522572, 1339522521] Looping around the photos to save general results len do output : 17 /-3686311328Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686311342Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686311343Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686311350Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686311346Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686311360Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686311372Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686311345Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686311351Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686311332Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686311330Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686311348Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686311357Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686311363Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686311359Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686311368Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686311339Didn'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, '2612418') ('3459', '20799180', '1339522698', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522657', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522656', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522628', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522627', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522601', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522600', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522574', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522572', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522521', None, None, None, None, None, '2612418') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 61 time used for this insertion : 0.021355390548706055 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.228863716125488 time spend to save output : 0.02282428741455078 total time spend for step 2 : 8.251688003540039 step3:thcl Tue Feb 25 10:39:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure 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.010242223739624023 time to convert the images to numpy array : 3.0994415283203125e-06 time to import caffe and check if the image exist : 0.007753849029541016 time to convert the images to numpy array : 0.008722066879272461 time to import caffe and check if the image exist : 0.010213851928710938 time to convert the images to numpy array : 0.013216495513916016 time to import caffe and check if the image exist : 0.011907100677490234 time to convert the images to numpy array : 0.013007640838623047 time to import caffe and check if the image exist : 0.011315345764160156 time to convert the images to numpy array : 0.016390085220336914 time to import caffe and check if the image exist : 0.008852243423461914 time to convert the images to numpy array : 0.019838571548461914 time to import caffe and check if the image exist : 0.009465932846069336 time to convert the images to numpy array : 0.024286508560180664 time to import caffe and check if the image exist : 0.011401653289794922 time to convert the images to numpy array : 0.027774810791015625 time to import caffe and check if the image exist : 0.009782552719116211 time to convert the images to numpy array : 0.08980536460876465 time to import caffe and check if the image exist : 0.010866165161132812 time to convert the images to numpy array : 0.1049489974975586 total time to convert the images to numpy array : 0.34169554710388184 list photo_ids error: [] list photo_ids correct : [-3686311328, -3686311342, -3686311339, -3686311330, -3686311348, -3686311357, -3686311363, -3686311351, -3686311332, -3686311343, -3686311350, -3686311359, -3686311368, -3686311372, -3686311345, -3686311346, -3686311360] number of photos to traite : 17 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 thcls : [{'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'}] thcl {'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'} Update svm_hashtag_type_desc : 4999 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) To loadFromThcl() : net_4999 begin to check gpu status inside check gpu memory havn't enough memory gpu , need / 2500 l 3632 free memory gpu now : 1713 wait 20 seconds l 3637 free memory gpu now : 1713 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 havn't enough memory gpu , need / 2500 l 3632 free memory gpu now : 1494 wait 20 seconds l 3637 free memory gpu now : 1494 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.20754146575927734 time used to do the prediction : 0.2723348140716553 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 havn't enough memory gpu , need / 2500 l 3632 free memory gpu now : 1492 wait 20 seconds l 3637 free memory gpu now : 1492 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 havn't enough memory gpu , need / 2500 l 3632 free memory gpu now : 1492 wait 20 seconds l 3637 free memory gpu now : 1492 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.20252585411071777 time used to do the prediction : 0.15946292877197266 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.0967254638671875e-05 save missing photos in datou_result : time spend for datou_step_exec : 88.20189595222473 time spend to save output : 0.0002181529998779297 total time spend for step 3 : 88.20211410522461 step4:merge_mask_thcl_custom Tue Feb 25 10:40:54 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 48 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 [1339522698, 1339522657, 1339522656, 1339522628, 1339522627, 1339522601, 1339522600, 1339522574, 1339522572, 1339522521] Looping around the photos to save general results len do output : 10 /1339522698Didn't retrieve data .Didn't retrieve data . /1339522657Didn't retrieve data .Didn't retrieve data . /1339522656Didn't retrieve data .Didn't retrieve data . /1339522628Didn't retrieve data .Didn't retrieve data . /1339522627Didn't retrieve data .Didn't retrieve data . /1339522601Didn't retrieve data .Didn't retrieve data . /1339522600Didn't retrieve data .Didn't retrieve data . /1339522574Didn't retrieve data .Didn't retrieve data . /1339522572Didn't retrieve data .Didn't retrieve data . /1339522521Didn'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, '2612418') ('3459', '20799180', '1339522698', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522657', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522656', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522628', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522627', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522601', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522600', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522574', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522572', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522521', None, None, None, None, None, '2612418') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013441801071166992 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.05093550682067871 time spend to save output : 0.013962984085083008 total time spend for step 4 : 0.06489849090576172 step5:rle_unique_nms_with_priority Tue Feb 25 10:40:54 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 : 6 nb_hashtags : 3 time to prepare the origin masks : 1.165372371673584 time for calcul the mask position with numpy : 0.41561055183410645 nb_pixel_total : 1325288 time to create 1 rle with new method : 0.1152350902557373 time for calcul the mask position with numpy : 0.0063936710357666016 nb_pixel_total : 19501 time to create 1 rle with old method : 0.02243947982788086 time for calcul the mask position with numpy : 0.006209373474121094 nb_pixel_total : 5758 time to create 1 rle with old method : 0.007247209548950195 time for calcul the mask position with numpy : 0.0060231685638427734 nb_pixel_total : 5155 time to create 1 rle with old method : 0.0056421756744384766 time for calcul the mask position with numpy : 0.012913227081298828 nb_pixel_total : 668214 time to create 1 rle with new method : 0.08654308319091797 time for calcul the mask position with numpy : 0.006237030029296875 nb_pixel_total : 1907 time to create 1 rle with old method : 0.0023179054260253906 time for calcul the mask position with numpy : 0.0061779022216796875 nb_pixel_total : 47777 time to create 1 rle with old method : 0.053430795669555664 create new chi : 0.7697265148162842 time to delete rle : 0.02496504783630371 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 5598 TO DO : save crop sub photo not yet done ! save time : 0.4075503349304199 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.47682619094848633 time for calcul the mask position with numpy : 0.09672808647155762 nb_pixel_total : 1254093 time to create 1 rle with new method : 0.08482146263122559 time for calcul the mask position with numpy : 0.009070158004760742 nb_pixel_total : 172308 time to create 1 rle with new method : 0.02939152717590332 time for calcul the mask position with numpy : 0.00969839096069336 nb_pixel_total : 474368 time to create 1 rle with new method : 0.02909994125366211 time for calcul the mask position with numpy : 0.0076541900634765625 nb_pixel_total : 172831 time to create 1 rle with new method : 0.02838277816772461 create new chi : 0.2957324981689453 time to delete rle : 0.000598907470703125 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 5510 TO DO : save crop sub photo not yet done ! save time : 0.33701086044311523 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.20919370651245117 time for calcul the mask position with numpy : 0.018425464630126953 nb_pixel_total : 1781316 time to create 1 rle with new method : 0.03197741508483887 time for calcul the mask position with numpy : 0.006464481353759766 nb_pixel_total : 113598 time to create 1 rle with old method : 0.12320232391357422 time for calcul the mask position with numpy : 0.007099151611328125 nb_pixel_total : 178686 time to create 1 rle with new method : 0.028512239456176758 create new chi : 0.2162778377532959 time to delete rle : 0.0004181861877441406 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 4042 TO DO : save crop sub photo not yet done ! save time : 0.294630765914917 nb_obj : 8 nb_hashtags : 3 time to prepare the origin masks : 1.1662912368774414 time for calcul the mask position with numpy : 0.04850935935974121 nb_pixel_total : 1565763 time to create 1 rle with new method : 0.274505615234375 time for calcul the mask position with numpy : 0.006163358688354492 nb_pixel_total : 30450 time to create 1 rle with old method : 0.03391623497009277 time for calcul the mask position with numpy : 0.005884885787963867 nb_pixel_total : 8672 time to create 1 rle with old method : 0.009594917297363281 time for calcul the mask position with numpy : 0.006001472473144531 nb_pixel_total : 3862 time to create 1 rle with old method : 0.004732370376586914 time for calcul the mask position with numpy : 0.007135868072509766 nb_pixel_total : 66932 time to create 1 rle with old method : 0.0852975845336914 time for calcul the mask position with numpy : 0.00876474380493164 nb_pixel_total : 332203 time to create 1 rle with new method : 0.0893716812133789 time for calcul the mask position with numpy : 0.0067386627197265625 nb_pixel_total : 25989 time to create 1 rle with old method : 0.0285952091217041 time for calcul the mask position with numpy : 0.00618433952331543 nb_pixel_total : 25099 time to create 1 rle with old method : 0.02766871452331543 time for calcul the mask position with numpy : 0.006306171417236328 nb_pixel_total : 14630 time to create 1 rle with old method : 0.016340255737304688 create new chi : 0.6821410655975342 time to delete rle : 0.0005230903625488281 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 5294 TO DO : save crop sub photo not yet done ! save time : 0.3269495964050293 nb_obj : 6 nb_hashtags : 4 time to prepare the origin masks : 0.5559678077697754 time for calcul the mask position with numpy : 0.021069049835205078 nb_pixel_total : 1381721 time to create 1 rle with new method : 0.1086890697479248 time for calcul the mask position with numpy : 0.006253480911254883 nb_pixel_total : 763 time to create 1 rle with old method : 0.0011844635009765625 time for calcul the mask position with numpy : 0.006354570388793945 nb_pixel_total : 87427 time to create 1 rle with old method : 0.09645533561706543 time for calcul the mask position with numpy : 0.006220817565917969 nb_pixel_total : 10564 time to create 1 rle with old method : 0.011873960494995117 time for calcul the mask position with numpy : 0.006322383880615234 nb_pixel_total : 51713 time to create 1 rle with old method : 0.059942007064819336 time for calcul the mask position with numpy : 0.010655641555786133 nb_pixel_total : 485029 time to create 1 rle with new method : 0.09621572494506836 time for calcul the mask position with numpy : 0.006699562072753906 nb_pixel_total : 56383 time to create 1 rle with old method : 0.06452727317810059 create new chi : 0.5113592147827148 time to delete rle : 0.0007011890411376953 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 5855 TO DO : save crop sub photo not yet done ! save time : 0.7591812610626221 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.2012932300567627 time for calcul the mask position with numpy : 0.01620030403137207 nb_pixel_total : 1388996 time to create 1 rle with new method : 0.029185056686401367 time for calcul the mask position with numpy : 0.0060045719146728516 nb_pixel_total : 3954 time to create 1 rle with old method : 0.004419565200805664 time for calcul the mask position with numpy : 0.012544631958007812 nb_pixel_total : 680650 time to create 1 rle with new method : 0.029364585876464844 create new chi : 0.09824752807617188 time to delete rle : 0.00038504600524902344 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 3212 TO DO : save crop sub photo not yet done ! save time : 0.22926640510559082 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.4413571357727051 time for calcul the mask position with numpy : 0.05524611473083496 nb_pixel_total : 1595802 time to create 1 rle with new method : 0.22272276878356934 time for calcul the mask position with numpy : 0.006474018096923828 nb_pixel_total : 62429 time to create 1 rle with old method : 0.06854915618896484 time for calcul the mask position with numpy : 0.00611424446105957 nb_pixel_total : 12654 time to create 1 rle with old method : 0.014168024063110352 time for calcul the mask position with numpy : 0.0061113834381103516 nb_pixel_total : 2117 time to create 1 rle with old method : 0.002473115921020508 time for calcul the mask position with numpy : 0.008449316024780273 nb_pixel_total : 400598 time to create 1 rle with new method : 0.07835531234741211 create new chi : 0.47912073135375977 time to delete rle : 0.0004394054412841797 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 4590 TO DO : save crop sub photo not yet done ! save time : 0.3025052547454834 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.3617579936981201 time for calcul the mask position with numpy : 0.2056581974029541 nb_pixel_total : 1622301 time to create 1 rle with new method : 0.22390985488891602 time for calcul the mask position with numpy : 0.006723880767822266 nb_pixel_total : 128116 time to create 1 rle with old method : 0.13835358619689941 time for calcul the mask position with numpy : 0.007289886474609375 nb_pixel_total : 226785 time to create 1 rle with new method : 0.07768964767456055 time for calcul the mask position with numpy : 0.005928516387939453 nb_pixel_total : 1865 time to create 1 rle with old method : 0.002151966094970703 time for calcul the mask position with numpy : 0.0067844390869140625 nb_pixel_total : 70146 time to create 1 rle with old method : 0.07826900482177734 time for calcul the mask position with numpy : 0.006471395492553711 nb_pixel_total : 24387 time to create 1 rle with old method : 0.027732372283935547 create new chi : 0.7975363731384277 time to delete rle : 0.0005757808685302734 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 5852 TO DO : save crop sub photo not yet done ! save time : 0.36859893798828125 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.6852340698242188 time for calcul the mask position with numpy : 0.4336206912994385 nb_pixel_total : 1425917 time to create 1 rle with new method : 0.08453798294067383 time for calcul the mask position with numpy : 0.006777763366699219 nb_pixel_total : 48223 time to create 1 rle with old method : 0.05597114562988281 time for calcul the mask position with numpy : 0.006268978118896484 nb_pixel_total : 2397 time to create 1 rle with old method : 0.0027341842651367188 time for calcul the mask position with numpy : 0.012152433395385742 nb_pixel_total : 562777 time to create 1 rle with new method : 0.3374321460723877 time for calcul the mask position with numpy : 0.006238698959350586 nb_pixel_total : 5399 time to create 1 rle with old method : 0.006369829177856445 time for calcul the mask position with numpy : 0.006420135498046875 nb_pixel_total : 28887 time to create 1 rle with old method : 0.03180432319641113 create new chi : 1.0076334476470947 time to delete rle : 0.0005047321319580078 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 5365 TO DO : save crop sub photo not yet done ! save time : 0.3379652500152588 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.3644733428955078 time for calcul the mask position with numpy : 0.14207816123962402 nb_pixel_total : 1603332 time to create 1 rle with new method : 0.08762145042419434 time for calcul the mask position with numpy : 0.0069408416748046875 nb_pixel_total : 123391 time to create 1 rle with old method : 0.13623285293579102 time for calcul the mask position with numpy : 0.010357141494750977 nb_pixel_total : 34035 time to create 1 rle with old method : 0.037319183349609375 time for calcul the mask position with numpy : 0.0075836181640625 nb_pixel_total : 267417 time to create 1 rle with new method : 0.14061403274536133 time for calcul the mask position with numpy : 0.006486654281616211 nb_pixel_total : 45425 time to create 1 rle with old method : 0.04972505569458008 create new chi : 0.6337566375732422 time to delete rle : 0.0006444454193115234 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 6457 TO DO : save crop sub photo not yet done ! save time : 0.41116809844970703 map_output_result : {1339522698: (0.0, 'Should be the crop_list due to order', 0), 1339522657: (0.0, 'Should be the crop_list due to order', 0), 1339522656: (0.0, 'Should be the crop_list due to order', 0), 1339522628: (0.0, 'Should be the crop_list due to order', 0), 1339522627: (0.0, 'Should be the crop_list due to order', 0), 1339522601: (0.0, 'Should be the crop_list due to order', 0), 1339522600: (0.0, 'Should be the crop_list due to order', 0), 1339522574: (0.0, 'Should be the crop_list due to order', 0), 1339522572: (0.0, 'Should be the crop_list due to order', 0), 1339522521: (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 [1339522698, 1339522657, 1339522656, 1339522628, 1339522627, 1339522601, 1339522600, 1339522574, 1339522572, 1339522521] Looping around the photos to save general results len do output : 10 /1339522698.Didn't retrieve data . /1339522657.Didn't retrieve data . /1339522656.Didn't retrieve data . /1339522628.Didn't retrieve data . /1339522627.Didn't retrieve data . /1339522601.Didn't retrieve data . /1339522600.Didn't retrieve data . /1339522574.Didn't retrieve data . /1339522572.Didn't retrieve data . /1339522521.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, '2612418') ('3459', '20799180', '1339522698', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522657', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522656', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522628', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522627', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522601', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522600', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522574', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522572', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522521', None, None, None, None, None, '2612418') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.015521049499511719 save_final save missing photos in datou_result : time spend for datou_step_exec : 15.241106510162354 time spend to save output : 0.016916751861572266 total time spend for step 5 : 15.258023262023926 step6:crop_condition Tue Feb 25 10:41: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 ! 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 55 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/1740476470_328715 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6794857978820801 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 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 begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! Next one ! 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/1740476472_328715 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.0534319877624512 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 ! 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/1740476473_328715 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.8870604038238525 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 [1339522698, 1339522657, 1339522656, 1339522628, 1339522627, 1339522601, 1339522600, 1339522574, 1339522572, 1339522521] Looping around the photos to save general results len do output : 5 /1339524937Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339524939Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339524940Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339524941Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339524942Didn'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, '2612418') ('3459', '20799180', '1339522698', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522657', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522656', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522628', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522627', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522601', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522600', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522574', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522572', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522521', None, None, None, None, None, '2612418') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 25 time used for this insertion : 0.02397894859313965 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.601854562759399 time spend to save output : 0.024558544158935547 total time spend for step 6 : 4.626413106918335 step7:ventilate_hashtags_in_portfolio Tue Feb 25 10:41:14 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 : 20799180 get user id for portfolio 20799180 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`=20799180 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','metal','cartonnette','Teint_Dans_La_Masse','plastique','flou','environnement','Carton_gris','autre_refus','Carton_brun','kraft','mal_croppe')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20799180 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','metal','cartonnette','Teint_Dans_La_Masse','plastique','flou','environnement','Carton_gris','autre_refus','Carton_brun','kraft','mal_croppe')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20799180 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','metal','cartonnette','Teint_Dans_La_Masse','plastique','flou','environnement','Carton_gris','autre_refus','Carton_brun','kraft','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20799333,20799334,20799335,20799336,20799337,20799338,20799339,20799340,20799341,20799342,20799343,20799344?tags=papier,metal,cartonnette,Teint_Dans_La_Masse,plastique,flou,environnement,Carton_gris,autre_refus,Carton_brun,kraft,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339522698, 1339522657, 1339522656, 1339522628, 1339522627, 1339522601, 1339522600, 1339522574, 1339522572, 1339522521] Looping around the photos to save general results len do output : 1 /20799180. 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, '2612418') ('3459', '20799180', '1339522698', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522657', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522656', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522628', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522627', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522601', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522600', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522574', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522572', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522521', None, None, None, None, None, '2612418') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.015029191970825195 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.7330610752105713 time spend to save output : 0.015299558639526367 total time spend for step 7 : 0.7483606338500977 step8:final Tue Feb 25 10:41:15 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 : {1339522698: ('0.036218299384119884',), 1339522657: ('0.036218299384119884',), 1339522656: ('0.036218299384119884',), 1339522628: ('0.036218299384119884',), 1339522627: ('0.036218299384119884',), 1339522601: ('0.036218299384119884',), 1339522600: ('0.036218299384119884',), 1339522574: ('0.036218299384119884',), 1339522572: ('0.036218299384119884',), 1339522521: ('0.036218299384119884',)} new output for save of step final : {1339522698: ('0.036218299384119884',), 1339522657: ('0.036218299384119884',), 1339522656: ('0.036218299384119884',), 1339522628: ('0.036218299384119884',), 1339522627: ('0.036218299384119884',), 1339522601: ('0.036218299384119884',), 1339522600: ('0.036218299384119884',), 1339522574: ('0.036218299384119884',), 1339522572: ('0.036218299384119884',), 1339522521: ('0.036218299384119884',)} [1339522698, 1339522657, 1339522656, 1339522628, 1339522627, 1339522601, 1339522600, 1339522574, 1339522572, 1339522521] Looping around the photos to save general results len do output : 10 /1339522698.Didn't retrieve data . /1339522657.Didn't retrieve data . /1339522656.Didn't retrieve data . /1339522628.Didn't retrieve data . /1339522627.Didn't retrieve data . /1339522601.Didn't retrieve data . /1339522600.Didn't retrieve data . /1339522574.Didn't retrieve data . /1339522572.Didn't retrieve data . /1339522521.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, '2612418') ('3459', '20799180', '1339522698', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522657', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522656', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522628', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522627', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522601', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522600', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522574', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522572', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522521', None, None, None, None, None, '2612418') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.016397476196289062 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10605597496032715 time spend to save output : 0.01692652702331543 total time spend for step 8 : 0.12298250198364258 step9:velours_tree Tue Feb 25 10:41:15 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.038170576095581055 time spend to save output : 4.0531158447265625e-05 total time spend for step 9 : 0.03821110725402832 step10:send_mail_cod Tue Feb 25 10:41:15 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_P20799180_25-02-2025_10_41_15.pdf 20799334 imagette207993341740476475 20799335 change filename to text .change filename to text .change filename to text .imagette207993351740476475 20799337 change filename to text .imagette207993371740476475 20799338 imagette207993381740476475 20799341 imagette207993411740476475 20799343 imagette207993431740476475 20799344 imagette207993441740476475 20799336 change filename to text .imagette207993361740476475 20799340 imagette207993401740476475 20799342 imagette207993421740476475 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20799180 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20799333,20799334,20799335,20799336,20799337,20799338,20799339,20799340,20799341,20799342,20799343,20799344?tags=papier,metal,cartonnette,Teint_Dans_La_Masse,plastique,flou,environnement,Carton_gris,autre_refus,Carton_brun,kraft,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1339522698] : ('0.036218299384119884',) no score found for photo 1339522698 We are sending mail with results at report@fotonower.com args[1339522657] : ('0.036218299384119884',) no score found for photo 1339522657 We are sending mail with results at report@fotonower.com args[1339522656] : ('0.036218299384119884',) no score found for photo 1339522656 We are sending mail with results at report@fotonower.com args[1339522628] : ('0.036218299384119884',) no score found for photo 1339522628 We are sending mail with results at report@fotonower.com args[1339522627] : ('0.036218299384119884',) no score found for photo 1339522627 We are sending mail with results at report@fotonower.com args[1339522601] : ('0.036218299384119884',) no score found for photo 1339522601 We are sending mail with results at report@fotonower.com args[1339522600] : ('0.036218299384119884',) no score found for photo 1339522600 We are sending mail with results at report@fotonower.com args[1339522574] : ('0.036218299384119884',) no score found for photo 1339522574 We are sending mail with results at report@fotonower.com args[1339522572] : ('0.036218299384119884',) no score found for photo 1339522572 We are sending mail with results at report@fotonower.com args[1339522521] : ('0.036218299384119884',) no score found for photo 1339522521 We are sending mail with results at report@fotonower.com refus_total : 0.036218299384119884 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=20799180 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1339522295,1339522261,1339522440,1339522698,1339522657,1339522656,1339522628,1339522627,1339522601,1339522600,1339522574,1339522572,1339522521,1339522520,1339522480,1339522479,1339521762,1339522439,1339522332,1339522331) Found this number of photos: 20 begin to download photo : 1339522295 begin to download photo : 1339522656 begin to download photo : 1339522574 begin to download photo : 1339522479 download finish for photo 1339522574 begin to download photo : 1339522572 download finish for photo 1339522295 begin to download photo : 1339522261 download finish for photo 1339522479 begin to download photo : 1339521762 download finish for photo 1339522656 begin to download photo : 1339522628 download finish for photo 1339522261 begin to download photo : 1339522440 download finish for photo 1339522572 begin to download photo : 1339522521 download finish for photo 1339522628 begin to download photo : 1339522627 download finish for photo 1339521762 begin to download photo : 1339522439 download finish for photo 1339522627 begin to download photo : 1339522601 download finish for photo 1339522521 begin to download photo : 1339522520 download finish for photo 1339522439 begin to download photo : 1339522332 download finish for photo 1339522440 begin to download photo : 1339522698 download finish for photo 1339522601 begin to download photo : 1339522600 download finish for photo 1339522698 begin to download photo : 1339522657 download finish for photo 1339522600 download finish for photo 1339522332 begin to download photo : 1339522331 download finish for photo 1339522520 begin to download photo : 1339522480 download finish for photo 1339522657 download finish for photo 1339522331 download finish for photo 1339522480 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20799180_25-02-2025_10_41_15.pdf results_Auto_P20799180_25-02-2025_10_41_15.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20799180_25-02-2025_10_41_15.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','20799180','results_Auto_P20799180_25-02-2025_10_41_15.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20799180_25-02-2025_10_41_15.pdf','pdf','','0.2','0.036218299384119884') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339522698, 1339522657, 1339522656, 1339522628, 1339522627, 1339522601, 1339522600, 1339522574, 1339522572, 1339522521] 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, '2612418') ('3459', '20799180', '1339522698', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522657', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522656', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522628', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522627', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522601', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522600', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522574', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522572', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522521', None, None, None, None, None, '2612418') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.014372587203979492 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.61824107170105 time spend to save output : 0.014631509780883789 total time spend for step 10 : 2.6328725814819336 step11:split_time_score Tue Feb 25 10:41:17 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'}] (('10', 28),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 25022025 20799180 Nombre de photos uploadées : 28 / 23040 (0%) 25022025 20799180 Nombre de photos taguées (types de déchets): 0 / 28 (0%) 25022025 20799180 Nombre de photos taguées (volume) : 0 / 28 (0%) elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 7.867813110351562e-06 ???????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0019028186798095703 elapsed_time : insert_dashboard_record_day_entry 0.02329730987548828 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.027519706039487488 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20792421_25-02-2025_07_41_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20792421 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`=20792421 AND mptpi.`type`=3726 To do Qualite : 0.04279993537833964 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20793621_25-02-2025_08_15_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20793621 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`=20793621 AND mptpi.`type`=3726 To do Qualite : 0.04836044824494673 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20793622_25-02-2025_08_22_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20793622 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`=20793622 AND mptpi.`type`=3726 To do Qualite : 0.023273948616390653 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20793623_25-02-2025_08_11_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20793623 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`=20793623 AND mptpi.`type`=3726 To do Qualite : 0.04504098060841874 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20795491_25-02-2025_09_51_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20795491 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`=20795491 AND mptpi.`type`=3726 To do Qualite : 0.041251844000054855 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20795492_25-02-2025_10_02_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20795492 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`=20795492 AND mptpi.`type`=3726 To do Qualite : 0.04903814151177415 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20796642_25-02-2025_10_33_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20796642 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`=20796642 AND mptpi.`type`=3726 To do Qualite : 0.054504090865715456 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20796643_25-02-2025_09_21_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20796643 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`=20796643 AND mptpi.`type`=3726 To do Qualite : 0.03200016630010863 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20797866_25-02-2025_10_11_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20797866 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`=20797866 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20799179 order by id desc limit 1 Qualite : 0.036218299384119884 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20799180_25-02-2025_10_41_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20799180 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`=20799180 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20799181 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'25022025': {'nb_upload': 28, '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 [1339522698, 1339522657, 1339522656, 1339522628, 1339522627, 1339522601, 1339522600, 1339522574, 1339522572, 1339522521] Looping around the photos to save general results len do output : 1 /20799180Didn'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, '2612418') ('3459', '20799180', '1339522698', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522657', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522656', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522628', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522627', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522601', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522600', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522574', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522572', None, None, None, None, None, '2612418') ('3459', None, None, None, None, None, None, None, '2612418') ('3459', '20799180', '1339522521', None, None, None, None, None, '2612418') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.016736268997192383 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.4192049503326416 time spend to save output : 0.01693439483642578 total time spend for step 11 : 2.4361393451690674 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 36.55user 23.95system 2:54.98elapsed 34%CPU (0avgtext+0avgdata 2629164maxresident)k 231064inputs+27296outputs (180major+1906531minor)pagefaults 0swaps