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 : 2574068 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 : 47>10 please execute split_portfolio.py -i 21411664 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2668086'] with mtr_portfolio_ids : ['21411664'] and first list_photo_ids : [] new path : /proc/2574068/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 2.0918850898742676 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Fri Mar 14 07:46: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 : 5304 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-14 07:46:33.413291: 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-14 07:46:33.439036: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-14 07:46:33.440664: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f8a90000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-14 07:46:33.440710: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-14 07:46:33.443880: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-14 07:46:33.581955: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2ab15700 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-14 07:46:33.582016: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-14 07:46:33.582963: 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-14 07:46:33.589958: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-14 07:46:33.593065: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-14 07:46:33.595271: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-14 07:46:33.595663: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-14 07:46:33.598318: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-14 07:46:33.599755: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-14 07:46:33.604904: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-14 07:46:33.606150: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-14 07:46:33.606250: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-14 07:46:33.606852: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-14 07:46:33.606871: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-14 07:46:33.606884: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-14 07:46:33.607959: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4843 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-14 07:46:33.885545: 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-14 07:46:33.885635: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-14 07:46:33.885653: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-14 07:46:33.885669: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-14 07:46:33.885684: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-14 07:46:33.885698: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-14 07:46:33.885713: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-14 07:46:33.885728: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-14 07:46:33.886731: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-14 07:46:33.887643: 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-14 07:46:33.887676: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-14 07:46:33.887691: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-14 07:46:33.887705: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-14 07:46:33.887719: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-14 07:46:33.887733: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-14 07:46:33.887747: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-14 07:46:33.887760: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-14 07:46:33.888713: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-14 07:46:33.888739: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-14 07:46:33.888748: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-14 07:46:33.888755: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-14 07:46:33.889754: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4843 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-14 07:46:37.946583: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 51380224 exceeds 10% of free system memory. 2025-03-14 07:46:43.274863: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-14 07:46:43.511035: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 6.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 138.10000 image_metas shape: (1, 18) min: 0.00000 max: 3840.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 8.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 138.85000 image_metas shape: (1, 18) min: 0.00000 max: 3840.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 253.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 138.60000 image_metas shape: (1, 18) min: 0.00000 max: 3840.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 8.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 139.10000 image_metas shape: (1, 18) min: 0.00000 max: 3840.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 4.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 140.60000 image_metas shape: (1, 18) min: 0.00000 max: 3840.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 139.60000 image_metas shape: (1, 18) min: 0.00000 max: 3840.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 3.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 138.35000 image_metas shape: (1, 18) min: 0.00000 max: 3840.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 4.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 138.35000 image_metas shape: (1, 18) min: 0.00000 max: 3840.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 1.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 140.60000 image_metas shape: (1, 18) min: 0.00000 max: 3840.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 139.60000 image_metas shape: (1, 18) min: 0.00000 max: 3840.00000 nb d'objets trouves : 8 Detection mask done ! Trying to reset tf kernel 2574483 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 15 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5304 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.003168344497680664 nb_pixel_total : 182025 time to create 1 rle with new method : 0.00862574577331543 length of segment : 493 time for calcul the mask position with numpy : 0.0009908676147460938 nb_pixel_total : 43013 time to create 1 rle with old method : 0.0501246452331543 length of segment : 463 time for calcul the mask position with numpy : 0.00030803680419921875 nb_pixel_total : 17698 time to create 1 rle with old method : 0.020593643188476562 length of segment : 168 time for calcul the mask position with numpy : 0.0016939640045166016 nb_pixel_total : 129995 time to create 1 rle with old method : 0.15218734741210938 length of segment : 426 time for calcul the mask position with numpy : 0.0012094974517822266 nb_pixel_total : 96609 time to create 1 rle with old method : 0.1156620979309082 length of segment : 421 time for calcul the mask position with numpy : 0.0004074573516845703 nb_pixel_total : 23705 time to create 1 rle with old method : 0.027733325958251953 length of segment : 258 time for calcul the mask position with numpy : 0.005216121673583984 nb_pixel_total : 343178 time to create 1 rle with new method : 0.014045000076293945 length of segment : 1031 time for calcul the mask position with numpy : 0.0036470890045166016 nb_pixel_total : 253441 time to create 1 rle with new method : 0.009811162948608398 length of segment : 1021 time for calcul the mask position with numpy : 0.0034885406494140625 nb_pixel_total : 180281 time to create 1 rle with new method : 0.0056226253509521484 length of segment : 583 time for calcul the mask position with numpy : 0.002236604690551758 nb_pixel_total : 62346 time to create 1 rle with old method : 0.06958270072937012 length of segment : 661 time for calcul the mask position with numpy : 0.0004992485046386719 nb_pixel_total : 13512 time to create 1 rle with old method : 0.015611648559570312 length of segment : 161 time for calcul the mask position with numpy : 0.0057544708251953125 nb_pixel_total : 258615 time to create 1 rle with new method : 0.01102137565612793 length of segment : 820 time for calcul the mask position with numpy : 0.004137992858886719 nb_pixel_total : 220846 time to create 1 rle with new method : 0.012806892395019531 length of segment : 1195 time for calcul the mask position with numpy : 0.0033981800079345703 nb_pixel_total : 203508 time to create 1 rle with new method : 0.008901834487915039 length of segment : 988 time for calcul the mask position with numpy : 0.0019664764404296875 nb_pixel_total : 66082 time to create 1 rle with old method : 0.07440447807312012 length of segment : 765 time for calcul the mask position with numpy : 0.0018177032470703125 nb_pixel_total : 88460 time to create 1 rle with old method : 0.09971046447753906 length of segment : 359 time for calcul the mask position with numpy : 0.0030171871185302734 nb_pixel_total : 175308 time to create 1 rle with new method : 0.005087852478027344 length of segment : 627 time for calcul the mask position with numpy : 0.005887031555175781 nb_pixel_total : 200644 time to create 1 rle with new method : 0.013927459716796875 length of segment : 1014 time for calcul the mask position with numpy : 0.004995584487915039 nb_pixel_total : 198924 time to create 1 rle with new method : 0.010150432586669922 length of segment : 593 time for calcul the mask position with numpy : 0.00588536262512207 nb_pixel_total : 287998 time to create 1 rle with new method : 0.013226032257080078 length of segment : 819 time for calcul the mask position with numpy : 0.0027399063110351562 nb_pixel_total : 118737 time to create 1 rle with old method : 0.15850353240966797 length of segment : 523 time for calcul the mask position with numpy : 0.0010180473327636719 nb_pixel_total : 30154 time to create 1 rle with old method : 0.054978370666503906 length of segment : 263 time for calcul the mask position with numpy : 0.0007491111755371094 nb_pixel_total : 27871 time to create 1 rle with old method : 0.031584739685058594 length of segment : 391 time for calcul the mask position with numpy : 0.0016796588897705078 nb_pixel_total : 58101 time to create 1 rle with old method : 0.06670975685119629 length of segment : 460 time for calcul the mask position with numpy : 0.003789186477661133 nb_pixel_total : 175691 time to create 1 rle with new method : 0.005191802978515625 length of segment : 412 time for calcul the mask position with numpy : 0.0013360977172851562 nb_pixel_total : 57748 time to create 1 rle with old method : 0.06319117546081543 length of segment : 439 time for calcul the mask position with numpy : 0.0037641525268554688 nb_pixel_total : 157849 time to create 1 rle with new method : 0.007346630096435547 length of segment : 709 time for calcul the mask position with numpy : 0.00030922889709472656 nb_pixel_total : 18909 time to create 1 rle with old method : 0.020883798599243164 length of segment : 204 time for calcul the mask position with numpy : 0.0018310546875 nb_pixel_total : 88317 time to create 1 rle with old method : 0.10415911674499512 length of segment : 320 time for calcul the mask position with numpy : 0.002498626708984375 nb_pixel_total : 135142 time to create 1 rle with old method : 0.15686893463134766 length of segment : 418 time for calcul the mask position with numpy : 0.006051540374755859 nb_pixel_total : 370841 time to create 1 rle with new method : 0.009736299514770508 length of segment : 665 time for calcul the mask position with numpy : 0.0021219253540039062 nb_pixel_total : 85403 time to create 1 rle with old method : 0.09653306007385254 length of segment : 402 time for calcul the mask position with numpy : 0.0010056495666503906 nb_pixel_total : 34198 time to create 1 rle with old method : 0.044603586196899414 length of segment : 141 time for calcul the mask position with numpy : 0.005347490310668945 nb_pixel_total : 320542 time to create 1 rle with new method : 0.010513544082641602 length of segment : 858 time for calcul the mask position with numpy : 0.0022792816162109375 nb_pixel_total : 128676 time to create 1 rle with old method : 0.14658331871032715 length of segment : 312 time for calcul the mask position with numpy : 0.001725912094116211 nb_pixel_total : 102045 time to create 1 rle with old method : 0.12329244613647461 length of segment : 372 time for calcul the mask position with numpy : 0.0005750656127929688 nb_pixel_total : 22051 time to create 1 rle with old method : 0.026875972747802734 length of segment : 138 time for calcul the mask position with numpy : 0.002086162567138672 nb_pixel_total : 118755 time to create 1 rle with old method : 0.13728952407836914 length of segment : 295 time for calcul the mask position with numpy : 0.004111528396606445 nb_pixel_total : 311945 time to create 1 rle with new method : 0.007601261138916016 length of segment : 571 time for calcul the mask position with numpy : 0.0037016868591308594 nb_pixel_total : 242837 time to create 1 rle with new method : 0.007528066635131836 length of segment : 702 time for calcul the mask position with numpy : 0.0018246173858642578 nb_pixel_total : 59525 time to create 1 rle with old method : 0.06985783576965332 length of segment : 858 time for calcul the mask position with numpy : 0.0015151500701904297 nb_pixel_total : 67049 time to create 1 rle with old method : 0.07708954811096191 length of segment : 502 time for calcul the mask position with numpy : 0.0010921955108642578 nb_pixel_total : 61760 time to create 1 rle with old method : 0.07501387596130371 length of segment : 349 time for calcul the mask position with numpy : 0.0005791187286376953 nb_pixel_total : 37155 time to create 1 rle with old method : 0.04287385940551758 length of segment : 197 time for calcul the mask position with numpy : 0.0003712177276611328 nb_pixel_total : 14773 time to create 1 rle with old method : 0.016916513442993164 length of segment : 153 time for calcul the mask position with numpy : 0.002885103225708008 nb_pixel_total : 175877 time to create 1 rle with new method : 0.005372047424316406 length of segment : 585 time for calcul the mask position with numpy : 0.0004146099090576172 nb_pixel_total : 14332 time to create 1 rle with old method : 0.016835689544677734 length of segment : 157 time for calcul the mask position with numpy : 0.00047898292541503906 nb_pixel_total : 12603 time to create 1 rle with old method : 0.015143156051635742 length of segment : 265 time for calcul the mask position with numpy : 0.004537105560302734 nb_pixel_total : 264372 time to create 1 rle with new method : 0.01003718376159668 length of segment : 1517 time for calcul the mask position with numpy : 0.004152774810791016 nb_pixel_total : 213515 time to create 1 rle with new method : 0.006810903549194336 length of segment : 943 time for calcul the mask position with numpy : 0.0006995201110839844 nb_pixel_total : 21441 time to create 1 rle with old method : 0.025256872177124023 length of segment : 276 time for calcul the mask position with numpy : 0.0046842098236083984 nb_pixel_total : 247895 time to create 1 rle with new method : 0.00945281982421875 length of segment : 909 time for calcul the mask position with numpy : 0.007113933563232422 nb_pixel_total : 228630 time to create 1 rle with new method : 0.011645317077636719 length of segment : 1192 time for calcul the mask position with numpy : 0.0018215179443359375 nb_pixel_total : 111457 time to create 1 rle with old method : 0.12349414825439453 length of segment : 420 time for calcul the mask position with numpy : 0.0014693737030029297 nb_pixel_total : 81268 time to create 1 rle with old method : 0.09270906448364258 length of segment : 212 time spent for convertir_results : 7.136026382446289 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 55 chid ids of type : 3663 Number RLEs to save : 29996 save missing photos in datou_result : time spend for datou_step_exec : 41.57197904586792 time spend to save output : 9.58063530921936 total time spend for step 1 : 51.15261435508728 step2:crop_condition Fri Mar 14 07:47:21 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3663 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 55 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 ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! we have finished the crop for the class : 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 ! 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 : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! we have finished the crop for the class : 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 [1344076876, 1344076867, 1344076863, 1344076860, 1344076805, 1344076795, 1344076784, 1344076742, 1344076739, 1344076735] Looping around the photos to save general results len do output : 33 /-3711566548Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566556Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566568Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566576Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566584Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566589Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566590Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566597Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566572Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566593Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566599Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566580Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566554Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566559Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566563Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566571Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566573Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566581Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566579Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566577Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566587Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566583Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566565Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566592Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566601Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566552Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566564Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566566Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566574Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566582Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566578Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566585Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3711566586Didn'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, '2668086') ('3459', None, '1344076876', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076867', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076863', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076860', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076805', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076795', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076784', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076742', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076739', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076735', None, None, None, None, None, '2668086') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 109 time used for this insertion : 0.023242712020874023 save_final save missing photos in datou_result : time spend for datou_step_exec : 35.045583724975586 time spend to save output : 0.024259328842163086 total time spend for step 2 : 35.06984305381775 step3:thcl Fri Mar 14 07:47: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 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.006651401519775391 time to convert the images to numpy array : 3.0994415283203125e-06 time to import caffe and check if the image exist : 0.007228374481201172 time to convert the images to numpy array : 0.08689355850219727 time to import caffe and check if the image exist : 0.008704185485839844 time to convert the images to numpy array : 0.12375473976135254 time to import caffe and check if the image exist : 0.011930704116821289 time to convert the images to numpy array : 0.1371147632598877 time to import caffe and check if the image exist : 0.008615732192993164 time to convert the images to numpy array : 0.15065622329711914 time to import caffe and check if the image exist : 0.00945425033569336 time to convert the images to numpy array : 0.16869664192199707 time to import caffe and check if the image exist : 0.01136922836303711 time to convert the images to numpy array : 0.1738266944885254 time to import caffe and check if the image exist : 0.008918523788452148 time to convert the images to numpy array : 0.3331787586212158 time to import caffe and check if the image exist : 0.01293182373046875 time to convert the images to numpy array : 0.33663368225097656 time to import caffe and check if the image exist : 0.010567903518676758 time to convert the images to numpy array : 0.3432645797729492 total time to convert the images to numpy array : 0.6157288551330566 list photo_ids error: [] list photo_ids correct : [-3711566586, -3711566584, -3711566589, -3711566590, -3711566597, -3711566548, -3711566556, -3711566568, -3711566576, -3711566573, -3711566581, -3711566579, -3711566577, -3711566554, -3711566559, -3711566563, -3711566571, -3711566601, -3711566552, -3711566564, -3711566566, -3711566572, -3711566593, -3711566599, -3711566580, -3711566587, -3711566583, -3711566565, -3711566592, -3711566574, -3711566582, -3711566578, -3711566585] number of photos to traite : 33 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 : 5304 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 : 5085 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.7325198650360107 time used to do the prediction : 0.2480454444885254 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 : 5083 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 : 5083 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.7452330589294434 time used to do the prediction : 0.11107087135314941 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.9550323486328125e-05 save missing photos in datou_result : time spend for datou_step_exec : 9.155890464782715 time spend to save output : 0.0004918575286865234 total time spend for step 3 : 9.156382322311401 step4:merge_mask_thcl_custom Fri Mar 14 07:48: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 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 55 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 [1344076876, 1344076867, 1344076863, 1344076860, 1344076805, 1344076795, 1344076784, 1344076742, 1344076739, 1344076735] Looping around the photos to save general results len do output : 10 /1344076876Didn't retrieve data .Didn't retrieve data . /1344076867Didn't retrieve data .Didn't retrieve data . /1344076863Didn't retrieve data .Didn't retrieve data . /1344076860Didn't retrieve data .Didn't retrieve data . /1344076805Didn't retrieve data .Didn't retrieve data . /1344076795Didn't retrieve data .Didn't retrieve data . /1344076784Didn't retrieve data .Didn't retrieve data . /1344076742Didn't retrieve data .Didn't retrieve data . /1344076739Didn't retrieve data .Didn't retrieve data . /1344076735Didn'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, '2668086') ('3459', None, '1344076876', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076867', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076863', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076860', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076805', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076795', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076784', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076742', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076739', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076735', None, None, None, None, None, '2668086') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013820171356201172 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.05164170265197754 time spend to save output : 0.014265298843383789 total time spend for step 4 : 0.06590700149536133 step5:rle_unique_nms_with_priority Fri Mar 14 07:48: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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 4.631285905838013 time for calcul the mask position with numpy : 0.8156583309173584 nb_pixel_total : 7658606 time to create 1 rle with new method : 0.5597105026245117 time for calcul the mask position with numpy : 0.03906607627868652 nb_pixel_total : 23667 time to create 1 rle with old method : 0.02615976333618164 time for calcul the mask position with numpy : 0.039894819259643555 nb_pixel_total : 181788 time to create 1 rle with new method : 0.6814477443695068 time for calcul the mask position with numpy : 0.037470102310180664 nb_pixel_total : 17666 time to create 1 rle with old method : 0.019414901733398438 time for calcul the mask position with numpy : 0.033737897872924805 nb_pixel_total : 27089 time to create 1 rle with old method : 0.03079533576965332 time for calcul the mask position with numpy : 0.029674291610717773 nb_pixel_total : 342719 time to create 1 rle with new method : 0.7919104099273682 time for calcul the mask position with numpy : 0.02738022804260254 nb_pixel_total : 42865 time to create 1 rle with old method : 0.0534212589263916 create new chi : 3.2748360633850098 time to delete rle : 0.017976045608520508 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 7296 TO DO : save crop sub photo not yet done ! save time : 0.5994160175323486 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 3.966031074523926 time for calcul the mask position with numpy : 0.6057207584381104 nb_pixel_total : 7742579 time to create 1 rle with new method : 0.35221052169799805 time for calcul the mask position with numpy : 0.025792598724365234 nb_pixel_total : 78160 time to create 1 rle with old method : 0.08900713920593262 time for calcul the mask position with numpy : 0.0261385440826416 nb_pixel_total : 218202 time to create 1 rle with new method : 0.7671926021575928 time for calcul the mask position with numpy : 0.027678489685058594 nb_pixel_total : 179977 time to create 1 rle with new method : 0.7868373394012451 time for calcul the mask position with numpy : 0.025816917419433594 nb_pixel_total : 13490 time to create 1 rle with old method : 0.015151262283325195 time for calcul the mask position with numpy : 0.040270328521728516 nb_pixel_total : 61992 time to create 1 rle with old method : 0.0715792179107666 create new chi : 2.9341835975646973 time to delete rle : 0.0008368492126464844 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 8507 TO DO : save crop sub photo not yet done ! save time : 4.594784259796143 nb_obj : 5 nb_hashtags : 5 time to prepare the origin masks : 4.841558933258057 time for calcul the mask position with numpy : 0.6434910297393799 nb_pixel_total : 7566506 time to create 1 rle with new method : 0.6538200378417969 time for calcul the mask position with numpy : 0.028987646102905273 nb_pixel_total : 175245 time to create 1 rle with new method : 0.663642406463623 time for calcul the mask position with numpy : 0.026069164276123047 nb_pixel_total : 199762 time to create 1 rle with new method : 0.5520281791687012 time for calcul the mask position with numpy : 0.024694442749023438 nb_pixel_total : 198521 time to create 1 rle with new method : 0.6399683952331543 time for calcul the mask position with numpy : 0.024508237838745117 nb_pixel_total : 88279 time to create 1 rle with old method : 0.09476375579833984 time for calcul the mask position with numpy : 0.025768280029296875 nb_pixel_total : 66087 time to create 1 rle with old method : 0.0733342170715332 create new chi : 3.584383010864258 time to delete rle : 0.0010039806365966797 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 8924 TO DO : save crop sub photo not yet done ! save time : 1.5705077648162842 nb_obj : 8 nb_hashtags : 5 time to prepare the origin masks : 6.539905548095703 time for calcul the mask position with numpy : 0.6308891773223877 nb_pixel_total : 7650398 time to create 1 rle with new method : 0.5762817859649658 time for calcul the mask position with numpy : 0.02501082420349121 nb_pixel_total : 58015 time to create 1 rle with old method : 0.063934326171875 time for calcul the mask position with numpy : 0.025674819946289062 nb_pixel_total : 175406 time to create 1 rle with new method : 1.0749895572662354 time for calcul the mask position with numpy : 0.024480581283569336 nb_pixel_total : 18866 time to create 1 rle with old method : 0.0214691162109375 time for calcul the mask position with numpy : 0.03869342803955078 nb_pixel_total : 157643 time to create 1 rle with new method : 0.6842520236968994 time for calcul the mask position with numpy : 0.04117131233215332 nb_pixel_total : 57566 time to create 1 rle with old method : 0.06353116035461426 time for calcul the mask position with numpy : 0.02566075325012207 nb_pixel_total : 27799 time to create 1 rle with old method : 0.03522491455078125 time for calcul the mask position with numpy : 0.02675938606262207 nb_pixel_total : 30120 time to create 1 rle with old method : 0.03415846824645996 time for calcul the mask position with numpy : 0.027326107025146484 nb_pixel_total : 118587 time to create 1 rle with old method : 0.13623428344726562 create new chi : 3.658506155014038 time to delete rle : 0.001046895980834961 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 8986 TO DO : save crop sub photo not yet done ! save time : 6.683411598205566 nb_obj : 7 nb_hashtags : 4 time to prepare the origin masks : 4.614707708358765 time for calcul the mask position with numpy : 0.5437312126159668 nb_pixel_total : 7134713 time to create 1 rle with new method : 0.9482927322387695 time for calcul the mask position with numpy : 0.03638195991516113 nb_pixel_total : 85057 time to create 1 rle with old method : 0.09733986854553223 time for calcul the mask position with numpy : 0.042710304260253906 nb_pixel_total : 320186 time to create 1 rle with new method : 0.7043933868408203 time for calcul the mask position with numpy : 0.025241613388061523 nb_pixel_total : 134660 time to create 1 rle with old method : 0.1447303295135498 time for calcul the mask position with numpy : 0.030463218688964844 nb_pixel_total : 369300 time to create 1 rle with new method : 0.7341392040252686 time for calcul the mask position with numpy : 0.04322504997253418 nb_pixel_total : 34057 time to create 1 rle with old method : 0.03736066818237305 time for calcul the mask position with numpy : 0.04429793357849121 nb_pixel_total : 128398 time to create 1 rle with old method : 0.1467609405517578 time for calcul the mask position with numpy : 0.03879809379577637 nb_pixel_total : 88029 time to create 1 rle with old method : 0.09988546371459961 create new chi : 3.818953275680542 time to delete rle : 0.0009510517120361328 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 8381 TO DO : save crop sub photo not yet done ! save time : 5.799922704696655 nb_obj : 5 nb_hashtags : 4 time to prepare the origin masks : 4.173772811889648 time for calcul the mask position with numpy : 0.6951601505279541 nb_pixel_total : 7498859 time to create 1 rle with new method : 0.8735866546630859 time for calcul the mask position with numpy : 0.028784990310668945 nb_pixel_total : 101889 time to create 1 rle with old method : 0.11373209953308105 time for calcul the mask position with numpy : 0.02680230140686035 nb_pixel_total : 242432 time to create 1 rle with new method : 1.623668909072876 time for calcul the mask position with numpy : 0.024715423583984375 nb_pixel_total : 118309 time to create 1 rle with old method : 0.12704753875732422 time for calcul the mask position with numpy : 0.026850223541259766 nb_pixel_total : 310925 time to create 1 rle with new method : 0.9062201976776123 time for calcul the mask position with numpy : 0.02573084831237793 nb_pixel_total : 21986 time to create 1 rle with old method : 0.02913498878479004 create new chi : 4.597336769104004 time to delete rle : 0.0005645751953125 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 6328 TO DO : save crop sub photo not yet done ! save time : 3.785007953643799 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 2.6561293601989746 time for calcul the mask position with numpy : 0.7126896381378174 nb_pixel_total : 8100355 time to create 1 rle with new method : 0.7050836086273193 time for calcul the mask position with numpy : 0.027860403060913086 nb_pixel_total : 67016 time to create 1 rle with old method : 0.07571268081665039 time for calcul the mask position with numpy : 0.025620698928833008 nb_pixel_total : 61604 time to create 1 rle with old method : 0.06900978088378906 time for calcul the mask position with numpy : 0.024747610092163086 nb_pixel_total : 65425 time to create 1 rle with old method : 0.0736546516418457 create new chi : 1.7659246921539307 time to delete rle : 0.0007600784301757812 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 5166 TO DO : save crop sub photo not yet done ! save time : 1.945786952972412 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 1.7128946781158447 time for calcul the mask position with numpy : 0.47793102264404297 nb_pixel_total : 8104253 time to create 1 rle with new method : 0.7576999664306641 time for calcul the mask position with numpy : 0.027349233627319336 nb_pixel_total : 14718 time to create 1 rle with old method : 0.016561508178710938 time for calcul the mask position with numpy : 0.028394222259521484 nb_pixel_total : 175429 time to create 1 rle with new method : 0.8782765865325928 create new chi : 2.2728288173675537 time to delete rle : 0.0006303787231445312 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 3648 TO DO : save crop sub photo not yet done ! save time : 0.6480064392089844 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 1.119485855102539 time for calcul the mask position with numpy : 0.5845532417297363 nb_pixel_total : 8281847 time to create 1 rle with new method : 0.8558974266052246 time for calcul the mask position with numpy : 0.03372836112976074 nb_pixel_total : 12553 time to create 1 rle with old method : 0.014228582382202148 create new chi : 1.5340495109558105 time to delete rle : 0.0003848075866699219 batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 2686 TO DO : save crop sub photo not yet done ! save time : 0.6135463714599609 nb_obj : 5 nb_hashtags : 4 time to prepare the origin masks : 4.565469741821289 time for calcul the mask position with numpy : 0.8503308296203613 nb_pixel_total : 7473523 time to create 1 rle with new method : 1.086639165878296 time for calcul the mask position with numpy : 0.027932167053222656 nb_pixel_total : 246684 time to create 1 rle with new method : 0.6607308387756348 time for calcul the mask position with numpy : 0.039748430252075195 nb_pixel_total : 228737 time to create 1 rle with new method : 0.5415685176849365 time for calcul the mask position with numpy : 0.0390777587890625 nb_pixel_total : 111207 time to create 1 rle with old method : 0.12739205360412598 time for calcul the mask position with numpy : 0.03930926322937012 nb_pixel_total : 212841 time to create 1 rle with new method : 0.4617648124694824 time for calcul the mask position with numpy : 0.03797197341918945 nb_pixel_total : 21408 time to create 1 rle with old method : 0.025445938110351562 create new chi : 4.058242559432983 time to delete rle : 0.0010499954223632812 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 9529 TO DO : save crop sub photo not yet done ! save time : 2.858400821685791 map_output_result : {1344076876: (0.0, 'Should be the crop_list due to order', 0), 1344076867: (0.0, 'Should be the crop_list due to order', 0), 1344076863: (0.0, 'Should be the crop_list due to order', 0), 1344076860: (0.0, 'Should be the crop_list due to order', 0), 1344076805: (0.0, 'Should be the crop_list due to order', 0), 1344076795: (0.0, 'Should be the crop_list due to order', 0), 1344076784: (0.0, 'Should be the crop_list due to order', 0), 1344076742: (0.0, 'Should be the crop_list due to order', 0), 1344076739: (0.0, 'Should be the crop_list due to order', 0), 1344076735: (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 [1344076876, 1344076867, 1344076863, 1344076860, 1344076805, 1344076795, 1344076784, 1344076742, 1344076739, 1344076735] Looping around the photos to save general results len do output : 10 /1344076876.Didn't retrieve data . /1344076867.Didn't retrieve data . /1344076863.Didn't retrieve data . /1344076860.Didn't retrieve data . /1344076805.Didn't retrieve data . /1344076795.Didn't retrieve data . /1344076784.Didn't retrieve data . /1344076742.Didn't retrieve data . /1344076739.Didn't retrieve data . /1344076735.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, '2668086') ('3459', None, '1344076876', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076867', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076863', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076860', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076805', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076795', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076784', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076742', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076739', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076735', None, None, None, None, None, '2668086') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.015111207962036133 save_final save missing photos in datou_result : time spend for datou_step_exec : 100.810142993927 time spend to save output : 0.015589475631713867 total time spend for step 5 : 100.82573246955872 step6:crop_condition Fri Mar 14 07:49:46 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure some photos are not treated, begin crop_condition Loading chi in step crop with photo_hashtag_type : 3726 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 57 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 4869462 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741934991_2574068 we have uploaded 7 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.466850519180298 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! About to upload 8 photos upload in portfolio : 4869462 init cache_photo without model_param we have 8 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741935004_2574068 we have uploaded 8 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.749863624572754 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741935008_2574068 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5998401641845703 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741935011_2574068 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.8407282829284668 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 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 [1344076876, 1344076867, 1344076863, 1344076860, 1344076805, 1344076795, 1344076784, 1344076742, 1344076739, 1344076735] Looping around the photos to save general results len do output : 18 /1344085957Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344085958Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344085963Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344085966Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344085967Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344085968Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344085971Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344086050Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344086051Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344086052Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344086053Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344086054Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344086055Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344086057Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344086058Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344086077Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344086081Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1344086083Didn'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, '2668086') ('3459', None, '1344076876', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076867', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076863', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076860', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076805', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076795', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076784', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076742', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076739', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076735', None, None, None, None, None, '2668086') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 64 time used for this insertion : 0.024579524993896484 save_final save missing photos in datou_result : time spend for datou_step_exec : 30.84621238708496 time spend to save output : 0.025307178497314453 total time spend for step 6 : 30.871519565582275 step7:ventilate_hashtags_in_portfolio Fri Mar 14 07:50:17 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 21411664 get user id for portfolio 21411664 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`=21411664 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','environnement','metal','papier','cartonnette','kraft','Teint_Dans_La_Masse','Carton_brun','autre_refus','Carton_gris','mal_croppe','plastique')) 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`=21411664 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','environnement','metal','papier','cartonnette','kraft','Teint_Dans_La_Masse','Carton_brun','autre_refus','Carton_gris','mal_croppe','plastique')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/21411890,21411891,21411892,21411893,21411894,21411895,21411896,21411897,21411898,21411899,21411900,21411901?tags=kraft,cartonnette,Carton_brun,autre_refus,papier,Teint_Dans_La_Masse,mal_croppe,flou,plastique,metal,Carton_gris,environnement Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1344076876, 1344076867, 1344076863, 1344076860, 1344076805, 1344076795, 1344076784, 1344076742, 1344076739, 1344076735] Looping around the photos to save general results len do output : 1 /21411664. 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, '2668086') ('3459', None, '1344076876', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076867', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076863', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076860', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076805', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076795', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076784', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076742', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076739', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076735', None, None, None, None, None, '2668086') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013266801834106445 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5796947479248047 time spend to save output : 0.013700485229492188 total time spend for step 7 : 0.5933952331542969 step8:final Fri Mar 14 07:50:18 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 : {1344076876: ('0.05361811537501305',), 1344076867: ('0.05361811537501305',), 1344076863: ('0.05361811537501305',), 1344076860: ('0.05361811537501305',), 1344076805: ('0.05361811537501305',), 1344076795: ('0.05361811537501305',), 1344076784: ('0.05361811537501305',), 1344076742: ('0.05361811537501305',), 1344076739: ('0.05361811537501305',), 1344076735: ('0.05361811537501305',)} new output for save of step final : {1344076876: ('0.05361811537501305',), 1344076867: ('0.05361811537501305',), 1344076863: ('0.05361811537501305',), 1344076860: ('0.05361811537501305',), 1344076805: ('0.05361811537501305',), 1344076795: ('0.05361811537501305',), 1344076784: ('0.05361811537501305',), 1344076742: ('0.05361811537501305',), 1344076739: ('0.05361811537501305',), 1344076735: ('0.05361811537501305',)} [1344076876, 1344076867, 1344076863, 1344076860, 1344076805, 1344076795, 1344076784, 1344076742, 1344076739, 1344076735] Looping around the photos to save general results len do output : 10 /1344076876.Didn't retrieve data . /1344076867.Didn't retrieve data . /1344076863.Didn't retrieve data . /1344076860.Didn't retrieve data . /1344076805.Didn't retrieve data . /1344076795.Didn't retrieve data . /1344076784.Didn't retrieve data . /1344076742.Didn't retrieve data . /1344076739.Didn't retrieve data . /1344076735.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, '2668086') ('3459', None, '1344076876', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076867', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076863', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076860', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076805', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076795', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076784', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076742', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076739', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076735', None, None, None, None, None, '2668086') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.011873722076416016 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.22173714637756348 time spend to save output : 0.012250900268554688 total time spend for step 8 : 0.23398804664611816 step9:velours_tree Fri Mar 14 07:50:18 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.026308536529541016 time spend to save output : 4.5299530029296875e-05 total time spend for step 9 : 0.026353836059570312 step10:send_mail_cod Fri Mar 14 07:50:18 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_P21411664_14-03-2025_07_50_18.pdf 21411890 imagette214118901741935018 21411891 change filename to text .change filename to text .imagette214118911741935018 21411893 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 .imagette214118931741935018 21411896 imagette214118961741935020 21411897 imagette214118971741935020 21411898 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 .imagette214118981741935020 21411899 imagette214118991741935021 21411892 change filename to text .change filename to text .imagette214118921741935021 21411895 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 .-- Missing : http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/14/d47583b2c8c7e156f40a5d6b4648ebea_56997961.png retrying : HTTP Error 503: Service Unavailable change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette214118951741935021 21411900 change filename to text .change filename to text .change filename to text .imagette214119001741935080 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21411664 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21411890,21411891,21411892,21411893,21411894,21411895,21411896,21411897,21411898,21411899,21411900,21411901?tags=kraft,cartonnette,Carton_brun,autre_refus,papier,Teint_Dans_La_Masse,mal_croppe,flou,plastique,metal,Carton_gris,environnement your option no_mail is active, we will not send the real mail to your client args[1344076876] : ('0.05361811537501305',) no score found for photo 1344076876 We are sending mail with results at report@fotonower.com args[1344076867] : ('0.05361811537501305',) no score found for photo 1344076867 We are sending mail with results at report@fotonower.com args[1344076863] : ('0.05361811537501305',) no score found for photo 1344076863 We are sending mail with results at report@fotonower.com args[1344076860] : ('0.05361811537501305',) no score found for photo 1344076860 We are sending mail with results at report@fotonower.com args[1344076805] : ('0.05361811537501305',) no score found for photo 1344076805 We are sending mail with results at report@fotonower.com args[1344076795] : ('0.05361811537501305',) no score found for photo 1344076795 We are sending mail with results at report@fotonower.com args[1344076784] : ('0.05361811537501305',) no score found for photo 1344076784 We are sending mail with results at report@fotonower.com args[1344076742] : ('0.05361811537501305',) no score found for photo 1344076742 We are sending mail with results at report@fotonower.com args[1344076739] : ('0.05361811537501305',) no score found for photo 1344076739 We are sending mail with results at report@fotonower.com args[1344076735] : ('0.05361811537501305',) no score found for photo 1344076735 We are sending mail with results at report@fotonower.com refus_total : 0.05361811537501305 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=21411664 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21411664_14-03-2025_07_50_18.pdf results_Auto_P21411664_14-03-2025_07_50_18.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21411664_14-03-2025_07_50_18.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','21411664','results_Auto_P21411664_14-03-2025_07_50_18.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21411664_14-03-2025_07_50_18.pdf','pdf','','1.37','0.05361811537501305') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1344076876, 1344076867, 1344076863, 1344076860, 1344076805, 1344076795, 1344076784, 1344076742, 1344076739, 1344076735] 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, '2668086') ('3459', None, '1344076876', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076867', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076863', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076860', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076805', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076795', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076784', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076742', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076739', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076735', None, None, None, None, None, '2668086') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.013251304626464844 save_final save missing photos in datou_result : time spend for datou_step_exec : 64.26825332641602 time spend to save output : 0.013593912124633789 total time spend for step 10 : 64.28184723854065 step11:split_time_score Fri Mar 14 07:51:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('06', 47),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 14032025 21411664 Nombre de photos uploadées : 47 / 23040 (0%) 14032025 21411664 Nombre de photos taguées (types de déchets): 0 / 47 (0%) 14032025 21411664 Nombre de photos taguées (volume) : 0 / 47 (0%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 7.3909759521484375e-06 ??????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0015151500701904297 elapsed_time : insert_dashboard_record_day_entry 0.02227497100830078 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.06395467474771536 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21411659_14-03-2025_07_34_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21411659 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`=21411659 AND mptpi.`type`=4209 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21411660_14-03-2025_07_50_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21411660 order by id desc limit 1 Qualite : 0.10581641073370418 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21411661_14-03-2025_07_48_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21411661 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`=21411661 AND mptpi.`type`=3327 To do Qualite : 0.05492072979942885 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21411662_14-03-2025_07_44_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21411662 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`=21411662 AND mptpi.`type`=4211 To do Qualite : 0.06189264693373972 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21411663_14-03-2025_07_50_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21411663 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`=21411663 AND mptpi.`type`=4209 To do Qualite : 0.046779868097940304 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21411664_14-03-2025_07_50_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21411664 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`=21411664 AND mptpi.`type`=3726 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'14032025': {'nb_upload': 47, '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 [1344076876, 1344076867, 1344076863, 1344076860, 1344076805, 1344076795, 1344076784, 1344076742, 1344076739, 1344076735] Looping around the photos to save general results len do output : 1 /21411664Didn'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, '2668086') ('3459', None, '1344076876', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076867', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076863', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076860', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076805', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076795', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076784', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076742', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076739', None, None, None, None, None, '2668086') ('3459', None, None, None, None, None, None, None, '2668086') ('3459', None, '1344076735', None, None, None, None, None, '2668086') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013283252716064453 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.1156005859375 time spend to save output : 0.013531684875488281 total time spend for step 11 : 1.1291322708129883 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 95.30user 88.90system 4:59.22elapsed 61%CPU (0avgtext+0avgdata 3663316maxresident)k 75208inputs+156928outputs (531major+8990223minor)pagefaults 0swaps