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 : 1675047 load datou : 3459 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? output optionnel thcl was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) load thcls load THCL from format json or kwargs add thcl : 2456 in CacheModelConfig load THCL from format json or kwargs add thcl : 2868 in CacheModelConfig load THCL from format json or kwargs add thcl : 2896 in CacheModelConfig load pdts add pdt : 4999 in CacheModelConfig add pdt : 5288 in CacheModelConfig add pdt : 5309 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 we have a portfolio with more photos than limit : 21>10 please execute split_portfolio.py -i 20835307 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2615673'] with mtr_portfolio_ids : ['20835307'] and first list_photo_ids : [] new path : /proc/1675047/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.868406057357788 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 Wed Feb 26 10:56: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 havn't enough memory gpu , need / 3000 l 3632 free memory gpu now : 1508 wait 20 seconds l 3637 free memory gpu now : 1508 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-26 10:56:54.223483: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-02-26 10:56:54.232897: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-26 10:56:54.234568: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f4c68000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-26 10:56:54.234590: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-26 10:56:54.238148: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-26 10:56:54.393745: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1b316b60 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-26 10:56:54.393808: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-26 10:56:54.394806: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-26 10:56:54.395636: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-26 10:56:54.399798: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-26 10:56:54.412050: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-26 10:56:54.412482: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-26 10:56:54.421587: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-26 10:56:54.424496: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-26 10:56:54.437270: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-26 10:56:54.438736: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-26 10:56:54.438830: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-26 10:56:54.439606: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-26 10:56:54.439629: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-26 10:56:54.439641: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-26 10:56:54.440936: 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-02-26 10:56:54.782477: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-26 10:56:54.782678: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-26 10:56:54.782713: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-26 10:56:54.782738: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-26 10:56:54.782758: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-26 10:56:54.782785: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-26 10:56:54.782815: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-26 10:56:54.782858: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-26 10:56:54.784364: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-26 10:56:54.785725: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-26 10:56:54.785780: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-26 10:56:54.785803: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-26 10:56:54.785821: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-26 10:56:54.785844: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-26 10:56:54.785867: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-26 10:56:54.785890: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-26 10:56:54.785912: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-26 10:56:54.787032: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-26 10:56:54.787096: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-26 10:56:54.787109: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-26 10:56:54.787121: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-26 10:56:54.788380: 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-02-26 10:57:05.831126: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-26 10:57:05.999206: 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, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 19 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 25 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 28 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 11 Detection mask done ! Trying to reset tf kernel 1676723 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.0034818649291992188 nb_pixel_total : 101119 time to create 1 rle with old method : 0.13501858711242676 length of segment : 375 time for calcul the mask position with numpy : 0.00043272972106933594 nb_pixel_total : 6307 time to create 1 rle with old method : 0.007809162139892578 length of segment : 142 time for calcul the mask position with numpy : 0.0037496089935302734 nb_pixel_total : 135612 time to create 1 rle with old method : 0.15296173095703125 length of segment : 503 time for calcul the mask position with numpy : 0.002343416213989258 nb_pixel_total : 86289 time to create 1 rle with old method : 0.10155200958251953 length of segment : 377 time for calcul the mask position with numpy : 0.0004246234893798828 nb_pixel_total : 13038 time to create 1 rle with old method : 0.015879392623901367 length of segment : 122 time for calcul the mask position with numpy : 0.0022389888763427734 nb_pixel_total : 41988 time to create 1 rle with old method : 0.04900836944580078 length of segment : 529 time for calcul the mask position with numpy : 0.00039458274841308594 nb_pixel_total : 17835 time to create 1 rle with old method : 0.021160602569580078 length of segment : 180 time for calcul the mask position with numpy : 0.015126705169677734 nb_pixel_total : 522631 time to create 1 rle with new method : 0.027205228805541992 length of segment : 1620 time for calcul the mask position with numpy : 0.0003447532653808594 nb_pixel_total : 5297 time to create 1 rle with old method : 0.0069179534912109375 length of segment : 85 time for calcul the mask position with numpy : 0.0006976127624511719 nb_pixel_total : 18172 time to create 1 rle with old method : 0.02268815040588379 length of segment : 148 time for calcul the mask position with numpy : 0.0013670921325683594 nb_pixel_total : 34857 time to create 1 rle with old method : 0.040935516357421875 length of segment : 322 time for calcul the mask position with numpy : 0.0014712810516357422 nb_pixel_total : 49275 time to create 1 rle with old method : 0.061595916748046875 length of segment : 396 time for calcul the mask position with numpy : 0.018309593200683594 nb_pixel_total : 617069 time to create 1 rle with new method : 0.03426694869995117 length of segment : 1095 time for calcul the mask position with numpy : 0.00028014183044433594 nb_pixel_total : 3816 time to create 1 rle with old method : 0.0047266483306884766 length of segment : 144 time for calcul the mask position with numpy : 0.03108811378479004 nb_pixel_total : 1002202 time to create 1 rle with new method : 0.7012801170349121 length of segment : 1670 time for calcul the mask position with numpy : 0.0022592544555664062 nb_pixel_total : 90776 time to create 1 rle with old method : 0.13370418548583984 length of segment : 361 time for calcul the mask position with numpy : 0.0003135204315185547 nb_pixel_total : 8090 time to create 1 rle with old method : 0.00971221923828125 length of segment : 105 time for calcul the mask position with numpy : 0.0018095970153808594 nb_pixel_total : 56245 time to create 1 rle with old method : 0.07495570182800293 length of segment : 537 time for calcul the mask position with numpy : 0.0001690387725830078 nb_pixel_total : 2388 time to create 1 rle with old method : 0.0031239986419677734 length of segment : 40 time for calcul the mask position with numpy : 0.003992557525634766 nb_pixel_total : 181219 time to create 1 rle with new method : 0.006978511810302734 length of segment : 479 time for calcul the mask position with numpy : 0.0005962848663330078 nb_pixel_total : 14215 time to create 1 rle with old method : 0.02210855484008789 length of segment : 101 time for calcul the mask position with numpy : 0.0003781318664550781 nb_pixel_total : 8419 time to create 1 rle with old method : 0.010283946990966797 length of segment : 185 time for calcul the mask position with numpy : 0.0005252361297607422 nb_pixel_total : 13953 time to create 1 rle with old method : 0.016860246658325195 length of segment : 274 time for calcul the mask position with numpy : 0.0019121170043945312 nb_pixel_total : 109739 time to create 1 rle with old method : 0.1251392364501953 length of segment : 276 time for calcul the mask position with numpy : 0.00021839141845703125 nb_pixel_total : 5720 time to create 1 rle with old method : 0.007075786590576172 length of segment : 189 time for calcul the mask position with numpy : 0.00014209747314453125 nb_pixel_total : 4497 time to create 1 rle with old method : 0.0055620670318603516 length of segment : 115 time for calcul the mask position with numpy : 0.0002219676971435547 nb_pixel_total : 4833 time to create 1 rle with old method : 0.006474733352661133 length of segment : 54 time for calcul the mask position with numpy : 0.0010344982147216797 nb_pixel_total : 34970 time to create 1 rle with old method : 0.040242910385131836 length of segment : 243 time for calcul the mask position with numpy : 0.00037860870361328125 nb_pixel_total : 7493 time to create 1 rle with old method : 0.009354591369628906 length of segment : 134 time for calcul the mask position with numpy : 0.002640962600708008 nb_pixel_total : 136396 time to create 1 rle with old method : 0.21732115745544434 length of segment : 393 time for calcul the mask position with numpy : 0.0008945465087890625 nb_pixel_total : 16476 time to create 1 rle with old method : 0.027067184448242188 length of segment : 176 time for calcul the mask position with numpy : 0.008335113525390625 nb_pixel_total : 415313 time to create 1 rle with new method : 0.01837301254272461 length of segment : 813 time for calcul the mask position with numpy : 0.0026481151580810547 nb_pixel_total : 86357 time to create 1 rle with old method : 0.1133878231048584 length of segment : 287 time for calcul the mask position with numpy : 0.0008590221405029297 nb_pixel_total : 39798 time to create 1 rle with old method : 0.049027442932128906 length of segment : 312 time for calcul the mask position with numpy : 0.0014340877532958984 nb_pixel_total : 80308 time to create 1 rle with old method : 0.09446144104003906 length of segment : 321 time for calcul the mask position with numpy : 0.0017893314361572266 nb_pixel_total : 66455 time to create 1 rle with old method : 0.07912158966064453 length of segment : 409 time for calcul the mask position with numpy : 0.0006797313690185547 nb_pixel_total : 36922 time to create 1 rle with old method : 0.04401969909667969 length of segment : 229 time for calcul the mask position with numpy : 0.0009462833404541016 nb_pixel_total : 53764 time to create 1 rle with old method : 0.06361913681030273 length of segment : 293 time for calcul the mask position with numpy : 0.0006885528564453125 nb_pixel_total : 39034 time to create 1 rle with old method : 0.04669785499572754 length of segment : 320 time for calcul the mask position with numpy : 0.002135038375854492 nb_pixel_total : 126331 time to create 1 rle with old method : 0.1446819305419922 length of segment : 801 time for calcul the mask position with numpy : 0.0009200572967529297 nb_pixel_total : 41519 time to create 1 rle with old method : 0.05506563186645508 length of segment : 194 time for calcul the mask position with numpy : 0.0014789104461669922 nb_pixel_total : 72488 time to create 1 rle with old method : 0.10125851631164551 length of segment : 446 time for calcul the mask position with numpy : 0.0006680488586425781 nb_pixel_total : 24438 time to create 1 rle with old method : 0.03260660171508789 length of segment : 181 time for calcul the mask position with numpy : 0.0028443336486816406 nb_pixel_total : 104296 time to create 1 rle with old method : 0.12607765197753906 length of segment : 558 time for calcul the mask position with numpy : 0.0009250640869140625 nb_pixel_total : 40413 time to create 1 rle with old method : 0.06291747093200684 length of segment : 311 time for calcul the mask position with numpy : 0.0005838871002197266 nb_pixel_total : 21679 time to create 1 rle with old method : 0.03847479820251465 length of segment : 183 time for calcul the mask position with numpy : 0.0006270408630371094 nb_pixel_total : 37221 time to create 1 rle with old method : 0.044924020767211914 length of segment : 231 time for calcul the mask position with numpy : 0.0018672943115234375 nb_pixel_total : 78932 time to create 1 rle with old method : 0.11093473434448242 length of segment : 510 time for calcul the mask position with numpy : 0.00024056434631347656 nb_pixel_total : 6399 time to create 1 rle with old method : 0.011251449584960938 length of segment : 135 time for calcul the mask position with numpy : 0.0004277229309082031 nb_pixel_total : 14536 time to create 1 rle with old method : 0.023735761642456055 length of segment : 151 time for calcul the mask position with numpy : 0.0008363723754882812 nb_pixel_total : 33834 time to create 1 rle with old method : 0.04030036926269531 length of segment : 265 time for calcul the mask position with numpy : 0.0011529922485351562 nb_pixel_total : 64666 time to create 1 rle with old method : 0.08688616752624512 length of segment : 202 time for calcul the mask position with numpy : 0.000118255615234375 nb_pixel_total : 1880 time to create 1 rle with old method : 0.0033674240112304688 length of segment : 45 time for calcul the mask position with numpy : 0.005364179611206055 nb_pixel_total : 210020 time to create 1 rle with new method : 0.016107797622680664 length of segment : 1496 time for calcul the mask position with numpy : 0.0007989406585693359 nb_pixel_total : 39305 time to create 1 rle with old method : 0.04373574256896973 length of segment : 197 time for calcul the mask position with numpy : 0.0038673877716064453 nb_pixel_total : 179258 time to create 1 rle with new method : 0.010980844497680664 length of segment : 515 time for calcul the mask position with numpy : 0.01767110824584961 nb_pixel_total : 686680 time to create 1 rle with new method : 0.07485818862915039 length of segment : 1612 time for calcul the mask position with numpy : 0.003317594528198242 nb_pixel_total : 176592 time to create 1 rle with new method : 0.00975179672241211 length of segment : 477 time for calcul the mask position with numpy : 0.0016140937805175781 nb_pixel_total : 88485 time to create 1 rle with old method : 0.10217523574829102 length of segment : 296 time for calcul the mask position with numpy : 0.00021266937255859375 nb_pixel_total : 5127 time to create 1 rle with old method : 0.0071811676025390625 length of segment : 93 time for calcul the mask position with numpy : 0.0012595653533935547 nb_pixel_total : 81719 time to create 1 rle with old method : 0.21274852752685547 length of segment : 309 time for calcul the mask position with numpy : 0.0034515857696533203 nb_pixel_total : 114002 time to create 1 rle with old method : 0.13409423828125 length of segment : 654 time for calcul the mask position with numpy : 0.0004451274871826172 nb_pixel_total : 3363 time to create 1 rle with old method : 0.004563093185424805 length of segment : 93 time for calcul the mask position with numpy : 0.00479435920715332 nb_pixel_total : 143508 time to create 1 rle with old method : 0.17319416999816895 length of segment : 741 time for calcul the mask position with numpy : 0.0016984939575195312 nb_pixel_total : 44246 time to create 1 rle with old method : 0.05289626121520996 length of segment : 297 time for calcul the mask position with numpy : 0.002132415771484375 nb_pixel_total : 66754 time to create 1 rle with old method : 0.08939290046691895 length of segment : 201 time for calcul the mask position with numpy : 0.0015094280242919922 nb_pixel_total : 45529 time to create 1 rle with old method : 0.055274009704589844 length of segment : 312 time for calcul the mask position with numpy : 0.0010743141174316406 nb_pixel_total : 49845 time to create 1 rle with old method : 0.058303117752075195 length of segment : 299 time for calcul the mask position with numpy : 0.5651137828826904 nb_pixel_total : 4043456 time to create 1 rle with new method : 1.3526148796081543 length of segment : 2992 time for calcul the mask position with numpy : 0.00017404556274414062 nb_pixel_total : 2227 time to create 1 rle with old method : 0.0033020973205566406 length of segment : 62 time for calcul the mask position with numpy : 0.007412910461425781 nb_pixel_total : 293784 time to create 1 rle with new method : 0.017955780029296875 length of segment : 1243 time for calcul the mask position with numpy : 0.0012769699096679688 nb_pixel_total : 27884 time to create 1 rle with old method : 0.03328108787536621 length of segment : 229 time for calcul the mask position with numpy : 0.00017118453979492188 nb_pixel_total : 1678 time to create 1 rle with old method : 0.0021402835845947266 length of segment : 61 time for calcul the mask position with numpy : 0.004220008850097656 nb_pixel_total : 173502 time to create 1 rle with new method : 0.005998373031616211 length of segment : 454 time for calcul the mask position with numpy : 0.0028638839721679688 nb_pixel_total : 86769 time to create 1 rle with old method : 0.10317230224609375 length of segment : 318 time for calcul the mask position with numpy : 0.0027818679809570312 nb_pixel_total : 71728 time to create 1 rle with old method : 0.08471846580505371 length of segment : 352 time for calcul the mask position with numpy : 0.0005707740783691406 nb_pixel_total : 24961 time to create 1 rle with old method : 0.03024768829345703 length of segment : 195 time for calcul the mask position with numpy : 0.0011143684387207031 nb_pixel_total : 29094 time to create 1 rle with old method : 0.03464770317077637 length of segment : 235 time for calcul the mask position with numpy : 0.005776643753051758 nb_pixel_total : 180000 time to create 1 rle with new method : 0.008656740188598633 length of segment : 522 time for calcul the mask position with numpy : 0.0007092952728271484 nb_pixel_total : 15759 time to create 1 rle with old method : 0.018900156021118164 length of segment : 153 time for calcul the mask position with numpy : 0.0031440258026123047 nb_pixel_total : 97441 time to create 1 rle with old method : 0.11593222618103027 length of segment : 366 time for calcul the mask position with numpy : 0.0002484321594238281 nb_pixel_total : 2701 time to create 1 rle with old method : 0.003364086151123047 length of segment : 98 time for calcul the mask position with numpy : 0.0007987022399902344 nb_pixel_total : 12162 time to create 1 rle with old method : 0.016588211059570312 length of segment : 205 time for calcul the mask position with numpy : 0.0026373863220214844 nb_pixel_total : 64321 time to create 1 rle with old method : 0.07783246040344238 length of segment : 294 time for calcul the mask position with numpy : 0.000850677490234375 nb_pixel_total : 24603 time to create 1 rle with old method : 0.02992081642150879 length of segment : 208 time for calcul the mask position with numpy : 0.0016422271728515625 nb_pixel_total : 50960 time to create 1 rle with old method : 0.06174159049987793 length of segment : 379 time for calcul the mask position with numpy : 0.0007560253143310547 nb_pixel_total : 42739 time to create 1 rle with old method : 0.05108761787414551 length of segment : 351 time for calcul the mask position with numpy : 0.0005705356597900391 nb_pixel_total : 14966 time to create 1 rle with old method : 0.018881559371948242 length of segment : 184 time for calcul the mask position with numpy : 0.0011348724365234375 nb_pixel_total : 41175 time to create 1 rle with old method : 0.05395245552062988 length of segment : 411 time for calcul the mask position with numpy : 0.0015494823455810547 nb_pixel_total : 20577 time to create 1 rle with old method : 0.026015043258666992 length of segment : 244 time for calcul the mask position with numpy : 0.0029845237731933594 nb_pixel_total : 96232 time to create 1 rle with old method : 0.11425542831420898 length of segment : 484 time for calcul the mask position with numpy : 0.0023543834686279297 nb_pixel_total : 105703 time to create 1 rle with old method : 0.12636923789978027 length of segment : 530 time for calcul the mask position with numpy : 0.0023462772369384766 nb_pixel_total : 67325 time to create 1 rle with old method : 0.08112525939941406 length of segment : 546 time for calcul the mask position with numpy : 0.0014221668243408203 nb_pixel_total : 33207 time to create 1 rle with old method : 0.040503740310668945 length of segment : 199 time for calcul the mask position with numpy : 0.21560883522033691 nb_pixel_total : 2933976 time to create 1 rle with new method : 0.9206833839416504 length of segment : 3688 time for calcul the mask position with numpy : 0.0005450248718261719 nb_pixel_total : 16053 time to create 1 rle with old method : 0.019406795501708984 length of segment : 150 time for calcul the mask position with numpy : 0.03125619888305664 nb_pixel_total : 1781393 time to create 1 rle with new method : 0.5013120174407959 length of segment : 2845 time for calcul the mask position with numpy : 0.0004227161407470703 nb_pixel_total : 10797 time to create 1 rle with old method : 0.01303410530090332 length of segment : 140 time for calcul the mask position with numpy : 0.0005946159362792969 nb_pixel_total : 15057 time to create 1 rle with old method : 0.01760101318359375 length of segment : 184 time for calcul the mask position with numpy : 0.3036015033721924 nb_pixel_total : 3330905 time to create 1 rle with new method : 0.9280273914337158 length of segment : 3325 time for calcul the mask position with numpy : 0.0003063678741455078 nb_pixel_total : 10086 time to create 1 rle with old method : 0.012726783752441406 length of segment : 73 time for calcul the mask position with numpy : 0.0010190010070800781 nb_pixel_total : 67352 time to create 1 rle with old method : 0.10306692123413086 length of segment : 268 time for calcul the mask position with numpy : 0.0015082359313964844 nb_pixel_total : 127964 time to create 1 rle with old method : 0.15299725532531738 length of segment : 284 time for calcul the mask position with numpy : 0.0002567768096923828 nb_pixel_total : 11875 time to create 1 rle with old method : 0.014698028564453125 length of segment : 165 time for calcul the mask position with numpy : 0.0013298988342285156 nb_pixel_total : 88932 time to create 1 rle with old method : 0.11025071144104004 length of segment : 321 time for calcul the mask position with numpy : 0.000823974609375 nb_pixel_total : 65444 time to create 1 rle with old method : 0.0813286304473877 length of segment : 275 time for calcul the mask position with numpy : 0.00012135505676269531 nb_pixel_total : 5083 time to create 1 rle with old method : 0.006486177444458008 length of segment : 75 time for calcul the mask position with numpy : 0.00032591819763183594 nb_pixel_total : 9632 time to create 1 rle with old method : 0.012056827545166016 length of segment : 83 time for calcul the mask position with numpy : 0.002879619598388672 nb_pixel_total : 103892 time to create 1 rle with old method : 0.12823200225830078 length of segment : 292 time for calcul the mask position with numpy : 0.0022695064544677734 nb_pixel_total : 81003 time to create 1 rle with old method : 0.10015034675598145 length of segment : 285 time for calcul the mask position with numpy : 0.0014081001281738281 nb_pixel_total : 50406 time to create 1 rle with old method : 0.06284070014953613 length of segment : 310 time for calcul the mask position with numpy : 0.0015716552734375 nb_pixel_total : 72350 time to create 1 rle with old method : 0.09515666961669922 length of segment : 273 time for calcul the mask position with numpy : 0.0007641315460205078 nb_pixel_total : 28937 time to create 1 rle with old method : 0.03375816345214844 length of segment : 184 time for calcul the mask position with numpy : 0.00041103363037109375 nb_pixel_total : 8050 time to create 1 rle with old method : 0.009662866592407227 length of segment : 127 time for calcul the mask position with numpy : 0.004641056060791016 nb_pixel_total : 205586 time to create 1 rle with new method : 0.006613016128540039 length of segment : 400 time for calcul the mask position with numpy : 0.003320932388305664 nb_pixel_total : 141249 time to create 1 rle with old method : 0.17523574829101562 length of segment : 658 time for calcul the mask position with numpy : 0.001171112060546875 nb_pixel_total : 38137 time to create 1 rle with old method : 0.04810333251953125 length of segment : 220 time for calcul the mask position with numpy : 0.0036733150482177734 nb_pixel_total : 170474 time to create 1 rle with new method : 0.0047075748443603516 length of segment : 666 time for calcul the mask position with numpy : 0.0020904541015625 nb_pixel_total : 175044 time to create 1 rle with new method : 0.005052328109741211 length of segment : 670 time for calcul the mask position with numpy : 0.0031435489654541016 nb_pixel_total : 108653 time to create 1 rle with old method : 0.1292285919189453 length of segment : 602 time for calcul the mask position with numpy : 0.0014755725860595703 nb_pixel_total : 54459 time to create 1 rle with old method : 0.06531739234924316 length of segment : 377 time for calcul the mask position with numpy : 0.0005290508270263672 nb_pixel_total : 15444 time to create 1 rle with old method : 0.01913166046142578 length of segment : 191 time for calcul the mask position with numpy : 0.0008749961853027344 nb_pixel_total : 65840 time to create 1 rle with old method : 0.07894182205200195 length of segment : 281 time for calcul the mask position with numpy : 0.00011992454528808594 nb_pixel_total : 2224 time to create 1 rle with old method : 0.0027937889099121094 length of segment : 97 time for calcul the mask position with numpy : 0.003202676773071289 nb_pixel_total : 109793 time to create 1 rle with old method : 0.13331341743469238 length of segment : 849 time for calcul the mask position with numpy : 0.0529789924621582 nb_pixel_total : 1902830 time to create 1 rle with new method : 0.5344693660736084 length of segment : 2458 time for calcul the mask position with numpy : 0.0005013942718505859 nb_pixel_total : 23913 time to create 1 rle with old method : 0.02843761444091797 length of segment : 247 time for calcul the mask position with numpy : 0.012180328369140625 nb_pixel_total : 669108 time to create 1 rle with new method : 0.028099536895751953 length of segment : 1112 time for calcul the mask position with numpy : 0.000141143798828125 nb_pixel_total : 864 time to create 1 rle with old method : 0.0018606185913085938 length of segment : 26 time for calcul the mask position with numpy : 0.0057222843170166016 nb_pixel_total : 252662 time to create 1 rle with new method : 0.009753704071044922 length of segment : 411 time for calcul the mask position with numpy : 0.0002925395965576172 nb_pixel_total : 7116 time to create 1 rle with old method : 0.008842229843139648 length of segment : 104 time for calcul the mask position with numpy : 0.00028204917907714844 nb_pixel_total : 7461 time to create 1 rle with old method : 0.009185075759887695 length of segment : 126 time for calcul the mask position with numpy : 0.0010311603546142578 nb_pixel_total : 64161 time to create 1 rle with old method : 0.07275867462158203 length of segment : 386 time for calcul the mask position with numpy : 0.0004818439483642578 nb_pixel_total : 6254 time to create 1 rle with old method : 0.007700681686401367 length of segment : 234 time spent for convertir_results : 26.010173797607422 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 134 chid ids of type : 3663 Number RLEs to save : 60936 save missing photos in datou_result : time spend for datou_step_exec : 91.84212827682495 time spend to save output : 12.645562648773193 total time spend for step 1 : 104.48769092559814 step2:crop_condition Wed Feb 26 10:58:14 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 134 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 42 About to insert : list_path_to_insert length 42 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 ! 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 : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1339696323, 1339696322, 1339696321, 1339696320, 1339696317, 1339695682, 1339695681, 1339695628, 1339695627, 1339695626] Looping around the photos to save general results len do output : 77 /-3687347790Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347784Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347803Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347816Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347815Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347834Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347831Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347835Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347838Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347860Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347855Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347821Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347823Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347875Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347873Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347877Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347889Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347900Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347906Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347902Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347830Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347822Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347829Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347845Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347864Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347899Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347905Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347789Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347799Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347786Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347795Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347787Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347807Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347811Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347825Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347820Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347828Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347827Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347818Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347817Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347824Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347850Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347847Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347851Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347839Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347849Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347842Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347854Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347859Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347869Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347862Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347872Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347867Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347857Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347868Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347888Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347885Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347886Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347898Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347892Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347895Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347894Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347893Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347904Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347903Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347910Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347913Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347916Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347917Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347804Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347861Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347914Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347814Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347813Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347896Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347876Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347863Didn'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, '2615673') ('3459', '20835307', '1339696323', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696322', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696321', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696320', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696317', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695682', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695681', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695628', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695627', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695626', None, None, None, None, None, '2615673') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 241 time used for this insertion : 0.13768577575683594 save_final save missing photos in datou_result : time spend for datou_step_exec : 38.54845595359802 time spend to save output : 0.13972759246826172 total time spend for step 2 : 38.688183546066284 step3:thcl Wed Feb 26 10:58:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.01838231086730957 time to convert the images to numpy array : 0.10416030883789062 time to import caffe and check if the image exist : 0.01908087730407715 time to convert the images to numpy array : 0.2028820514678955 time to import caffe and check if the image exist : 0.018798828125 time to convert the images to numpy array : 0.20463132858276367 time to import caffe and check if the image exist : 0.019256114959716797 time to convert the images to numpy array : 0.21382617950439453 time to import caffe and check if the image exist : 0.012185335159301758 time to convert the images to numpy array : 0.24147415161132812 time to import caffe and check if the image exist : 0.018097400665283203 time to convert the images to numpy array : 0.24614977836608887 time to import caffe and check if the image exist : 0.015305280685424805 time to convert the images to numpy array : 0.24921751022338867 time to import caffe and check if the image exist : 0.01987171173095703 time to convert the images to numpy array : 0.2514073848724365 time to import caffe and check if the image exist : 0.017987728118896484 time to convert the images to numpy array : 0.2650418281555176 time to import caffe and check if the image exist : 0.026078224182128906 time to convert the images to numpy array : 0.29430198669433594 total time to convert the images to numpy array : 0.605865478515625 list photo_ids error: [] list photo_ids correct : [-3687347814, -3687347813, -3687347896, -3687347876, -3687347863, -3687347807, -3687347811, -3687347825, -3687347820, -3687347828, -3687347827, -3687347818, -3687347817, -3687347838, -3687347860, -3687347855, -3687347821, -3687347823, -3687347875, -3687347873, -3687347877, -3687347903, -3687347910, -3687347913, -3687347916, -3687347917, -3687347804, -3687347861, -3687347914, -3687347859, -3687347869, -3687347862, -3687347872, -3687347867, -3687347857, -3687347868, -3687347888, -3687347889, -3687347900, -3687347906, -3687347902, -3687347830, -3687347822, -3687347829, -3687347845, -3687347864, -3687347899, -3687347905, -3687347789, -3687347799, -3687347786, -3687347795, -3687347787, -3687347885, -3687347886, -3687347898, -3687347892, -3687347895, -3687347894, -3687347893, -3687347904, -3687347790, -3687347784, -3687347803, -3687347816, -3687347815, -3687347834, -3687347831, -3687347835, -3687347824, -3687347850, -3687347847, -3687347851, -3687347839, -3687347849, -3687347842, -3687347854] number of photos to traite : 77 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 : 5083 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 : 4864 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.95810866355896 time used to do the prediction : 0.2025163173675537 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 : 4862 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 : 4862 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.966012716293335 time used to do the prediction : 0.14969301223754883 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.8358230590820312e-05 save missing photos in datou_result : time spend for datou_step_exec : 9.684287786483765 time spend to save output : 0.0005915164947509766 total time spend for step 3 : 9.684879302978516 step4:merge_mask_thcl_custom Wed Feb 26 10:59:03 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 134 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 [1339696323, 1339696322, 1339696321, 1339696320, 1339696317, 1339695682, 1339695681, 1339695628, 1339695627, 1339695626] Looping around the photos to save general results len do output : 10 /1339696323Didn't retrieve data .Didn't retrieve data . /1339696322Didn't retrieve data .Didn't retrieve data . /1339696321Didn't retrieve data .Didn't retrieve data . /1339696320Didn't retrieve data .Didn't retrieve data . /1339696317Didn't retrieve data .Didn't retrieve data . /1339695682Didn't retrieve data .Didn't retrieve data . /1339695681Didn't retrieve data .Didn't retrieve data . /1339695628Didn't retrieve data .Didn't retrieve data . /1339695627Didn't retrieve data .Didn't retrieve data . /1339695626Didn'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, '2615673') ('3459', '20835307', '1339696323', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696322', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696321', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696320', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696317', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695682', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695681', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695628', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695627', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695626', None, None, None, None, None, '2615673') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013843536376953125 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07296013832092285 time spend to save output : 0.014502286911010742 total time spend for step 4 : 0.0874624252319336 step5:rle_unique_nms_with_priority Wed Feb 26 10:59:03 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 : 18 nb_hashtags : 5 time to prepare the origin masks : 11.59412693977356 time for calcul the mask position with numpy : 0.6085681915283203 nb_pixel_total : 4678186 time to create 1 rle with new method : 0.9649815559387207 time for calcul the mask position with numpy : 0.03101634979248047 nb_pixel_total : 2371 time to create 1 rle with old method : 0.003010988235473633 time for calcul the mask position with numpy : 0.035848379135131836 nb_pixel_total : 34572 time to create 1 rle with old method : 0.05188584327697754 time for calcul the mask position with numpy : 0.04271674156188965 nb_pixel_total : 100765 time to create 1 rle with old method : 0.11398768424987793 time for calcul the mask position with numpy : 0.03729557991027832 nb_pixel_total : 85816 time to create 1 rle with old method : 0.10193896293640137 time for calcul the mask position with numpy : 0.03703594207763672 nb_pixel_total : 17781 time to create 1 rle with old method : 0.020880460739135742 time for calcul the mask position with numpy : 0.03699231147766113 nb_pixel_total : 597701 time to create 1 rle with new method : 0.5248873233795166 time for calcul the mask position with numpy : 0.029192209243774414 nb_pixel_total : 3812 time to create 1 rle with old method : 0.004303693771362305 time for calcul the mask position with numpy : 0.03342032432556152 nb_pixel_total : 612943 time to create 1 rle with new method : 1.880620002746582 time for calcul the mask position with numpy : 0.02514934539794922 nb_pixel_total : 49067 time to create 1 rle with old method : 0.057482242584228516 time for calcul the mask position with numpy : 0.029757022857666016 nb_pixel_total : 41956 time to create 1 rle with old method : 0.04892420768737793 time for calcul the mask position with numpy : 0.02783370018005371 nb_pixel_total : 34612 time to create 1 rle with old method : 0.047261714935302734 time for calcul the mask position with numpy : 0.028751373291015625 nb_pixel_total : 18094 time to create 1 rle with old method : 0.02807164192199707 time for calcul the mask position with numpy : 0.028515100479125977 nb_pixel_total : 5273 time to create 1 rle with old method : 0.008159160614013672 time for calcul the mask position with numpy : 0.033776044845581055 nb_pixel_total : 522301 time to create 1 rle with new method : 0.967994213104248 time for calcul the mask position with numpy : 0.02904534339904785 nb_pixel_total : 135209 time to create 1 rle with old method : 0.15291881561279297 time for calcul the mask position with numpy : 0.02648758888244629 nb_pixel_total : 12930 time to create 1 rle with old method : 0.016337156295776367 time for calcul the mask position with numpy : 0.026036739349365234 nb_pixel_total : 90539 time to create 1 rle with old method : 0.10181093215942383 time for calcul the mask position with numpy : 0.02415299415588379 nb_pixel_total : 6312 time to create 1 rle with old method : 0.0070343017578125 create new chi : 6.390958547592163 time to delete rle : 0.017055988311767578 batch 1 Loaded 19 chid ids of type : 3726 Number RLEs to save : 17015 TO DO : save crop sub photo not yet done ! save time : 2.777400255203247 nb_obj : 12 nb_hashtags : 4 time to prepare the origin masks : 8.93039345741272 time for calcul the mask position with numpy : 0.5628366470336914 nb_pixel_total : 6513442 time to create 1 rle with new method : 1.1777336597442627 time for calcul the mask position with numpy : 0.02257680892944336 nb_pixel_total : 109458 time to create 1 rle with old method : 0.1229550838470459 time for calcul the mask position with numpy : 0.02257394790649414 nb_pixel_total : 16450 time to create 1 rle with old method : 0.018762588500976562 time for calcul the mask position with numpy : 0.02156376838684082 nb_pixel_total : 14100 time to create 1 rle with old method : 0.01559305191040039 time for calcul the mask position with numpy : 0.021706104278564453 nb_pixel_total : 7441 time to create 1 rle with old method : 0.008708000183105469 time for calcul the mask position with numpy : 0.022979736328125 nb_pixel_total : 181003 time to create 1 rle with new method : 0.9493162631988525 time for calcul the mask position with numpy : 0.02190995216369629 nb_pixel_total : 4777 time to create 1 rle with old method : 0.005702018737792969 time for calcul the mask position with numpy : 0.02203226089477539 nb_pixel_total : 4493 time to create 1 rle with old method : 0.005347490310668945 time for calcul the mask position with numpy : 0.022765398025512695 nb_pixel_total : 5686 time to create 1 rle with old method : 0.0072019100189208984 time for calcul the mask position with numpy : 0.02636861801147461 nb_pixel_total : 13932 time to create 1 rle with old method : 0.01598811149597168 time for calcul the mask position with numpy : 0.022919178009033203 nb_pixel_total : 8403 time to create 1 rle with old method : 0.009418249130249023 time for calcul the mask position with numpy : 0.021752357482910156 nb_pixel_total : 34761 time to create 1 rle with old method : 0.039952993392944336 time for calcul the mask position with numpy : 0.02185511589050293 nb_pixel_total : 136294 time to create 1 rle with old method : 0.16782331466674805 create new chi : 3.441643476486206 time to delete rle : 0.002229452133178711 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 7432 TO DO : save crop sub photo not yet done ! save time : 2.4425368309020996 nb_obj : 16 nb_hashtags : 7 time to prepare the origin masks : 12.27685546875 time for calcul the mask position with numpy : 2.0234262943267822 nb_pixel_total : 5898062 time to create 1 rle with new method : 2.4391887187957764 time for calcul the mask position with numpy : 0.03954505920410156 nb_pixel_total : 41448 time to create 1 rle with old method : 0.05186772346496582 time for calcul the mask position with numpy : 0.03892779350280762 nb_pixel_total : 53694 time to create 1 rle with old method : 0.06170821189880371 time for calcul the mask position with numpy : 0.027236461639404297 nb_pixel_total : 49409 time to create 1 rle with old method : 0.055359601974487305 time for calcul the mask position with numpy : 0.030910491943359375 nb_pixel_total : 126279 time to create 1 rle with old method : 0.14263391494750977 time for calcul the mask position with numpy : 0.041977882385253906 nb_pixel_total : 539 time to create 1 rle with old method : 0.0013699531555175781 time for calcul the mask position with numpy : 0.03275775909423828 nb_pixel_total : 2250 time to create 1 rle with old method : 0.003983020782470703 time for calcul the mask position with numpy : 0.035045623779296875 nb_pixel_total : 104165 time to create 1 rle with old method : 0.13389825820922852 time for calcul the mask position with numpy : 0.028060197830200195 nb_pixel_total : 40083 time to create 1 rle with old method : 0.05628633499145508 time for calcul the mask position with numpy : 0.031540870666503906 nb_pixel_total : 24298 time to create 1 rle with old method : 0.030705690383911133 time for calcul the mask position with numpy : 0.028687238693237305 nb_pixel_total : 72357 time to create 1 rle with old method : 0.18686461448669434 time for calcul the mask position with numpy : 0.024007558822631836 nb_pixel_total : 38953 time to create 1 rle with old method : 0.041480064392089844 time for calcul the mask position with numpy : 0.02362656593322754 nb_pixel_total : 950 time to create 1 rle with old method : 0.001224517822265625 time for calcul the mask position with numpy : 0.031180858612060547 nb_pixel_total : 37082 time to create 1 rle with old method : 0.03839898109436035 time for calcul the mask position with numpy : 0.04001784324645996 nb_pixel_total : 66079 time to create 1 rle with old method : 0.0704658031463623 time for calcul the mask position with numpy : 0.04511404037475586 nb_pixel_total : 414500 time to create 1 rle with new method : 0.8595883846282959 time for calcul the mask position with numpy : 0.04002022743225098 nb_pixel_total : 80092 time to create 1 rle with old method : 0.09005522727966309 create new chi : 6.895637273788452 time to delete rle : 0.0014150142669677734 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 12984 TO DO : save crop sub photo not yet done ! save time : 2.4845616817474365 nb_obj : 19 nb_hashtags : 4 time to prepare the origin masks : 20.942649364471436 time for calcul the mask position with numpy : 0.7858753204345703 nb_pixel_total : 5251279 time to create 1 rle with new method : 0.7767047882080078 time for calcul the mask position with numpy : 0.04202151298522949 nb_pixel_total : 6120 time to create 1 rle with old method : 0.010113716125488281 time for calcul the mask position with numpy : 0.035058021545410156 nb_pixel_total : 49676 time to create 1 rle with old method : 0.06447577476501465 time for calcul the mask position with numpy : 0.03460955619812012 nb_pixel_total : 33702 time to create 1 rle with old method : 0.04007863998413086 time for calcul the mask position with numpy : 0.03995323181152344 nb_pixel_total : 3330 time to create 1 rle with old method : 0.005709171295166016 time for calcul the mask position with numpy : 0.04105496406555176 nb_pixel_total : 5103 time to create 1 rle with old method : 0.008739709854125977 time for calcul the mask position with numpy : 0.04040861129760742 nb_pixel_total : 1075 time to create 1 rle with old method : 0.0016841888427734375 time for calcul the mask position with numpy : 0.038225412368774414 nb_pixel_total : 59516 time to create 1 rle with old method : 0.0740044116973877 time for calcul the mask position with numpy : 0.038604021072387695 nb_pixel_total : 113046 time to create 1 rle with old method : 0.13290643692016602 time for calcul the mask position with numpy : 0.03721308708190918 nb_pixel_total : 39230 time to create 1 rle with old method : 0.0467228889465332 time for calcul the mask position with numpy : 0.03916215896606445 nb_pixel_total : 176011 time to create 1 rle with new method : 0.9285030364990234 time for calcul the mask position with numpy : 0.04330897331237793 nb_pixel_total : 78807 time to create 1 rle with old method : 0.25852155685424805 time for calcul the mask position with numpy : 0.11607599258422852 nb_pixel_total : 666885 time to create 1 rle with new method : 1.479008674621582 time for calcul the mask position with numpy : 0.04935884475708008 nb_pixel_total : 66407 time to create 1 rle with old method : 0.11773848533630371 time for calcul the mask position with numpy : 0.04524064064025879 nb_pixel_total : 209807 time to create 1 rle with new method : 0.6077141761779785 time for calcul the mask position with numpy : 0.03136563301086426 nb_pixel_total : 88288 time to create 1 rle with old method : 0.10152482986450195 time for calcul the mask position with numpy : 0.03209829330444336 nb_pixel_total : 1871 time to create 1 rle with old method : 0.0022363662719726562 time for calcul the mask position with numpy : 0.038271188735961914 nb_pixel_total : 14467 time to create 1 rle with old method : 0.01761937141418457 time for calcul the mask position with numpy : 0.0375063419342041 nb_pixel_total : 6363 time to create 1 rle with old method : 0.00760650634765625 time for calcul the mask position with numpy : 0.042707204818725586 nb_pixel_total : 179257 time to create 1 rle with new method : 0.5905356407165527 create new chi : 7.055039405822754 time to delete rle : 0.0027589797973632812 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 17204 TO DO : save crop sub photo not yet done ! save time : 1.2159123420715332 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 4.647846221923828 time for calcul the mask position with numpy : 0.9923295974731445 nb_pixel_total : 2773517 time to create 1 rle with new method : 0.7022702693939209 time for calcul the mask position with numpy : 0.029015064239501953 nb_pixel_total : 222872 time to create 1 rle with new method : 0.538198709487915 time for calcul the mask position with numpy : 0.026670455932617188 nb_pixel_total : 2196 time to create 1 rle with old method : 0.0027272701263427734 time for calcul the mask position with numpy : 0.5199253559112549 nb_pixel_total : 4051655 time to create 1 rle with new method : 0.8999762535095215 create new chi : 3.805546998977661 time to delete rle : 0.0011250972747802734 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 9898 TO DO : save crop sub photo not yet done ! save time : 0.732001781463623 nb_obj : 20 nb_hashtags : 6 time to prepare the origin masks : 15.075517654418945 time for calcul the mask position with numpy : 0.8621582984924316 nb_pixel_total : 6009867 time to create 1 rle with new method : 0.5261731147766113 time for calcul the mask position with numpy : 0.040479183197021484 nb_pixel_total : 28980 time to create 1 rle with old method : 0.03622317314147949 time for calcul the mask position with numpy : 0.043083906173706055 nb_pixel_total : 9225 time to create 1 rle with old method : 0.011539936065673828 time for calcul the mask position with numpy : 0.04488253593444824 nb_pixel_total : 15710 time to create 1 rle with old method : 0.01808476448059082 time for calcul the mask position with numpy : 0.04324650764465332 nb_pixel_total : 20470 time to create 1 rle with old method : 0.023907899856567383 time for calcul the mask position with numpy : 0.04309797286987305 nb_pixel_total : 50933 time to create 1 rle with old method : 0.05758166313171387 time for calcul the mask position with numpy : 0.03946709632873535 nb_pixel_total : 24570 time to create 1 rle with old method : 0.02779674530029297 time for calcul the mask position with numpy : 0.03432273864746094 nb_pixel_total : 17214 time to create 1 rle with old method : 0.019609928131103516 time for calcul the mask position with numpy : 0.027682781219482422 nb_pixel_total : 33043 time to create 1 rle with old method : 0.036864519119262695 time for calcul the mask position with numpy : 0.025703907012939453 nb_pixel_total : 12140 time to create 1 rle with old method : 0.013571977615356445 time for calcul the mask position with numpy : 0.025627613067626953 nb_pixel_total : 2700 time to create 1 rle with old method : 0.0030260086059570312 time for calcul the mask position with numpy : 0.02724933624267578 nb_pixel_total : 179661 time to create 1 rle with new method : 0.8850984573364258 time for calcul the mask position with numpy : 0.028072834014892578 nb_pixel_total : 105619 time to create 1 rle with old method : 0.12249255180358887 time for calcul the mask position with numpy : 0.03150677680969238 nb_pixel_total : 27724 time to create 1 rle with old method : 0.032562971115112305 time for calcul the mask position with numpy : 0.031026124954223633 nb_pixel_total : 24936 time to create 1 rle with old method : 0.028624296188354492 time for calcul the mask position with numpy : 0.032981157302856445 nb_pixel_total : 86535 time to create 1 rle with old method : 0.09940505027770996 time for calcul the mask position with numpy : 0.03476715087890625 nb_pixel_total : 173179 time to create 1 rle with new method : 0.635155439376831 time for calcul the mask position with numpy : 0.03437304496765137 nb_pixel_total : 90691 time to create 1 rle with old method : 0.11809325218200684 time for calcul the mask position with numpy : 0.027363061904907227 nb_pixel_total : 1669 time to create 1 rle with old method : 0.002020120620727539 time for calcul the mask position with numpy : 0.029699325561523438 nb_pixel_total : 71379 time to create 1 rle with old method : 0.08240365982055664 time for calcul the mask position with numpy : 0.030803680419921875 nb_pixel_total : 63995 time to create 1 rle with old method : 0.07392168045043945 create new chi : 4.714928865432739 time to delete rle : 0.0018677711486816406 batch 1 Loaded 21 chid ids of type : 3726 Number RLEs to save : 13365 TO DO : save crop sub photo not yet done ! save time : 1.1807341575622559 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 5.878436088562012 time for calcul the mask position with numpy : 0.7360332012176514 nb_pixel_total : 1960549 time to create 1 rle with new method : 0.9176411628723145 time for calcul the mask position with numpy : 0.09077334403991699 nb_pixel_total : 1614915 time to create 1 rle with new method : 1.1697490215301514 time for calcul the mask position with numpy : 0.055294036865234375 nb_pixel_total : 16049 time to create 1 rle with old method : 0.01848745346069336 time for calcul the mask position with numpy : 0.7732305526733398 nb_pixel_total : 3458727 time to create 1 rle with new method : 0.6533927917480469 create new chi : 4.544910669326782 time to delete rle : 0.0017290115356445312 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 11531 TO DO : save crop sub photo not yet done ! save time : 1.496039628982544 nb_obj : 8 nb_hashtags : 4 time to prepare the origin masks : 6.37996768951416 time for calcul the mask position with numpy : 0.2964596748352051 nb_pixel_total : 3405849 time to create 1 rle with new method : 0.580674409866333 time for calcul the mask position with numpy : 0.08240008354187012 nb_pixel_total : 123510 time to create 1 rle with old method : 0.1542823314666748 time for calcul the mask position with numpy : 0.03354692459106445 nb_pixel_total : 2229 time to create 1 rle with old method : 0.003438234329223633 time for calcul the mask position with numpy : 0.036809444427490234 nb_pixel_total : 65288 time to create 1 rle with old method : 0.09696698188781738 time for calcul the mask position with numpy : 0.02790045738220215 nb_pixel_total : 10055 time to create 1 rle with old method : 0.011794567108154297 time for calcul the mask position with numpy : 0.21148133277893066 nb_pixel_total : 3328898 time to create 1 rle with new method : 1.7796883583068848 time for calcul the mask position with numpy : 0.040078163146972656 nb_pixel_total : 14996 time to create 1 rle with old method : 0.021166324615478516 time for calcul the mask position with numpy : 0.036803483963012695 nb_pixel_total : 10764 time to create 1 rle with old method : 0.013958454132080078 time for calcul the mask position with numpy : 0.03536534309387207 nb_pixel_total : 88651 time to create 1 rle with old method : 0.13038325309753418 create new chi : 3.709211587905884 time to delete rle : 0.0019326210021972656 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 11701 TO DO : save crop sub photo not yet done ! save time : 1.2305452823638916 nb_obj : 17 nb_hashtags : 7 time to prepare the origin masks : 13.900500059127808 time for calcul the mask position with numpy : 0.40833568572998047 nb_pixel_total : 5955465 time to create 1 rle with new method : 0.8792164325714111 time for calcul the mask position with numpy : 0.05172896385192871 nb_pixel_total : 108663 time to create 1 rle with old method : 0.1308896541595459 time for calcul the mask position with numpy : 0.04621410369873047 nb_pixel_total : 7495 time to create 1 rle with old method : 0.00911259651184082 time for calcul the mask position with numpy : 0.04592490196228027 nb_pixel_total : 80706 time to create 1 rle with old method : 0.10345005989074707 time for calcul the mask position with numpy : 0.05131721496582031 nb_pixel_total : 205245 time to create 1 rle with new method : 0.5324316024780273 time for calcul the mask position with numpy : 0.05146312713623047 nb_pixel_total : 80 time to create 1 rle with old method : 0.0002167224884033203 time for calcul the mask position with numpy : 0.044502973556518555 nb_pixel_total : 2219 time to create 1 rle with old method : 0.002676248550415039 time for calcul the mask position with numpy : 0.04438138008117676 nb_pixel_total : 54417 time to create 1 rle with old method : 0.06464982032775879 time for calcul the mask position with numpy : 0.04148268699645996 nb_pixel_total : 103386 time to create 1 rle with old method : 0.11731886863708496 time for calcul the mask position with numpy : 0.037908315658569336 nb_pixel_total : 170220 time to create 1 rle with new method : 0.7067482471466064 time for calcul the mask position with numpy : 0.03759169578552246 nb_pixel_total : 50301 time to create 1 rle with old method : 0.06039142608642578 time for calcul the mask position with numpy : 0.03670477867126465 nb_pixel_total : 38039 time to create 1 rle with old method : 0.04363512992858887 time for calcul the mask position with numpy : 0.03784990310668945 nb_pixel_total : 72156 time to create 1 rle with old method : 0.07942962646484375 time for calcul the mask position with numpy : 0.035721540451049805 nb_pixel_total : 15384 time to create 1 rle with old method : 0.017820358276367188 time for calcul the mask position with numpy : 0.0350034236907959 nb_pixel_total : 8030 time to create 1 rle with old method : 0.009554386138916016 time for calcul the mask position with numpy : 0.037962913513183594 nb_pixel_total : 140104 time to create 1 rle with old method : 0.1868908405303955 time for calcul the mask position with numpy : 0.04050636291503906 nb_pixel_total : 28787 time to create 1 rle with old method : 0.033536672592163086 time for calcul the mask position with numpy : 0.03385329246520996 nb_pixel_total : 9543 time to create 1 rle with old method : 0.011288642883300781 create new chi : 4.2337822914123535 time to delete rle : 0.0017969608306884766 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 12389 TO DO : save crop sub photo not yet done ! save time : 3.4746387004852295 nb_obj : 9 nb_hashtags : 5 time to prepare the origin masks : 9.596527814865112 time for calcul the mask position with numpy : 2.123591661453247 nb_pixel_total : 4270923 time to create 1 rle with new method : 0.6419715881347656 time for calcul the mask position with numpy : 0.030887126922607422 nb_pixel_total : 23802 time to create 1 rle with old method : 0.0272214412689209 time for calcul the mask position with numpy : 0.03756880760192871 nb_pixel_total : 194989 time to create 1 rle with new method : 0.6654317378997803 time for calcul the mask position with numpy : 0.04063057899475098 nb_pixel_total : 7085 time to create 1 rle with old method : 0.008079290390014648 time for calcul the mask position with numpy : 0.04211878776550293 nb_pixel_total : 58701 time to create 1 rle with old method : 0.07262730598449707 time for calcul the mask position with numpy : 0.056610107421875 nb_pixel_total : 859 time to create 1 rle with old method : 0.001512289047241211 time for calcul the mask position with numpy : 0.058086395263671875 nb_pixel_total : 475757 time to create 1 rle with new method : 1.3345236778259277 time for calcul the mask position with numpy : 0.07534646987915039 nb_pixel_total : 1902173 time to create 1 rle with new method : 0.4290771484375 time for calcul the mask position with numpy : 0.03562211990356445 nb_pixel_total : 6218 time to create 1 rle with old method : 0.007324695587158203 time for calcul the mask position with numpy : 0.033794403076171875 nb_pixel_total : 109733 time to create 1 rle with old method : 0.12936878204345703 create new chi : 5.993195295333862 time to delete rle : 0.0016748905181884766 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 12685 TO DO : save crop sub photo not yet done ! save time : 0.8387892246246338 map_output_result : {1339696323: (0.0, 'Should be the crop_list due to order', 0), 1339696322: (0.0, 'Should be the crop_list due to order', 0), 1339696321: (0.0, 'Should be the crop_list due to order', 0), 1339696320: (0.0, 'Should be the crop_list due to order', 0), 1339696317: (0.0, 'Should be the crop_list due to order', 0), 1339695682: (0.0, 'Should be the crop_list due to order', 0), 1339695681: (0.0, 'Should be the crop_list due to order', 0), 1339695628: (0.0, 'Should be the crop_list due to order', 0), 1339695627: (0.0, 'Should be the crop_list due to order', 0), 1339695626: (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 [1339696323, 1339696322, 1339696321, 1339696320, 1339696317, 1339695682, 1339695681, 1339695628, 1339695627, 1339695626] Looping around the photos to save general results len do output : 10 /1339696323.Didn't retrieve data . /1339696322.Didn't retrieve data . /1339696321.Didn't retrieve data . /1339696320.Didn't retrieve data . /1339696317.Didn't retrieve data . /1339695682.Didn't retrieve data . /1339695681.Didn't retrieve data . /1339695628.Didn't retrieve data . /1339695627.Didn't retrieve data . /1339695626.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, '2615673') ('3459', '20835307', '1339696323', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696322', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696321', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696320', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696317', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695682', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695681', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695628', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695627', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695626', None, None, None, None, None, '2615673') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013138532638549805 save_final save missing photos in datou_result : time spend for datou_step_exec : 180.12257838249207 time spend to save output : 0.01495814323425293 total time spend for step 5 : 180.13753652572632 step6:crop_condition Wed Feb 26 11:02:03 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 135 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 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/1740564132_1675047 we have uploaded 8 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.829038619995117 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 ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740564139_1675047 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.8125741481781006 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740564143_1675047 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.5625474452972412 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740564147_1675047 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.5409393310546875 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740564151_1675047 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 5.981539726257324 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740564160_1675047 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7139496803283691 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 Next one ! 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/1740564163_1675047 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6004171371459961 we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1339696323, 1339696322, 1339696321, 1339696320, 1339696317, 1339695682, 1339695681, 1339695628, 1339695627, 1339695626] Looping around the photos to save general results len do output : 26 /1339706103Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706104Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706105Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706106Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706107Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706109Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706110Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706111Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706114Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706115Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706116Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706120Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706121Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706122Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706123Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706124Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706126Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706127Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706128Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706137Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706138Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706139Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706140Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706141Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706146Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339706148Didn'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, '2615673') ('3459', '20835307', '1339696323', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696322', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696321', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696320', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696317', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695682', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695681', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695628', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695627', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695626', None, None, None, None, None, '2615673') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 88 time used for this insertion : 0.0314333438873291 save_final save missing photos in datou_result : time spend for datou_step_exec : 40.61936378479004 time spend to save output : 0.036303043365478516 total time spend for step 6 : 40.65566682815552 step7:ventilate_hashtags_in_portfolio Wed Feb 26 11:02:44 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 : 20835307 get user id for portfolio 20835307 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`=20835307 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','Carton_brun','Teint_Dans_La_Masse','kraft','cartonnette','metal','autre_refus','mal_croppe','flou','plastique','environnement')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20835307 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','Carton_brun','Teint_Dans_La_Masse','kraft','cartonnette','metal','autre_refus','mal_croppe','flou','plastique','environnement')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20835307 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','Carton_brun','Teint_Dans_La_Masse','kraft','cartonnette','metal','autre_refus','mal_croppe','flou','plastique','environnement')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20835752,20835753,20835754,20835755,20835756,20835757,20835758,20835759,20835760,20835761,20835762,20835763?tags=papier,Carton_gris,Carton_brun,Teint_Dans_La_Masse,kraft,cartonnette,metal,autre_refus,mal_croppe,flou,plastique,environnement Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339696323, 1339696322, 1339696321, 1339696320, 1339696317, 1339695682, 1339695681, 1339695628, 1339695627, 1339695626] Looping around the photos to save general results len do output : 1 /20835307. 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, '2615673') ('3459', '20835307', '1339696323', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696322', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696321', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696320', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696317', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695682', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695681', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695628', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695627', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695626', None, None, None, None, None, '2615673') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.014733552932739258 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.1165621280670166 time spend to save output : 0.015311241149902344 total time spend for step 7 : 2.131873369216919 step8:final Wed Feb 26 11:02: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 ! 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 : {1339696323: ('0.06787220550902864',), 1339696322: ('0.06787220550902864',), 1339696321: ('0.06787220550902864',), 1339696320: ('0.06787220550902864',), 1339696317: ('0.06787220550902864',), 1339695682: ('0.06787220550902864',), 1339695681: ('0.06787220550902864',), 1339695628: ('0.06787220550902864',), 1339695627: ('0.06787220550902864',), 1339695626: ('0.06787220550902864',)} new output for save of step final : {1339696323: ('0.06787220550902864',), 1339696322: ('0.06787220550902864',), 1339696321: ('0.06787220550902864',), 1339696320: ('0.06787220550902864',), 1339696317: ('0.06787220550902864',), 1339695682: ('0.06787220550902864',), 1339695681: ('0.06787220550902864',), 1339695628: ('0.06787220550902864',), 1339695627: ('0.06787220550902864',), 1339695626: ('0.06787220550902864',)} [1339696323, 1339696322, 1339696321, 1339696320, 1339696317, 1339695682, 1339695681, 1339695628, 1339695627, 1339695626] Looping around the photos to save general results len do output : 10 /1339696323.Didn't retrieve data . /1339696322.Didn't retrieve data . /1339696321.Didn't retrieve data . /1339696320.Didn't retrieve data . /1339696317.Didn't retrieve data . /1339695682.Didn't retrieve data . /1339695681.Didn't retrieve data . /1339695628.Didn't retrieve data . /1339695627.Didn't retrieve data . /1339695626.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, '2615673') ('3459', '20835307', '1339696323', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696322', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696321', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696320', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696317', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695682', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695681', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695628', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695627', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695626', None, None, None, None, None, '2615673') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013810396194458008 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10881161689758301 time spend to save output : 0.01445460319519043 total time spend for step 8 : 0.12326622009277344 step9:velours_tree Wed Feb 26 11:02: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 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.29021716117858887 time spend to save output : 7.605552673339844e-05 total time spend for step 9 : 0.29029321670532227 step10:send_mail_cod Wed Feb 26 11:02: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 ! 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_P20835307_26-02-2025_11_02_46.pdf 20835756 change filename to text .imagette208357561740564166 20835757 change filename to text .change filename to text .change filename to text .imagette208357571740564166 20835758 imagette208357581740564167 20835759 change filename to text .change filename to text .change filename to text .imagette208357591740564167 20835760 imagette208357601740564167 20835761 imagette208357611740564167 20835762 change filename to text .imagette208357621740564167 20835753 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette208357531740564167 20835754 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette208357541740564167 20835755 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 .imagette208357551740564168 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20835307 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20835752,20835753,20835754,20835755,20835756,20835757,20835758,20835759,20835760,20835761,20835762,20835763?tags=papier,Carton_gris,Carton_brun,Teint_Dans_La_Masse,kraft,cartonnette,metal,autre_refus,mal_croppe,flou,plastique,environnement your option no_mail is active, we will not send the real mail to your client args[1339696323] : ('0.06787220550902864',) no score found for photo 1339696323 We are sending mail with results at report@fotonower.com args[1339696322] : ('0.06787220550902864',) no score found for photo 1339696322 We are sending mail with results at report@fotonower.com args[1339696321] : ('0.06787220550902864',) no score found for photo 1339696321 We are sending mail with results at report@fotonower.com args[1339696320] : ('0.06787220550902864',) no score found for photo 1339696320 We are sending mail with results at report@fotonower.com args[1339696317] : ('0.06787220550902864',) no score found for photo 1339696317 We are sending mail with results at report@fotonower.com args[1339695682] : ('0.06787220550902864',) no score found for photo 1339695682 We are sending mail with results at report@fotonower.com args[1339695681] : ('0.06787220550902864',) no score found for photo 1339695681 We are sending mail with results at report@fotonower.com args[1339695628] : ('0.06787220550902864',) no score found for photo 1339695628 We are sending mail with results at report@fotonower.com args[1339695627] : ('0.06787220550902864',) no score found for photo 1339695627 We are sending mail with results at report@fotonower.com args[1339695626] : ('0.06787220550902864',) no score found for photo 1339695626 We are sending mail with results at report@fotonower.com refus_total : 0.06787220550902864 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=20835307 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1339695496,1339695498,1339696322,1339695548,1339695550,1339696321,1339695553,1339696320,1339695626,1339695627,1339695682,1339695497,1339695618,1339696323,1339696317,1339695681,1339695628,1339695484,1339695551,1339695545) Found this number of photos: 20 begin to download photo : 1339695496 begin to download photo : 1339696321 begin to download photo : 1339695682 begin to download photo : 1339695681 download finish for photo 1339695681 begin to download photo : 1339695628 download finish for photo 1339696321 begin to download photo : 1339695553 download finish for photo 1339695682 begin to download photo : 1339695497 download finish for photo 1339695496 begin to download photo : 1339695498 download finish for photo 1339695628 begin to download photo : 1339695484 download finish for photo 1339695553 begin to download photo : 1339696320 download finish for photo 1339695498 begin to download photo : 1339696322 download finish for photo 1339695497 begin to download photo : 1339695618 download finish for photo 1339695484 begin to download photo : 1339695551 download finish for photo 1339696320 begin to download photo : 1339695626 download finish for photo 1339696322 begin to download photo : 1339695548 download finish for photo 1339695618 begin to download photo : 1339696323 download finish for photo 1339695551 begin to download photo : 1339695545 download finish for photo 1339695626 begin to download photo : 1339695627 download finish for photo 1339695548 begin to download photo : 1339695550 download finish for photo 1339696323 begin to download photo : 1339696317 download finish for photo 1339695545 download finish for photo 1339695627 download finish for photo 1339695550 download finish for photo 1339696317 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835307_26-02-2025_11_02_46.pdf results_Auto_P20835307_26-02-2025_11_02_46.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835307_26-02-2025_11_02_46.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','20835307','results_Auto_P20835307_26-02-2025_11_02_46.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835307_26-02-2025_11_02_46.pdf','pdf','','0.77','0.06787220550902864') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339696323, 1339696322, 1339696321, 1339696320, 1339696317, 1339695682, 1339695681, 1339695628, 1339695627, 1339695626] 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, '2615673') ('3459', '20835307', '1339696323', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696322', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696321', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696320', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696317', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695682', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695681', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695628', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695627', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695626', None, None, None, None, None, '2615673') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.013913631439208984 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.812936305999756 time spend to save output : 0.022257089614868164 total time spend for step 10 : 6.835193395614624 step11:split_time_score Wed Feb 26 11:02:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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'}] (('09', 21),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26022025 20835307 Nombre de photos uploadées : 21 / 23040 (0%) 26022025 20835307 Nombre de photos taguées (types de déchets): 0 / 21 (0%) 26022025 20835307 Nombre de photos taguées (volume) : 0 / 21 (0%) elapsed_time : load_data_split_time_score 3.814697265625e-06 elapsed_time : order_list_meta_photo_and_scores 7.867813110351562e-06 ????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0011620521545410156 elapsed_time : insert_dashboard_record_day_entry 0.023525238037109375 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20831952_26-02-2025_10_26_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20831952 order by id desc limit 1 Qualite : 0.09154895959196861 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20831953_26-02-2025_10_34_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20831953 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20831953 AND mptpi.`type`=4207 To do Qualite : 0.07322457552998593 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20831954_26-02-2025_10_18_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20831954 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20831954 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20835305 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20835306 order by id desc limit 1 Qualite : 0.06787220550902864 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835307_26-02-2025_11_02_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20835307 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`=20835307 AND mptpi.`type`=3726 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26022025': {'nb_upload': 21, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1339696323, 1339696322, 1339696321, 1339696320, 1339696317, 1339695682, 1339695681, 1339695628, 1339695627, 1339695626] Looping around the photos to save general results len do output : 1 /20835307Didn'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, '2615673') ('3459', '20835307', '1339696323', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696322', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696321', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696320', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339696317', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695682', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695681', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695628', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695627', None, None, None, None, None, '2615673') ('3459', None, None, None, None, None, None, None, '2615673') ('3459', '20835307', '1339695626', None, None, None, None, None, '2615673') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013454437255859375 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.336127281188965 time spend to save output : 0.013723134994506836 total time spend for step 11 : 2.3498504161834717 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 153.99user 168.21system 6:34.79elapsed 81%CPU (0avgtext+0avgdata 4272988maxresident)k 2068288inputs+121248outputs (29390major+12337252minor)pagefaults 0swaps