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 : 4000483 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 : 29>10 please execute split_portfolio.py -i 21385564 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2666175'] with mtr_portfolio_ids : ['21385564'] and first list_photo_ids : [] new path : /proc/4000483/ 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 ! BFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 time to download the photos : 1.9805066585540771 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 18:24:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 2518 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-13 18:24:33.258882: 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 18:24:33.291123: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-13 18:24:33.293389: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f2dd8000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-13 18:24:33.293453: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-13 18:24:33.297565: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-13 18:24:33.552034: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x4c8b2e0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-13 18:24:33.552086: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-13 18:24:33.552924: 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 18:24:33.553279: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-13 18:24:33.555797: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-13 18:24:33.560205: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-13 18:24:33.560630: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-13 18:24:33.567907: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-13 18:24:33.570232: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-13 18:24:33.580703: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-13 18:24:33.581847: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-13 18:24:33.581946: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-13 18:24:33.582492: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-13 18:24:33.582508: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-13 18:24:33.582517: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-13 18:24:33.583402: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2064 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 18:24:33.900366: 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 18:24:33.900509: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-13 18:24:33.900528: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-13 18:24:33.900545: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-13 18:24:33.900561: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-13 18:24:33.900576: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-13 18:24:33.900591: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-13 18:24:33.900607: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-13 18:24:33.901383: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-13 18:24:33.902563: 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 18:24:33.902603: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-13 18:24:33.902619: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-13 18:24:33.902633: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-13 18:24:33.902647: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-13 18:24:33.902661: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-13 18:24:33.902674: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-13 18:24:33.902688: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-13 18:24:33.903459: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-13 18:24:33.903504: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-13 18:24:33.903513: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-13 18:24:33.903521: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-13 18:24:33.904334: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2064 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 18:24:44.222522: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-13 18:24:44.438930: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-13 18:24:46.034286: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-13 18:24:46.034353: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-13 18:24:46.041146: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-13 18:24:46.041183: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-13 18:24:46.096250: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-13 18:24:46.096326: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-13 18:24:46.141515: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-13 18:24:46.141573: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-13 18:24:46.194771: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-13 18:24:46.194831: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-13 18:24:46.196610: 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 18:24:46.220470: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.52G (1629356032 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-13 18:24:46.221462: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.37G (1466420480 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 : 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 : 11 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.84718 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 12 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 : 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 : 2 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.05613 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 19 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 29 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 11 Detection mask done ! Trying to reset tf kernel 4001181 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 505 tf kernel not reseted sub process len(results) : 9 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 9 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 : 2960 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.007108449935913086 nb_pixel_total : 337717 time to create 1 rle with new method : 0.015503168106079102 length of segment : 804 time for calcul the mask position with numpy : 0.00035834312438964844 nb_pixel_total : 10077 time to create 1 rle with old method : 0.013356924057006836 length of segment : 96 time for calcul the mask position with numpy : 0.0003216266632080078 nb_pixel_total : 19352 time to create 1 rle with old method : 0.024071931838989258 length of segment : 143 time for calcul the mask position with numpy : 0.00030541419982910156 nb_pixel_total : 18470 time to create 1 rle with old method : 0.02246689796447754 length of segment : 177 time for calcul the mask position with numpy : 0.00023937225341796875 nb_pixel_total : 14643 time to create 1 rle with old method : 0.017564058303833008 length of segment : 105 time for calcul the mask position with numpy : 0.0008687973022460938 nb_pixel_total : 67351 time to create 1 rle with old method : 0.07882237434387207 length of segment : 195 time for calcul the mask position with numpy : 0.00011229515075683594 nb_pixel_total : 3561 time to create 1 rle with old method : 0.0043675899505615234 length of segment : 76 time for calcul the mask position with numpy : 0.0001270771026611328 nb_pixel_total : 6830 time to create 1 rle with old method : 0.008361339569091797 length of segment : 69 time for calcul the mask position with numpy : 0.00196075439453125 nb_pixel_total : 102012 time to create 1 rle with old method : 0.11521530151367188 length of segment : 754 time for calcul the mask position with numpy : 0.0005109310150146484 nb_pixel_total : 22750 time to create 1 rle with old method : 0.026417970657348633 length of segment : 185 time for calcul the mask position with numpy : 0.0015261173248291016 nb_pixel_total : 95751 time to create 1 rle with old method : 0.11194300651550293 length of segment : 420 time for calcul the mask position with numpy : 0.0027561187744140625 nb_pixel_total : 161449 time to create 1 rle with new method : 0.007706880569458008 length of segment : 617 time for calcul the mask position with numpy : 0.000865936279296875 nb_pixel_total : 59807 time to create 1 rle with old method : 0.07022261619567871 length of segment : 196 time for calcul the mask position with numpy : 0.0002803802490234375 nb_pixel_total : 11299 time to create 1 rle with old method : 0.01472330093383789 length of segment : 136 time for calcul the mask position with numpy : 0.0008859634399414062 nb_pixel_total : 48375 time to create 1 rle with old method : 0.06250762939453125 length of segment : 241 time for calcul the mask position with numpy : 0.001260995864868164 nb_pixel_total : 51137 time to create 1 rle with old method : 0.0632469654083252 length of segment : 494 time for calcul the mask position with numpy : 0.0009257793426513672 nb_pixel_total : 40260 time to create 1 rle with old method : 0.049747467041015625 length of segment : 311 time for calcul the mask position with numpy : 0.000461578369140625 nb_pixel_total : 7649 time to create 1 rle with old method : 0.010094165802001953 length of segment : 111 time for calcul the mask position with numpy : 0.0006098747253417969 nb_pixel_total : 13065 time to create 1 rle with old method : 0.01586771011352539 length of segment : 138 time for calcul the mask position with numpy : 0.00020956993103027344 nb_pixel_total : 1930 time to create 1 rle with old method : 0.0026895999908447266 length of segment : 55 time for calcul the mask position with numpy : 0.0007328987121582031 nb_pixel_total : 43715 time to create 1 rle with old method : 0.05172228813171387 length of segment : 346 time for calcul the mask position with numpy : 0.0003116130828857422 nb_pixel_total : 16424 time to create 1 rle with old method : 0.020014524459838867 length of segment : 174 time for calcul the mask position with numpy : 0.0008561611175537109 nb_pixel_total : 44728 time to create 1 rle with old method : 0.07214069366455078 length of segment : 314 time for calcul the mask position with numpy : 0.00013208389282226562 nb_pixel_total : 2896 time to create 1 rle with old method : 0.003931283950805664 length of segment : 53 time for calcul the mask position with numpy : 0.0010266304016113281 nb_pixel_total : 27606 time to create 1 rle with old method : 0.03792905807495117 length of segment : 420 time for calcul the mask position with numpy : 0.003992319107055664 nb_pixel_total : 78943 time to create 1 rle with old method : 0.09235239028930664 length of segment : 643 time for calcul the mask position with numpy : 0.0018527507781982422 nb_pixel_total : 55875 time to create 1 rle with old method : 0.06422877311706543 length of segment : 329 time for calcul the mask position with numpy : 0.0016894340515136719 nb_pixel_total : 40392 time to create 1 rle with old method : 0.04765677452087402 length of segment : 332 time for calcul the mask position with numpy : 0.010294675827026367 nb_pixel_total : 381682 time to create 1 rle with new method : 0.022608041763305664 length of segment : 1546 time for calcul the mask position with numpy : 0.0035169124603271484 nb_pixel_total : 106195 time to create 1 rle with old method : 0.11957216262817383 length of segment : 515 time for calcul the mask position with numpy : 0.0016820430755615234 nb_pixel_total : 80800 time to create 1 rle with old method : 0.09134340286254883 length of segment : 401 time for calcul the mask position with numpy : 0.014907360076904297 nb_pixel_total : 334445 time to create 1 rle with new method : 0.031109333038330078 length of segment : 1041 time for calcul the mask position with numpy : 0.0026035308837890625 nb_pixel_total : 86553 time to create 1 rle with old method : 0.1034078598022461 length of segment : 413 time for calcul the mask position with numpy : 0.004678964614868164 nb_pixel_total : 76449 time to create 1 rle with old method : 0.08730292320251465 length of segment : 621 time for calcul the mask position with numpy : 1.3845045566558838 nb_pixel_total : 3038223 time to create 1 rle with new method : 0.5635204315185547 length of segment : 3032 time for calcul the mask position with numpy : 0.000568389892578125 nb_pixel_total : 37022 time to create 1 rle with old method : 0.04466843605041504 length of segment : 191 time for calcul the mask position with numpy : 0.014021635055541992 nb_pixel_total : 721125 time to create 1 rle with new method : 0.09529542922973633 length of segment : 1329 time for calcul the mask position with numpy : 0.011008262634277344 nb_pixel_total : 742701 time to create 1 rle with new method : 0.03904008865356445 length of segment : 959 time for calcul the mask position with numpy : 0.0014276504516601562 nb_pixel_total : 101438 time to create 1 rle with old method : 0.12082958221435547 length of segment : 454 time for calcul the mask position with numpy : 0.0016019344329833984 nb_pixel_total : 109175 time to create 1 rle with old method : 0.1212460994720459 length of segment : 558 time for calcul the mask position with numpy : 0.0008153915405273438 nb_pixel_total : 59709 time to create 1 rle with old method : 0.09156656265258789 length of segment : 274 time for calcul the mask position with numpy : 0.3880891799926758 nb_pixel_total : 5031809 time to create 1 rle with new method : 1.0920860767364502 length of segment : 3608 time for calcul the mask position with numpy : 0.0007207393646240234 nb_pixel_total : 30735 time to create 1 rle with old method : 0.03444218635559082 length of segment : 333 time for calcul the mask position with numpy : 0.0002620220184326172 nb_pixel_total : 4664 time to create 1 rle with old method : 0.006074428558349609 length of segment : 83 time for calcul the mask position with numpy : 0.038483381271362305 nb_pixel_total : 1077005 time to create 1 rle with new method : 0.22800707817077637 length of segment : 1994 time for calcul the mask position with numpy : 0.017689228057861328 nb_pixel_total : 904385 time to create 1 rle with new method : 0.085479736328125 length of segment : 1047 time for calcul the mask position with numpy : 0.00010228157043457031 nb_pixel_total : 1426 time to create 1 rle with old method : 0.0019769668579101562 length of segment : 38 time for calcul the mask position with numpy : 0.0004286766052246094 nb_pixel_total : 10567 time to create 1 rle with old method : 0.012296915054321289 length of segment : 202 time for calcul the mask position with numpy : 0.001058816909790039 nb_pixel_total : 30200 time to create 1 rle with old method : 0.03781628608703613 length of segment : 185 time for calcul the mask position with numpy : 0.000171661376953125 nb_pixel_total : 2053 time to create 1 rle with old method : 0.0025632381439208984 length of segment : 57 time for calcul the mask position with numpy : 0.006646394729614258 nb_pixel_total : 301472 time to create 1 rle with new method : 0.013232946395874023 length of segment : 1141 time for calcul the mask position with numpy : 0.002263784408569336 nb_pixel_total : 83738 time to create 1 rle with old method : 0.09592723846435547 length of segment : 463 time for calcul the mask position with numpy : 0.0009429454803466797 nb_pixel_total : 22478 time to create 1 rle with old method : 0.03053760528564453 length of segment : 238 time for calcul the mask position with numpy : 0.0005517005920410156 nb_pixel_total : 10441 time to create 1 rle with old method : 0.012706756591796875 length of segment : 99 time for calcul the mask position with numpy : 0.03838992118835449 nb_pixel_total : 1187445 time to create 1 rle with new method : 0.3976566791534424 length of segment : 1872 time for calcul the mask position with numpy : 0.000331878662109375 nb_pixel_total : 5339 time to create 1 rle with old method : 0.006644010543823242 length of segment : 90 time for calcul the mask position with numpy : 0.0027313232421875 nb_pixel_total : 133308 time to create 1 rle with old method : 0.1674211025238037 length of segment : 384 time for calcul the mask position with numpy : 0.008359670639038086 nb_pixel_total : 226766 time to create 1 rle with new method : 0.015275001525878906 length of segment : 1123 time for calcul the mask position with numpy : 0.008704900741577148 nb_pixel_total : 365809 time to create 1 rle with new method : 0.025361061096191406 length of segment : 1283 time for calcul the mask position with numpy : 0.0024619102478027344 nb_pixel_total : 99433 time to create 1 rle with old method : 0.11541604995727539 length of segment : 419 time for calcul the mask position with numpy : 0.0031092166900634766 nb_pixel_total : 137849 time to create 1 rle with old method : 0.15808987617492676 length of segment : 571 time for calcul the mask position with numpy : 0.0002989768981933594 nb_pixel_total : 3076 time to create 1 rle with old method : 0.005145549774169922 length of segment : 51 time for calcul the mask position with numpy : 0.0006787776947021484 nb_pixel_total : 41252 time to create 1 rle with old method : 0.051790714263916016 length of segment : 174 time for calcul the mask position with numpy : 0.006406545639038086 nb_pixel_total : 335047 time to create 1 rle with new method : 0.0224459171295166 length of segment : 1117 time for calcul the mask position with numpy : 0.0196380615234375 nb_pixel_total : 785452 time to create 1 rle with new method : 0.2163252830505371 length of segment : 1803 time for calcul the mask position with numpy : 0.004180908203125 nb_pixel_total : 107668 time to create 1 rle with old method : 0.12016582489013672 length of segment : 1001 time for calcul the mask position with numpy : 0.0008101463317871094 nb_pixel_total : 16711 time to create 1 rle with old method : 0.019891023635864258 length of segment : 220 time for calcul the mask position with numpy : 0.0003979206085205078 nb_pixel_total : 16419 time to create 1 rle with old method : 0.01922607421875 length of segment : 214 time for calcul the mask position with numpy : 0.0013921260833740234 nb_pixel_total : 49835 time to create 1 rle with old method : 0.06685018539428711 length of segment : 247 time for calcul the mask position with numpy : 0.002905607223510742 nb_pixel_total : 94301 time to create 1 rle with old method : 0.10891580581665039 length of segment : 281 time for calcul the mask position with numpy : 0.0007429122924804688 nb_pixel_total : 18366 time to create 1 rle with old method : 0.021603107452392578 length of segment : 169 time for calcul the mask position with numpy : 0.00031828880310058594 nb_pixel_total : 4271 time to create 1 rle with old method : 0.005448102951049805 length of segment : 102 time for calcul the mask position with numpy : 0.0005049705505371094 nb_pixel_total : 11832 time to create 1 rle with old method : 0.014611244201660156 length of segment : 93 time for calcul the mask position with numpy : 0.0006811618804931641 nb_pixel_total : 23120 time to create 1 rle with old method : 0.029915571212768555 length of segment : 120 time for calcul the mask position with numpy : 0.00849771499633789 nb_pixel_total : 197927 time to create 1 rle with new method : 0.013504266738891602 length of segment : 649 time for calcul the mask position with numpy : 0.004244327545166016 nb_pixel_total : 107592 time to create 1 rle with old method : 0.13909125328063965 length of segment : 533 time for calcul the mask position with numpy : 0.0010113716125488281 nb_pixel_total : 12316 time to create 1 rle with old method : 0.015276193618774414 length of segment : 325 time for calcul the mask position with numpy : 0.0030472278594970703 nb_pixel_total : 99816 time to create 1 rle with old method : 0.11322236061096191 length of segment : 801 time for calcul the mask position with numpy : 0.00011515617370605469 nb_pixel_total : 1029 time to create 1 rle with old method : 0.001275777816772461 length of segment : 37 time for calcul the mask position with numpy : 0.0005710124969482422 nb_pixel_total : 11423 time to create 1 rle with old method : 0.013362407684326172 length of segment : 125 time for calcul the mask position with numpy : 0.0018918514251708984 nb_pixel_total : 50010 time to create 1 rle with old method : 0.0591588020324707 length of segment : 301 time for calcul the mask position with numpy : 0.0027086734771728516 nb_pixel_total : 72933 time to create 1 rle with old method : 0.08160090446472168 length of segment : 477 time for calcul the mask position with numpy : 0.0014586448669433594 nb_pixel_total : 67984 time to create 1 rle with old method : 0.07492351531982422 length of segment : 592 time for calcul the mask position with numpy : 0.0006623268127441406 nb_pixel_total : 13249 time to create 1 rle with old method : 0.015013933181762695 length of segment : 86 time for calcul the mask position with numpy : 0.0001583099365234375 nb_pixel_total : 1473 time to create 1 rle with old method : 0.0018537044525146484 length of segment : 50 time for calcul the mask position with numpy : 0.0052831172943115234 nb_pixel_total : 169309 time to create 1 rle with new method : 0.008774995803833008 length of segment : 583 time for calcul the mask position with numpy : 0.0004494190216064453 nb_pixel_total : 8304 time to create 1 rle with old method : 0.009713888168334961 length of segment : 103 time for calcul the mask position with numpy : 0.0048885345458984375 nb_pixel_total : 130700 time to create 1 rle with old method : 0.171539306640625 length of segment : 587 time for calcul the mask position with numpy : 0.0009160041809082031 nb_pixel_total : 15215 time to create 1 rle with old method : 0.0178377628326416 length of segment : 192 time for calcul the mask position with numpy : 0.0024077892303466797 nb_pixel_total : 57051 time to create 1 rle with old method : 0.06352901458740234 length of segment : 418 time for calcul the mask position with numpy : 0.0005390644073486328 nb_pixel_total : 26445 time to create 1 rle with old method : 0.030652523040771484 length of segment : 272 time for calcul the mask position with numpy : 0.002995729446411133 nb_pixel_total : 102629 time to create 1 rle with old method : 0.11396336555480957 length of segment : 401 time for calcul the mask position with numpy : 0.003842592239379883 nb_pixel_total : 186563 time to create 1 rle with new method : 0.0061664581298828125 length of segment : 476 time for calcul the mask position with numpy : 0.0002865791320800781 nb_pixel_total : 5575 time to create 1 rle with old method : 0.006746053695678711 length of segment : 122 time for calcul the mask position with numpy : 0.0009541511535644531 nb_pixel_total : 38591 time to create 1 rle with old method : 0.04580235481262207 length of segment : 333 time for calcul the mask position with numpy : 0.0003256797790527344 nb_pixel_total : 8626 time to create 1 rle with old method : 0.010267019271850586 length of segment : 114 time for calcul the mask position with numpy : 0.002289295196533203 nb_pixel_total : 114462 time to create 1 rle with old method : 0.1279890537261963 length of segment : 520 time for calcul the mask position with numpy : 0.0002181529998779297 nb_pixel_total : 4529 time to create 1 rle with old method : 0.005076169967651367 length of segment : 71 time for calcul the mask position with numpy : 0.0028901100158691406 nb_pixel_total : 127875 time to create 1 rle with old method : 0.14041948318481445 length of segment : 434 time for calcul the mask position with numpy : 0.0027916431427001953 nb_pixel_total : 144269 time to create 1 rle with old method : 0.15829157829284668 length of segment : 429 time spent for convertir_results : 19.38484787940979 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 100 chid ids of type : 3663 Number RLEs to save : 49121 save missing photos in datou_result : time spend for datou_step_exec : 65.82472109794617 time spend to save output : 3.4896628856658936 total time spend for step 1 : 69.31438398361206 step2:crop_condition Thu Mar 13 18:25:39 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 9 ! batch 1 Loaded 100 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 ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! we have finished the crop for the class : 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 ! map_result returned by crop_photo_return_map_crop : length : 30 About to insert : list_path_to_insert length 30 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! we have finished the crop for the class : 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 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 [1343728257, 1343728252, 1343728250, 1343728233, 1343728190, 1343728179, 1343728155, 1343727903, 1343727897] Looping around the photos to save general results len do output : 61 /-3709981418Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981416Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981413Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981424Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981423Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981427Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981425Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981443Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981484Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981505Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981498Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981507Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981511Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981442Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981465Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981473Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981490Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981503Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981512Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981509Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981429Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981430Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981445Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981444Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981435Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981433Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981437Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981438Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981439Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981453Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981451Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981452Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981450Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981455Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981464Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981463Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981469Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981476Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981478Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981470Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981475Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981472Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981494Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981493Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981487Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981489Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981488Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981504Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981499Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981481Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981417Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981460Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981483Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981495Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981485Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981496Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981492Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981506Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981508Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981510Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3709981502Didn'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, '2666175') ('3459', None, '1343728257', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728252', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728250', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728233', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728190', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728179', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728155', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343727903', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343727897', None, None, None, None, None, '2666175') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 192 time used for this insertion : 0.3049495220184326 save_final save missing photos in datou_result : time spend for datou_step_exec : 32.675400495529175 time spend to save output : 0.30698633193969727 total time spend for step 2 : 32.98238682746887 step3:thcl Thu Mar 13 18:26:12 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.010026693344116211 time to convert the images to numpy array : 3.0994415283203125e-06 time to import caffe and check if the image exist : 0.013672590255737305 time to convert the images to numpy array : 0.02210521697998047 time to import caffe and check if the image exist : 0.014648914337158203 time to convert the images to numpy array : 0.03404951095581055 time to import caffe and check if the image exist : 0.017606258392333984 time to convert the images to numpy array : 0.11004447937011719 time to import caffe and check if the image exist : 0.011167287826538086 time to convert the images to numpy array : 0.12615323066711426 time to import caffe and check if the image exist : 0.012226343154907227 time to convert the images to numpy array : 0.14271283149719238 time to import caffe and check if the image exist : 0.014433622360229492 time to convert the images to numpy array : 0.14209818840026855 time to import caffe and check if the image exist : 0.01330113410949707 time to convert the images to numpy array : 0.36302828788757324 time to import caffe and check if the image exist : 0.011631488800048828 time to convert the images to numpy array : 0.658639669418335 time to import caffe and check if the image exist : 0.015342950820922852 time to convert the images to numpy array : 0.6727781295776367 total time to convert the images to numpy array : 1.0581350326538086 list photo_ids error: [] list photo_ids correct : [-3709981492, -3709981506, -3709981508, -3709981510, -3709981502, -3709981481, -3709981417, -3709981460, -3709981483, -3709981495, -3709981485, -3709981496, -3709981494, -3709981493, -3709981487, -3709981489, -3709981488, -3709981504, -3709981499, -3709981465, -3709981473, -3709981490, -3709981503, -3709981512, -3709981509, -3709981429, -3709981443, -3709981484, -3709981505, -3709981498, -3709981507, -3709981511, -3709981442, -3709981418, -3709981416, -3709981413, -3709981424, -3709981423, -3709981427, -3709981425, -3709981430, -3709981445, -3709981444, -3709981435, -3709981433, -3709981437, -3709981438, -3709981439, -3709981453, -3709981451, -3709981452, -3709981450, -3709981455, -3709981464, -3709981463, -3709981469, -3709981476, -3709981478, -3709981470, -3709981475, -3709981472] number of photos to traite : 61 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 : 2960 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 : 2741 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.8316383361816406 time used to do the prediction : 0.2321028709411621 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 : 2739 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 : 2739 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.9385392665863037 time used to do the prediction : 0.1316828727722168 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 1.8596649169921875e-05 save missing photos in datou_result : time spend for datou_step_exec : 10.053014039993286 time spend to save output : 0.0005269050598144531 total time spend for step 3 : 10.0535409450531 step4:merge_mask_thcl_custom Thu Mar 13 18:26:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 100 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 [1343728257, 1343728252, 1343728250, 1343728233, 1343728190, 1343728179, 1343728155, 1343727903, 1343727897] Looping around the photos to save general results len do output : 9 /1343728257Didn't retrieve data .Didn't retrieve data . /1343728252Didn't retrieve data .Didn't retrieve data . /1343728250Didn't retrieve data .Didn't retrieve data . /1343728233Didn't retrieve data .Didn't retrieve data . /1343728190Didn't retrieve data .Didn't retrieve data . /1343728179Didn't retrieve data .Didn't retrieve data . /1343728155Didn't retrieve data .Didn't retrieve data . /1343727903Didn't retrieve data .Didn't retrieve data . /1343727897Didn'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, '2666175') ('3459', None, '1343728257', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728252', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728250', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728233', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728190', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728179', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728155', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343727903', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343727897', None, None, None, None, None, '2666175') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.01262807846069336 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.05831146240234375 time spend to save output : 0.01316213607788086 total time spend for step 4 : 0.07147359848022461 step5:rle_unique_nms_with_priority Thu Mar 13 18:26:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 6.515170097351074 time for calcul the mask position with numpy : 0.890770673751831 nb_pixel_total : 6470702 time to create 1 rle with new method : 0.9121811389923096 time for calcul the mask position with numpy : 0.03311753273010254 nb_pixel_total : 67148 time to create 1 rle with old method : 0.07645511627197266 time for calcul the mask position with numpy : 0.03128504753112793 nb_pixel_total : 337357 time to create 1 rle with new method : 0.6159369945526123 time for calcul the mask position with numpy : 0.026090621948242188 nb_pixel_total : 101872 time to create 1 rle with old method : 0.1169431209564209 time for calcul the mask position with numpy : 0.023054838180541992 nb_pixel_total : 18405 time to create 1 rle with old method : 0.020472049713134766 time for calcul the mask position with numpy : 0.020348787307739258 nb_pixel_total : 14583 time to create 1 rle with old method : 0.016218900680541992 time for calcul the mask position with numpy : 0.020477771759033203 nb_pixel_total : 6774 time to create 1 rle with old method : 0.007930517196655273 time for calcul the mask position with numpy : 0.02077960968017578 nb_pixel_total : 3544 time to create 1 rle with old method : 0.003998756408691406 time for calcul the mask position with numpy : 0.022624969482421875 nb_pixel_total : 19948 time to create 1 rle with old method : 0.023792266845703125 time for calcul the mask position with numpy : 0.022178173065185547 nb_pixel_total : 9907 time to create 1 rle with old method : 0.011958837509155273 create new chi : 2.975283622741699 time to delete rle : 0.0178682804107666 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 6966 TO DO : save crop sub photo not yet done ! save time : 0.6146767139434814 nb_obj : 8 nb_hashtags : 6 time to prepare the origin masks : 6.743150472640991 time for calcul the mask position with numpy : 1.481919765472412 nb_pixel_total : 6625996 time to create 1 rle with new method : 0.6992199420928955 time for calcul the mask position with numpy : 0.023886442184448242 nb_pixel_total : 40077 time to create 1 rle with old method : 0.04601144790649414 time for calcul the mask position with numpy : 0.02262282371520996 nb_pixel_total : 7618 time to create 1 rle with old method : 0.008682489395141602 time for calcul the mask position with numpy : 0.02222132682800293 nb_pixel_total : 1922 time to create 1 rle with old method : 0.002190113067626953 time for calcul the mask position with numpy : 0.022167682647705078 nb_pixel_total : 48139 time to create 1 rle with old method : 0.062165021896362305 time for calcul the mask position with numpy : 0.024895906448364258 nb_pixel_total : 160028 time to create 1 rle with new method : 0.5011329650878906 time for calcul the mask position with numpy : 0.0222780704498291 nb_pixel_total : 95511 time to create 1 rle with old method : 0.1441209316253662 time for calcul the mask position with numpy : 0.02159595489501953 nb_pixel_total : 59703 time to create 1 rle with old method : 0.06628251075744629 time for calcul the mask position with numpy : 0.020783185958862305 nb_pixel_total : 11246 time to create 1 rle with old method : 0.012458086013793945 create new chi : 3.271801233291626 time to delete rle : 0.000732421875 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 6277 TO DO : save crop sub photo not yet done ! save time : 0.5575275421142578 nb_obj : 14 nb_hashtags : 5 time to prepare the origin masks : 11.210792779922485 time for calcul the mask position with numpy : 0.441058874130249 nb_pixel_total : 5828505 time to create 1 rle with new method : 0.8565926551818848 time for calcul the mask position with numpy : 0.025574684143066406 nb_pixel_total : 6186 time to create 1 rle with old method : 0.008382797241210938 time for calcul the mask position with numpy : 0.029768705368041992 nb_pixel_total : 44473 time to create 1 rle with old method : 0.06371688842773438 time for calcul the mask position with numpy : 0.0272524356842041 nb_pixel_total : 55627 time to create 1 rle with old method : 0.06955385208129883 time for calcul the mask position with numpy : 0.027210712432861328 nb_pixel_total : 43650 time to create 1 rle with old method : 0.049648284912109375 time for calcul the mask position with numpy : 0.028010845184326172 nb_pixel_total : 381706 time to create 1 rle with new method : 0.5882401466369629 time for calcul the mask position with numpy : 0.022932767868041992 nb_pixel_total : 38146 time to create 1 rle with old method : 0.042388916015625 time for calcul the mask position with numpy : 0.021953582763671875 nb_pixel_total : 5705 time to create 1 rle with old method : 0.007183551788330078 time for calcul the mask position with numpy : 0.021908998489379883 nb_pixel_total : 78755 time to create 1 rle with old method : 0.08624982833862305 time for calcul the mask position with numpy : 0.024060726165771484 nb_pixel_total : 106243 time to create 1 rle with old method : 0.140106201171875 time for calcul the mask position with numpy : 0.026731491088867188 nb_pixel_total : 80707 time to create 1 rle with old method : 0.09895801544189453 time for calcul the mask position with numpy : 0.039693355560302734 nb_pixel_total : 2871 time to create 1 rle with old method : 0.008209705352783203 time for calcul the mask position with numpy : 0.03158378601074219 nb_pixel_total : 333946 time to create 1 rle with new method : 0.46059131622314453 time for calcul the mask position with numpy : 0.02145528793334961 nb_pixel_total : 16299 time to create 1 rle with old method : 0.01840829849243164 time for calcul the mask position with numpy : 0.025386571884155273 nb_pixel_total : 27421 time to create 1 rle with old method : 0.0377507209777832 create new chi : 3.4427404403686523 time to delete rle : 0.0020074844360351562 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 15823 TO DO : save crop sub photo not yet done ! save time : 1.3082926273345947 nb_obj : 6 nb_hashtags : 4 time to prepare the origin masks : 6.203252077102661 time for calcul the mask position with numpy : 0.13129353523254395 nb_pixel_total : 2812106 time to create 1 rle with new method : 0.4176206588745117 time for calcul the mask position with numpy : 0.03936290740966797 nb_pixel_total : 739553 time to create 1 rle with new method : 0.5622591972351074 time for calcul the mask position with numpy : 0.028025150299072266 nb_pixel_total : 108861 time to create 1 rle with old method : 0.12413358688354492 time for calcul the mask position with numpy : 0.03342914581298828 nb_pixel_total : 102029 time to create 1 rle with old method : 0.1228017807006836 time for calcul the mask position with numpy : 0.04299330711364746 nb_pixel_total : 194522 time to create 1 rle with new method : 0.7872207164764404 time for calcul the mask position with numpy : 0.03257441520690918 nb_pixel_total : 36913 time to create 1 rle with old method : 0.04165387153625488 time for calcul the mask position with numpy : 0.22008585929870605 nb_pixel_total : 3056256 time to create 1 rle with new method : 0.5639989376068115 create new chi : 3.2640695571899414 time to delete rle : 0.0017910003662109375 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 13744 TO DO : save crop sub photo not yet done ! save time : 1.1214039325714111 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 3.3401780128479004 time for calcul the mask position with numpy : 0.0865478515625 nb_pixel_total : 1678269 time to create 1 rle with new method : 1.425811767578125 time for calcul the mask position with numpy : 0.7509424686431885 nb_pixel_total : 5341377 time to create 1 rle with new method : 0.6880199909210205 time for calcul the mask position with numpy : 0.03481650352478027 nb_pixel_total : 30594 time to create 1 rle with old method : 0.033796072006225586 create new chi : 3.095510244369507 time to delete rle : 0.00115203857421875 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 8320 TO DO : save crop sub photo not yet done ! save time : 0.9370908737182617 nb_obj : 10 nb_hashtags : 4 time to prepare the origin masks : 7.818288087844849 time for calcul the mask position with numpy : 0.2792041301727295 nb_pixel_total : 4615511 time to create 1 rle with new method : 0.9297492504119873 time for calcul the mask position with numpy : 0.0351564884185791 nb_pixel_total : 10543 time to create 1 rle with old method : 0.012246131896972656 time for calcul the mask position with numpy : 0.03469347953796387 nb_pixel_total : 2048 time to create 1 rle with old method : 0.002274036407470703 time for calcul the mask position with numpy : 0.035803794860839844 nb_pixel_total : 29944 time to create 1 rle with old method : 0.03348708152770996 time for calcul the mask position with numpy : 0.03356170654296875 nb_pixel_total : 22424 time to create 1 rle with old method : 0.024812936782836914 time for calcul the mask position with numpy : 0.03638625144958496 nb_pixel_total : 1413 time to create 1 rle with old method : 0.0017771720886230469 time for calcul the mask position with numpy : 0.037331342697143555 nb_pixel_total : 301044 time to create 1 rle with new method : 0.6825671195983887 time for calcul the mask position with numpy : 0.04639577865600586 nb_pixel_total : 903402 time to create 1 rle with new method : 0.44614505767822266 time for calcul the mask position with numpy : 0.034295082092285156 nb_pixel_total : 83087 time to create 1 rle with old method : 0.08904623985290527 time for calcul the mask position with numpy : 0.03247833251953125 nb_pixel_total : 1076185 time to create 1 rle with new method : 0.4590132236480713 time for calcul the mask position with numpy : 0.022166013717651367 nb_pixel_total : 4639 time to create 1 rle with old method : 0.005434751510620117 create new chi : 3.431558132171631 time to delete rle : 0.0014066696166992188 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 12986 TO DO : save crop sub photo not yet done ! save time : 0.8829424381256104 nb_obj : 14 nb_hashtags : 5 time to prepare the origin masks : 14.084855794906616 time for calcul the mask position with numpy : 0.5767269134521484 nb_pixel_total : 4286202 time to create 1 rle with new method : 1.0387804508209229 time for calcul the mask position with numpy : 0.0421900749206543 nb_pixel_total : 131988 time to create 1 rle with old method : 0.14781999588012695 time for calcul the mask position with numpy : 0.02698373794555664 nb_pixel_total : 16363 time to create 1 rle with old method : 0.01880788803100586 time for calcul the mask position with numpy : 0.02673816680908203 nb_pixel_total : 99263 time to create 1 rle with old method : 0.11511898040771484 time for calcul the mask position with numpy : 0.03427886962890625 nb_pixel_total : 667640 time to create 1 rle with new method : 1.4048466682434082 time for calcul the mask position with numpy : 0.023998022079467773 nb_pixel_total : 3053 time to create 1 rle with old method : 0.003660917282104492 time for calcul the mask position with numpy : 0.03181743621826172 nb_pixel_total : 216022 time to create 1 rle with new method : 0.4954650402069092 time for calcul the mask position with numpy : 0.023705244064331055 nb_pixel_total : 34841 time to create 1 rle with old method : 0.03741335868835449 time for calcul the mask position with numpy : 0.02627396583557129 nb_pixel_total : 5309 time to create 1 rle with old method : 0.006042003631591797 time for calcul the mask position with numpy : 0.02837085723876953 nb_pixel_total : 107876 time to create 1 rle with old method : 0.12054705619812012 time for calcul the mask position with numpy : 0.03952383995056152 nb_pixel_total : 1185598 time to create 1 rle with new method : 0.8266172409057617 time for calcul the mask position with numpy : 0.024875164031982422 nb_pixel_total : 10352 time to create 1 rle with old method : 0.011461019515991211 time for calcul the mask position with numpy : 0.03160524368286133 nb_pixel_total : 137701 time to create 1 rle with old method : 0.1526930332183838 time for calcul the mask position with numpy : 0.040212154388427734 nb_pixel_total : 107070 time to create 1 rle with old method : 0.11647748947143555 time for calcul the mask position with numpy : 0.040192604064941406 nb_pixel_total : 40962 time to create 1 rle with old method : 0.04336404800415039 create new chi : 5.682566165924072 time to delete rle : 0.0020780563354492188 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 19438 TO DO : save crop sub photo not yet done ! save time : 1.9238693714141846 nb_obj : 24 nb_hashtags : 6 time to prepare the origin masks : 17.843109846115112 time for calcul the mask position with numpy : 0.2250826358795166 nb_pixel_total : 5801964 time to create 1 rle with new method : 0.3676774501800537 time for calcul the mask position with numpy : 0.020946025848388672 nb_pixel_total : 49684 time to create 1 rle with old method : 0.05495476722717285 time for calcul the mask position with numpy : 0.020799636840820312 nb_pixel_total : 11392 time to create 1 rle with old method : 0.012828588485717773 time for calcul the mask position with numpy : 0.02258610725402832 nb_pixel_total : 72974 time to create 1 rle with old method : 0.08130002021789551 time for calcul the mask position with numpy : 0.027417659759521484 nb_pixel_total : 4256 time to create 1 rle with old method : 0.005390167236328125 time for calcul the mask position with numpy : 0.02768540382385254 nb_pixel_total : 11810 time to create 1 rle with old method : 0.014048576354980469 time for calcul the mask position with numpy : 0.021625995635986328 nb_pixel_total : 2692 time to create 1 rle with old method : 0.003410816192626953 time for calcul the mask position with numpy : 0.022257566452026367 nb_pixel_total : 35195 time to create 1 rle with old method : 0.04075980186462402 time for calcul the mask position with numpy : 0.022984981536865234 nb_pixel_total : 15102 time to create 1 rle with old method : 0.01793074607849121 time for calcul the mask position with numpy : 0.024059057235717773 nb_pixel_total : 130481 time to create 1 rle with old method : 0.14592695236206055 time for calcul the mask position with numpy : 0.026528596878051758 nb_pixel_total : 18297 time to create 1 rle with old method : 0.020629405975341797 time for calcul the mask position with numpy : 0.023164033889770508 nb_pixel_total : 49484 time to create 1 rle with old method : 0.05625510215759277 time for calcul the mask position with numpy : 0.02325725555419922 nb_pixel_total : 60393 time to create 1 rle with old method : 0.06956362724304199 time for calcul the mask position with numpy : 0.02287602424621582 nb_pixel_total : 1457 time to create 1 rle with old method : 0.002532482147216797 time for calcul the mask position with numpy : 0.02386307716369629 nb_pixel_total : 57011 time to create 1 rle with old method : 0.06436443328857422 time for calcul the mask position with numpy : 0.024434328079223633 nb_pixel_total : 168784 time to create 1 rle with new method : 0.47840189933776855 time for calcul the mask position with numpy : 0.02251601219177246 nb_pixel_total : 1019 time to create 1 rle with old method : 0.030260801315307617 time for calcul the mask position with numpy : 0.02514028549194336 nb_pixel_total : 23024 time to create 1 rle with old method : 0.027069091796875 time for calcul the mask position with numpy : 0.02476668357849121 nb_pixel_total : 13136 time to create 1 rle with old method : 0.015681028366088867 time for calcul the mask position with numpy : 0.02220892906188965 nb_pixel_total : 8248 time to create 1 rle with old method : 0.009553909301757812 time for calcul the mask position with numpy : 0.023389816284179688 nb_pixel_total : 94411 time to create 1 rle with old method : 0.10639262199401855 time for calcul the mask position with numpy : 0.024450063705444336 nb_pixel_total : 107338 time to create 1 rle with old method : 0.12026071548461914 time for calcul the mask position with numpy : 0.021425247192382812 nb_pixel_total : 12203 time to create 1 rle with old method : 0.014255762100219727 time for calcul the mask position with numpy : 0.0235440731048584 nb_pixel_total : 197426 time to create 1 rle with new method : 0.5440685749053955 time for calcul the mask position with numpy : 0.024222612380981445 nb_pixel_total : 102459 time to create 1 rle with old method : 0.11931157112121582 create new chi : 3.2999541759490967 time to delete rle : 0.0016715526580810547 batch 1 Loaded 25 chid ids of type : 3726 Number RLEs to save : 16139 TO DO : save crop sub photo not yet done ! save time : 7.986433744430542 nb_obj : 8 nb_hashtags : 4 time to prepare the origin masks : 7.025724172592163 time for calcul the mask position with numpy : 0.47800660133361816 nb_pixel_total : 6546901 time to create 1 rle with new method : 0.9506940841674805 time for calcul the mask position with numpy : 0.03529763221740723 nb_pixel_total : 4519 time to create 1 rle with old method : 0.0053479671478271484 time for calcul the mask position with numpy : 0.03609728813171387 nb_pixel_total : 5550 time to create 1 rle with old method : 0.009013175964355469 time for calcul the mask position with numpy : 0.025421857833862305 nb_pixel_total : 999 time to create 1 rle with old method : 0.002160310745239258 time for calcul the mask position with numpy : 0.026115894317626953 nb_pixel_total : 186131 time to create 1 rle with new method : 0.6697332859039307 time for calcul the mask position with numpy : 0.025777101516723633 nb_pixel_total : 143904 time to create 1 rle with old method : 0.16674232482910156 time for calcul the mask position with numpy : 0.021739721298217773 nb_pixel_total : 8603 time to create 1 rle with old method : 0.009916305541992188 time for calcul the mask position with numpy : 0.0225369930267334 nb_pixel_total : 39398 time to create 1 rle with old method : 0.04472756385803223 time for calcul the mask position with numpy : 0.02349066734313965 nb_pixel_total : 114235 time to create 1 rle with old method : 0.13004255294799805 create new chi : 2.7502169609069824 time to delete rle : 0.0008084774017333984 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 6370 TO DO : save crop sub photo not yet done ! save time : 0.5389671325683594 map_output_result : {1343728257: (0.0, 'Should be the crop_list due to order', 0), 1343728252: (0.0, 'Should be the crop_list due to order', 0), 1343728250: (0.0, 'Should be the crop_list due to order', 0), 1343728233: (0.0, 'Should be the crop_list due to order', 0), 1343728190: (0.0, 'Should be the crop_list due to order', 0), 1343728179: (0.0, 'Should be the crop_list due to order', 0), 1343728155: (0.0, 'Should be the crop_list due to order', 0), 1343727903: (0.0, 'Should be the crop_list due to order', 0), 1343727897: (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 [1343728257, 1343728252, 1343728250, 1343728233, 1343728190, 1343728179, 1343728155, 1343727903, 1343727897] Looping around the photos to save general results len do output : 9 /1343728257.Didn't retrieve data . /1343728252.Didn't retrieve data . /1343728250.Didn't retrieve data . /1343728233.Didn't retrieve data . /1343728190.Didn't retrieve data . /1343728179.Didn't retrieve data . /1343728155.Didn't retrieve data . /1343727903.Didn't retrieve data . /1343727897.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, '2666175') ('3459', None, '1343728257', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728252', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728250', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728233', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728190', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728179', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728155', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343727903', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343727897', None, None, None, None, None, '2666175') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.015226125717163086 save_final save missing photos in datou_result : time spend for datou_step_exec : 129.24955344200134 time spend to save output : 0.01575613021850586 total time spend for step 5 : 129.26530957221985 step6:crop_condition Thu Mar 13 18:28:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 9 ! batch 1 Loaded 104 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741886914_4000483 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.9071543216705322 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741886918_4000483 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.672666072845459 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! Next one ! 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/1741886923_4000483 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.0667405128479004 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 begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! Next one ! Next one ! Next one ! 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/1741886930_4000483 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.6456942558288574 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741886935_4000483 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7047622203826904 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 [1343728257, 1343728252, 1343728250, 1343728233, 1343728190, 1343728179, 1343728155, 1343727903, 1343727897] Looping around the photos to save general results len do output : 19 /1343833796Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343833797Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343833798Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343833885Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343833888Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343833890Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343833893Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343833977Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343833979Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343833980Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343833982Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343833984Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343834067Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343834071Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343834074Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343834077Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343834082Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343834086Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1343834125Didn'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, '2666175') ('3459', None, '1343728257', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728252', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728250', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728233', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728190', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728179', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728155', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343727903', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343727897', None, None, None, None, None, '2666175') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 66 time used for this insertion : 0.024358034133911133 save_final save missing photos in datou_result : time spend for datou_step_exec : 24.570581436157227 time spend to save output : 0.02507305145263672 total time spend for step 6 : 24.595654487609863 step7:ventilate_hashtags_in_portfolio Thu Mar 13 18:28: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 ! 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 : 21385564 get user id for portfolio 21385564 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`=21385564 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','autre_refus','papier','flou','Carton_brun','Carton_gris','environnement','kraft','mal_croppe','metal','plastique','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21385564 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','autre_refus','papier','flou','Carton_brun','Carton_gris','environnement','kraft','mal_croppe','metal','plastique','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/21385811,21385812,21385813,21385814,21385815,21385816,21385817,21385818,21385819,21385820,21385821,21385822?tags=Carton_gris,papier,plastique,cartonnette,environnement,mal_croppe,Carton_brun,Teint_Dans_La_Masse,autre_refus,metal,flou,kraft Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1343728257, 1343728252, 1343728250, 1343728233, 1343728190, 1343728179, 1343728155, 1343727903, 1343727897] Looping around the photos to save general results len do output : 1 /21385564. 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, '2666175') ('3459', None, '1343728257', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728252', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728250', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728233', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728190', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728179', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728155', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343727903', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343727897', None, None, None, None, None, '2666175') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.015985488891601562 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5518777370452881 time spend to save output : 0.016346454620361328 total time spend for step 7 : 0.5682241916656494 step8:final Thu Mar 13 18:28:57 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 : {1343728257: ('0.07909658632220538',), 1343728252: ('0.07909658632220538',), 1343728250: ('0.07909658632220538',), 1343728233: ('0.07909658632220538',), 1343728190: ('0.07909658632220538',), 1343728179: ('0.07909658632220538',), 1343728155: ('0.07909658632220538',), 1343727903: ('0.07909658632220538',), 1343727897: ('0.07909658632220538',)} new output for save of step final : {1343728257: ('0.07909658632220538',), 1343728252: ('0.07909658632220538',), 1343728250: ('0.07909658632220538',), 1343728233: ('0.07909658632220538',), 1343728190: ('0.07909658632220538',), 1343728179: ('0.07909658632220538',), 1343728155: ('0.07909658632220538',), 1343727903: ('0.07909658632220538',), 1343727897: ('0.07909658632220538',)} [1343728257, 1343728252, 1343728250, 1343728233, 1343728190, 1343728179, 1343728155, 1343727903, 1343727897] Looping around the photos to save general results len do output : 9 /1343728257.Didn't retrieve data . /1343728252.Didn't retrieve data . /1343728250.Didn't retrieve data . /1343728233.Didn't retrieve data . /1343728190.Didn't retrieve data . /1343728179.Didn't retrieve data . /1343728155.Didn't retrieve data . /1343727903.Didn't retrieve data . /1343727897.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, '2666175') ('3459', None, '1343728257', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728252', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728250', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728233', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728190', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728179', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728155', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343727903', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343727897', None, None, None, None, None, '2666175') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.01645636558532715 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10805082321166992 time spend to save output : 0.016906023025512695 total time spend for step 8 : 0.12495684623718262 step9:velours_tree Thu Mar 13 18:28:57 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.08154511451721191 time spend to save output : 4.1961669921875e-05 total time spend for step 9 : 0.08158707618713379 step10:send_mail_cod Thu Mar 13 18:28:57 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_P21385564_13-03-2025_18_28_57.pdf 21385813 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette213858131741886937 21385814 change filename to text .change filename to text .imagette213858141741886937 21385816 imagette213858161741886937 21385819 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 .imagette213858191741886937 21385820 imagette213858201741886938 21385821 imagette213858211741886938 21385822 change filename to text .change filename to text .change filename to text .imagette213858221741886938 21385811 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 .imagette213858111741886938 21385817 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette213858171741886940 21385818 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 .imagette213858181741886941 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21385564 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21385811,21385812,21385813,21385814,21385815,21385816,21385817,21385818,21385819,21385820,21385821,21385822?tags=Carton_gris,papier,plastique,cartonnette,environnement,mal_croppe,Carton_brun,Teint_Dans_La_Masse,autre_refus,metal,flou,kraft your option no_mail is active, we will not send the real mail to your client args[1343728257] : ('0.07909658632220538',) no score found for photo 1343728257 We are sending mail with results at report@fotonower.com args[1343728252] : ('0.07909658632220538',) no score found for photo 1343728252 We are sending mail with results at report@fotonower.com args[1343728250] : ('0.07909658632220538',) no score found for photo 1343728250 We are sending mail with results at report@fotonower.com args[1343728233] : ('0.07909658632220538',) no score found for photo 1343728233 We are sending mail with results at report@fotonower.com args[1343728190] : ('0.07909658632220538',) no score found for photo 1343728190 We are sending mail with results at report@fotonower.com args[1343728179] : ('0.07909658632220538',) no score found for photo 1343728179 We are sending mail with results at report@fotonower.com args[1343728155] : ('0.07909658632220538',) no score found for photo 1343728155 We are sending mail with results at report@fotonower.com args[1343727903] : ('0.07909658632220538',) no score found for photo 1343727903 We are sending mail with results at report@fotonower.com args[1343727897] : ('0.07909658632220538',) no score found for photo 1343727897 We are sending mail with results at report@fotonower.com refus_total : 0.07909658632220538 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=21385564 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1343727903,1343727897,1343728661,1343728657,1343728550,1343728350,1343728257,1343728287,1343728269,1343728275,1343742141,1343728667,1343728250,1343728179,1343728155,1343742135,1343742131,1343728987,1343728900,1343728895) Found this number of photos: 20 begin to download photo : 1343727903 begin to download photo : 1343728350 begin to download photo : 1343742141 begin to download photo : 1343742135 download finish for photo 1343742141 begin to download photo : 1343728667 download finish for photo 1343728350 begin to download photo : 1343728257 download finish for photo 1343742135 begin to download photo : 1343742131 download finish for photo 1343727903 begin to download photo : 1343727897 download finish for photo 1343742131 begin to download photo : 1343728987 download finish for photo 1343728667 begin to download photo : 1343728250 download finish for photo 1343728257 begin to download photo : 1343728287 download finish for photo 1343727897 begin to download photo : 1343728661 download finish for photo 1343728250 begin to download photo : 1343728179 download finish for photo 1343728287 begin to download photo : 1343728269 download finish for photo 1343728987 begin to download photo : 1343728900 download finish for photo 1343728900 begin to download photo : 1343728895 download finish for photo 1343728269 begin to download photo : 1343728275 download finish for photo 1343728661 begin to download photo : 1343728657 download finish for photo 1343728179 begin to download photo : 1343728155 download finish for photo 1343728895 download finish for photo 1343728155 download finish for photo 1343728657 begin to download photo : 1343728550 download finish for photo 1343728275 download finish for photo 1343728550 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21385564_13-03-2025_18_28_57.pdf results_Auto_P21385564_13-03-2025_18_28_57.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21385564_13-03-2025_18_28_57.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','21385564','results_Auto_P21385564_13-03-2025_18_28_57.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21385564_13-03-2025_18_28_57.pdf','pdf','','1.06','0.07909658632220538') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1343728257, 1343728252, 1343728250, 1343728233, 1343728190, 1343728179, 1343728155, 1343727903, 1343727897] 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, '2666175') ('3459', None, '1343728257', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728252', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728250', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728233', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728190', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728179', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728155', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343727903', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343727897', None, None, None, None, None, '2666175') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.019797325134277344 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.577385425567627 time spend to save output : 0.02006363868713379 total time spend for step 10 : 9.59744906425476 step11:split_time_score Thu Mar 13 18:29:06 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('08', 29),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13032025 21385564 Nombre de photos uploadées : 29 / 23040 (0%) 13032025 21385564 Nombre de photos taguées (types de déchets): 0 / 29 (0%) 13032025 21385564 Nombre de photos taguées (volume) : 0 / 29 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014989376068115234 elapsed_time : insert_dashboard_record_day_entry 0.03185749053955078 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.03314385721126587 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376374_13-03-2025_08_31_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21376374 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`=21376374 AND mptpi.`type`=4207 To do Qualite : 0.09702307471070512 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376375_13-03-2025_08_13_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21376375 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`=21376375 AND mptpi.`type`=4207 To do Qualite : 0.07181827590062709 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376376_13-03-2025_17_49_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21376376 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`=21376376 AND mptpi.`type`=4207 To do Qualite : 0.06766024989406731 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21376377_13-03-2025_08_41_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21376377 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 11524 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11533 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11532 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11528 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11528 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11531 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 11531 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11578 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11578 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11527 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11526 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11526 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11535 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 11527 doesn't seem to be define in the database( WARNING : type of input 3 of step 11526 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11524 doesn't seem to be define in the database( WARNING : type of input 2 of step 11528 doesn't seem to be define in the database( WARNING : output 1 of step 11524 have datatype=2 whereas input 1 of step 11531 have datatype=7 WARNING : type of output 2 of step 11531 doesn't seem to be define in the database( WARNING : type of input 1 of step 11525 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11527 have datatype=10 whereas input 3 of step 11534 have datatype=6 WARNING : type of input 2 of step 11578 doesn't seem to be define in the database( WARNING : output 1 of step 11525 have datatype=7 whereas input 2 of step 11578 have datatype=None WARNING : type of output 3 of step 11578 doesn't seem to be define in the database( WARNING : type of input 1 of step 11527 doesn't seem to be define in the database( WARNING : output 0 of step 11527 have datatype=10 whereas input 0 of step 11584 have datatype=18 WARNING : type of input 5 of step 11534 doesn't seem to be define in the database( WARNING : output 0 of step 11584 have datatype=11 whereas input 5 of step 11534 have datatype=None WARNING : type of output 1 of step 11533 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : type of output 1 of step 11532 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : output 0 of step 11531 have datatype=1 whereas input 0 of step 11525 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`=21376377 AND mptpi.`type`=4211 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21385563 order by id desc limit 1 Qualite : 0.07157690575166613 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21385564_13-03-2025_18_28_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21385564 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`=21385564 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21385589 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21385590 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21385591 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21385592 order by id desc limit 1 Qualite : 0.04682681603811592 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21383958_13-03-2025_18_11_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21383958 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 11524 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11533 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11532 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11528 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11528 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11531 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 11531 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11578 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11578 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11527 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11526 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11526 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11535 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 11527 doesn't seem to be define in the database( WARNING : type of input 3 of step 11526 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11524 doesn't seem to be define in the database( WARNING : type of input 2 of step 11528 doesn't seem to be define in the database( WARNING : output 1 of step 11524 have datatype=2 whereas input 1 of step 11531 have datatype=7 WARNING : type of output 2 of step 11531 doesn't seem to be define in the database( WARNING : type of input 1 of step 11525 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11527 have datatype=10 whereas input 3 of step 11534 have datatype=6 WARNING : type of input 2 of step 11578 doesn't seem to be define in the database( WARNING : output 1 of step 11525 have datatype=7 whereas input 2 of step 11578 have datatype=None WARNING : type of output 3 of step 11578 doesn't seem to be define in the database( WARNING : type of input 1 of step 11527 doesn't seem to be define in the database( WARNING : output 0 of step 11527 have datatype=10 whereas input 0 of step 11584 have datatype=18 WARNING : type of input 5 of step 11534 doesn't seem to be define in the database( WARNING : output 0 of step 11584 have datatype=11 whereas input 5 of step 11534 have datatype=None WARNING : type of output 1 of step 11533 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : type of output 1 of step 11532 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : output 0 of step 11531 have datatype=1 whereas input 0 of step 11525 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`=21383958 AND mptpi.`type`=4211 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21383959 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21383960 order by id desc limit 1 Qualite : 0.07088600806024496 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21383961_13-03-2025_18_05_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21383961 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`=21383961 AND mptpi.`type`=4207 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21383962_13-03-2025_18_05_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21383962 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21382585_13-03-2025_17_32_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21382585 order by id desc limit 1 Qualite : 0.24849686440934401 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21381448_13-03-2025_17_29_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21381448 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`=21381448 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21381449_13-03-2025_17_47_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21381449 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21381450 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21381451 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21381452 order by id desc limit 1 Qualite : 0.058158821292274496 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21381453_13-03-2025_17_05_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21381453 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`=21381453 AND mptpi.`type`=4207 To do Qualite : 0.060739887855665184 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21381454_13-03-2025_18_13_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21381454 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`=21381454 AND mptpi.`type`=3327 To do Qualite : 0.2694636185176933 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21381455_13-03-2025_17_14_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21381455 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`=21381455 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21381456_13-03-2025_17_11_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21381456 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21381457_13-03-2025_17_11_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21381457 order by id desc limit 1 Qualite : 0.06457872283903776 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21381459_13-03-2025_17_18_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21381459 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`=21381459 AND mptpi.`type`=4209 To do Qualite : 0.07290910217131605 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21382586_13-03-2025_17_30_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21382586 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`=21382586 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21385593 order by id desc limit 1 Qualite : 0.07438789053309423 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21385594_13-03-2025_18_27_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21385594 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`=21385594 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21385595 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13032025': {'nb_upload': 29, '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 [1343728257, 1343728252, 1343728250, 1343728233, 1343728190, 1343728179, 1343728155, 1343727903, 1343727897] Looping around the photos to save general results len do output : 1 /21385564Didn'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, '2666175') ('3459', None, '1343728257', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728252', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728250', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728233', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728190', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728179', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343728155', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343727903', None, None, None, None, None, '2666175') ('3459', None, None, None, None, None, None, None, '2666175') ('3459', None, '1343727897', None, None, None, None, None, '2666175') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.01558542251586914 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.862558126449585 time spend to save output : 0.015852928161621094 total time spend for step 11 : 12.878411054611206 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 9 set_done_treatment 123.40user 131.07system 4:55.23elapsed 86%CPU (0avgtext+0avgdata 4013716maxresident)k 776952inputs+111632outputs (2399major+11380822minor)pagefaults 0swaps