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 : 4191626 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 : 21>10 please execute split_portfolio.py -i 20699412 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2601838'] with mtr_portfolio_ids : ['20699412'] and first list_photo_ids : [] new path : /proc/4191626/ 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.995269536972046 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 Fri Feb 21 00:22:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory havn't enough memory gpu , need / 3000 l 3632 free memory gpu now : 1767 wait 20 seconds l 3637 free memory gpu now : 1767 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-21 00:22:51.816854: 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-21 00:22:51.847136: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-21 00:22:51.850290: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fa800000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-21 00:22:51.850403: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-21 00:22:51.858746: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-21 00:22:52.025537: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x410e0fd0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-21 00:22:52.025620: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-21 00:22:52.027638: 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-21 00:22:52.028817: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-21 00:22:52.035253: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-21 00:22:52.053576: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-21 00:22:52.054279: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-21 00:22:52.078806: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-21 00:22:52.081972: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-21 00:22:52.113928: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-21 00:22:52.115248: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-21 00:22:52.115620: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-21 00:22:52.116482: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-21 00:22:52.116504: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-21 00:22:52.116517: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-21 00:22:52.117933: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1390 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-21 00:22:52.542720: 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-21 00:22:52.542846: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-21 00:22:52.542879: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-21 00:22:52.542930: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-21 00:22:52.542963: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-21 00:22:52.542991: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-21 00:22:52.543019: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-21 00:22:52.543047: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-21 00:22:52.544245: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-21 00:22:52.545651: 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-21 00:22:52.545695: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-21 00:22:52.545711: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-21 00:22:52.545725: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-21 00:22:52.545739: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-21 00:22:52.545753: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-21 00:22:52.545767: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-21 00:22:52.545781: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-21 00:22:52.546540: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-21 00:22:52.546569: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-21 00:22:52.546578: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-21 00:22:52.546586: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-21 00:22:52.547405: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1390 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-21 00:23:03.692847: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-21 00:23:03.932861: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-21 00:23:06.679149: 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-21 00:23:06.771332: 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-21 00:23:06.779059: 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-21 00:23:06.779152: 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-21 00:23:06.786731: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:06.786819: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 466.56MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-21 00:23:06.787643: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:06.787676: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 466.56MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-21 00:23:06.821851: 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-21 00:23:06.821933: 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-21 00:23:06.830389: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:06.830468: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 243.25MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-21 00:23:06.831237: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:06.831281: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 243.25MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-21 00:23:06.869908: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:06.870655: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:06.949932: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:06.950503: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:06.952233: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:06.952742: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:06.960542: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:06.961090: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:06.967811: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:06.968363: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:06.970054: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:06.970573: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.003418: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.004009: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.004538: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.005062: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.009283: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.009811: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.029336: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.029941: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.030480: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.031148: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.046813: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.047440: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.047961: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.048481: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.053675: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.054259: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.059863: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.060537: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.075623: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.076210: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.081202: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.081733: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.082509: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.083105: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.096689: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.097289: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.097850: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.098391: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.099094: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.099689: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.174784: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.175462: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.184297: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.184901: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.215688: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.216834: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.217985: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.218927: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.224850: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.226063: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.227213: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.228511: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.231336: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.231455: 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-21 00:23:07.241764: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.242871: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.254491: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.255461: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.256537: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.257561: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.258586: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-21 00:23:07.259427: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 879.88M (922615808 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: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 29 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 23 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 32 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 32 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 19 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 25 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 13 Detection mask done ! Trying to reset tf kernel 4192851 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 795 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 : 1988 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.001249074935913086 nb_pixel_total : 36336 time to create 1 rle with old method : 0.04236102104187012 length of segment : 251 time for calcul the mask position with numpy : 0.00013256072998046875 nb_pixel_total : 5186 time to create 1 rle with old method : 0.005965232849121094 length of segment : 103 time for calcul the mask position with numpy : 0.0001430511474609375 nb_pixel_total : 5313 time to create 1 rle with old method : 0.0062029361724853516 length of segment : 90 time for calcul the mask position with numpy : 0.00027751922607421875 nb_pixel_total : 9954 time to create 1 rle with old method : 0.011484622955322266 length of segment : 289 time for calcul the mask position with numpy : 0.0009210109710693359 nb_pixel_total : 47351 time to create 1 rle with old method : 0.05316877365112305 length of segment : 424 time for calcul the mask position with numpy : 9.679794311523438e-05 nb_pixel_total : 2064 time to create 1 rle with old method : 0.0025196075439453125 length of segment : 68 time for calcul the mask position with numpy : 0.0019621849060058594 nb_pixel_total : 86739 time to create 1 rle with old method : 0.0958561897277832 length of segment : 324 time for calcul the mask position with numpy : 0.0008733272552490234 nb_pixel_total : 29492 time to create 1 rle with old method : 0.03314685821533203 length of segment : 325 time for calcul the mask position with numpy : 0.0024390220642089844 nb_pixel_total : 107071 time to create 1 rle with old method : 0.11668276786804199 length of segment : 527 time for calcul the mask position with numpy : 0.006011486053466797 nb_pixel_total : 243532 time to create 1 rle with new method : 0.018279552459716797 length of segment : 1145 time for calcul the mask position with numpy : 0.0010433197021484375 nb_pixel_total : 47054 time to create 1 rle with old method : 0.05353379249572754 length of segment : 296 time for calcul the mask position with numpy : 0.0009446144104003906 nb_pixel_total : 46540 time to create 1 rle with old method : 0.05386948585510254 length of segment : 348 time for calcul the mask position with numpy : 0.00012302398681640625 nb_pixel_total : 3656 time to create 1 rle with old method : 0.004311323165893555 length of segment : 110 time for calcul the mask position with numpy : 0.01329350471496582 nb_pixel_total : 369486 time to create 1 rle with new method : 0.023448705673217773 length of segment : 759 time for calcul the mask position with numpy : 0.00023293495178222656 nb_pixel_total : 12876 time to create 1 rle with old method : 0.015285253524780273 length of segment : 86 time for calcul the mask position with numpy : 0.00036644935607910156 nb_pixel_total : 17663 time to create 1 rle with old method : 0.020351648330688477 length of segment : 149 time for calcul the mask position with numpy : 0.0010919570922851562 nb_pixel_total : 48858 time to create 1 rle with old method : 0.05462789535522461 length of segment : 394 time for calcul the mask position with numpy : 0.0003070831298828125 nb_pixel_total : 15054 time to create 1 rle with old method : 0.016756772994995117 length of segment : 242 time for calcul the mask position with numpy : 0.0012469291687011719 nb_pixel_total : 72750 time to create 1 rle with old method : 0.08118748664855957 length of segment : 346 time for calcul the mask position with numpy : 0.017798423767089844 nb_pixel_total : 372712 time to create 1 rle with new method : 0.07670712471008301 length of segment : 1028 time for calcul the mask position with numpy : 0.00018525123596191406 nb_pixel_total : 7236 time to create 1 rle with old method : 0.008373737335205078 length of segment : 113 time for calcul the mask position with numpy : 0.0029685497283935547 nb_pixel_total : 144680 time to create 1 rle with old method : 0.1634533405303955 length of segment : 570 time for calcul the mask position with numpy : 0.0010039806365966797 nb_pixel_total : 45588 time to create 1 rle with old method : 0.0514528751373291 length of segment : 406 time for calcul the mask position with numpy : 0.002743244171142578 nb_pixel_total : 143092 time to create 1 rle with old method : 0.15935015678405762 length of segment : 561 time for calcul the mask position with numpy : 0.0008141994476318359 nb_pixel_total : 33912 time to create 1 rle with old method : 0.03900504112243652 length of segment : 395 time for calcul the mask position with numpy : 0.0008804798126220703 nb_pixel_total : 36188 time to create 1 rle with old method : 0.04057645797729492 length of segment : 367 time for calcul the mask position with numpy : 0.001943826675415039 nb_pixel_total : 87193 time to create 1 rle with old method : 0.09685802459716797 length of segment : 698 time for calcul the mask position with numpy : 8.177757263183594e-05 nb_pixel_total : 1743 time to create 1 rle with old method : 0.0022249221801757812 length of segment : 60 time for calcul the mask position with numpy : 0.0022728443145751953 nb_pixel_total : 163505 time to create 1 rle with new method : 0.005295991897583008 length of segment : 599 time for calcul the mask position with numpy : 0.0008230209350585938 nb_pixel_total : 52486 time to create 1 rle with old method : 0.057890892028808594 length of segment : 335 time for calcul the mask position with numpy : 0.0010094642639160156 nb_pixel_total : 46042 time to create 1 rle with old method : 0.05396676063537598 length of segment : 276 time for calcul the mask position with numpy : 0.0007181167602539062 nb_pixel_total : 48161 time to create 1 rle with old method : 0.053907155990600586 length of segment : 291 time for calcul the mask position with numpy : 0.000423431396484375 nb_pixel_total : 11331 time to create 1 rle with old method : 0.012987852096557617 length of segment : 264 time for calcul the mask position with numpy : 0.0005424022674560547 nb_pixel_total : 28883 time to create 1 rle with old method : 0.03135037422180176 length of segment : 229 time for calcul the mask position with numpy : 0.0009784698486328125 nb_pixel_total : 59352 time to create 1 rle with old method : 0.0652928352355957 length of segment : 346 time for calcul the mask position with numpy : 0.000133514404296875 nb_pixel_total : 5595 time to create 1 rle with old method : 0.006514310836791992 length of segment : 114 time for calcul the mask position with numpy : 9.799003601074219e-05 nb_pixel_total : 3318 time to create 1 rle with old method : 0.004037141799926758 length of segment : 69 time for calcul the mask position with numpy : 0.001157522201538086 nb_pixel_total : 72994 time to create 1 rle with old method : 0.07924413681030273 length of segment : 403 time for calcul the mask position with numpy : 0.0009696483612060547 nb_pixel_total : 50472 time to create 1 rle with old method : 0.06844210624694824 length of segment : 394 time for calcul the mask position with numpy : 0.00044035911560058594 nb_pixel_total : 23052 time to create 1 rle with old method : 0.026349306106567383 length of segment : 214 time for calcul the mask position with numpy : 0.0003376007080078125 nb_pixel_total : 18037 time to create 1 rle with old method : 0.020639896392822266 length of segment : 137 time for calcul the mask position with numpy : 0.0008058547973632812 nb_pixel_total : 56533 time to create 1 rle with old method : 0.06511092185974121 length of segment : 274 time for calcul the mask position with numpy : 0.0009720325469970703 nb_pixel_total : 58027 time to create 1 rle with old method : 0.0645606517791748 length of segment : 269 time for calcul the mask position with numpy : 0.00189208984375 nb_pixel_total : 105045 time to create 1 rle with old method : 0.1219942569732666 length of segment : 433 time for calcul the mask position with numpy : 0.0015187263488769531 nb_pixel_total : 113902 time to create 1 rle with old method : 0.12929606437683105 length of segment : 411 time for calcul the mask position with numpy : 0.00027561187744140625 nb_pixel_total : 10310 time to create 1 rle with old method : 0.012124776840209961 length of segment : 175 time for calcul the mask position with numpy : 0.00047516822814941406 nb_pixel_total : 21824 time to create 1 rle with old method : 0.02726888656616211 length of segment : 321 time for calcul the mask position with numpy : 0.0006122589111328125 nb_pixel_total : 16946 time to create 1 rle with old method : 0.01965498924255371 length of segment : 287 time for calcul the mask position with numpy : 0.0041654109954833984 nb_pixel_total : 148668 time to create 1 rle with old method : 0.17403602600097656 length of segment : 504 time for calcul the mask position with numpy : 0.0031855106353759766 nb_pixel_total : 51948 time to create 1 rle with old method : 0.05705070495605469 length of segment : 405 time for calcul the mask position with numpy : 0.0014858245849609375 nb_pixel_total : 21255 time to create 1 rle with old method : 0.024389266967773438 length of segment : 354 time for calcul the mask position with numpy : 0.0020945072174072266 nb_pixel_total : 27679 time to create 1 rle with old method : 0.03608298301696777 length of segment : 345 time for calcul the mask position with numpy : 0.0005431175231933594 nb_pixel_total : 9728 time to create 1 rle with old method : 0.010996103286743164 length of segment : 159 time for calcul the mask position with numpy : 0.00024318695068359375 nb_pixel_total : 3119 time to create 1 rle with old method : 0.0038161277770996094 length of segment : 81 time for calcul the mask position with numpy : 0.0022444725036621094 nb_pixel_total : 111738 time to create 1 rle with old method : 0.13489747047424316 length of segment : 385 time for calcul the mask position with numpy : 0.0001590251922607422 nb_pixel_total : 6305 time to create 1 rle with old method : 0.007793903350830078 length of segment : 96 time for calcul the mask position with numpy : 0.0031681060791015625 nb_pixel_total : 104648 time to create 1 rle with old method : 0.12676000595092773 length of segment : 378 time for calcul the mask position with numpy : 0.0017275810241699219 nb_pixel_total : 15434 time to create 1 rle with old method : 0.018341541290283203 length of segment : 198 time for calcul the mask position with numpy : 0.0006465911865234375 nb_pixel_total : 28100 time to create 1 rle with old method : 0.03598976135253906 length of segment : 210 time for calcul the mask position with numpy : 0.001355886459350586 nb_pixel_total : 30562 time to create 1 rle with old method : 0.03815340995788574 length of segment : 316 time for calcul the mask position with numpy : 0.0003769397735595703 nb_pixel_total : 7062 time to create 1 rle with old method : 0.008412361145019531 length of segment : 72 time for calcul the mask position with numpy : 0.002686738967895508 nb_pixel_total : 49109 time to create 1 rle with old method : 0.06275773048400879 length of segment : 404 time for calcul the mask position with numpy : 0.00031185150146484375 nb_pixel_total : 4676 time to create 1 rle with old method : 0.005524635314941406 length of segment : 109 time for calcul the mask position with numpy : 0.005036830902099609 nb_pixel_total : 98459 time to create 1 rle with old method : 0.11715316772460938 length of segment : 385 time for calcul the mask position with numpy : 0.0030519962310791016 nb_pixel_total : 103243 time to create 1 rle with old method : 0.11252641677856445 length of segment : 377 time for calcul the mask position with numpy : 0.000843048095703125 nb_pixel_total : 22034 time to create 1 rle with old method : 0.02600240707397461 length of segment : 182 time for calcul the mask position with numpy : 0.00017333030700683594 nb_pixel_total : 1794 time to create 1 rle with old method : 0.0022215843200683594 length of segment : 52 time for calcul the mask position with numpy : 0.004314422607421875 nb_pixel_total : 63120 time to create 1 rle with old method : 0.0708463191986084 length of segment : 312 time for calcul the mask position with numpy : 0.0056455135345458984 nb_pixel_total : 123856 time to create 1 rle with old method : 0.14300322532653809 length of segment : 429 time for calcul the mask position with numpy : 0.0027244091033935547 nb_pixel_total : 39790 time to create 1 rle with old method : 0.04630589485168457 length of segment : 422 time for calcul the mask position with numpy : 0.0012388229370117188 nb_pixel_total : 24093 time to create 1 rle with old method : 0.026477336883544922 length of segment : 327 time for calcul the mask position with numpy : 0.0030143260955810547 nb_pixel_total : 82333 time to create 1 rle with old method : 0.09232068061828613 length of segment : 351 time for calcul the mask position with numpy : 0.002007007598876953 nb_pixel_total : 58870 time to create 1 rle with old method : 0.06584382057189941 length of segment : 309 time for calcul the mask position with numpy : 0.0015401840209960938 nb_pixel_total : 27107 time to create 1 rle with old method : 0.03107619285583496 length of segment : 295 time for calcul the mask position with numpy : 0.0070018768310546875 nb_pixel_total : 119228 time to create 1 rle with old method : 0.13285160064697266 length of segment : 594 time for calcul the mask position with numpy : 0.0014560222625732422 nb_pixel_total : 58014 time to create 1 rle with old method : 0.08069801330566406 length of segment : 325 time for calcul the mask position with numpy : 0.005660057067871094 nb_pixel_total : 153791 time to create 1 rle with new method : 0.009716510772705078 length of segment : 416 time for calcul the mask position with numpy : 0.00530695915222168 nb_pixel_total : 128970 time to create 1 rle with old method : 0.18242621421813965 length of segment : 476 time for calcul the mask position with numpy : 0.0017123222351074219 nb_pixel_total : 30994 time to create 1 rle with old method : 0.04317665100097656 length of segment : 304 time for calcul the mask position with numpy : 0.0014715194702148438 nb_pixel_total : 27371 time to create 1 rle with old method : 0.03758692741394043 length of segment : 284 time for calcul the mask position with numpy : 0.003083944320678711 nb_pixel_total : 65075 time to create 1 rle with old method : 0.08910274505615234 length of segment : 405 time for calcul the mask position with numpy : 0.00096893310546875 nb_pixel_total : 9790 time to create 1 rle with old method : 0.014833450317382812 length of segment : 144 time for calcul the mask position with numpy : 0.0029594898223876953 nb_pixel_total : 76892 time to create 1 rle with old method : 0.1021115779876709 length of segment : 275 time for calcul the mask position with numpy : 0.0012259483337402344 nb_pixel_total : 13998 time to create 1 rle with old method : 0.020029306411743164 length of segment : 282 time for calcul the mask position with numpy : 0.002641439437866211 nb_pixel_total : 46858 time to create 1 rle with old method : 0.06432533264160156 length of segment : 294 time for calcul the mask position with numpy : 0.0007927417755126953 nb_pixel_total : 8193 time to create 1 rle with old method : 0.013557672500610352 length of segment : 134 time for calcul the mask position with numpy : 0.003125905990600586 nb_pixel_total : 69214 time to create 1 rle with old method : 0.09444975852966309 length of segment : 319 time for calcul the mask position with numpy : 0.005275249481201172 nb_pixel_total : 116826 time to create 1 rle with old method : 0.1539919376373291 length of segment : 483 time for calcul the mask position with numpy : 0.0038480758666992188 nb_pixel_total : 102307 time to create 1 rle with old method : 0.14851784706115723 length of segment : 374 time for calcul the mask position with numpy : 0.0006353855133056641 nb_pixel_total : 8520 time to create 1 rle with old method : 0.010990381240844727 length of segment : 123 time for calcul the mask position with numpy : 0.009111166000366211 nb_pixel_total : 234472 time to create 1 rle with new method : 0.014138221740722656 length of segment : 669 time for calcul the mask position with numpy : 0.003137350082397461 nb_pixel_total : 44295 time to create 1 rle with old method : 0.060149192810058594 length of segment : 387 time for calcul the mask position with numpy : 0.00045990943908691406 nb_pixel_total : 11461 time to create 1 rle with old method : 0.013190984725952148 length of segment : 143 time for calcul the mask position with numpy : 8.749961853027344e-05 nb_pixel_total : 1586 time to create 1 rle with old method : 0.0020294189453125 length of segment : 49 time for calcul the mask position with numpy : 0.014626502990722656 nb_pixel_total : 460518 time to create 1 rle with new method : 0.041880130767822266 length of segment : 718 time for calcul the mask position with numpy : 0.0005447864532470703 nb_pixel_total : 3092 time to create 1 rle with old method : 0.0036742687225341797 length of segment : 95 time for calcul the mask position with numpy : 0.00022292137145996094 nb_pixel_total : 4598 time to create 1 rle with old method : 0.005554914474487305 length of segment : 107 time for calcul the mask position with numpy : 0.0006704330444335938 nb_pixel_total : 14816 time to create 1 rle with old method : 0.018398761749267578 length of segment : 145 time for calcul the mask position with numpy : 0.00040650367736816406 nb_pixel_total : 3222 time to create 1 rle with old method : 0.004611015319824219 length of segment : 101 time for calcul the mask position with numpy : 0.0016167163848876953 nb_pixel_total : 34324 time to create 1 rle with old method : 0.04439043998718262 length of segment : 296 time for calcul the mask position with numpy : 0.0001049041748046875 nb_pixel_total : 2215 time to create 1 rle with old method : 0.002821683883666992 length of segment : 60 time for calcul the mask position with numpy : 0.0027985572814941406 nb_pixel_total : 97346 time to create 1 rle with old method : 0.12000870704650879 length of segment : 337 time for calcul the mask position with numpy : 0.0013041496276855469 nb_pixel_total : 17634 time to create 1 rle with old method : 0.022915124893188477 length of segment : 340 time for calcul the mask position with numpy : 0.0004467964172363281 nb_pixel_total : 10142 time to create 1 rle with old method : 0.013546228408813477 length of segment : 170 time for calcul the mask position with numpy : 0.24770140647888184 nb_pixel_total : 2238105 time to create 1 rle with new method : 0.26009297370910645 length of segment : 3665 time for calcul the mask position with numpy : 0.00037407875061035156 nb_pixel_total : 5071 time to create 1 rle with old method : 0.007909536361694336 length of segment : 102 time for calcul the mask position with numpy : 0.001065969467163086 nb_pixel_total : 70741 time to create 1 rle with old method : 0.07946228981018066 length of segment : 421 time for calcul the mask position with numpy : 0.005302906036376953 nb_pixel_total : 249968 time to create 1 rle with new method : 0.28850603103637695 length of segment : 769 time for calcul the mask position with numpy : 0.0012214183807373047 nb_pixel_total : 76608 time to create 1 rle with old method : 0.08530449867248535 length of segment : 457 time for calcul the mask position with numpy : 0.00011301040649414062 nb_pixel_total : 2974 time to create 1 rle with old method : 0.003868579864501953 length of segment : 41 time for calcul the mask position with numpy : 0.0009937286376953125 nb_pixel_total : 75923 time to create 1 rle with old method : 0.08410835266113281 length of segment : 321 time for calcul the mask position with numpy : 0.017001867294311523 nb_pixel_total : 984896 time to create 1 rle with new method : 0.08474183082580566 length of segment : 2378 time for calcul the mask position with numpy : 0.0012843608856201172 nb_pixel_total : 43037 time to create 1 rle with old method : 0.0481414794921875 length of segment : 290 time for calcul the mask position with numpy : 0.0011479854583740234 nb_pixel_total : 41074 time to create 1 rle with old method : 0.04732513427734375 length of segment : 235 time for calcul the mask position with numpy : 0.0073757171630859375 nb_pixel_total : 253167 time to create 1 rle with new method : 0.011991500854492188 length of segment : 626 time for calcul the mask position with numpy : 0.0005059242248535156 nb_pixel_total : 5938 time to create 1 rle with old method : 0.007501840591430664 length of segment : 242 time for calcul the mask position with numpy : 0.0014374256134033203 nb_pixel_total : 36856 time to create 1 rle with old method : 0.0420684814453125 length of segment : 385 time for calcul the mask position with numpy : 0.00035190582275390625 nb_pixel_total : 7468 time to create 1 rle with old method : 0.012687921524047852 length of segment : 77 time for calcul the mask position with numpy : 0.0015599727630615234 nb_pixel_total : 63356 time to create 1 rle with old method : 0.07443094253540039 length of segment : 467 time for calcul the mask position with numpy : 0.000202178955078125 nb_pixel_total : 6625 time to create 1 rle with old method : 0.00810551643371582 length of segment : 58 time for calcul the mask position with numpy : 0.0004658699035644531 nb_pixel_total : 8758 time to create 1 rle with old method : 0.01036691665649414 length of segment : 189 time for calcul the mask position with numpy : 0.0010495185852050781 nb_pixel_total : 20071 time to create 1 rle with old method : 0.02367234230041504 length of segment : 152 time for calcul the mask position with numpy : 0.00024247169494628906 nb_pixel_total : 2380 time to create 1 rle with old method : 0.002863645553588867 length of segment : 94 time for calcul the mask position with numpy : 0.0034379959106445312 nb_pixel_total : 103080 time to create 1 rle with old method : 0.11322426795959473 length of segment : 999 time for calcul the mask position with numpy : 0.002119302749633789 nb_pixel_total : 61123 time to create 1 rle with old method : 0.06929707527160645 length of segment : 317 time for calcul the mask position with numpy : 0.00044417381286621094 nb_pixel_total : 20254 time to create 1 rle with old method : 0.02299189567565918 length of segment : 159 time for calcul the mask position with numpy : 0.00251007080078125 nb_pixel_total : 87937 time to create 1 rle with old method : 0.10360908508300781 length of segment : 385 time for calcul the mask position with numpy : 0.0002155303955078125 nb_pixel_total : 7775 time to create 1 rle with old method : 0.009527444839477539 length of segment : 67 time for calcul the mask position with numpy : 0.0004990100860595703 nb_pixel_total : 14033 time to create 1 rle with old method : 0.016356706619262695 length of segment : 78 time for calcul the mask position with numpy : 0.0006670951843261719 nb_pixel_total : 17589 time to create 1 rle with old method : 0.020271778106689453 length of segment : 235 time for calcul the mask position with numpy : 0.001636505126953125 nb_pixel_total : 53410 time to create 1 rle with old method : 0.059659481048583984 length of segment : 340 time for calcul the mask position with numpy : 0.0004761219024658203 nb_pixel_total : 10445 time to create 1 rle with old method : 0.01231527328491211 length of segment : 174 time for calcul the mask position with numpy : 0.0001842975616455078 nb_pixel_total : 2646 time to create 1 rle with old method : 0.003379344940185547 length of segment : 51 time for calcul the mask position with numpy : 0.0025682449340820312 nb_pixel_total : 84368 time to create 1 rle with old method : 0.09293913841247559 length of segment : 455 time for calcul the mask position with numpy : 0.0014903545379638672 nb_pixel_total : 87265 time to create 1 rle with old method : 0.09341192245483398 length of segment : 468 time for calcul the mask position with numpy : 0.00043511390686035156 nb_pixel_total : 9463 time to create 1 rle with old method : 0.011012792587280273 length of segment : 169 time for calcul the mask position with numpy : 0.0007736682891845703 nb_pixel_total : 22559 time to create 1 rle with old method : 0.025754928588867188 length of segment : 164 time for calcul the mask position with numpy : 0.0005223751068115234 nb_pixel_total : 16761 time to create 1 rle with old method : 0.02005290985107422 length of segment : 246 time for calcul the mask position with numpy : 0.0001926422119140625 nb_pixel_total : 1267 time to create 1 rle with old method : 0.001619100570678711 length of segment : 68 time for calcul the mask position with numpy : 0.0005369186401367188 nb_pixel_total : 12644 time to create 1 rle with old method : 0.014583587646484375 length of segment : 162 time for calcul the mask position with numpy : 0.0014307498931884766 nb_pixel_total : 25222 time to create 1 rle with old method : 0.029442310333251953 length of segment : 306 time for calcul the mask position with numpy : 0.0005381107330322266 nb_pixel_total : 11158 time to create 1 rle with old method : 0.013040304183959961 length of segment : 160 time for calcul the mask position with numpy : 0.00018787384033203125 nb_pixel_total : 3338 time to create 1 rle with old method : 0.0044286251068115234 length of segment : 45 time for calcul the mask position with numpy : 0.00028324127197265625 nb_pixel_total : 2627 time to create 1 rle with old method : 0.0030868053436279297 length of segment : 128 time for calcul the mask position with numpy : 0.0010519027709960938 nb_pixel_total : 19422 time to create 1 rle with old method : 0.023257017135620117 length of segment : 163 time for calcul the mask position with numpy : 0.00030994415283203125 nb_pixel_total : 6101 time to create 1 rle with old method : 0.007189512252807617 length of segment : 103 time for calcul the mask position with numpy : 0.0002884864807128906 nb_pixel_total : 4023 time to create 1 rle with old method : 0.004885673522949219 length of segment : 127 time for calcul the mask position with numpy : 0.0039052963256835938 nb_pixel_total : 88932 time to create 1 rle with old method : 0.10584092140197754 length of segment : 382 time for calcul the mask position with numpy : 0.001155853271484375 nb_pixel_total : 35862 time to create 1 rle with old method : 0.04387831687927246 length of segment : 374 time for calcul the mask position with numpy : 0.00021004676818847656 nb_pixel_total : 3734 time to create 1 rle with old method : 0.005055665969848633 length of segment : 57 time for calcul the mask position with numpy : 0.00027370452880859375 nb_pixel_total : 4944 time to create 1 rle with old method : 0.006462574005126953 length of segment : 93 time for calcul the mask position with numpy : 0.00023174285888671875 nb_pixel_total : 2521 time to create 1 rle with old method : 0.0031130313873291016 length of segment : 128 time for calcul the mask position with numpy : 0.00032210350036621094 nb_pixel_total : 4323 time to create 1 rle with old method : 0.0055201053619384766 length of segment : 146 time for calcul the mask position with numpy : 0.00035762786865234375 nb_pixel_total : 4503 time to create 1 rle with old method : 0.0055539608001708984 length of segment : 139 time for calcul the mask position with numpy : 0.0002295970916748047 nb_pixel_total : 2698 time to create 1 rle with old method : 0.0033359527587890625 length of segment : 82 time for calcul the mask position with numpy : 0.00029850006103515625 nb_pixel_total : 3877 time to create 1 rle with old method : 0.0047779083251953125 length of segment : 99 time for calcul the mask position with numpy : 0.0014882087707519531 nb_pixel_total : 83382 time to create 1 rle with old method : 0.09346461296081543 length of segment : 361 time for calcul the mask position with numpy : 0.0010406970977783203 nb_pixel_total : 28521 time to create 1 rle with old method : 0.03279709815979004 length of segment : 164 time for calcul the mask position with numpy : 0.0011682510375976562 nb_pixel_total : 23467 time to create 1 rle with old method : 0.026372432708740234 length of segment : 325 time for calcul the mask position with numpy : 0.001986980438232422 nb_pixel_total : 63050 time to create 1 rle with old method : 0.06981205940246582 length of segment : 349 time for calcul the mask position with numpy : 0.0033140182495117188 nb_pixel_total : 128912 time to create 1 rle with old method : 0.142533540725708 length of segment : 263 time for calcul the mask position with numpy : 0.0074176788330078125 nb_pixel_total : 200686 time to create 1 rle with new method : 0.010610580444335938 length of segment : 673 time for calcul the mask position with numpy : 0.0022454261779785156 nb_pixel_total : 67000 time to create 1 rle with old method : 0.07663559913635254 length of segment : 407 time for calcul the mask position with numpy : 0.0007266998291015625 nb_pixel_total : 22078 time to create 1 rle with old method : 0.024880647659301758 length of segment : 211 time for calcul the mask position with numpy : 0.00039458274841308594 nb_pixel_total : 8421 time to create 1 rle with old method : 0.009877681732177734 length of segment : 106 time for calcul the mask position with numpy : 0.0004229545593261719 nb_pixel_total : 4470 time to create 1 rle with old method : 0.005540370941162109 length of segment : 132 time for calcul the mask position with numpy : 0.00531315803527832 nb_pixel_total : 188912 time to create 1 rle with new method : 0.007155895233154297 length of segment : 479 time for calcul the mask position with numpy : 0.00022530555725097656 nb_pixel_total : 3215 time to create 1 rle with old method : 0.003972768783569336 length of segment : 64 time for calcul the mask position with numpy : 0.00047588348388671875 nb_pixel_total : 11758 time to create 1 rle with old method : 0.013746976852416992 length of segment : 81 time for calcul the mask position with numpy : 0.001470327377319336 nb_pixel_total : 60718 time to create 1 rle with old method : 0.06746649742126465 length of segment : 228 time for calcul the mask position with numpy : 0.0028777122497558594 nb_pixel_total : 83025 time to create 1 rle with old method : 0.09106969833374023 length of segment : 447 time for calcul the mask position with numpy : 0.0021114349365234375 nb_pixel_total : 39688 time to create 1 rle with old method : 0.04725909233093262 length of segment : 304 time for calcul the mask position with numpy : 0.0024247169494628906 nb_pixel_total : 44938 time to create 1 rle with old method : 0.05231618881225586 length of segment : 524 time for calcul the mask position with numpy : 0.0005085468292236328 nb_pixel_total : 16151 time to create 1 rle with old method : 0.017969369888305664 length of segment : 135 time for calcul the mask position with numpy : 0.0006349086761474609 nb_pixel_total : 21810 time to create 1 rle with old method : 0.024404525756835938 length of segment : 454 time for calcul the mask position with numpy : 0.0002987384796142578 nb_pixel_total : 6100 time to create 1 rle with old method : 0.009220123291015625 length of segment : 77 time for calcul the mask position with numpy : 0.0032494068145751953 nb_pixel_total : 137246 time to create 1 rle with old method : 0.16497111320495605 length of segment : 278 time for calcul the mask position with numpy : 0.0002453327178955078 nb_pixel_total : 7080 time to create 1 rle with old method : 0.008487939834594727 length of segment : 88 time for calcul the mask position with numpy : 0.0006320476531982422 nb_pixel_total : 38905 time to create 1 rle with old method : 0.042961835861206055 length of segment : 256 time for calcul the mask position with numpy : 0.0042459964752197266 nb_pixel_total : 111486 time to create 1 rle with old method : 0.12935447692871094 length of segment : 527 time for calcul the mask position with numpy : 0.10339593887329102 nb_pixel_total : 106299 time to create 1 rle with old method : 0.14171600341796875 length of segment : 560 time for calcul the mask position with numpy : 0.37824535369873047 nb_pixel_total : 2182906 time to create 1 rle with new method : 0.9229917526245117 length of segment : 3722 time for calcul the mask position with numpy : 0.010467290878295898 nb_pixel_total : 70375 time to create 1 rle with old method : 0.08156108856201172 length of segment : 397 time for calcul the mask position with numpy : 0.0026187896728515625 nb_pixel_total : 197038 time to create 1 rle with new method : 0.005672454833984375 length of segment : 452 time for calcul the mask position with numpy : 0.0005154609680175781 nb_pixel_total : 30348 time to create 1 rle with old method : 0.03510856628417969 length of segment : 185 time for calcul the mask position with numpy : 0.00014448165893554688 nb_pixel_total : 5202 time to create 1 rle with old method : 0.006443023681640625 length of segment : 115 time for calcul the mask position with numpy : 0.03588724136352539 nb_pixel_total : 537152 time to create 1 rle with new method : 0.06765127182006836 length of segment : 887 time for calcul the mask position with numpy : 0.010297298431396484 nb_pixel_total : 90532 time to create 1 rle with old method : 0.10274291038513184 length of segment : 342 time for calcul the mask position with numpy : 0.0013446807861328125 nb_pixel_total : 8783 time to create 1 rle with old method : 0.010541677474975586 length of segment : 263 time for calcul the mask position with numpy : 0.005142927169799805 nb_pixel_total : 34764 time to create 1 rle with old method : 0.04198002815246582 length of segment : 199 time for calcul the mask position with numpy : 0.0047719478607177734 nb_pixel_total : 174170 time to create 1 rle with new method : 0.00959157943725586 length of segment : 458 time spent for convertir_results : 24.05609917640686 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 200 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 65172 save missing photos in datou_result : time spend for datou_step_exec : 132.81282258033752 time spend to save output : 12.109133243560791 total time spend for step 1 : 144.92195582389832 step2:crop_condition Fri Feb 21 00:24:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3663 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 200 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 24 About to insert : list_path_to_insert length 24 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 14 About to insert : list_path_to_insert length 14 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 55 About to insert : list_path_to_insert length 55 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 we have both polygon and rles Next one ! 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 : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1338592808, 1338592799, 1338592796, 1338592775, 1338592771, 1338592767, 1338592764, 1338592760, 1338592757, 1338592690] Looping around the photos to save general results len do output : 116 /-3680557275Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681211233Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557313Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557304Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557336Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557330Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557324Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557362Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557351Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557381Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681211239Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557392Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557390Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557387Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557411Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557401Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557408Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557402Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557418Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557423Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557441Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557435Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557436Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557439Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557279Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557344Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557326Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557331Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557333Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557350Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557367Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681211235Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557361Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557291Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557318Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557317Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557306Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557329Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557342Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557345Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557334Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557357Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557356Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557446Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557451Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557445Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681211240Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557283Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557300Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557284Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557293Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557299Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557290Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557286Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557315Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557314Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557312Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557307Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557303Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557316Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557321Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557309Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557339Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557346Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557325Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557340Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557349Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557338Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557322Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557323Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557347Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557343Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557348Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557370Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557375Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557363Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557359Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557365Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557364Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557353Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3681211237Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557378Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557383Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557385Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557399Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557398Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557405Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557412Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557422Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557432Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557438Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557447Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557434Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557437Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557454Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557444Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557452Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557463Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557455Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557459Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557458Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557462Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557277Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557305Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557327Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557360Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557388Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557391Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557409Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557298Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557319Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557352Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557465Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557464Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557400Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680557453Didn'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, '2601838') ('3459', None, '1338592808', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592799', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592796', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592775', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592771', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592767', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592764', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592760', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592757', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592690', None, None, None, None, None, '2601838') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 358 time used for this insertion : 0.04665017127990723 save_final save missing photos in datou_result : time spend for datou_step_exec : 46.79961538314819 time spend to save output : 0.05924034118652344 total time spend for step 2 : 46.85885572433472 step3:thcl Fri Feb 21 00:25:39 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.021430253982543945 time to convert the images to numpy array : 0.6041102409362793 time to import caffe and check if the image exist : 0.016295194625854492 time to convert the images to numpy array : 0.616532564163208 time to import caffe and check if the image exist : 0.02035379409790039 time to convert the images to numpy array : 0.7407112121582031 time to import caffe and check if the image exist : 0.014916181564331055 time to convert the images to numpy array : 0.7623977661132812 time to import caffe and check if the image exist : 0.022047758102416992 time to convert the images to numpy array : 0.7744767665863037 time to import caffe and check if the image exist : 0.019039630889892578 time to convert the images to numpy array : 0.7863600254058838 time to import caffe and check if the image exist : 0.021611928939819336 time to convert the images to numpy array : 0.7863657474517822 time to import caffe and check if the image exist : 0.01768660545349121 time to convert the images to numpy array : 0.7912111282348633 time to import caffe and check if the image exist : 0.01906609535217285 time to convert the images to numpy array : 0.7906205654144287 time to import caffe and check if the image exist : 0.020546674728393555 time to convert the images to numpy array : 0.8087577819824219 total time to convert the images to numpy array : 1.528398036956787 list photo_ids error: [] list photo_ids correct : [-3680557452, -3680557463, -3680557455, -3680557459, -3680557458, -3680557462, -3680557277, -3680557305, -3680557327, -3680557360, -3680557388, -3680557391, -3680557409, -3680557298, -3680557319, -3680557352, -3680557465, -3680557464, -3680557400, -3680557453, -3680557390, -3680557387, -3680557411, -3680557401, -3680557408, -3680557402, -3680557418, -3680557423, -3680557441, -3680557435, -3680557436, -3680557439, -3680557279, -3680557344, -3680557326, -3680557331, -3680557333, -3680557350, -3680557367, -3681211235, -3680557361, -3680557291, -3680557318, -3680557317, -3680557321, -3680557309, -3680557339, -3680557346, -3680557325, -3680557340, -3680557349, -3680557338, -3680557322, -3680557323, -3680557347, -3680557343, -3680557399, -3680557398, -3680557405, -3680557412, -3680557422, -3680557432, -3680557438, -3680557447, -3680557434, -3680557437, -3680557454, -3680557444, -3680557275, -3681211233, -3680557313, -3680557304, -3680557336, -3680557330, -3680557324, -3680557362, -3680557351, -3680557381, -3681211239, -3680557392, -3680557306, -3680557329, -3680557342, -3680557345, -3680557334, -3680557357, -3680557356, -3680557446, -3680557451, -3680557445, -3681211240, -3680557283, -3680557300, -3680557284, -3680557293, -3680557299, -3680557290, -3680557286, -3680557315, -3680557314, -3680557312, -3680557307, -3680557303, -3680557316, -3680557348, -3680557370, -3680557375, -3680557363, -3680557359, -3680557365, -3680557364, -3680557353, -3681211237, -3680557378, -3680557383, -3680557385] number of photos to traite : 116 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 : 1988 wait 20 seconds l 3637 free memory gpu now : 1988 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_qualipapia_papier_refus_from_vlg_data_aug Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_qualipapia_papier_refus_from_vlg_data_aug model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel size_local : 44972172 size in s3 : 44972172 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 caffemodel already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt size_local : 17311 size in s3 : 17311 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:51 mean.npy already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/synset_words.txt size_local : 57 size in s3 : 57 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/caffe_cuda8_python3/python/:/home/admin/workarea/install/darknet/:/home/admin/workarea/git/Velours/python:/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python:/home/admin/mtr/.credentials:/home/admin/workarea/install/caffe/python:/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools/:/home/admin/workarea/git/fotonowerpip/:/home/admin/workarea/install/segment-anything:/home/admin//workarea/git/pyfvs/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt caffemodel_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 2964 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.2140424251556396 time used to do the prediction : 0.34864020347595215 we don't save the descriptors for this thcl 2456 tagging for thcl : 2868 To do loadFromThcl(), then load ParamDescType : thcl2868 thcls : [{'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5288 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) To loadFromThcl() : net_5288 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 2962 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_papier_nantes_300421 Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_papier_nantes_300421 model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_papier_nantes_300421 /data/models_weight/learn_papier_nantes_300421/caffemodel size_local : 44791983 size in s3 : 44791983 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:13 caffemodel already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/deploy.prototxt size_local : 17255 size in s3 : 17255 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:12 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:14 mean.npy already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/synset_words.txt size_local : 331 size in s3 : 331 create time local : 2021-08-09 05:56:00 create time in s3 : 2021-08-06 19:22:12 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/caffe_cuda8_python3/python/:/home/admin/workarea/install/darknet/:/home/admin/workarea/git/Velours/python:/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python:/home/admin/mtr/.credentials:/home/admin/workarea/install/caffe/python:/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools/:/home/admin/workarea/git/fotonowerpip/:/home/admin/workarea/install/segment-anything:/home/admin//workarea/git/pyfvs/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_papier_nantes_300421/deploy.prototxt caffemodel_filename : /data/models_weight/learn_papier_nantes_300421/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 2962 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.2009971141815186 time used to do the prediction : 0.2084026336669922 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 : 0.00021028518676757812 save missing photos in datou_result : time spend for datou_step_exec : 36.238394021987915 time spend to save output : 0.002792835235595703 total time spend for step 3 : 36.24118685722351 step4:merge_mask_thcl_custom Fri Feb 21 00:26:16 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 200 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 [1338592808, 1338592799, 1338592796, 1338592775, 1338592771, 1338592767, 1338592764, 1338592760, 1338592757, 1338592690] Looping around the photos to save general results len do output : 10 /1338592808Didn't retrieve data .Didn't retrieve data . /1338592799Didn't retrieve data .Didn't retrieve data . /1338592796Didn't retrieve data .Didn't retrieve data . /1338592775Didn't retrieve data .Didn't retrieve data . /1338592771Didn't retrieve data .Didn't retrieve data . /1338592767Didn't retrieve data .Didn't retrieve data . /1338592764Didn't retrieve data .Didn't retrieve data . /1338592760Didn't retrieve data .Didn't retrieve data . /1338592757Didn't retrieve data .Didn't retrieve data . /1338592690Didn'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, '2601838') ('3459', None, '1338592808', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592799', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592796', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592775', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592771', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592767', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592764', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592760', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592757', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592690', None, None, None, None, None, '2601838') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01614665985107422 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0684652328491211 time spend to save output : 0.0165407657623291 total time spend for step 4 : 0.0850059986114502 step5:rle_unique_nms_with_priority Fri Feb 21 00:26:16 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 26 nb_hashtags : 6 time to prepare the origin masks : 9.658411741256714 time for calcul the mask position with numpy : 0.8086049556732178 nb_pixel_total : 5462662 time to create 1 rle with new method : 1.495577335357666 time for calcul the mask position with numpy : 0.03236055374145508 nb_pixel_total : 3647 time to create 1 rle with old method : 0.004246711730957031 time for calcul the mask position with numpy : 0.03733062744140625 nb_pixel_total : 368633 time to create 1 rle with new method : 0.5638840198516846 time for calcul the mask position with numpy : 0.03214120864868164 nb_pixel_total : 86480 time to create 1 rle with old method : 0.09319043159484863 time for calcul the mask position with numpy : 0.029524803161621094 nb_pixel_total : 15075 time to create 1 rle with old method : 0.01714611053466797 time for calcul the mask position with numpy : 0.032146453857421875 nb_pixel_total : 46692 time to create 1 rle with old method : 0.05133247375488281 time for calcul the mask position with numpy : 0.029509782791137695 nb_pixel_total : 926 time to create 1 rle with old method : 0.0017802715301513672 time for calcul the mask position with numpy : 0.031189441680908203 nb_pixel_total : 157882 time to create 1 rle with new method : 0.32616281509399414 time for calcul the mask position with numpy : 0.03133511543273926 nb_pixel_total : 29323 time to create 1 rle with old method : 0.03182101249694824 time for calcul the mask position with numpy : 0.030425071716308594 nb_pixel_total : 106621 time to create 1 rle with old method : 0.11440086364746094 time for calcul the mask position with numpy : 0.02949666976928711 nb_pixel_total : 7195 time to create 1 rle with old method : 0.00820612907409668 time for calcul the mask position with numpy : 0.029405593872070312 nb_pixel_total : 5292 time to create 1 rle with old method : 0.005788564682006836 time for calcul the mask position with numpy : 0.029230117797851562 nb_pixel_total : 5728 time to create 1 rle with old method : 0.006567478179931641 time for calcul the mask position with numpy : 0.029751062393188477 nb_pixel_total : 48607 time to create 1 rle with old method : 0.0640568733215332 time for calcul the mask position with numpy : 0.031827688217163086 nb_pixel_total : 36199 time to create 1 rle with old method : 0.04830598831176758 time for calcul the mask position with numpy : 0.03193020820617676 nb_pixel_total : 47304 time to create 1 rle with old method : 0.06174159049987793 time for calcul the mask position with numpy : 0.03213167190551758 nb_pixel_total : 9956 time to create 1 rle with old method : 0.014559507369995117 time for calcul the mask position with numpy : 0.03314042091369629 nb_pixel_total : 241910 time to create 1 rle with new method : 0.4878261089324951 time for calcul the mask position with numpy : 0.029816389083862305 nb_pixel_total : 142650 time to create 1 rle with old method : 0.18252229690551758 time for calcul the mask position with numpy : 0.028940677642822266 nb_pixel_total : 2062 time to create 1 rle with old method : 0.002363920211791992 time for calcul the mask position with numpy : 0.029454469680786133 nb_pixel_total : 72573 time to create 1 rle with old method : 0.07807660102844238 time for calcul the mask position with numpy : 0.031812191009521484 nb_pixel_total : 37028 time to create 1 rle with old method : 0.0424342155456543 time for calcul the mask position with numpy : 0.02921605110168457 nb_pixel_total : 17572 time to create 1 rle with old method : 0.01943206787109375 time for calcul the mask position with numpy : 0.029397964477539062 nb_pixel_total : 46345 time to create 1 rle with old method : 0.05024528503417969 time for calcul the mask position with numpy : 0.029145240783691406 nb_pixel_total : 33920 time to create 1 rle with old method : 0.03739213943481445 time for calcul the mask position with numpy : 0.02917957305908203 nb_pixel_total : 5164 time to create 1 rle with old method : 0.005784749984741211 time for calcul the mask position with numpy : 0.032218217849731445 nb_pixel_total : 12794 time to create 1 rle with old method : 0.020647048950195312 create new chi : 5.560983180999756 time to delete rle : 0.01249551773071289 batch 1 Loaded 30 chid ids of type : 3726 Number RLEs to save : 19396 TO DO : save crop sub photo not yet done ! save time : 1.3710196018218994 nb_obj : 19 nb_hashtags : 5 time to prepare the origin masks : 12.016132354736328 time for calcul the mask position with numpy : 0.6081192493438721 nb_pixel_total : 6224382 time to create 1 rle with new method : 0.9188649654388428 time for calcul the mask position with numpy : 0.03621935844421387 nb_pixel_total : 1595 time to create 1 rle with old method : 0.002154827117919922 time for calcul the mask position with numpy : 0.02382373809814453 nb_pixel_total : 72899 time to create 1 rle with old method : 0.0841681957244873 time for calcul the mask position with numpy : 0.022589921951293945 nb_pixel_total : 51126 time to create 1 rle with old method : 0.05577826499938965 time for calcul the mask position with numpy : 0.022503137588500977 nb_pixel_total : 11286 time to create 1 rle with old method : 0.013097047805786133 time for calcul the mask position with numpy : 0.024007797241210938 nb_pixel_total : 6941 time to create 1 rle with old method : 0.008698463439941406 time for calcul the mask position with numpy : 0.024370193481445312 nb_pixel_total : 17947 time to create 1 rle with old method : 0.021882057189941406 time for calcul the mask position with numpy : 0.025516033172607422 nb_pixel_total : 23040 time to create 1 rle with old method : 0.02489948272705078 time for calcul the mask position with numpy : 0.024253368377685547 nb_pixel_total : 164786 time to create 1 rle with new method : 0.9624643325805664 time for calcul the mask position with numpy : 0.023787736892700195 nb_pixel_total : 45680 time to create 1 rle with old method : 0.04968452453613281 time for calcul the mask position with numpy : 0.02366352081298828 nb_pixel_total : 52397 time to create 1 rle with old method : 0.05703902244567871 time for calcul the mask position with numpy : 0.021549701690673828 nb_pixel_total : 3277 time to create 1 rle with old method : 0.0037813186645507812 time for calcul the mask position with numpy : 0.023769855499267578 nb_pixel_total : 5575 time to create 1 rle with old method : 0.006212949752807617 time for calcul the mask position with numpy : 0.021514415740966797 nb_pixel_total : 22065 time to create 1 rle with old method : 0.024389266967773438 time for calcul the mask position with numpy : 0.02425098419189453 nb_pixel_total : 28715 time to create 1 rle with old method : 0.035112619400024414 time for calcul the mask position with numpy : 0.022643089294433594 nb_pixel_total : 48087 time to create 1 rle with old method : 0.05397534370422363 time for calcul the mask position with numpy : 0.02482891082763672 nb_pixel_total : 50324 time to create 1 rle with old method : 0.06240487098693848 time for calcul the mask position with numpy : 0.04767251014709473 nb_pixel_total : 104701 time to create 1 rle with old method : 0.22041630744934082 time for calcul the mask position with numpy : 0.021938800811767578 nb_pixel_total : 1728 time to create 1 rle with old method : 0.0019385814666748047 time for calcul the mask position with numpy : 0.022818565368652344 nb_pixel_total : 113689 time to create 1 rle with old method : 0.13198375701904297 create new chi : 3.8919246196746826 time to delete rle : 0.0006103515625 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 12537 TO DO : save crop sub photo not yet done ! save time : 1.9465222358703613 nb_obj : 29 nb_hashtags : 7 time to prepare the origin masks : 11.559612035751343 time for calcul the mask position with numpy : 0.5579955577850342 nb_pixel_total : 5861222 time to create 1 rle with new method : 0.8759028911590576 time for calcul the mask position with numpy : 0.030572175979614258 nb_pixel_total : 51831 time to create 1 rle with old method : 0.058950185775756836 time for calcul the mask position with numpy : 0.03209567070007324 nb_pixel_total : 104444 time to create 1 rle with old method : 0.14319658279418945 time for calcul the mask position with numpy : 0.029868364334106445 nb_pixel_total : 39530 time to create 1 rle with old method : 0.04625058174133301 time for calcul the mask position with numpy : 0.04308915138244629 nb_pixel_total : 4853 time to create 1 rle with old method : 0.010053873062133789 time for calcul the mask position with numpy : 0.03487515449523926 nb_pixel_total : 28053 time to create 1 rle with old method : 0.03288626670837402 time for calcul the mask position with numpy : 0.02920985221862793 nb_pixel_total : 27888 time to create 1 rle with old method : 0.030858516693115234 time for calcul the mask position with numpy : 0.03086066246032715 nb_pixel_total : 49022 time to create 1 rle with old method : 0.05285811424255371 time for calcul the mask position with numpy : 0.028747081756591797 nb_pixel_total : 30208 time to create 1 rle with old method : 0.032875776290893555 time for calcul the mask position with numpy : 0.029448509216308594 nb_pixel_total : 148280 time to create 1 rle with old method : 0.19742369651794434 time for calcul the mask position with numpy : 0.03116893768310547 nb_pixel_total : 3107 time to create 1 rle with old method : 0.003815174102783203 time for calcul the mask position with numpy : 0.03048396110534668 nb_pixel_total : 9694 time to create 1 rle with old method : 0.015653371810913086 time for calcul the mask position with numpy : 0.03363323211669922 nb_pixel_total : 118620 time to create 1 rle with old method : 0.1513350009918213 time for calcul the mask position with numpy : 0.029346942901611328 nb_pixel_total : 21168 time to create 1 rle with old method : 0.02297520637512207 time for calcul the mask position with numpy : 0.02924656867980957 nb_pixel_total : 1807 time to create 1 rle with old method : 0.0024085044860839844 time for calcul the mask position with numpy : 0.030573129653930664 nb_pixel_total : 57503 time to create 1 rle with old method : 0.08576202392578125 time for calcul the mask position with numpy : 0.03148388862609863 nb_pixel_total : 27009 time to create 1 rle with old method : 0.031156539916992188 time for calcul the mask position with numpy : 0.03295755386352539 nb_pixel_total : 1788 time to create 1 rle with old method : 0.0021028518676757812 time for calcul the mask position with numpy : 0.032296180725097656 nb_pixel_total : 21957 time to create 1 rle with old method : 0.025075912475585938 time for calcul the mask position with numpy : 0.033324241638183594 nb_pixel_total : 111419 time to create 1 rle with old method : 0.12066197395324707 time for calcul the mask position with numpy : 0.029192686080932617 nb_pixel_total : 808 time to create 1 rle with old method : 0.0010564327239990234 time for calcul the mask position with numpy : 0.02936267852783203 nb_pixel_total : 6279 time to create 1 rle with old method : 0.007057905197143555 time for calcul the mask position with numpy : 0.03320121765136719 nb_pixel_total : 16889 time to create 1 rle with old method : 0.02159404754638672 time for calcul the mask position with numpy : 0.0306398868560791 nb_pixel_total : 82386 time to create 1 rle with old method : 0.09737968444824219 time for calcul the mask position with numpy : 0.03003096580505371 nb_pixel_total : 123119 time to create 1 rle with old method : 0.13484597206115723 time for calcul the mask position with numpy : 0.02883434295654297 nb_pixel_total : 2636 time to create 1 rle with old method : 0.0034813880920410156 time for calcul the mask position with numpy : 0.028808116912841797 nb_pixel_total : 24060 time to create 1 rle with old method : 0.026601791381835938 time for calcul the mask position with numpy : 0.02892923355102539 nb_pixel_total : 7033 time to create 1 rle with old method : 0.007898330688476562 time for calcul the mask position with numpy : 0.0287935733795166 nb_pixel_total : 4661 time to create 1 rle with old method : 0.005331993103027344 time for calcul the mask position with numpy : 0.029117822647094727 nb_pixel_total : 62966 time to create 1 rle with old method : 0.07435297966003418 create new chi : 3.8194172382354736 time to delete rle : 0.0007958412170410156 batch 1 Loaded 31 chid ids of type : 3726 Number RLEs to save : 17504 TO DO : save crop sub photo not yet done ! save time : 1.3071210384368896 nb_obj : 23 nb_hashtags : 7 time to prepare the origin masks : 17.59981417655945 time for calcul the mask position with numpy : 0.24114561080932617 nb_pixel_total : 5420010 time to create 1 rle with new method : 0.4834022521972656 time for calcul the mask position with numpy : 0.03992509841918945 nb_pixel_total : 128990 time to create 1 rle with old method : 0.15207195281982422 time for calcul the mask position with numpy : 0.042604684829711914 nb_pixel_total : 46752 time to create 1 rle with old method : 0.056860923767089844 time for calcul the mask position with numpy : 0.03978252410888672 nb_pixel_total : 19388 time to create 1 rle with old method : 0.022282838821411133 time for calcul the mask position with numpy : 0.041033267974853516 nb_pixel_total : 96902 time to create 1 rle with old method : 0.11272859573364258 time for calcul the mask position with numpy : 0.03906440734863281 nb_pixel_total : 30897 time to create 1 rle with old method : 0.036977529525756836 time for calcul the mask position with numpy : 0.03730177879333496 nb_pixel_total : 76548 time to create 1 rle with old method : 0.08535575866699219 time for calcul the mask position with numpy : 0.038730621337890625 nb_pixel_total : 69033 time to create 1 rle with old method : 0.0784602165222168 time for calcul the mask position with numpy : 0.038573265075683594 nb_pixel_total : 2211 time to create 1 rle with old method : 0.002507925033569336 time for calcul the mask position with numpy : 0.03978562355041504 nb_pixel_total : 34160 time to create 1 rle with old method : 0.05723118782043457 time for calcul the mask position with numpy : 0.04612159729003906 nb_pixel_total : 234474 time to create 1 rle with new method : 0.5424158573150635 time for calcul the mask position with numpy : 0.035764217376708984 nb_pixel_total : 4576 time to create 1 rle with old method : 0.0052607059478759766 time for calcul the mask position with numpy : 0.0465092658996582 nb_pixel_total : 459109 time to create 1 rle with new method : 0.4160151481628418 time for calcul the mask position with numpy : 0.04430222511291504 nb_pixel_total : 3270 time to create 1 rle with old method : 0.004840373992919922 time for calcul the mask position with numpy : 0.0357968807220459 nb_pixel_total : 116577 time to create 1 rle with old method : 0.12527751922607422 time for calcul the mask position with numpy : 0.03643965721130371 nb_pixel_total : 8464 time to create 1 rle with old method : 0.009637117385864258 time for calcul the mask position with numpy : 0.037546396255493164 nb_pixel_total : 9780 time to create 1 rle with old method : 0.012159109115600586 time for calcul the mask position with numpy : 0.04156160354614258 nb_pixel_total : 153531 time to create 1 rle with new method : 0.4080374240875244 time for calcul the mask position with numpy : 0.036393165588378906 nb_pixel_total : 3080 time to create 1 rle with old method : 0.0034291744232177734 time for calcul the mask position with numpy : 0.03513765335083008 nb_pixel_total : 13989 time to create 1 rle with old method : 0.015446662902832031 time for calcul the mask position with numpy : 0.035192012786865234 nb_pixel_total : 8153 time to create 1 rle with old method : 0.00905752182006836 time for calcul the mask position with numpy : 0.035785675048828125 nb_pixel_total : 65026 time to create 1 rle with old method : 0.0747685432434082 time for calcul the mask position with numpy : 0.042169809341430664 nb_pixel_total : 27820 time to create 1 rle with old method : 0.031262874603271484 time for calcul the mask position with numpy : 0.038616180419921875 nb_pixel_total : 17500 time to create 1 rle with old method : 0.01941657066345215 create new chi : 4.149572372436523 time to delete rle : 0.0011477470397949219 batch 1 Loaded 25 chid ids of type : 3726 Number RLEs to save : 15954 TO DO : save crop sub photo not yet done ! save time : 1.4701945781707764 nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 8.211297512054443 time for calcul the mask position with numpy : 0.15535330772399902 nb_pixel_total : 3673063 time to create 1 rle with new method : 0.3933591842651367 time for calcul the mask position with numpy : 0.02527594566345215 nb_pixel_total : 25116 time to create 1 rle with old method : 0.028678417205810547 time for calcul the mask position with numpy : 0.04266047477722168 nb_pixel_total : 355 time to create 1 rle with old method : 0.0006649494171142578 time for calcul the mask position with numpy : 0.049672603607177734 nb_pixel_total : 1188 time to create 1 rle with old method : 0.0029709339141845703 time for calcul the mask position with numpy : 0.061708688735961914 nb_pixel_total : 730785 time to create 1 rle with new method : 0.5341970920562744 time for calcul the mask position with numpy : 0.0411832332611084 nb_pixel_total : 2222 time to create 1 rle with old method : 0.002555370330810547 time for calcul the mask position with numpy : 0.044977664947509766 nb_pixel_total : 69304 time to create 1 rle with old method : 0.07422780990600586 time for calcul the mask position with numpy : 0.026087284088134766 nb_pixel_total : 5040 time to create 1 rle with old method : 0.005999326705932617 time for calcul the mask position with numpy : 0.024293899536132812 nb_pixel_total : 21684 time to create 1 rle with old method : 0.026240825653076172 time for calcul the mask position with numpy : 0.05672407150268555 nb_pixel_total : 2262627 time to create 1 rle with new method : 0.35196661949157715 time for calcul the mask position with numpy : 0.025903701782226562 nb_pixel_total : 248780 time to create 1 rle with new method : 0.3659541606903076 time for calcul the mask position with numpy : 0.021680593490600586 nb_pixel_total : 10076 time to create 1 rle with old method : 0.011505842208862305 create new chi : 2.477604389190674 time to delete rle : 0.0012156963348388672 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 18173 TO DO : save crop sub photo not yet done ! save time : 5.686245918273926 nb_obj : 13 nb_hashtags : 6 time to prepare the origin masks : 10.098357439041138 time for calcul the mask position with numpy : 0.4073600769042969 nb_pixel_total : 6425081 time to create 1 rle with new method : 0.3224663734436035 time for calcul the mask position with numpy : 0.038393259048461914 nb_pixel_total : 39588 time to create 1 rle with old method : 0.04300546646118164 time for calcul the mask position with numpy : 0.03566241264343262 nb_pixel_total : 20207 time to create 1 rle with old method : 0.02199101448059082 time for calcul the mask position with numpy : 0.03483390808105469 nb_pixel_total : 40755 time to create 1 rle with old method : 0.044748783111572266 time for calcul the mask position with numpy : 0.03829193115234375 nb_pixel_total : 225498 time to create 1 rle with new method : 0.34476637840270996 time for calcul the mask position with numpy : 0.03552508354187012 nb_pixel_total : 103318 time to create 1 rle with old method : 0.1088104248046875 time for calcul the mask position with numpy : 0.033272743225097656 nb_pixel_total : 2369 time to create 1 rle with old method : 0.0025434494018554688 time for calcul the mask position with numpy : 0.033306121826171875 nb_pixel_total : 8734 time to create 1 rle with old method : 0.00927281379699707 time for calcul the mask position with numpy : 0.03389286994934082 nb_pixel_total : 6559 time to create 1 rle with old method : 0.006915569305419922 time for calcul the mask position with numpy : 0.03426527976989746 nb_pixel_total : 60863 time to create 1 rle with old method : 0.06534743309020996 time for calcul the mask position with numpy : 0.024582386016845703 nb_pixel_total : 7389 time to create 1 rle with old method : 0.007941246032714844 time for calcul the mask position with numpy : 0.021047592163085938 nb_pixel_total : 63166 time to create 1 rle with old method : 0.06975507736206055 time for calcul the mask position with numpy : 0.022064208984375 nb_pixel_total : 40834 time to create 1 rle with old method : 0.06398391723632812 time for calcul the mask position with numpy : 0.021875858306884766 nb_pixel_total : 5879 time to create 1 rle with old method : 0.00656437873840332 create new chi : 1.9886505603790283 time to delete rle : 0.0005338191986083984 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 9947 TO DO : save crop sub photo not yet done ! save time : 7.681663513183594 nb_obj : 15 nb_hashtags : 4 time to prepare the origin masks : 9.214504718780518 time for calcul the mask position with numpy : 3.3319764137268066 nb_pixel_total : 6686430 time to create 1 rle with new method : 0.8329780101776123 time for calcul the mask position with numpy : 0.025244712829589844 nb_pixel_total : 4885 time to create 1 rle with old method : 0.005173206329345703 time for calcul the mask position with numpy : 0.025226354598999023 nb_pixel_total : 87248 time to create 1 rle with old method : 0.09485960006713867 time for calcul the mask position with numpy : 0.026174545288085938 nb_pixel_total : 83914 time to create 1 rle with old method : 0.0875692367553711 time for calcul the mask position with numpy : 0.03314661979675293 nb_pixel_total : 11131 time to create 1 rle with old method : 0.012171268463134766 time for calcul the mask position with numpy : 0.03378868103027344 nb_pixel_total : 25129 time to create 1 rle with old method : 0.025903940200805664 time for calcul the mask position with numpy : 0.03959465026855469 nb_pixel_total : 22482 time to create 1 rle with old method : 0.024129390716552734 time for calcul the mask position with numpy : 0.0399935245513916 nb_pixel_total : 7716 time to create 1 rle with old method : 0.008376359939575195 time for calcul the mask position with numpy : 0.038625240325927734 nb_pixel_total : 1259 time to create 1 rle with old method : 0.0014636516571044922 time for calcul the mask position with numpy : 0.039290666580200195 nb_pixel_total : 49343 time to create 1 rle with old method : 0.05191802978515625 time for calcul the mask position with numpy : 0.04786229133605957 nb_pixel_total : 16721 time to create 1 rle with old method : 0.017667055130004883 time for calcul the mask position with numpy : 0.0406947135925293 nb_pixel_total : 9440 time to create 1 rle with old method : 0.010297298431396484 time for calcul the mask position with numpy : 0.03849530220031738 nb_pixel_total : 2619 time to create 1 rle with old method : 0.002831697463989258 time for calcul the mask position with numpy : 0.03870368003845215 nb_pixel_total : 10413 time to create 1 rle with old method : 0.010664701461791992 time for calcul the mask position with numpy : 0.03877711296081543 nb_pixel_total : 17564 time to create 1 rle with old method : 0.0185544490814209 time for calcul the mask position with numpy : 0.04160428047180176 nb_pixel_total : 13946 time to create 1 rle with old method : 0.014140844345092773 create new chi : 5.155455589294434 time to delete rle : 0.4211690425872803 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 8215 TO DO : save crop sub photo not yet done ! save time : 0.8781483173370361 nb_obj : 16 nb_hashtags : 3 time to prepare the origin masks : 10.513306617736816 time for calcul the mask position with numpy : 0.8490884304046631 nb_pixel_total : 6812454 time to create 1 rle with new method : 0.88625168800354 time for calcul the mask position with numpy : 0.040335893630981445 nb_pixel_total : 28359 time to create 1 rle with old method : 0.032741546630859375 time for calcul the mask position with numpy : 0.04332160949707031 nb_pixel_total : 23380 time to create 1 rle with old method : 0.025275468826293945 time for calcul the mask position with numpy : 0.04199838638305664 nb_pixel_total : 3864 time to create 1 rle with old method : 0.0042226314544677734 time for calcul the mask position with numpy : 0.040215253829956055 nb_pixel_total : 2689 time to create 1 rle with old method : 0.003034353256225586 time for calcul the mask position with numpy : 0.04106712341308594 nb_pixel_total : 4499 time to create 1 rle with old method : 0.004971027374267578 time for calcul the mask position with numpy : 0.04154014587402344 nb_pixel_total : 4304 time to create 1 rle with old method : 0.004876852035522461 time for calcul the mask position with numpy : 0.03881049156188965 nb_pixel_total : 2512 time to create 1 rle with old method : 0.0028448104858398438 time for calcul the mask position with numpy : 0.04137396812438965 nb_pixel_total : 4928 time to create 1 rle with old method : 0.005070209503173828 time for calcul the mask position with numpy : 0.03850889205932617 nb_pixel_total : 3714 time to create 1 rle with old method : 0.00417780876159668 time for calcul the mask position with numpy : 0.03867340087890625 nb_pixel_total : 88621 time to create 1 rle with old method : 0.0923318862915039 time for calcul the mask position with numpy : 0.04054570198059082 nb_pixel_total : 4004 time to create 1 rle with old method : 0.004489421844482422 time for calcul the mask position with numpy : 0.032843589782714844 nb_pixel_total : 6037 time to create 1 rle with old method : 0.0066492557525634766 time for calcul the mask position with numpy : 0.02930426597595215 nb_pixel_total : 2328 time to create 1 rle with old method : 0.002621889114379883 time for calcul the mask position with numpy : 0.02380061149597168 nb_pixel_total : 3288 time to create 1 rle with old method : 0.0037164688110351562 time for calcul the mask position with numpy : 0.024782896041870117 nb_pixel_total : 35823 time to create 1 rle with old method : 0.03805661201477051 time for calcul the mask position with numpy : 0.02576756477355957 nb_pixel_total : 19436 time to create 1 rle with old method : 0.02101588249206543 create new chi : 2.6173596382141113 time to delete rle : 0.0005855560302734375 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 7198 TO DO : save crop sub photo not yet done ! save time : 0.5168845653533936 nb_obj : 18 nb_hashtags : 6 time to prepare the origin masks : 19.65878438949585 time for calcul the mask position with numpy : 1.0391395092010498 nb_pixel_total : 5997696 time to create 1 rle with new method : 0.9671876430511475 time for calcul the mask position with numpy : 0.04019474983215332 nb_pixel_total : 188457 time to create 1 rle with new method : 1.1937930583953857 time for calcul the mask position with numpy : 0.0414586067199707 nb_pixel_total : 111225 time to create 1 rle with old method : 0.11757397651672363 time for calcul the mask position with numpy : 0.04007577896118164 nb_pixel_total : 8385 time to create 1 rle with old method : 0.008687257766723633 time for calcul the mask position with numpy : 0.03842568397521973 nb_pixel_total : 62958 time to create 1 rle with old method : 0.06854963302612305 time for calcul the mask position with numpy : 0.03816080093383789 nb_pixel_total : 82884 time to create 1 rle with old method : 0.09271049499511719 time for calcul the mask position with numpy : 0.04065227508544922 nb_pixel_total : 44943 time to create 1 rle with old method : 0.04956555366516113 time for calcul the mask position with numpy : 0.03744077682495117 nb_pixel_total : 843 time to create 1 rle with old method : 0.0011305809020996094 time for calcul the mask position with numpy : 0.03979158401489258 nb_pixel_total : 7050 time to create 1 rle with old method : 0.008126258850097656 time for calcul the mask position with numpy : 0.0566258430480957 nb_pixel_total : 39528 time to create 1 rle with old method : 0.04700636863708496 time for calcul the mask position with numpy : 0.040990591049194336 nb_pixel_total : 19 time to create 1 rle with old method : 0.00011754035949707031 time for calcul the mask position with numpy : 0.04449033737182617 nb_pixel_total : 200558 time to create 1 rle with new method : 3.2453272342681885 time for calcul the mask position with numpy : 0.03639841079711914 nb_pixel_total : 136681 time to create 1 rle with old method : 0.15468120574951172 time for calcul the mask position with numpy : 0.03219890594482422 nb_pixel_total : 66597 time to create 1 rle with old method : 0.07111954689025879 time for calcul the mask position with numpy : 0.0296175479888916 nb_pixel_total : 11662 time to create 1 rle with old method : 0.012895345687866211 time for calcul the mask position with numpy : 0.037523746490478516 nb_pixel_total : 22458 time to create 1 rle with old method : 0.023494720458984375 time for calcul the mask position with numpy : 0.03928661346435547 nb_pixel_total : 3213 time to create 1 rle with old method : 0.003612518310546875 time for calcul the mask position with numpy : 0.04293417930603027 nb_pixel_total : 4442 time to create 1 rle with old method : 0.00713348388671875 time for calcul the mask position with numpy : 0.045749664306640625 nb_pixel_total : 60641 time to create 1 rle with old method : 0.06869244575500488 create new chi : 8.013763189315796 time to delete rle : 0.0008327960968017578 batch 1 Loaded 19 chid ids of type : 3726 Number RLEs to save : 12194 TO DO : save crop sub photo not yet done ! save time : 0.9463348388671875 nb_obj : 12 nb_hashtags : 6 time to prepare the origin masks : 12.62915849685669 time for calcul the mask position with numpy : 0.6438312530517578 nb_pixel_total : 3650519 time to create 1 rle with new method : 1.903857946395874 time for calcul the mask position with numpy : 0.035175323486328125 nb_pixel_total : 106324 time to create 1 rle with old method : 0.11632561683654785 time for calcul the mask position with numpy : 0.03487896919250488 nb_pixel_total : 70295 time to create 1 rle with old method : 0.07602977752685547 time for calcul the mask position with numpy : 0.03623080253601074 nb_pixel_total : 22519 time to create 1 rle with old method : 0.02418971061706543 time for calcul the mask position with numpy : 0.03593897819519043 nb_pixel_total : 172982 time to create 1 rle with new method : 1.4574527740478516 time for calcul the mask position with numpy : 0.038279056549072266 nb_pixel_total : 476 time to create 1 rle with old method : 0.0012316703796386719 time for calcul the mask position with numpy : 0.04711031913757324 nb_pixel_total : 503653 time to create 1 rle with new method : 2.44519305229187 time for calcul the mask position with numpy : 0.03758096694946289 nb_pixel_total : 30226 time to create 1 rle with old method : 0.07046842575073242 time for calcul the mask position with numpy : 0.04092264175415039 nb_pixel_total : 5188 time to create 1 rle with old method : 0.006037235260009766 time for calcul the mask position with numpy : 0.037828683853149414 nb_pixel_total : 196785 time to create 1 rle with new method : 1.743269920349121 time for calcul the mask position with numpy : 0.06755900382995605 nb_pixel_total : 2192237 time to create 1 rle with new method : 1.3795595169067383 time for calcul the mask position with numpy : 0.03737068176269531 nb_pixel_total : 90367 time to create 1 rle with old method : 0.09600830078125 time for calcul the mask position with numpy : 0.03319835662841797 nb_pixel_total : 8669 time to create 1 rle with old method : 0.009852170944213867 create new chi : 10.70114254951477 time to delete rle : 0.0013663768768310547 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 17116 TO DO : save crop sub photo not yet done ! save time : 1.800936222076416 map_output_result : {1338592808: (0.0, 'Should be the crop_list due to order', 0), 1338592799: (0.0, 'Should be the crop_list due to order', 0), 1338592796: (0.0, 'Should be the crop_list due to order', 0), 1338592775: (0.0, 'Should be the crop_list due to order', 0), 1338592771: (0.0, 'Should be the crop_list due to order', 0), 1338592767: (0.0, 'Should be the crop_list due to order', 0), 1338592764: (0.0, 'Should be the crop_list due to order', 0), 1338592760: (0.0, 'Should be the crop_list due to order', 0), 1338592757: (0.0, 'Should be the crop_list due to order', 0), 1338592690: (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 [1338592808, 1338592799, 1338592796, 1338592775, 1338592771, 1338592767, 1338592764, 1338592760, 1338592757, 1338592690] Looping around the photos to save general results len do output : 10 /1338592808.Didn't retrieve data . /1338592799.Didn't retrieve data . /1338592796.Didn't retrieve data . /1338592775.Didn't retrieve data . /1338592771.Didn't retrieve data . /1338592767.Didn't retrieve data . /1338592764.Didn't retrieve data . /1338592760.Didn't retrieve data . /1338592757.Didn't retrieve data . /1338592690.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, '2601838') ('3459', None, '1338592808', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592799', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592796', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592775', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592771', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592767', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592764', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592760', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592757', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592690', None, None, None, None, None, '2601838') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.021816253662109375 save_final save missing photos in datou_result : time spend for datou_step_exec : 194.711106300354 time spend to save output : 0.025945425033569336 total time spend for step 5 : 194.73705172538757 step6:crop_condition Fri Feb 21 00:29:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure 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 206 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! About to upload 9 photos upload in portfolio : 4869462 init cache_photo without model_param we have 9 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740094176_4191626 we have uploaded 9 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.0008490085601807 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740094184_4191626 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.142984390258789 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740094188_4191626 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7929763793945312 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740094191_4191626 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.9145712852478027 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 4869462 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740094196_4191626 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.9321551322937012 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740094199_4191626 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.0029609203338623 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 Next one ! Next one ! Next one ! 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/1740094203_4191626 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.5347099304199219 we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1338592808, 1338592799, 1338592796, 1338592775, 1338592771, 1338592767, 1338592764, 1338592760, 1338592757, 1338592690] Looping around the photos to save general results len do output : 31 /1338695696Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695697Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695698Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695699Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695701Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695702Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695703Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695704Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695705Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695709Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695710Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695711Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695714Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695715Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695719Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695720Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695721Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695722Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695723Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695726Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695727Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695728Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695729Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695730Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695731Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695734Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695735Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695737Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695738Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338695739Didn'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, '2601838') ('3459', None, '1338592808', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592799', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592796', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592775', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592771', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592767', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592764', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592760', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592757', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592690', None, None, None, None, None, '2601838') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 103 time used for this insertion : 0.039278507232666016 save_final save missing photos in datou_result : time spend for datou_step_exec : 37.088287591934204 time spend to save output : 0.040677785873413086 total time spend for step 6 : 37.12896537780762 step7:ventilate_hashtags_in_portfolio Fri Feb 21 00:30:08 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 : 20699412 get user id for portfolio 20699412 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`=20699412 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','mal_croppe','kraft','Teint_Dans_La_Masse','cartonnette','plastique','environnement','Carton_brun','papier','Carton_gris','metal','flou')) 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`=20699412 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','mal_croppe','kraft','Teint_Dans_La_Masse','cartonnette','plastique','environnement','Carton_brun','papier','Carton_gris','metal','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20699820,20699821,20699822,20699823,20699824,20699825,20699826,20699827,20699828,20699829,20699830,20699831?tags=papier,environnement,autre_refus,plastique,Carton_brun,flou,Carton_gris,kraft,Teint_Dans_La_Masse,metal,cartonnette,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1338592808, 1338592799, 1338592796, 1338592775, 1338592771, 1338592767, 1338592764, 1338592760, 1338592757, 1338592690] Looping around the photos to save general results len do output : 1 /20699412. 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, '2601838') ('3459', None, '1338592808', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592799', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592796', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592775', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592771', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592767', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592764', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592760', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592757', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592690', None, None, None, None, None, '2601838') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.022907018661499023 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.510324239730835 time spend to save output : 0.023243427276611328 total time spend for step 7 : 0.5335676670074463 step8:final Fri Feb 21 00:30:08 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 : {1338592808: ('0.6887130071022083',), 1338592799: ('0.6887130071022083',), 1338592796: ('0.6887130071022083',), 1338592775: ('0.6887130071022083',), 1338592771: ('0.6887130071022083',), 1338592767: ('0.6887130071022083',), 1338592764: ('0.6887130071022083',), 1338592760: ('0.6887130071022083',), 1338592757: ('0.6887130071022083',), 1338592690: ('0.6887130071022083',)} new output for save of step final : {1338592808: ('0.6887130071022083',), 1338592799: ('0.6887130071022083',), 1338592796: ('0.6887130071022083',), 1338592775: ('0.6887130071022083',), 1338592771: ('0.6887130071022083',), 1338592767: ('0.6887130071022083',), 1338592764: ('0.6887130071022083',), 1338592760: ('0.6887130071022083',), 1338592757: ('0.6887130071022083',), 1338592690: ('0.6887130071022083',)} [1338592808, 1338592799, 1338592796, 1338592775, 1338592771, 1338592767, 1338592764, 1338592760, 1338592757, 1338592690] Looping around the photos to save general results len do output : 10 /1338592808.Didn't retrieve data . /1338592799.Didn't retrieve data . /1338592796.Didn't retrieve data . /1338592775.Didn't retrieve data . /1338592771.Didn't retrieve data . /1338592767.Didn't retrieve data . /1338592764.Didn't retrieve data . /1338592760.Didn't retrieve data . /1338592757.Didn't retrieve data . /1338592690.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, '2601838') ('3459', None, '1338592808', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592799', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592796', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592775', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592771', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592767', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592764', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592760', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592757', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592690', None, None, None, None, None, '2601838') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.022188663482666016 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.15399694442749023 time spend to save output : 0.022709369659423828 total time spend for step 8 : 0.17670631408691406 step9:velours_tree Fri Feb 21 00:30:08 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.7096521854400635 time spend to save output : 3.528594970703125e-05 total time spend for step 9 : 0.7096874713897705 step10:send_mail_cod Fri Feb 21 00:30: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 ! 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_P20699412_21-02-2025_00_30_09.pdf 20699822 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206998221740094209 20699823 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206998231740094210 20699825 imagette206998251740094211 20699827 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206998271740094211 20699829 imagette206998291740094212 20699830 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206998301740094212 20699831 imagette206998311740094213 20699824 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206998241740094213 20699826 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206998261740094215 20699828 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206998281740094216 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20699412 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20699820,20699821,20699822,20699823,20699824,20699825,20699826,20699827,20699828,20699829,20699830,20699831?tags=papier,environnement,autre_refus,plastique,Carton_brun,flou,Carton_gris,kraft,Teint_Dans_La_Masse,metal,cartonnette,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1338592808] : ('0.6887130071022083',) no score found for photo 1338592808 We are sending mail with results at report@fotonower.com args[1338592799] : ('0.6887130071022083',) no score found for photo 1338592799 We are sending mail with results at report@fotonower.com args[1338592796] : ('0.6887130071022083',) no score found for photo 1338592796 We are sending mail with results at report@fotonower.com args[1338592775] : ('0.6887130071022083',) no score found for photo 1338592775 We are sending mail with results at report@fotonower.com args[1338592771] : ('0.6887130071022083',) no score found for photo 1338592771 We are sending mail with results at report@fotonower.com args[1338592767] : ('0.6887130071022083',) no score found for photo 1338592767 We are sending mail with results at report@fotonower.com args[1338592764] : ('0.6887130071022083',) no score found for photo 1338592764 We are sending mail with results at report@fotonower.com args[1338592760] : ('0.6887130071022083',) no score found for photo 1338592760 We are sending mail with results at report@fotonower.com args[1338592757] : ('0.6887130071022083',) no score found for photo 1338592757 We are sending mail with results at report@fotonower.com args[1338592690] : ('0.6887130071022083',) no score found for photo 1338592690 We are sending mail with results at report@fotonower.com refus_total : 0.6887130071022083 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=20699412 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1338592808,1338599629,1338599434,1338599429,1338599177,1338599100,1338599097,1338599080,1338599077,1338599073,1338592819,1338592688,1338592799,1338592796,1338592775,1338592771,1338592767,1338592764,1338592760,1338592757) Found this number of photos: 20 begin to download photo : 1338599100 begin to download photo : 1338592808 begin to download photo : 1338592819 begin to download photo : 1338592771 download finish for photo 1338592819 begin to download photo : 1338592688 download finish for photo 1338592771 begin to download photo : 1338592767 download finish for photo 1338592808 begin to download photo : 1338599629 download finish for photo 1338599100 begin to download photo : 1338599097 download finish for photo 1338599629 begin to download photo : 1338599434 download finish for photo 1338592767 begin to download photo : 1338592764 download finish for photo 1338599097 begin to download photo : 1338599080 download finish for photo 1338592764 begin to download photo : 1338592760 download finish for photo 1338599434 begin to download photo : 1338599429 download finish for photo 1338592688 begin to download photo : 1338592799 download finish for photo 1338599080 begin to download photo : 1338599077 download finish for photo 1338592760 begin to download photo : 1338592757 download finish for photo 1338599429 begin to download photo : 1338599177 download finish for photo 1338592799 begin to download photo : 1338592796 download finish for photo 1338599077 begin to download photo : 1338599073 download finish for photo 1338592757 download finish for photo 1338599177 download finish for photo 1338592796 begin to download photo : 1338592775 download finish for photo 1338599073 download finish for photo 1338592775 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20699412_21-02-2025_00_30_09.pdf results_Auto_P20699412_21-02-2025_00_30_09.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20699412_21-02-2025_00_30_09.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','20699412','results_Auto_P20699412_21-02-2025_00_30_09.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20699412_21-02-2025_00_30_09.pdf','pdf','','1.29','0.6887130071022083') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1338592808, 1338592799, 1338592796, 1338592775, 1338592771, 1338592767, 1338592764, 1338592760, 1338592757, 1338592690] 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, '2601838') ('3459', None, '1338592808', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592799', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592796', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592775', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592771', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592767', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592764', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592760', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592757', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592690', None, None, None, None, None, '2601838') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.12037539482116699 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.995479345321655 time spend to save output : 0.12062716484069824 total time spend for step 10 : 13.116106510162354 step11:split_time_score Fri Feb 21 00:30:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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'}] (('13', 21),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 20022025 20699412 Nombre de photos uploadées : 21 / 23040 (0%) 20022025 20699412 Nombre de photos taguées (types de déchets): 0 / 21 (0%) 20022025 20699412 Nombre de photos taguées (volume) : 0 / 21 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 6.198883056640625e-06 ????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0011043548583984375 elapsed_time : insert_dashboard_record_day_entry 0.023375511169433594 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699402 order by id desc limit 1 Qualite : 0.9503162918805936 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20699403_21-02-2025_00_22_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699403 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`=20699403 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699404 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699405 order by id desc limit 1 Qualite : 0.3329848280211983 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20699406_21-02-2025_00_20_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699406 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`=20699406 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699407 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699408 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699409 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699410 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699411 order by id desc limit 1 Qualite : 0.6814549659204545 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20699412_21-02-2025_00_30_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699412 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`=20699412 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699413 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699414 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699415 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699416 order by id desc limit 1 Qualite : 0.3767832473441416 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20699417_21-02-2025_00_19_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699417 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20699417 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699418 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699419 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699420 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699421 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699422 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699423 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699424 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699425 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699426 order by id desc limit 1 Qualite : 0.7519938324117397 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20699439_21-02-2025_00_19_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699439 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`=20699439 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699440 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699441 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699442 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699443 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699444 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699449 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699470 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699471 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699472 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699473 order by id desc limit 1 Qualite : 0.8805410694113283 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20699474_21-02-2025_00_26_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20699474 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20699474 AND mptpi.`type`=4207 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'20022025': {'nb_upload': 21, '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 [1338592808, 1338592799, 1338592796, 1338592775, 1338592771, 1338592767, 1338592764, 1338592760, 1338592757, 1338592690] Looping around the photos to save general results len do output : 1 /20699412Didn'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, '2601838') ('3459', None, '1338592808', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592799', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592796', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592775', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592771', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592767', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592764', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592760', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592757', None, None, None, None, None, '2601838') ('3459', None, None, None, None, None, None, None, '2601838') ('3459', None, '1338592690', None, None, None, None, None, '2601838') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.016783475875854492 save_final save missing photos in datou_result : time spend for datou_step_exec : 26.247846603393555 time spend to save output : 0.01702880859375 total time spend for step 11 : 26.264875411987305 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 187.21user 187.62system 8:26.69elapsed 73%CPU (0avgtext+0avgdata 2624064maxresident)k 5018048inputs+170760outputs (88326major+15137544minor)pagefaults 0swaps