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 : 84248 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 : 25>10 please execute split_portfolio.py -i 21390193 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2666455'] with mtr_portfolio_ids : ['21390193'] and first list_photo_ids : [] new path : /proc/84248/ 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 : 4.51639199256897 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Thu Mar 13 19:50:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10442 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-13 19:50:35.560313: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-03-13 19:50:35.568153: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-13 19:50:35.569385: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7ff908000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-13 19:50:35.569420: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-13 19:50:35.572126: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-13 19:50:35.747237: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x42df8720 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-13 19:50:35.747279: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-13 19:50:35.748255: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-03-13 19:50:35.748547: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-13 19:50:35.750434: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-13 19:50:35.752383: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-13 19:50:35.752759: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-13 19:50:35.754850: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-13 19:50:35.755982: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-13 19:50:35.760371: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-13 19:50:35.761919: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-13 19:50:35.762011: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-13 19:50:35.762812: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-13 19:50:35.762829: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-13 19:50:35.762838: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-13 19:50:35.764252: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9671 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-03-13 19:50:36.063267: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-03-13 19:50:36.063427: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-13 19:50:36.063458: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-13 19:50:36.063483: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-13 19:50:36.063506: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-13 19:50:36.063529: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-13 19:50:36.063551: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-13 19:50:36.063574: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-13 19:50:36.065586: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-13 19:50:36.068862: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-03-13 19:50:36.068964: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-13 19:50:36.068988: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-13 19:50:36.069009: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-13 19:50:36.069029: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-13 19:50:36.069049: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-13 19:50:36.069069: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-13 19:50:36.069090: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-13 19:50:36.071001: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-13 19:50:36.071051: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-13 19:50:36.071062: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-13 19:50:36.071073: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-13 19:50:36.073161: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9671 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-03-13 19:50:47.927801: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-13 19:50:48.124781: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-13 19:50:49.605917: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:49.606610: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.60G (3865470464 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:50.883622: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:50.884008: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-03-13 19:50:50.958683: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:50.958792: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB 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-03-13 19:50:50.960096: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:50.960119: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB 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-03-13 19:50:50.975817: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:50.975910: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB 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-03-13 19:50:50.977371: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:50.977411: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB 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-03-13 19:50:51.044034: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.044087: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB 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-03-13 19:50:51.045356: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.045376: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB 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-03-13 19:50:51.046359: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.046376: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.26GiB 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-03-13 19:50:51.047108: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.047127: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.26GiB 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-03-13 19:50:51.063458: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.063486: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 417.62MiB 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-03-13 19:50:51.064882: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.064902: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 417.62MiB 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-03-13 19:50:51.115127: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.116473: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.117773: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.119046: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.127462: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.128312: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.129105: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.130837: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.132402: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.132452: 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-03-13 19:50:51.148493: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.149644: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.166638: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.167869: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.169120: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.170353: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.171779: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 19:50:51.172965: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 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 : 9 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 18 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 : 18 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 : 15 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: 150.34152 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 20 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 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 : 25 Detection mask done ! Trying to reset tf kernel 85321 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4430 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 : 5623 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.00023889541625976562 nb_pixel_total : 4688 time to create 1 rle with old method : 0.005741596221923828 length of segment : 89 time for calcul the mask position with numpy : 0.0008375644683837891 nb_pixel_total : 39631 time to create 1 rle with old method : 0.04848527908325195 length of segment : 184 time for calcul the mask position with numpy : 0.14490270614624023 nb_pixel_total : 2956727 time to create 1 rle with new method : 1.0639829635620117 length of segment : 2416 time for calcul the mask position with numpy : 0.0009081363677978516 nb_pixel_total : 31951 time to create 1 rle with old method : 0.043277740478515625 length of segment : 209 time for calcul the mask position with numpy : 0.14266300201416016 nb_pixel_total : 764154 time to create 1 rle with new method : 0.0768589973449707 length of segment : 1885 time for calcul the mask position with numpy : 0.0002040863037109375 nb_pixel_total : 3369 time to create 1 rle with old method : 0.004446744918823242 length of segment : 60 time for calcul the mask position with numpy : 0.0009279251098632812 nb_pixel_total : 29010 time to create 1 rle with old method : 0.03540229797363281 length of segment : 216 time for calcul the mask position with numpy : 0.0008559226989746094 nb_pixel_total : 37525 time to create 1 rle with old method : 0.044588327407836914 length of segment : 420 time for calcul the mask position with numpy : 0.005795001983642578 nb_pixel_total : 438684 time to create 1 rle with new method : 0.06716752052307129 length of segment : 1046 time for calcul the mask position with numpy : 0.0040590763092041016 nb_pixel_total : 135436 time to create 1 rle with old method : 0.16032147407531738 length of segment : 585 time for calcul the mask position with numpy : 0.00036215782165527344 nb_pixel_total : 4114 time to create 1 rle with old method : 0.004943132400512695 length of segment : 138 time for calcul the mask position with numpy : 0.0009207725524902344 nb_pixel_total : 24501 time to create 1 rle with old method : 0.03063201904296875 length of segment : 200 time for calcul the mask position with numpy : 0.00012493133544921875 nb_pixel_total : 1461 time to create 1 rle with old method : 0.0020322799682617188 length of segment : 42 time for calcul the mask position with numpy : 0.020512104034423828 nb_pixel_total : 694132 time to create 1 rle with new method : 0.05977630615234375 length of segment : 1165 time for calcul the mask position with numpy : 0.0003027915954589844 nb_pixel_total : 6268 time to create 1 rle with old method : 0.00794219970703125 length of segment : 114 time for calcul the mask position with numpy : 0.00022864341735839844 nb_pixel_total : 3481 time to create 1 rle with old method : 0.004735231399536133 length of segment : 61 time for calcul the mask position with numpy : 9.560585021972656e-05 nb_pixel_total : 2195 time to create 1 rle with old method : 0.002843618392944336 length of segment : 85 time for calcul the mask position with numpy : 0.0020418167114257812 nb_pixel_total : 50338 time to create 1 rle with old method : 0.06404995918273926 length of segment : 393 time for calcul the mask position with numpy : 0.0018312931060791016 nb_pixel_total : 49924 time to create 1 rle with old method : 0.061087846755981445 length of segment : 481 time for calcul the mask position with numpy : 0.0007190704345703125 nb_pixel_total : 12826 time to create 1 rle with old method : 0.015325069427490234 length of segment : 335 time for calcul the mask position with numpy : 0.0025932788848876953 nb_pixel_total : 98117 time to create 1 rle with old method : 0.11542177200317383 length of segment : 598 time for calcul the mask position with numpy : 0.0030765533447265625 nb_pixel_total : 72106 time to create 1 rle with old method : 0.08809399604797363 length of segment : 315 time for calcul the mask position with numpy : 0.002814054489135742 nb_pixel_total : 70221 time to create 1 rle with old method : 0.08316922187805176 length of segment : 887 time for calcul the mask position with numpy : 0.005393028259277344 nb_pixel_total : 236589 time to create 1 rle with new method : 0.009025096893310547 length of segment : 468 time for calcul the mask position with numpy : 0.0018191337585449219 nb_pixel_total : 35141 time to create 1 rle with old method : 0.04233741760253906 length of segment : 380 time for calcul the mask position with numpy : 0.0010159015655517578 nb_pixel_total : 9951 time to create 1 rle with old method : 0.012338876724243164 length of segment : 118 time for calcul the mask position with numpy : 0.0010759830474853516 nb_pixel_total : 33303 time to create 1 rle with old method : 0.04021000862121582 length of segment : 203 time for calcul the mask position with numpy : 0.00016617774963378906 nb_pixel_total : 2880 time to create 1 rle with old method : 0.003462076187133789 length of segment : 59 time for calcul the mask position with numpy : 0.0015835762023925781 nb_pixel_total : 58181 time to create 1 rle with old method : 0.07271432876586914 length of segment : 305 time for calcul the mask position with numpy : 0.0032203197479248047 nb_pixel_total : 148498 time to create 1 rle with old method : 0.1775379180908203 length of segment : 568 time for calcul the mask position with numpy : 0.0005025863647460938 nb_pixel_total : 4261 time to create 1 rle with old method : 0.005673885345458984 length of segment : 102 time for calcul the mask position with numpy : 0.00041961669921875 nb_pixel_total : 9979 time to create 1 rle with old method : 0.012108802795410156 length of segment : 128 time for calcul the mask position with numpy : 0.0021598339080810547 nb_pixel_total : 57567 time to create 1 rle with old method : 0.09562134742736816 length of segment : 361 time for calcul the mask position with numpy : 0.0006127357482910156 nb_pixel_total : 15398 time to create 1 rle with old method : 0.018406152725219727 length of segment : 128 time for calcul the mask position with numpy : 0.00016617774963378906 nb_pixel_total : 1575 time to create 1 rle with old method : 0.0019750595092773438 length of segment : 50 time for calcul the mask position with numpy : 0.001255035400390625 nb_pixel_total : 23311 time to create 1 rle with old method : 0.028557538986206055 length of segment : 249 time for calcul the mask position with numpy : 0.0003905296325683594 nb_pixel_total : 5030 time to create 1 rle with old method : 0.006490945816040039 length of segment : 117 time for calcul the mask position with numpy : 0.004224538803100586 nb_pixel_total : 131533 time to create 1 rle with old method : 0.1786806583404541 length of segment : 494 time for calcul the mask position with numpy : 0.00019812583923339844 nb_pixel_total : 3208 time to create 1 rle with old method : 0.004361152648925781 length of segment : 43 time for calcul the mask position with numpy : 0.002361297607421875 nb_pixel_total : 98220 time to create 1 rle with old method : 0.12266969680786133 length of segment : 220 time for calcul the mask position with numpy : 0.0009684562683105469 nb_pixel_total : 24807 time to create 1 rle with old method : 0.03233814239501953 length of segment : 169 time for calcul the mask position with numpy : 0.00030303001403808594 nb_pixel_total : 2623 time to create 1 rle with old method : 0.0034914016723632812 length of segment : 100 time for calcul the mask position with numpy : 0.0012385845184326172 nb_pixel_total : 30807 time to create 1 rle with old method : 0.03735613822937012 length of segment : 388 time for calcul the mask position with numpy : 0.0011630058288574219 nb_pixel_total : 36133 time to create 1 rle with old method : 0.046544551849365234 length of segment : 166 time for calcul the mask position with numpy : 0.0002579689025878906 nb_pixel_total : 995 time to create 1 rle with old method : 0.0012979507446289062 length of segment : 55 time for calcul the mask position with numpy : 0.002683877944946289 nb_pixel_total : 67621 time to create 1 rle with old method : 0.08003520965576172 length of segment : 352 time for calcul the mask position with numpy : 0.001398324966430664 nb_pixel_total : 12005 time to create 1 rle with old method : 0.02062678337097168 length of segment : 209 time for calcul the mask position with numpy : 0.00015783309936523438 nb_pixel_total : 1418 time to create 1 rle with old method : 0.0026078224182128906 length of segment : 34 time for calcul the mask position with numpy : 0.0015025138854980469 nb_pixel_total : 27622 time to create 1 rle with old method : 0.037248849868774414 length of segment : 286 time for calcul the mask position with numpy : 0.0004374980926513672 nb_pixel_total : 13163 time to create 1 rle with old method : 0.016381025314331055 length of segment : 60 time for calcul the mask position with numpy : 0.0018613338470458984 nb_pixel_total : 66138 time to create 1 rle with old method : 0.08051180839538574 length of segment : 367 time for calcul the mask position with numpy : 0.001321554183959961 nb_pixel_total : 39684 time to create 1 rle with old method : 0.04775857925415039 length of segment : 267 time for calcul the mask position with numpy : 0.00041866302490234375 nb_pixel_total : 7325 time to create 1 rle with old method : 0.009047985076904297 length of segment : 136 time for calcul the mask position with numpy : 0.00013899803161621094 nb_pixel_total : 1922 time to create 1 rle with old method : 0.002655506134033203 length of segment : 34 time for calcul the mask position with numpy : 0.0008628368377685547 nb_pixel_total : 26476 time to create 1 rle with old method : 0.03197669982910156 length of segment : 412 time for calcul the mask position with numpy : 0.0003898143768310547 nb_pixel_total : 2351 time to create 1 rle with old method : 0.002925395965576172 length of segment : 158 time for calcul the mask position with numpy : 0.003926992416381836 nb_pixel_total : 91795 time to create 1 rle with old method : 0.10959148406982422 length of segment : 553 time for calcul the mask position with numpy : 0.0012331008911132812 nb_pixel_total : 19667 time to create 1 rle with old method : 0.023197174072265625 length of segment : 230 time for calcul the mask position with numpy : 0.0003864765167236328 nb_pixel_total : 6151 time to create 1 rle with old method : 0.007573366165161133 length of segment : 114 time for calcul the mask position with numpy : 0.0005137920379638672 nb_pixel_total : 10940 time to create 1 rle with old method : 0.013450384140014648 length of segment : 148 time for calcul the mask position with numpy : 0.0005197525024414062 nb_pixel_total : 7341 time to create 1 rle with old method : 0.009113073348999023 length of segment : 160 time for calcul the mask position with numpy : 0.0018451213836669922 nb_pixel_total : 38449 time to create 1 rle with old method : 0.04760003089904785 length of segment : 318 time for calcul the mask position with numpy : 0.009591817855834961 nb_pixel_total : 304305 time to create 1 rle with new method : 0.019661903381347656 length of segment : 741 time for calcul the mask position with numpy : 0.00021839141845703125 nb_pixel_total : 4879 time to create 1 rle with old method : 0.006240129470825195 length of segment : 91 time for calcul the mask position with numpy : 0.00018525123596191406 nb_pixel_total : 5659 time to create 1 rle with old method : 0.008660316467285156 length of segment : 122 time for calcul the mask position with numpy : 0.006028652191162109 nb_pixel_total : 194585 time to create 1 rle with new method : 0.009181022644042969 length of segment : 436 time for calcul the mask position with numpy : 0.002230405807495117 nb_pixel_total : 80375 time to create 1 rle with old method : 0.10278868675231934 length of segment : 330 time for calcul the mask position with numpy : 0.002168893814086914 nb_pixel_total : 52047 time to create 1 rle with old method : 0.06630992889404297 length of segment : 327 time for calcul the mask position with numpy : 0.0010581016540527344 nb_pixel_total : 31314 time to create 1 rle with old method : 0.037420034408569336 length of segment : 177 time for calcul the mask position with numpy : 0.0001983642578125 nb_pixel_total : 2706 time to create 1 rle with old method : 0.0034241676330566406 length of segment : 82 time for calcul the mask position with numpy : 0.0012407302856445312 nb_pixel_total : 47839 time to create 1 rle with old method : 0.06020784378051758 length of segment : 336 time for calcul the mask position with numpy : 0.0011360645294189453 nb_pixel_total : 24516 time to create 1 rle with old method : 0.029901742935180664 length of segment : 219 time for calcul the mask position with numpy : 0.00041604042053222656 nb_pixel_total : 4230 time to create 1 rle with old method : 0.005309343338012695 length of segment : 77 time for calcul the mask position with numpy : 0.002466917037963867 nb_pixel_total : 51258 time to create 1 rle with old method : 0.06427192687988281 length of segment : 268 time for calcul the mask position with numpy : 0.0027861595153808594 nb_pixel_total : 56038 time to create 1 rle with old method : 0.07653951644897461 length of segment : 461 time for calcul the mask position with numpy : 0.00032639503479003906 nb_pixel_total : 4928 time to create 1 rle with old method : 0.00651097297668457 length of segment : 45 time for calcul the mask position with numpy : 0.0003714561462402344 nb_pixel_total : 5491 time to create 1 rle with old method : 0.0069811344146728516 length of segment : 91 time for calcul the mask position with numpy : 0.001188039779663086 nb_pixel_total : 17365 time to create 1 rle with old method : 0.02062392234802246 length of segment : 235 time for calcul the mask position with numpy : 0.0016846656799316406 nb_pixel_total : 26068 time to create 1 rle with old method : 0.03249073028564453 length of segment : 292 time for calcul the mask position with numpy : 0.0007894039154052734 nb_pixel_total : 8912 time to create 1 rle with old method : 0.010361671447753906 length of segment : 182 time for calcul the mask position with numpy : 0.00058746337890625 nb_pixel_total : 8625 time to create 1 rle with old method : 0.010576725006103516 length of segment : 159 time for calcul the mask position with numpy : 0.00019621849060058594 nb_pixel_total : 4832 time to create 1 rle with old method : 0.006201028823852539 length of segment : 131 time for calcul the mask position with numpy : 0.00039577484130859375 nb_pixel_total : 10041 time to create 1 rle with old method : 0.012982606887817383 length of segment : 104 time for calcul the mask position with numpy : 0.00031447410583496094 nb_pixel_total : 3917 time to create 1 rle with old method : 0.004765510559082031 length of segment : 108 time for calcul the mask position with numpy : 0.008873939514160156 nb_pixel_total : 206363 time to create 1 rle with new method : 0.016475915908813477 length of segment : 718 time for calcul the mask position with numpy : 0.000835418701171875 nb_pixel_total : 29433 time to create 1 rle with old method : 0.0377650260925293 length of segment : 255 time for calcul the mask position with numpy : 0.007725954055786133 nb_pixel_total : 220656 time to create 1 rle with new method : 0.016555070877075195 length of segment : 829 time for calcul the mask position with numpy : 0.001596689224243164 nb_pixel_total : 48625 time to create 1 rle with old method : 0.06136798858642578 length of segment : 319 time for calcul the mask position with numpy : 0.0026454925537109375 nb_pixel_total : 96365 time to create 1 rle with old method : 0.11402034759521484 length of segment : 771 time for calcul the mask position with numpy : 0.0009219646453857422 nb_pixel_total : 18335 time to create 1 rle with old method : 0.02156829833984375 length of segment : 382 time for calcul the mask position with numpy : 0.002989053726196289 nb_pixel_total : 109821 time to create 1 rle with old method : 0.134627103805542 length of segment : 907 time for calcul the mask position with numpy : 0.0011022090911865234 nb_pixel_total : 23866 time to create 1 rle with old method : 0.02834296226501465 length of segment : 290 time for calcul the mask position with numpy : 0.001102447509765625 nb_pixel_total : 25703 time to create 1 rle with old method : 0.0380556583404541 length of segment : 269 time for calcul the mask position with numpy : 0.0019390583038330078 nb_pixel_total : 46243 time to create 1 rle with old method : 0.06060981750488281 length of segment : 236 time for calcul the mask position with numpy : 0.0010712146759033203 nb_pixel_total : 34759 time to create 1 rle with old method : 0.04747271537780762 length of segment : 319 time for calcul the mask position with numpy : 0.0012407302856445312 nb_pixel_total : 15059 time to create 1 rle with old method : 0.01984858512878418 length of segment : 245 time for calcul the mask position with numpy : 0.003757476806640625 nb_pixel_total : 59525 time to create 1 rle with old method : 0.0738224983215332 length of segment : 747 time for calcul the mask position with numpy : 0.0030443668365478516 nb_pixel_total : 72468 time to create 1 rle with old method : 0.0978233814239502 length of segment : 297 time for calcul the mask position with numpy : 0.001089334487915039 nb_pixel_total : 28728 time to create 1 rle with old method : 0.03471517562866211 length of segment : 241 time for calcul the mask position with numpy : 0.0004627704620361328 nb_pixel_total : 9826 time to create 1 rle with old method : 0.012235403060913086 length of segment : 119 time for calcul the mask position with numpy : 0.0010693073272705078 nb_pixel_total : 29600 time to create 1 rle with old method : 0.03420090675354004 length of segment : 326 time for calcul the mask position with numpy : 0.0010328292846679688 nb_pixel_total : 32702 time to create 1 rle with old method : 0.04201650619506836 length of segment : 242 time for calcul the mask position with numpy : 0.0007877349853515625 nb_pixel_total : 25599 time to create 1 rle with old method : 0.029757261276245117 length of segment : 259 time for calcul the mask position with numpy : 0.0058438777923583984 nb_pixel_total : 105860 time to create 1 rle with old method : 0.14554476737976074 length of segment : 592 time for calcul the mask position with numpy : 0.0014920234680175781 nb_pixel_total : 25387 time to create 1 rle with old method : 0.03366494178771973 length of segment : 459 time for calcul the mask position with numpy : 0.00011873245239257812 nb_pixel_total : 2261 time to create 1 rle with old method : 0.0029201507568359375 length of segment : 69 time for calcul the mask position with numpy : 0.00841665267944336 nb_pixel_total : 336142 time to create 1 rle with new method : 0.015910863876342773 length of segment : 858 time for calcul the mask position with numpy : 0.0002009868621826172 nb_pixel_total : 3160 time to create 1 rle with old method : 0.0040552616119384766 length of segment : 69 time for calcul the mask position with numpy : 0.0019383430480957031 nb_pixel_total : 53160 time to create 1 rle with old method : 0.06188201904296875 length of segment : 299 time for calcul the mask position with numpy : 0.0015807151794433594 nb_pixel_total : 35372 time to create 1 rle with old method : 0.04703712463378906 length of segment : 275 time for calcul the mask position with numpy : 0.0020215511322021484 nb_pixel_total : 26312 time to create 1 rle with old method : 0.031327009201049805 length of segment : 234 time for calcul the mask position with numpy : 0.001890420913696289 nb_pixel_total : 72639 time to create 1 rle with old method : 0.10011959075927734 length of segment : 407 time for calcul the mask position with numpy : 0.0011005401611328125 nb_pixel_total : 26565 time to create 1 rle with old method : 0.03464961051940918 length of segment : 325 time for calcul the mask position with numpy : 0.3088657855987549 nb_pixel_total : 2869802 time to create 1 rle with new method : 0.5135595798492432 length of segment : 3715 time for calcul the mask position with numpy : 0.0023450851440429688 nb_pixel_total : 162592 time to create 1 rle with new method : 0.0055391788482666016 length of segment : 545 time for calcul the mask position with numpy : 0.0009369850158691406 nb_pixel_total : 33916 time to create 1 rle with old method : 0.04181098937988281 length of segment : 405 time for calcul the mask position with numpy : 0.012308835983276367 nb_pixel_total : 560354 time to create 1 rle with new method : 0.1286928653717041 length of segment : 1119 time for calcul the mask position with numpy : 0.0023403167724609375 nb_pixel_total : 140290 time to create 1 rle with old method : 0.16336631774902344 length of segment : 507 time for calcul the mask position with numpy : 0.0013628005981445312 nb_pixel_total : 49131 time to create 1 rle with old method : 0.059372901916503906 length of segment : 438 time for calcul the mask position with numpy : 0.0007147789001464844 nb_pixel_total : 31478 time to create 1 rle with old method : 0.03535270690917969 length of segment : 302 time for calcul the mask position with numpy : 0.0018112659454345703 nb_pixel_total : 119925 time to create 1 rle with old method : 0.1386873722076416 length of segment : 377 time for calcul the mask position with numpy : 0.0017209053039550781 nb_pixel_total : 105822 time to create 1 rle with old method : 0.12752127647399902 length of segment : 358 time for calcul the mask position with numpy : 0.00024628639221191406 nb_pixel_total : 2592 time to create 1 rle with old method : 0.0034356117248535156 length of segment : 42 time for calcul the mask position with numpy : 0.4060828685760498 nb_pixel_total : 3397289 time to create 1 rle with new method : 0.680304765701294 length of segment : 2862 time for calcul the mask position with numpy : 0.0004565715789794922 nb_pixel_total : 17778 time to create 1 rle with old method : 0.02007603645324707 length of segment : 181 time for calcul the mask position with numpy : 0.0038847923278808594 nb_pixel_total : 270099 time to create 1 rle with new method : 0.01244044303894043 length of segment : 975 time for calcul the mask position with numpy : 0.0012636184692382812 nb_pixel_total : 68852 time to create 1 rle with old method : 0.08103060722351074 length of segment : 236 time for calcul the mask position with numpy : 0.0003178119659423828 nb_pixel_total : 6218 time to create 1 rle with old method : 0.008007526397705078 length of segment : 66 time for calcul the mask position with numpy : 0.00025200843811035156 nb_pixel_total : 10181 time to create 1 rle with old method : 0.01313638687133789 length of segment : 147 time for calcul the mask position with numpy : 0.00018835067749023438 nb_pixel_total : 5204 time to create 1 rle with old method : 0.006624460220336914 length of segment : 97 time for calcul the mask position with numpy : 0.001322031021118164 nb_pixel_total : 76345 time to create 1 rle with old method : 0.09095525741577148 length of segment : 302 time for calcul the mask position with numpy : 0.0008862018585205078 nb_pixel_total : 49824 time to create 1 rle with old method : 0.0568547248840332 length of segment : 316 time for calcul the mask position with numpy : 0.004540920257568359 nb_pixel_total : 251471 time to create 1 rle with new method : 0.009949684143066406 length of segment : 550 time for calcul the mask position with numpy : 0.00019288063049316406 nb_pixel_total : 1754 time to create 1 rle with old method : 0.0022125244140625 length of segment : 43 time for calcul the mask position with numpy : 0.006274223327636719 nb_pixel_total : 147794 time to create 1 rle with old method : 0.16907143592834473 length of segment : 546 time for calcul the mask position with numpy : 0.003927946090698242 nb_pixel_total : 152763 time to create 1 rle with new method : 0.0052623748779296875 length of segment : 479 time for calcul the mask position with numpy : 0.0004551410675048828 nb_pixel_total : 6925 time to create 1 rle with old method : 0.008632898330688477 length of segment : 111 time for calcul the mask position with numpy : 0.003227710723876953 nb_pixel_total : 71630 time to create 1 rle with old method : 0.08697032928466797 length of segment : 381 time for calcul the mask position with numpy : 0.003595590591430664 nb_pixel_total : 98092 time to create 1 rle with old method : 0.1067049503326416 length of segment : 436 time for calcul the mask position with numpy : 0.0003173351287841797 nb_pixel_total : 2773 time to create 1 rle with old method : 0.0033462047576904297 length of segment : 134 time for calcul the mask position with numpy : 0.0005145072937011719 nb_pixel_total : 15985 time to create 1 rle with old method : 0.019222736358642578 length of segment : 202 time for calcul the mask position with numpy : 0.0015132427215576172 nb_pixel_total : 59337 time to create 1 rle with old method : 0.0752406120300293 length of segment : 279 time for calcul the mask position with numpy : 0.0011034011840820312 nb_pixel_total : 16250 time to create 1 rle with old method : 0.01989006996154785 length of segment : 241 time for calcul the mask position with numpy : 0.0003147125244140625 nb_pixel_total : 5824 time to create 1 rle with old method : 0.007366657257080078 length of segment : 100 time for calcul the mask position with numpy : 0.004245281219482422 nb_pixel_total : 202657 time to create 1 rle with new method : 0.00723719596862793 length of segment : 654 time for calcul the mask position with numpy : 0.0010540485382080078 nb_pixel_total : 20563 time to create 1 rle with old method : 0.024996042251586914 length of segment : 229 time for calcul the mask position with numpy : 0.0005130767822265625 nb_pixel_total : 12572 time to create 1 rle with old method : 0.01460409164428711 length of segment : 114 time for calcul the mask position with numpy : 0.00098419189453125 nb_pixel_total : 11801 time to create 1 rle with old method : 0.013836383819580078 length of segment : 348 time for calcul the mask position with numpy : 0.0013263225555419922 nb_pixel_total : 57773 time to create 1 rle with old method : 0.06743550300598145 length of segment : 365 time for calcul the mask position with numpy : 0.00046896934509277344 nb_pixel_total : 19528 time to create 1 rle with old method : 0.024133682250976562 length of segment : 216 time for calcul the mask position with numpy : 0.00016570091247558594 nb_pixel_total : 1213 time to create 1 rle with old method : 0.001615762710571289 length of segment : 46 time for calcul the mask position with numpy : 0.004411220550537109 nb_pixel_total : 189040 time to create 1 rle with new method : 0.00982213020324707 length of segment : 695 time for calcul the mask position with numpy : 0.0016448497772216797 nb_pixel_total : 41949 time to create 1 rle with old method : 0.05030059814453125 length of segment : 299 time for calcul the mask position with numpy : 0.0007340908050537109 nb_pixel_total : 17726 time to create 1 rle with old method : 0.021825075149536133 length of segment : 140 time for calcul the mask position with numpy : 0.0006396770477294922 nb_pixel_total : 12623 time to create 1 rle with old method : 0.015784025192260742 length of segment : 140 time spent for convertir_results : 23.325883865356445 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 155 chid ids of type : 3663 Number RLEs to save : 56743 save missing photos in datou_result : time spend for datou_step_exec : 79.39579248428345 time spend to save output : 4.875417947769165 total time spend for step 1 : 84.27121043205261 step2:crop_condition Thu Mar 13 19:51:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 155 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 ! map_result returned by crop_photo_return_map_crop : length : 16 About to insert : list_path_to_insert length 16 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 ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : 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 ! 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_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 ! map_result returned by crop_photo_return_map_crop : length : 54 About to insert : list_path_to_insert length 54 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 ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! we have finished the crop for the class : 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 ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1343638578, 1343638562, 1343638132, 1343638074, 1343638027, 1343637988, 1343637944, 1343637649, 1343636707, 1343636644] Looping around the photos to save general results len do output : 95 /-3710256229Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256255Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256246Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256260Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256262Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256281Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256284Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256304Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256308Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256307Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256314Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256323Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256331Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256332Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256346Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256363Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256320Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256371Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256368Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256252Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256248Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256270Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256290Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256306Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256297Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256366Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256223Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256227Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256228Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256240Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256237Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256239Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256243Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256241Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256244Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256238Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256253Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256259Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256249Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256257Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256271Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256277Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256276Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256263Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256265Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256268Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256282Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256286Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256287Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256285Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256280Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256309Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256293Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256305Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256310Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256294Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256302Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256301Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256321Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256328Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256313Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256329Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256324Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256322Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256317Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256318Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256337Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256335Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256340Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256351Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256344Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256345Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256350Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256348Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256352Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256372Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256357Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256364Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256361Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256358Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256220Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256235Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256283Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256311Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256315Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256339Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256360Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256365Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256226Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256221Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256242Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256330Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256334Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256355Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3710256369Didn'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, '2666455') ('3459', '21390193', '1343638578', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638562', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638132', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638074', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638027', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637988', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637944', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637649', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343636707', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343636644', None, None, None, None, None, '2666455') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 295 time used for this insertion : 0.871300458908081 save_final save missing photos in datou_result : time spend for datou_step_exec : 40.30121040344238 time spend to save output : 0.8739469051361084 total time spend for step 2 : 41.17515730857849 step3:thcl Thu Mar 13 19:52:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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.01827859878540039 time to convert the images to numpy array : 0.10603523254394531 time to import caffe and check if the image exist : 0.01208949089050293 time to convert the images to numpy array : 0.1503450870513916 time to import caffe and check if the image exist : 0.018140316009521484 time to convert the images to numpy array : 0.14789199829101562 time to import caffe and check if the image exist : 0.01724720001220703 time to convert the images to numpy array : 0.18607807159423828 time to import caffe and check if the image exist : 0.024580955505371094 time to convert the images to numpy array : 0.1845531463623047 time to import caffe and check if the image exist : 0.02421283721923828 time to convert the images to numpy array : 0.19031786918640137 time to import caffe and check if the image exist : 0.02509784698486328 time to convert the images to numpy array : 0.26567697525024414 time to import caffe and check if the image exist : 0.022556781768798828 time to convert the images to numpy array : 0.28189897537231445 time to import caffe and check if the image exist : 0.012969017028808594 time to convert the images to numpy array : 0.29885125160217285 time to import caffe and check if the image exist : 0.02377462387084961 time to convert the images to numpy array : 0.2978689670562744 total time to convert the images to numpy array : 0.7844738960266113 list photo_ids error: [] list photo_ids correct : [-3710256220, -3710256235, -3710256283, -3710256311, -3710256315, -3710256339, -3710256360, -3710256365, -3710256226, -3710256221, -3710256242, -3710256330, -3710256334, -3710256355, -3710256369, -3710256280, -3710256309, -3710256293, -3710256305, -3710256310, -3710256294, -3710256302, -3710256301, -3710256321, -3710256328, -3710256229, -3710256255, -3710256246, -3710256260, -3710256262, -3710256281, -3710256284, -3710256304, -3710256308, -3710256307, -3710256314, -3710256323, -3710256331, -3710256332, -3710256346, -3710256363, -3710256320, -3710256371, -3710256368, -3710256252, -3710256313, -3710256329, -3710256324, -3710256322, -3710256317, -3710256318, -3710256337, -3710256335, -3710256340, -3710256351, -3710256237, -3710256239, -3710256243, -3710256241, -3710256244, -3710256238, -3710256253, -3710256259, -3710256249, -3710256257, -3710256271, -3710256277, -3710256276, -3710256263, -3710256265, -3710256268, -3710256282, -3710256286, -3710256287, -3710256285, -3710256344, -3710256345, -3710256350, -3710256348, -3710256352, -3710256372, -3710256357, -3710256364, -3710256361, -3710256358, -3710256248, -3710256270, -3710256290, -3710256306, -3710256297, -3710256366, -3710256223, -3710256227, -3710256228, -3710256240] number of photos to traite : 95 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 thcls : [{'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'}] thcl {'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'} Update svm_hashtag_type_desc : 4999 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) To loadFromThcl() : net_4999 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 8832 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 : 8229 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.3902063369750977 time used to do the prediction : 0.2951655387878418 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 : 5111 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 : 4997 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.3394594192504883 time used to do the prediction : 0.18953752517700195 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 : 2.1457672119140625e-05 save missing photos in datou_result : time spend for datou_step_exec : 11.713350534439087 time spend to save output : 0.0007081031799316406 total time spend for step 3 : 11.714058637619019 step4:merge_mask_thcl_custom Thu Mar 13 19:52:49 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 155 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 [1343638578, 1343638562, 1343638132, 1343638074, 1343638027, 1343637988, 1343637944, 1343637649, 1343636707, 1343636644] Looping around the photos to save general results len do output : 10 /1343638578Didn't retrieve data .Didn't retrieve data . /1343638562Didn't retrieve data .Didn't retrieve data . /1343638132Didn't retrieve data .Didn't retrieve data . /1343638074Didn't retrieve data .Didn't retrieve data . /1343638027Didn't retrieve data .Didn't retrieve data . /1343637988Didn't retrieve data .Didn't retrieve data . /1343637944Didn't retrieve data .Didn't retrieve data . /1343637649Didn't retrieve data .Didn't retrieve data . /1343636707Didn't retrieve data .Didn't retrieve data . /1343636644Didn'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, '2666455') ('3459', '21390193', '1343638578', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638562', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638132', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638074', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638027', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637988', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637944', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637649', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343636707', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343636644', None, None, None, None, None, '2666455') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.023548126220703125 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06508779525756836 time spend to save output : 0.02412128448486328 total time spend for step 4 : 0.08920907974243164 step5:rle_unique_nms_with_priority Thu Mar 13 19:52:49 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 8 nb_hashtags : 5 time to prepare the origin masks : 9.929908990859985 time for calcul the mask position with numpy : 0.3686978816986084 nb_pixel_total : 3621748 time to create 1 rle with new method : 0.38436460494995117 time for calcul the mask position with numpy : 0.024394512176513672 nb_pixel_total : 4678 time to create 1 rle with old method : 0.006217241287231445 time for calcul the mask position with numpy : 0.024262189865112305 nb_pixel_total : 31905 time to create 1 rle with old method : 0.036719322204589844 time for calcul the mask position with numpy : 0.025815248489379883 nb_pixel_total : 132498 time to create 1 rle with old method : 0.15569686889648438 time for calcul the mask position with numpy : 0.026867151260375977 nb_pixel_total : 207266 time to create 1 rle with new method : 0.4899172782897949 time for calcul the mask position with numpy : 0.03700733184814453 nb_pixel_total : 39466 time to create 1 rle with old method : 0.04879570007324219 time for calcul the mask position with numpy : 0.038826942443847656 nb_pixel_total : 1466 time to create 1 rle with old method : 0.002325773239135742 time for calcul the mask position with numpy : 0.16611361503601074 nb_pixel_total : 2973999 time to create 1 rle with new method : 0.42537927627563477 time for calcul the mask position with numpy : 0.03664350509643555 nb_pixel_total : 37214 time to create 1 rle with old method : 0.05811429023742676 create new chi : 2.4675517082214355 time to delete rle : 0.015985727310180664 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 11837 TO DO : save crop sub photo not yet done ! save time : 2.9281511306762695 nb_obj : 16 nb_hashtags : 4 time to prepare the origin masks : 12.59389352798462 time for calcul the mask position with numpy : 0.6232202053070068 nb_pixel_total : 5561522 time to create 1 rle with new method : 0.7836418151855469 time for calcul the mask position with numpy : 0.02442646026611328 nb_pixel_total : 3461 time to create 1 rle with old method : 0.0068013668060302734 time for calcul the mask position with numpy : 0.025779008865356445 nb_pixel_total : 50090 time to create 1 rle with old method : 0.06593203544616699 time for calcul the mask position with numpy : 0.023754358291625977 nb_pixel_total : 7285 time to create 1 rle with old method : 0.008821249008178711 time for calcul the mask position with numpy : 0.021899700164794922 nb_pixel_total : 2162 time to create 1 rle with old method : 0.0025420188903808594 time for calcul the mask position with numpy : 0.023952722549438477 nb_pixel_total : 35111 time to create 1 rle with old method : 0.04627084732055664 time for calcul the mask position with numpy : 0.0249478816986084 nb_pixel_total : 134994 time to create 1 rle with old method : 0.1519153118133545 time for calcul the mask position with numpy : 0.02142930030822754 nb_pixel_total : 98567 time to create 1 rle with old method : 0.1122736930847168 time for calcul the mask position with numpy : 0.02501058578491211 nb_pixel_total : 236262 time to create 1 rle with new method : 0.9165768623352051 time for calcul the mask position with numpy : 0.03543257713317871 nb_pixel_total : 6247 time to create 1 rle with old method : 0.007346391677856445 time for calcul the mask position with numpy : 0.043279409408569336 nb_pixel_total : 693667 time to create 1 rle with new method : 0.5832288265228271 time for calcul the mask position with numpy : 0.03710222244262695 nb_pixel_total : 1277 time to create 1 rle with old method : 0.0015833377838134766 time for calcul the mask position with numpy : 0.03747153282165527 nb_pixel_total : 24540 time to create 1 rle with old method : 0.02799844741821289 time for calcul the mask position with numpy : 0.03923630714416504 nb_pixel_total : 71954 time to create 1 rle with old method : 0.10067868232727051 time for calcul the mask position with numpy : 0.03674745559692383 nb_pixel_total : 4083 time to create 1 rle with old method : 0.006691932678222656 time for calcul the mask position with numpy : 0.03934025764465332 nb_pixel_total : 69613 time to create 1 rle with old method : 0.0854804515838623 time for calcul the mask position with numpy : 0.03852224349975586 nb_pixel_total : 49405 time to create 1 rle with old method : 0.06014728546142578 create new chi : 4.194830417633057 time to delete rle : 0.0020780563354492188 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 14129 TO DO : save crop sub photo not yet done ! save time : 2.255514621734619 nb_obj : 13 nb_hashtags : 4 time to prepare the origin masks : 9.560222148895264 time for calcul the mask position with numpy : 0.5667197704315186 nb_pixel_total : 6482986 time to create 1 rle with new method : 1.1353230476379395 time for calcul the mask position with numpy : 0.047376155853271484 nb_pixel_total : 38486 time to create 1 rle with old method : 0.04740738868713379 time for calcul the mask position with numpy : 0.04831409454345703 nb_pixel_total : 33180 time to create 1 rle with old method : 0.05159497261047363 time for calcul the mask position with numpy : 0.041957855224609375 nb_pixel_total : 15350 time to create 1 rle with old method : 0.01858997344970703 time for calcul the mask position with numpy : 0.04047894477844238 nb_pixel_total : 5009 time to create 1 rle with old method : 0.006642818450927734 time for calcul the mask position with numpy : 0.04418325424194336 nb_pixel_total : 1567 time to create 1 rle with old method : 0.0027022361755371094 time for calcul the mask position with numpy : 0.05051708221435547 nb_pixel_total : 8117 time to create 1 rle with old method : 0.011708498001098633 time for calcul the mask position with numpy : 0.044089317321777344 nb_pixel_total : 4233 time to create 1 rle with old method : 0.005185365676879883 time for calcul the mask position with numpy : 0.04682183265686035 nb_pixel_total : 131353 time to create 1 rle with old method : 0.1509571075439453 time for calcul the mask position with numpy : 0.04451274871826172 nb_pixel_total : 2857 time to create 1 rle with old method : 0.0034668445587158203 time for calcul the mask position with numpy : 0.04465150833129883 nb_pixel_total : 23291 time to create 1 rle with old method : 0.030102014541625977 time for calcul the mask position with numpy : 0.0408022403717041 nb_pixel_total : 148374 time to create 1 rle with old method : 0.15528035163879395 time for calcul the mask position with numpy : 0.03878378868103027 nb_pixel_total : 98039 time to create 1 rle with old method : 0.11129093170166016 time for calcul the mask position with numpy : 0.040898799896240234 nb_pixel_total : 57398 time to create 1 rle with old method : 0.06389617919921875 create new chi : 2.9826745986938477 time to delete rle : 0.0014185905456542969 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 7906 TO DO : save crop sub photo not yet done ! save time : 0.6886937618255615 nb_obj : 16 nb_hashtags : 5 time to prepare the origin masks : 12.33586859703064 time for calcul the mask position with numpy : 0.2960686683654785 nb_pixel_total : 6673662 time to create 1 rle with new method : 0.624547004699707 time for calcul the mask position with numpy : 0.04345893859863281 nb_pixel_total : 39658 time to create 1 rle with old method : 0.051612138748168945 time for calcul the mask position with numpy : 0.03716278076171875 nb_pixel_total : 30632 time to create 1 rle with old method : 0.036190032958984375 time for calcul the mask position with numpy : 0.03969907760620117 nb_pixel_total : 4020 time to create 1 rle with old method : 0.0052907466888427734 time for calcul the mask position with numpy : 0.0386357307434082 nb_pixel_total : 94292 time to create 1 rle with old method : 0.1219182014465332 time for calcul the mask position with numpy : 0.04143786430358887 nb_pixel_total : 2345 time to create 1 rle with old method : 0.003978729248046875 time for calcul the mask position with numpy : 0.041239261627197266 nb_pixel_total : 1909 time to create 1 rle with old method : 0.0022902488708496094 time for calcul the mask position with numpy : 0.03734612464904785 nb_pixel_total : 27490 time to create 1 rle with old method : 0.03491377830505371 time for calcul the mask position with numpy : 0.03689169883728027 nb_pixel_total : 13046 time to create 1 rle with old method : 0.01588273048400879 time for calcul the mask position with numpy : 0.037192583084106445 nb_pixel_total : 1414 time to create 1 rle with old method : 0.0017848014831542969 time for calcul the mask position with numpy : 0.04050946235656738 nb_pixel_total : 65968 time to create 1 rle with old method : 0.1462419033050537 time for calcul the mask position with numpy : 0.06289553642272949 nb_pixel_total : 11911 time to create 1 rle with old method : 0.017848491668701172 time for calcul the mask position with numpy : 0.03680562973022461 nb_pixel_total : 19617 time to create 1 rle with old method : 0.02294611930847168 time for calcul the mask position with numpy : 0.036246299743652344 nb_pixel_total : 987 time to create 1 rle with old method : 0.0012049674987792969 time for calcul the mask position with numpy : 0.038675546646118164 nb_pixel_total : 24692 time to create 1 rle with old method : 0.028368711471557617 time for calcul the mask position with numpy : 0.038773536682128906 nb_pixel_total : 35988 time to create 1 rle with old method : 0.044838666915893555 time for calcul the mask position with numpy : 0.039743661880493164 nb_pixel_total : 2609 time to create 1 rle with old method : 0.003521442413330078 create new chi : 2.158372163772583 time to delete rle : 0.0011584758758544922 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 8446 TO DO : save crop sub photo not yet done ! save time : 0.6059248447418213 nb_obj : 13 nb_hashtags : 5 time to prepare the origin masks : 7.6186137199401855 time for calcul the mask position with numpy : 0.4966135025024414 nb_pixel_total : 6295458 time to create 1 rle with new method : 2.4248361587524414 time for calcul the mask position with numpy : 0.03854846954345703 nb_pixel_total : 194104 time to create 1 rle with new method : 0.535151481628418 time for calcul the mask position with numpy : 0.04487323760986328 nb_pixel_total : 283914 time to create 1 rle with new method : 0.5014207363128662 time for calcul the mask position with numpy : 0.03490304946899414 nb_pixel_total : 47720 time to create 1 rle with old method : 0.05177927017211914 time for calcul the mask position with numpy : 0.03521895408630371 nb_pixel_total : 2699 time to create 1 rle with old method : 0.0029675960540771484 time for calcul the mask position with numpy : 0.033408403396606445 nb_pixel_total : 531 time to create 1 rle with old method : 0.0006380081176757812 time for calcul the mask position with numpy : 0.035959482192993164 nb_pixel_total : 31204 time to create 1 rle with old method : 0.03395485877990723 time for calcul the mask position with numpy : 0.03300809860229492 nb_pixel_total : 100 time to create 1 rle with old method : 0.00017547607421875 time for calcul the mask position with numpy : 0.030986785888671875 nb_pixel_total : 38343 time to create 1 rle with old method : 0.04270124435424805 time for calcul the mask position with numpy : 0.02741527557373047 nb_pixel_total : 80042 time to create 1 rle with old method : 0.08587503433227539 time for calcul the mask position with numpy : 0.027122020721435547 nb_pixel_total : 7305 time to create 1 rle with old method : 0.008148670196533203 time for calcul the mask position with numpy : 0.030174732208251953 nb_pixel_total : 10904 time to create 1 rle with old method : 0.011883735656738281 time for calcul the mask position with numpy : 0.027683258056640625 nb_pixel_total : 6128 time to create 1 rle with old method : 0.00707697868347168 time for calcul the mask position with numpy : 0.03195953369140625 nb_pixel_total : 51788 time to create 1 rle with old method : 0.05824756622314453 create new chi : 4.789633750915527 time to delete rle : 0.0011239051818847656 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 8505 TO DO : save crop sub photo not yet done ! save time : 0.5184063911437988 nb_obj : 21 nb_hashtags : 5 time to prepare the origin masks : 10.275776863098145 time for calcul the mask position with numpy : 0.7679016590118408 nb_pixel_total : 6169705 time to create 1 rle with new method : 0.6090984344482422 time for calcul the mask position with numpy : 0.03448367118835449 nb_pixel_total : 18280 time to create 1 rle with old method : 0.020493268966674805 time for calcul the mask position with numpy : 0.03427410125732422 nb_pixel_total : 23828 time to create 1 rle with old method : 0.027715682983398438 time for calcul the mask position with numpy : 0.03486990928649902 nb_pixel_total : 219891 time to create 1 rle with new method : 0.320772647857666 time for calcul the mask position with numpy : 0.032712459564208984 nb_pixel_total : 51181 time to create 1 rle with old method : 0.059195518493652344 time for calcul the mask position with numpy : 0.029924869537353516 nb_pixel_total : 4183 time to create 1 rle with old method : 0.0045719146728515625 time for calcul the mask position with numpy : 0.025371551513671875 nb_pixel_total : 17490 time to create 1 rle with old method : 0.019482851028442383 time for calcul the mask position with numpy : 0.021982431411743164 nb_pixel_total : 48438 time to create 1 rle with old method : 0.056856393814086914 time for calcul the mask position with numpy : 0.02092885971069336 nb_pixel_total : 3896 time to create 1 rle with old method : 0.004332542419433594 time for calcul the mask position with numpy : 0.022211790084838867 nb_pixel_total : 17366 time to create 1 rle with old method : 0.018919944763183594 time for calcul the mask position with numpy : 0.021615266799926758 nb_pixel_total : 8599 time to create 1 rle with old method : 0.010911226272583008 time for calcul the mask position with numpy : 0.02329087257385254 nb_pixel_total : 9993 time to create 1 rle with old method : 0.011624336242675781 time for calcul the mask position with numpy : 0.022984981536865234 nb_pixel_total : 5105 time to create 1 rle with old method : 0.005944252014160156 time for calcul the mask position with numpy : 0.021503210067749023 nb_pixel_total : 26017 time to create 1 rle with old method : 0.04707217216491699 time for calcul the mask position with numpy : 0.024431467056274414 nb_pixel_total : 96308 time to create 1 rle with old method : 0.10941147804260254 time for calcul the mask position with numpy : 0.023348331451416016 nb_pixel_total : 5455 time to create 1 rle with old method : 0.006697416305541992 time for calcul the mask position with numpy : 0.026450157165527344 nb_pixel_total : 205598 time to create 1 rle with new method : 0.3836841583251953 time for calcul the mask position with numpy : 0.02300119400024414 nb_pixel_total : 4895 time to create 1 rle with old method : 0.005852460861206055 time for calcul the mask position with numpy : 0.02361774444580078 nb_pixel_total : 55962 time to create 1 rle with old method : 0.06588864326477051 time for calcul the mask position with numpy : 0.03184986114501953 nb_pixel_total : 4197 time to create 1 rle with old method : 0.004825115203857422 time for calcul the mask position with numpy : 0.03550434112548828 nb_pixel_total : 24462 time to create 1 rle with old method : 0.02773141860961914 time for calcul the mask position with numpy : 0.03551054000854492 nb_pixel_total : 29391 time to create 1 rle with old method : 0.03462409973144531 create new chi : 3.281613349914551 time to delete rle : 0.0014414787292480469 batch 1 Loaded 22 chid ids of type : 3726 Number RLEs to save : 14756 TO DO : save crop sub photo not yet done ! save time : 0.8586194515228271 nb_obj : 17 nb_hashtags : 7 time to prepare the origin masks : 12.939730405807495 time for calcul the mask position with numpy : 0.5678665637969971 nb_pixel_total : 6154333 time to create 1 rle with new method : 0.6490335464477539 time for calcul the mask position with numpy : 0.041510581970214844 nb_pixel_total : 72260 time to create 1 rle with old method : 0.08131289482116699 time for calcul the mask position with numpy : 0.043039798736572266 nb_pixel_total : 35278 time to create 1 rle with old method : 0.0393071174621582 time for calcul the mask position with numpy : 0.0407404899597168 nb_pixel_total : 45975 time to create 1 rle with old method : 0.051099300384521484 time for calcul the mask position with numpy : 0.04182696342468262 nb_pixel_total : 959 time to create 1 rle with old method : 0.0013625621795654297 time for calcul the mask position with numpy : 0.04695463180541992 nb_pixel_total : 32646 time to create 1 rle with old method : 0.05774426460266113 time for calcul the mask position with numpy : 0.045746564865112305 nb_pixel_total : 12826 time to create 1 rle with old method : 0.015084028244018555 time for calcul the mask position with numpy : 0.04086756706237793 nb_pixel_total : 52818 time to create 1 rle with old method : 0.06171369552612305 time for calcul the mask position with numpy : 0.04370737075805664 nb_pixel_total : 29576 time to create 1 rle with old method : 0.03851056098937988 time for calcul the mask position with numpy : 0.047606706619262695 nb_pixel_total : 335099 time to create 1 rle with new method : 0.6562280654907227 time for calcul the mask position with numpy : 0.03471636772155762 nb_pixel_total : 34667 time to create 1 rle with old method : 0.039186954498291016 time for calcul the mask position with numpy : 0.03451251983642578 nb_pixel_total : 28606 time to create 1 rle with old method : 0.03242135047912598 time for calcul the mask position with numpy : 0.027385950088500977 nb_pixel_total : 2260 time to create 1 rle with old method : 0.0027208328247070312 time for calcul the mask position with numpy : 0.02180171012878418 nb_pixel_total : 13430 time to create 1 rle with old method : 0.015148401260375977 time for calcul the mask position with numpy : 0.021138668060302734 nb_pixel_total : 9774 time to create 1 rle with old method : 0.010942935943603516 time for calcul the mask position with numpy : 0.021022319793701172 nb_pixel_total : 59465 time to create 1 rle with old method : 0.0761709213256836 time for calcul the mask position with numpy : 0.02437877655029297 nb_pixel_total : 105065 time to create 1 rle with old method : 0.1280817985534668 time for calcul the mask position with numpy : 0.023115873336791992 nb_pixel_total : 25203 time to create 1 rle with old method : 0.036417245864868164 create new chi : 3.228965997695923 time to delete rle : 0.0013191699981689453 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 13604 TO DO : save crop sub photo not yet done ! save time : 6.258572340011597 nb_obj : 12 nb_hashtags : 5 time to prepare the origin masks : 8.464973211288452 time for calcul the mask position with numpy : 0.2911098003387451 nb_pixel_total : 3111490 time to create 1 rle with new method : 0.6212289333343506 time for calcul the mask position with numpy : 0.0389561653137207 nb_pixel_total : 2575 time to create 1 rle with old method : 0.002886533737182617 time for calcul the mask position with numpy : 0.02262401580810547 nb_pixel_total : 1517 time to create 1 rle with old method : 0.0022199153900146484 time for calcul the mask position with numpy : 0.023494482040405273 nb_pixel_total : 69451 time to create 1 rle with old method : 0.0802156925201416 time for calcul the mask position with numpy : 0.023501157760620117 nb_pixel_total : 48955 time to create 1 rle with old method : 0.05539250373840332 time for calcul the mask position with numpy : 0.023921489715576172 nb_pixel_total : 119398 time to create 1 rle with old method : 0.13475751876831055 time for calcul the mask position with numpy : 0.024235248565673828 nb_pixel_total : 6014 time to create 1 rle with old method : 0.0073816776275634766 time for calcul the mask position with numpy : 0.024833202362060547 nb_pixel_total : 26389 time to create 1 rle with old method : 0.030048847198486328 time for calcul the mask position with numpy : 0.03464221954345703 nb_pixel_total : 469311 time to create 1 rle with new method : 0.5689728260040283 time for calcul the mask position with numpy : 0.0430302619934082 nb_pixel_total : 31314 time to create 1 rle with old method : 0.036681175231933594 time for calcul the mask position with numpy : 0.04376506805419922 nb_pixel_total : 147983 time to create 1 rle with old method : 0.1695547103881836 time for calcul the mask position with numpy : 0.04157519340515137 nb_pixel_total : 162402 time to create 1 rle with new method : 0.7409439086914062 time for calcul the mask position with numpy : 0.1363680362701416 nb_pixel_total : 2853441 time to create 1 rle with new method : 0.47589898109436035 create new chi : 3.8393356800079346 time to delete rle : 0.0023474693298339844 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 18045 TO DO : save crop sub photo not yet done ! save time : 1.0334725379943848 nb_obj : 10 nb_hashtags : 6 time to prepare the origin masks : 10.533504247665405 time for calcul the mask position with numpy : 0.2407093048095703 nb_pixel_total : 2969077 time to create 1 rle with new method : 0.3372306823730469 time for calcul the mask position with numpy : 0.023356914520263672 nb_pixel_total : 244255 time to create 1 rle with new method : 0.5256860256195068 time for calcul the mask position with numpy : 0.035140275955200195 nb_pixel_total : 17706 time to create 1 rle with old method : 0.0214693546295166 time for calcul the mask position with numpy : 0.04156661033630371 nb_pixel_total : 49646 time to create 1 rle with old method : 0.0656898021697998 time for calcul the mask position with numpy : 0.04370403289794922 nb_pixel_total : 5181 time to create 1 rle with old method : 0.006969928741455078 time for calcul the mask position with numpy : 0.04365825653076172 nb_pixel_total : 274059 time to create 1 rle with new method : 0.7570464611053467 time for calcul the mask position with numpy : 0.03464698791503906 nb_pixel_total : 7557 time to create 1 rle with old method : 0.010589838027954102 time for calcul the mask position with numpy : 0.03365921974182129 nb_pixel_total : 10167 time to create 1 rle with old method : 0.012871265411376953 time for calcul the mask position with numpy : 0.02229762077331543 nb_pixel_total : 68737 time to create 1 rle with old method : 0.0779256820678711 time for calcul the mask position with numpy : 0.02549147605895996 nb_pixel_total : 6155 time to create 1 rle with old method : 0.00788736343383789 time for calcul the mask position with numpy : 0.26754164695739746 nb_pixel_total : 3397700 time to create 1 rle with new method : 1.0382208824157715 create new chi : 3.7825002670288086 time to delete rle : 0.001497030258178711 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 13082 TO DO : save crop sub photo not yet done ! save time : 1.0798802375793457 nb_obj : 21 nb_hashtags : 7 time to prepare the origin masks : 12.544970750808716 time for calcul the mask position with numpy : 0.609548807144165 nb_pixel_total : 6099979 time to create 1 rle with new method : 0.6764676570892334 time for calcul the mask position with numpy : 0.02261066436767578 nb_pixel_total : 57731 time to create 1 rle with old method : 0.06674718856811523 time for calcul the mask position with numpy : 0.021471261978149414 nb_pixel_total : 5790 time to create 1 rle with old method : 0.007081270217895508 time for calcul the mask position with numpy : 0.03632760047912598 nb_pixel_total : 71485 time to create 1 rle with old method : 0.08654022216796875 time for calcul the mask position with numpy : 0.03887176513671875 nb_pixel_total : 12588 time to create 1 rle with old method : 0.014903545379638672 time for calcul the mask position with numpy : 0.04053068161010742 nb_pixel_total : 12531 time to create 1 rle with old method : 0.014320135116577148 time for calcul the mask position with numpy : 0.03966856002807617 nb_pixel_total : 1199 time to create 1 rle with old method : 0.0014719963073730469 time for calcul the mask position with numpy : 0.03653860092163086 nb_pixel_total : 1572 time to create 1 rle with old method : 0.0019567012786865234 time for calcul the mask position with numpy : 0.03655076026916504 nb_pixel_total : 11725 time to create 1 rle with old method : 0.014703035354614258 time for calcul the mask position with numpy : 0.03595423698425293 nb_pixel_total : 15833 time to create 1 rle with old method : 0.01911330223083496 time for calcul the mask position with numpy : 0.034677982330322266 nb_pixel_total : 33952 time to create 1 rle with old method : 0.0399630069732666 time for calcul the mask position with numpy : 0.022023439407348633 nb_pixel_total : 19452 time to create 1 rle with old method : 0.022588729858398438 time for calcul the mask position with numpy : 0.024251222610473633 nb_pixel_total : 97832 time to create 1 rle with old method : 0.11143636703491211 time for calcul the mask position with numpy : 0.02224445343017578 nb_pixel_total : 16009 time to create 1 rle with old method : 0.018584012985229492 time for calcul the mask position with numpy : 0.022025108337402344 nb_pixel_total : 2765 time to create 1 rle with old method : 0.0034606456756591797 time for calcul the mask position with numpy : 0.024231910705566406 nb_pixel_total : 41876 time to create 1 rle with old method : 0.04833078384399414 time for calcul the mask position with numpy : 0.023318767547607422 nb_pixel_total : 6893 time to create 1 rle with old method : 0.007909059524536133 time for calcul the mask position with numpy : 0.023648500442504883 nb_pixel_total : 147610 time to create 1 rle with old method : 0.1734158992767334 time for calcul the mask position with numpy : 0.024252891540527344 nb_pixel_total : 36984 time to create 1 rle with old method : 0.05980968475341797 time for calcul the mask position with numpy : 0.024007558822631836 nb_pixel_total : 1744 time to create 1 rle with old method : 0.002048969268798828 time for calcul the mask position with numpy : 0.023267269134521484 nb_pixel_total : 152344 time to create 1 rle with new method : 1.0302515029907227 time for calcul the mask position with numpy : 0.024175167083740234 nb_pixel_total : 202346 time to create 1 rle with new method : 0.7976381778717041 create new chi : 4.525619268417358 time to delete rle : 0.0022089481353759766 batch 1 Loaded 22 chid ids of type : 3726 Number RLEs to save : 13438 TO DO : save crop sub photo not yet done ! save time : 1.0879440307617188 map_output_result : {1343638578: (0.0, 'Should be the crop_list due to order', 0), 1343638562: (0.0, 'Should be the crop_list due to order', 0), 1343638132: (0.0, 'Should be the crop_list due to order', 0), 1343638074: (0.0, 'Should be the crop_list due to order', 0), 1343638027: (0.0, 'Should be the crop_list due to order', 0), 1343637988: (0.0, 'Should be the crop_list due to order', 0), 1343637944: (0.0, 'Should be the crop_list due to order', 0), 1343637649: (0.0, 'Should be the crop_list due to order', 0), 1343636707: (0.0, 'Should be the crop_list due to order', 0), 1343636644: (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 [1343638578, 1343638562, 1343638132, 1343638074, 1343638027, 1343637988, 1343637944, 1343637649, 1343636707, 1343636644] Looping around the photos to save general results len do output : 10 /1343638578.Didn't retrieve data . /1343638562.Didn't retrieve data . /1343638132.Didn't retrieve data . /1343638074.Didn't retrieve data . /1343638027.Didn't retrieve data . /1343637988.Didn't retrieve data . /1343637944.Didn't retrieve data . /1343637649.Didn't retrieve data . /1343636707.Didn't retrieve data . /1343636644.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, '2666455') ('3459', '21390193', '1343638578', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638562', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638132', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638074', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638027', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637988', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637944', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637649', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343636707', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343636644', None, None, None, None, None, '2666455') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013399839401245117 save_final save missing photos in datou_result : time spend for datou_step_exec : 163.45815753936768 time spend to save output : 0.020624876022338867 total time spend for step 5 : 163.47878241539001 step6:crop_condition Thu Mar 13 19:55:33 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 157 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 ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 4869462 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741892138_84248 we have uploaded 7 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.6251821517944336 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 4869462 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741892144_84248 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.674222707748413 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/1741892147_84248 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.8437206745147705 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 ! 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/1741892152_84248 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.250565767288208 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 ! 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/1741892155_84248 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.9786717891693115 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! Next one ! Next one ! Next one ! 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/1741892162_84248 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.6264443397521973 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1343638578, 1343638562, 1343638132, 1343638074, 1343638027, 1343637988, 1343637944, 1343637649, 1343636707, 1343636644] Looping around the photos to save general results len do output : 26 /1343883043Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883044Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883047Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883048Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883049Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883051Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883055Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883135Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883136Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883138Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883139Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883140Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883142Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883156Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883158Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883194Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883196Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883197Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883245Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883247Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883248Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883258Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883259Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883260Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883261Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343883262Didn'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, '2666455') ('3459', '21390193', '1343638578', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638562', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638132', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638074', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638027', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637988', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637944', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637649', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343636707', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343636644', None, None, None, None, None, '2666455') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 88 time used for this insertion : 0.031230449676513672 save_final save missing photos in datou_result : time spend for datou_step_exec : 31.590856075286865 time spend to save output : 0.0325772762298584 total time spend for step 6 : 31.623433351516724 step7:ventilate_hashtags_in_portfolio Thu Mar 13 19:56:04 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 : 21390193 get user id for portfolio 21390193 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21390193 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','plastique','metal','Carton_gris','kraft','autre_refus','papier','mal_croppe','cartonnette','environnement','flou','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21390193 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','plastique','metal','Carton_gris','kraft','autre_refus','papier','mal_croppe','cartonnette','environnement','flou','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21390193 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','plastique','metal','Carton_gris','kraft','autre_refus','papier','mal_croppe','cartonnette','environnement','flou','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/21390616,21390617,21390618,21390619,21390620,21390621,21390622,21390623,21390624,21390625,21390626,21390627?tags=Carton_brun,plastique,metal,Carton_gris,kraft,autre_refus,papier,mal_croppe,cartonnette,environnement,flou,Teint_Dans_La_Masse Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1343638578, 1343638562, 1343638132, 1343638074, 1343638027, 1343637988, 1343637944, 1343637649, 1343636707, 1343636644] Looping around the photos to save general results len do output : 1 /21390193. 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, '2666455') ('3459', '21390193', '1343638578', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638562', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638132', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638074', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638027', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637988', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637944', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637649', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343636707', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343636644', None, None, None, None, None, '2666455') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.016013622283935547 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.31942343711853 time spend to save output : 0.016251564025878906 total time spend for step 7 : 4.335675001144409 step8:final Thu Mar 13 19:56: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 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 : {1343638578: ('0.08301419090075145',), 1343638562: ('0.08301419090075145',), 1343638132: ('0.08301419090075145',), 1343638074: ('0.08301419090075145',), 1343638027: ('0.08301419090075145',), 1343637988: ('0.08301419090075145',), 1343637944: ('0.08301419090075145',), 1343637649: ('0.08301419090075145',), 1343636707: ('0.08301419090075145',), 1343636644: ('0.08301419090075145',)} new output for save of step final : {1343638578: ('0.08301419090075145',), 1343638562: ('0.08301419090075145',), 1343638132: ('0.08301419090075145',), 1343638074: ('0.08301419090075145',), 1343638027: ('0.08301419090075145',), 1343637988: ('0.08301419090075145',), 1343637944: ('0.08301419090075145',), 1343637649: ('0.08301419090075145',), 1343636707: ('0.08301419090075145',), 1343636644: ('0.08301419090075145',)} [1343638578, 1343638562, 1343638132, 1343638074, 1343638027, 1343637988, 1343637944, 1343637649, 1343636707, 1343636644] Looping around the photos to save general results len do output : 10 /1343638578.Didn't retrieve data . /1343638562.Didn't retrieve data . /1343638132.Didn't retrieve data . /1343638074.Didn't retrieve data . /1343638027.Didn't retrieve data . /1343637988.Didn't retrieve data . /1343637944.Didn't retrieve data . /1343637649.Didn't retrieve data . /1343636707.Didn't retrieve data . /1343636644.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, '2666455') ('3459', '21390193', '1343638578', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638562', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638132', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638074', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638027', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637988', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637944', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637649', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343636707', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343636644', None, None, None, None, None, '2666455') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013621330261230469 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.18824410438537598 time spend to save output : 0.014270305633544922 total time spend for step 8 : 0.2025144100189209 step9:velours_tree Thu Mar 13 19:56: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 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.29003477096557617 time spend to save output : 8.821487426757812e-05 total time spend for step 9 : 0.29012298583984375 step10:send_mail_cod Thu Mar 13 19:56: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_P21390193_13-03-2025_19_56_09.pdf 21390617 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 .imagette213906171741892169 21390618 imagette213906181741892170 21390620 change filename to text .change filename to text .imagette213906201741892170 21390621 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 .imagette213906211741892170 21390623 imagette213906231741892172 21390624 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 .imagette213906241741892172 21390626 imagette213906261741892172 21390616 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 .imagette213906161741892172 21390619 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 .imagette213906191741892174 21390627 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 .imagette213906271741892174 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21390193 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21390616,21390617,21390618,21390619,21390620,21390621,21390622,21390623,21390624,21390625,21390626,21390627?tags=Carton_brun,plastique,metal,Carton_gris,kraft,autre_refus,papier,mal_croppe,cartonnette,environnement,flou,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1343638578] : ('0.08301419090075145',) no score found for photo 1343638578 We are sending mail with results at report@fotonower.com args[1343638562] : ('0.08301419090075145',) no score found for photo 1343638562 We are sending mail with results at report@fotonower.com args[1343638132] : ('0.08301419090075145',) no score found for photo 1343638132 We are sending mail with results at report@fotonower.com args[1343638074] : ('0.08301419090075145',) no score found for photo 1343638074 We are sending mail with results at report@fotonower.com args[1343638027] : ('0.08301419090075145',) no score found for photo 1343638027 We are sending mail with results at report@fotonower.com args[1343637988] : ('0.08301419090075145',) no score found for photo 1343637988 We are sending mail with results at report@fotonower.com args[1343637944] : ('0.08301419090075145',) no score found for photo 1343637944 We are sending mail with results at report@fotonower.com args[1343637649] : ('0.08301419090075145',) no score found for photo 1343637649 We are sending mail with results at report@fotonower.com args[1343636707] : ('0.08301419090075145',) no score found for photo 1343636707 We are sending mail with results at report@fotonower.com args[1343636644] : ('0.08301419090075145',) no score found for photo 1343636644 We are sending mail with results at report@fotonower.com refus_total : 0.08301419090075145 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=21390193 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1343489615,1343489622,1343489642,1343489644,1343489668,1343638562,1343489987,1343490082,1343490108,1343638132,1343638074,1343638027,1343637988,1343637944,1343636644,1343492197,1343492231,1343489602,1343490989,1343636707) Found this number of photos: 20 begin to download photo : 1343489615 begin to download photo : 1343638562 begin to download photo : 1343638074 begin to download photo : 1343492197 download finish for photo 1343638074 begin to download photo : 1343638027 download finish for photo 1343489615 begin to download photo : 1343489622 download finish for photo 1343492197 begin to download photo : 1343492231 download finish for photo 1343638562 begin to download photo : 1343489987 download finish for photo 1343489622 begin to download photo : 1343489642 download finish for photo 1343492231 begin to download photo : 1343489602 download finish for photo 1343489987 begin to download photo : 1343490082 download finish for photo 1343638027 begin to download photo : 1343637988 download finish for photo 1343489642 begin to download photo : 1343489644 download finish for photo 1343489602 begin to download photo : 1343490989 download finish for photo 1343490082 begin to download photo : 1343490108 download finish for photo 1343637988 begin to download photo : 1343637944 download finish for photo 1343489644 begin to download photo : 1343489668 download finish for photo 1343490989 begin to download photo : 1343636707 download finish for photo 1343637944 begin to download photo : 1343636644 download finish for photo 1343490108 begin to download photo : 1343638132 download finish for photo 1343489668 download finish for photo 1343636707 download finish for photo 1343636644 download finish for photo 1343638132 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390193_13-03-2025_19_56_09.pdf results_Auto_P21390193_13-03-2025_19_56_09.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390193_13-03-2025_19_56_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','21390193','results_Auto_P21390193_13-03-2025_19_56_09.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390193_13-03-2025_19_56_09.pdf','pdf','','1.19','0.08301419090075145') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1343638578, 1343638562, 1343638132, 1343638074, 1343638027, 1343637988, 1343637944, 1343637649, 1343636707, 1343636644] 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, '2666455') ('3459', '21390193', '1343638578', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638562', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638132', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638074', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638027', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637988', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637944', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637649', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343636707', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343636644', None, None, None, None, None, '2666455') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.012319803237915039 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.175739288330078 time spend to save output : 0.012664318084716797 total time spend for step 10 : 11.188403606414795 step11:split_time_score Thu Mar 13 19:56:21 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'}] (('17', 25),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 12032025 21390193 Nombre de photos uploadées : 25 / 23040 (0%) 12032025 21390193 Nombre de photos taguées (types de déchets): 0 / 25 (0%) 12032025 21390193 Nombre de photos taguées (volume) : 0 / 25 (0%) elapsed_time : load_data_split_time_score 3.814697265625e-06 elapsed_time : order_list_meta_photo_and_scores 1.621246337890625e-05 ????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0016372203826904297 elapsed_time : insert_dashboard_record_day_entry 0.024066448211669922 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390131 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390150 order by id desc limit 1 Qualite : 0.16239504110969852 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21338186_12-03-2025_13_08_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21338186 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11560 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11567 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11567 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11563 crop_condition is not consistent : 4 used against 2 in the step definition ! Step 11563 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11564 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11564 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11573 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11573 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11566 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11566 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 1 of step 11560 have datatype=2 whereas input 1 of step 11564 have datatype=7 WARNING : type of output 2 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11565 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11567 doesn't seem to be define in the database( WARNING : type of input 3 of step 11563 doesn't seem to be define in the database( WARNING : type of output 3 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11568 doesn't seem to be define in the database( WARNING : type of output 1 of step 11568 doesn't seem to be define in the database( WARNING : type of input 3 of step 11566 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11570 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11569 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11570 doesn't seem to be define in the database( WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11569 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11568 have datatype=10 whereas input 3 of step 11571 have datatype=6 WARNING : type of input 2 of step 11573 doesn't seem to be define in the database( WARNING : output 1 of step 11565 have datatype=7 whereas input 2 of step 11573 have datatype=None WARNING : type of output 3 of step 11573 doesn't seem to be define in the database( WARNING : type of input 3 of step 11568 doesn't seem to be define in the database( WARNING : output 0 of step 11568 have datatype=10 whereas input 0 of step 11587 have datatype=18 WARNING : type of input 5 of step 11571 doesn't seem to be define in the database( WARNING : output 0 of step 11587 have datatype=11 whereas input 5 of step 11571 have datatype=None WARNING : output 0 of step 11564 have datatype=1 whereas input 0 of step 11565 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21338186 AND mptpi.`type`=3327 To do Qualite : 0.26606405168239766 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21338187_12-03-2025_09_14_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21338187 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11548 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11556 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11557 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11552 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11552 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11555 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11555 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11580 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11580 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11551 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11550 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11550 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11559 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11551 doesn't seem to be define in the database( WARNING : type of input 3 of step 11550 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11548 doesn't seem to be define in the database( WARNING : type of input 2 of step 11552 doesn't seem to be define in the database( WARNING : output 1 of step 11548 have datatype=2 whereas input 1 of step 11555 have datatype=7 WARNING : type of output 2 of step 11555 doesn't seem to be define in the database( WARNING : type of input 1 of step 11549 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11551 have datatype=10 whereas input 3 of step 11558 have datatype=6 WARNING : type of input 2 of step 11580 doesn't seem to be define in the database( WARNING : output 1 of step 11549 have datatype=7 whereas input 2 of step 11580 have datatype=None WARNING : type of output 3 of step 11580 doesn't seem to be define in the database( WARNING : type of input 1 of step 11551 doesn't seem to be define in the database( WARNING : output 0 of step 11551 have datatype=10 whereas input 0 of step 11586 have datatype=18 WARNING : type of input 5 of step 11558 doesn't seem to be define in the database( WARNING : output 0 of step 11586 have datatype=11 whereas input 5 of step 11558 have datatype=None WARNING : type of output 1 of step 11556 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : type of output 1 of step 11557 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : output 0 of step 11555 have datatype=1 whereas input 0 of step 11549 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21338187 AND mptpi.`type`=4200 To do Qualite : 0.20764398375090778 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21336808_12-03-2025_17_07_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21336808 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21336808 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21336809_12-03-2025_12_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21336809 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21336810_12-03-2025_08_47_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21336810 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21336811_12-03-2025_08_46_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21336811 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390151 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390165 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390171 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390172 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390173 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390174 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390175 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390176 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390177 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390178 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390179 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390180 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21356680_12-03-2025_16_52_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356680 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21346469_12-03-2025_18_38_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21346469 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21346470_12-03-2025_18_37_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21346470 order by id desc limit 1 Qualite : 0.20055419705176306 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21346477_12-03-2025_23_35_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21346477 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21346477 AND mptpi.`type`=3594 To do Qualite : 0.04909333018945315 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21356682_12-03-2025_23_40_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356682 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21356682 AND mptpi.`type`=4207 To do Qualite : 0.08784513863233476 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21356695_12-03-2025_23_45_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356695 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21356695 AND mptpi.`type`=4207 To do Qualite : 0.08105258336049156 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356696 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11488 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11496 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11497 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11495 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11495 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11575 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11575 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11491 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11490 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11490 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11498 send_mail_cod have less outputs used (0) than in the step definition (1) : some outputs may be not used ! Step 11499 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11491 doesn't seem to be define in the database( WARNING : type of input 3 of step 11490 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11488 doesn't seem to be define in the database( WARNING : type of input 2 of step 11492 doesn't seem to be define in the database( WARNING : output 1 of step 11488 have datatype=2 whereas input 1 of step 11495 have datatype=7 WARNING : type of output 2 of step 11495 doesn't seem to be define in the database( WARNING : type of input 1 of step 11489 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11491 have datatype=10 whereas input 3 of step 11498 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11575 doesn't seem to be define in the database( WARNING : output 1 of step 11489 have datatype=7 whereas input 2 of step 11575 have datatype=None WARNING : type of output 3 of step 11575 doesn't seem to be define in the database( WARNING : type of input 1 of step 11491 doesn't seem to be define in the database( WARNING : output 0 of step 11491 have datatype=10 whereas input 0 of step 11581 have datatype=18 WARNING : type of input 5 of step 11498 doesn't seem to be define in the database( WARNING : output 0 of step 11581 have datatype=11 whereas input 5 of step 11498 have datatype=None WARNING : type of output 1 of step 11496 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : type of output 1 of step 11497 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : output 0 of step 11495 have datatype=1 whereas input 0 of step 11489 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21356696 AND mptpi.`type`=4209 To do Qualite : 0.05966273015252707 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21356697_12-03-2025_16_41_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356697 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21356697 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390181 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390182 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390183 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390184 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390185 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390186 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21356702_12-03-2025_16_52_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356702 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390187 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21356704_12-03-2025_16_41_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356704 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21356706_12-03-2025_16_50_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21356706 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390188 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390189 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390190 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390191 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390192 order by id desc limit 1 Qualite : 0.08301419090075145 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390193_13-03-2025_19_56_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390193 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21390193 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390194 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390195 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390196 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390197 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21363862_12-03-2025_19_03_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21363862 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21364970 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390198 order by id desc limit 1 Qualite : 0.04481725503689865 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21390199_13-03-2025_19_52_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390199 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21390199 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390200 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390201 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390202 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21390203 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'12032025': {'nb_upload': 25, '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 [1343638578, 1343638562, 1343638132, 1343638074, 1343638027, 1343637988, 1343637944, 1343637649, 1343636707, 1343636644] Looping around the photos to save general results len do output : 1 /21390193Didn'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, '2666455') ('3459', '21390193', '1343638578', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638562', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638132', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638074', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343638027', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637988', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637944', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343637649', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343636707', None, None, None, None, None, '2666455') ('3459', None, None, None, None, None, None, None, '2666455') ('3459', '21390193', '1343636644', None, None, None, None, None, '2666455') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.014547348022460938 save_final save missing photos in datou_result : time spend for datou_step_exec : 34.708781719207764 time spend to save output : 0.014905929565429688 total time spend for step 11 : 34.72368764877319 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 157.78user 159.03system 6:32.95elapsed 80%CPU (0avgtext+0avgdata 3945400maxresident)k 927736inputs+136392outputs (22035major+15169952minor)pagefaults 0swaps