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 : 1354536 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 : 20>10 please execute split_portfolio.py -i 20656288 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2597827'] with mtr_portfolio_ids : ['20656288'] and first list_photo_ids : [] new path : /proc/1354536/ 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.8214976787567139 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 Tue Feb 18 22:16:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10593 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-18 22:16:32.842122: 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-18 22:16:32.871050: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-18 22:16:32.873465: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fae8c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-18 22:16:32.873526: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-18 22:16:32.878610: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-18 22:16:33.120436: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x6502c00 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-18 22:16:33.120491: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-18 22:16:33.122428: 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-18 22:16:33.122885: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-18 22:16:33.127250: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-18 22:16:33.130621: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-18 22:16:33.131163: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-18 22:16:33.134760: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-18 22:16:33.136254: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-18 22:16:33.142545: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-18 22:16:33.144550: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-18 22:16:33.144652: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-18 22:16:33.145672: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-18 22:16:33.145693: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-18 22:16:33.145705: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-18 22:16:33.147837: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9815 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-18 22:16:33.448593: 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-18 22:16:33.448743: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-18 22:16:33.448764: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-18 22:16:33.448781: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-18 22:16:33.448795: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-18 22:16:33.448810: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-18 22:16:33.448824: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-18 22:16:33.448838: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-18 22:16:33.450073: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-18 22:16:33.451604: 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-18 22:16:33.451655: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-18 22:16:33.451679: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-18 22:16:33.451701: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-18 22:16:33.451724: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-18 22:16:33.451747: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-18 22:16:33.451767: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-18 22:16:33.451785: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-18 22:16:33.453119: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-18 22:16:33.453168: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-18 22:16:33.453182: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-18 22:16:33.453193: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-18 22:16:33.454580: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9815 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-18 22:16:44.413393: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-18 22:16:44.627486: 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 : 24 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 : 20 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 14 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 : 7 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 14 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 : 12 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 11 Detection mask done ! Trying to reset tf kernel 1355016 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5304 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 : 10593 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.0004813671112060547 nb_pixel_total : 10309 time to create 1 rle with old method : 0.01429605484008789 length of segment : 95 time for calcul the mask position with numpy : 0.0023865699768066406 nb_pixel_total : 82887 time to create 1 rle with old method : 0.10227060317993164 length of segment : 578 time for calcul the mask position with numpy : 0.000431060791015625 nb_pixel_total : 19304 time to create 1 rle with old method : 0.023911476135253906 length of segment : 200 time for calcul the mask position with numpy : 0.00011539459228515625 nb_pixel_total : 2425 time to create 1 rle with old method : 0.003203153610229492 length of segment : 63 time for calcul the mask position with numpy : 9.799003601074219e-05 nb_pixel_total : 2026 time to create 1 rle with old method : 0.0028007030487060547 length of segment : 64 time for calcul the mask position with numpy : 0.0005156993865966797 nb_pixel_total : 27555 time to create 1 rle with old method : 0.03479957580566406 length of segment : 235 time for calcul the mask position with numpy : 0.002889394760131836 nb_pixel_total : 90351 time to create 1 rle with old method : 0.1102604866027832 length of segment : 397 time for calcul the mask position with numpy : 0.0007979869842529297 nb_pixel_total : 48678 time to create 1 rle with old method : 0.056029319763183594 length of segment : 360 time for calcul the mask position with numpy : 0.00035262107849121094 nb_pixel_total : 12870 time to create 1 rle with old method : 0.016366004943847656 length of segment : 156 time for calcul the mask position with numpy : 0.00032639503479003906 nb_pixel_total : 13067 time to create 1 rle with old method : 0.015707731246948242 length of segment : 136 time for calcul the mask position with numpy : 0.0007855892181396484 nb_pixel_total : 29699 time to create 1 rle with old method : 0.03666400909423828 length of segment : 311 time for calcul the mask position with numpy : 0.00121307373046875 nb_pixel_total : 63773 time to create 1 rle with old method : 0.0747671127319336 length of segment : 522 time for calcul the mask position with numpy : 0.0049135684967041016 nb_pixel_total : 173796 time to create 1 rle with new method : 0.012263298034667969 length of segment : 489 time for calcul the mask position with numpy : 0.0036623477935791016 nb_pixel_total : 207185 time to create 1 rle with new method : 0.012709617614746094 length of segment : 616 time for calcul the mask position with numpy : 0.002938985824584961 nb_pixel_total : 157028 time to create 1 rle with new method : 0.011328697204589844 length of segment : 660 time for calcul the mask position with numpy : 0.0016756057739257812 nb_pixel_total : 80960 time to create 1 rle with old method : 0.10127139091491699 length of segment : 269 time for calcul the mask position with numpy : 0.0006697177886962891 nb_pixel_total : 27036 time to create 1 rle with old method : 0.03227496147155762 length of segment : 399 time for calcul the mask position with numpy : 0.0024056434631347656 nb_pixel_total : 116398 time to create 1 rle with old method : 0.1392660140991211 length of segment : 701 time for calcul the mask position with numpy : 0.002280712127685547 nb_pixel_total : 134185 time to create 1 rle with old method : 0.16042566299438477 length of segment : 570 time for calcul the mask position with numpy : 0.0006403923034667969 nb_pixel_total : 26124 time to create 1 rle with old method : 0.03203535079956055 length of segment : 166 time for calcul the mask position with numpy : 0.0012617111206054688 nb_pixel_total : 61054 time to create 1 rle with old method : 0.07137680053710938 length of segment : 330 time for calcul the mask position with numpy : 0.002826690673828125 nb_pixel_total : 113691 time to create 1 rle with old method : 0.13341879844665527 length of segment : 361 time for calcul the mask position with numpy : 0.0001685619354248047 nb_pixel_total : 1810 time to create 1 rle with old method : 0.0022878646850585938 length of segment : 53 time for calcul the mask position with numpy : 0.0005762577056884766 nb_pixel_total : 18953 time to create 1 rle with old method : 0.021859407424926758 length of segment : 290 time for calcul the mask position with numpy : 0.00027370452880859375 nb_pixel_total : 3083 time to create 1 rle with old method : 0.0037107467651367188 length of segment : 103 time for calcul the mask position with numpy : 0.0007624626159667969 nb_pixel_total : 29290 time to create 1 rle with old method : 0.03231525421142578 length of segment : 223 time for calcul the mask position with numpy : 0.0017580986022949219 nb_pixel_total : 125304 time to create 1 rle with old method : 0.14150357246398926 length of segment : 382 time for calcul the mask position with numpy : 0.00503230094909668 nb_pixel_total : 155699 time to create 1 rle with new method : 0.012279510498046875 length of segment : 519 time for calcul the mask position with numpy : 0.0026040077209472656 nb_pixel_total : 150972 time to create 1 rle with new method : 0.010628700256347656 length of segment : 589 time for calcul the mask position with numpy : 0.0005064010620117188 nb_pixel_total : 7036 time to create 1 rle with old method : 0.008841514587402344 length of segment : 90 time for calcul the mask position with numpy : 0.0005505084991455078 nb_pixel_total : 17756 time to create 1 rle with old method : 0.021324872970581055 length of segment : 196 time for calcul the mask position with numpy : 0.00024008750915527344 nb_pixel_total : 4147 time to create 1 rle with old method : 0.005229949951171875 length of segment : 73 time for calcul the mask position with numpy : 0.0015950202941894531 nb_pixel_total : 60483 time to create 1 rle with old method : 0.07100629806518555 length of segment : 492 time for calcul the mask position with numpy : 0.00069427490234375 nb_pixel_total : 33788 time to create 1 rle with old method : 0.03834056854248047 length of segment : 251 time for calcul the mask position with numpy : 0.13463997840881348 nb_pixel_total : 1403785 time to create 1 rle with new method : 0.28093433380126953 length of segment : 3387 time for calcul the mask position with numpy : 0.0036668777465820312 nb_pixel_total : 210540 time to create 1 rle with new method : 0.011989831924438477 length of segment : 639 time for calcul the mask position with numpy : 0.005013227462768555 nb_pixel_total : 290513 time to create 1 rle with new method : 0.02071833610534668 length of segment : 759 time for calcul the mask position with numpy : 0.01409912109375 nb_pixel_total : 257326 time to create 1 rle with new method : 0.01380014419555664 length of segment : 1141 time for calcul the mask position with numpy : 0.008980274200439453 nb_pixel_total : 308413 time to create 1 rle with new method : 0.011555671691894531 length of segment : 420 time for calcul the mask position with numpy : 0.00028634071350097656 nb_pixel_total : 4530 time to create 1 rle with old method : 0.006159305572509766 length of segment : 118 time for calcul the mask position with numpy : 0.0019373893737792969 nb_pixel_total : 59764 time to create 1 rle with old method : 0.07836627960205078 length of segment : 359 time for calcul the mask position with numpy : 0.0040187835693359375 nb_pixel_total : 178415 time to create 1 rle with new method : 0.006439208984375 length of segment : 555 time for calcul the mask position with numpy : 0.003099203109741211 nb_pixel_total : 132562 time to create 1 rle with old method : 0.17664027214050293 length of segment : 479 time for calcul the mask position with numpy : 0.00023126602172851562 nb_pixel_total : 4328 time to create 1 rle with old method : 0.0056688785552978516 length of segment : 97 time for calcul the mask position with numpy : 0.0001430511474609375 nb_pixel_total : 2451 time to create 1 rle with old method : 0.0032074451446533203 length of segment : 56 time for calcul the mask position with numpy : 0.0028738975524902344 nb_pixel_total : 145909 time to create 1 rle with old method : 0.1718769073486328 length of segment : 454 time for calcul the mask position with numpy : 0.0037717819213867188 nb_pixel_total : 67583 time to create 1 rle with old method : 0.08404922485351562 length of segment : 641 time for calcul the mask position with numpy : 0.0033524036407470703 nb_pixel_total : 95708 time to create 1 rle with old method : 0.12315106391906738 length of segment : 393 time for calcul the mask position with numpy : 0.00026154518127441406 nb_pixel_total : 1981 time to create 1 rle with old method : 0.0027413368225097656 length of segment : 58 time for calcul the mask position with numpy : 0.0013890266418457031 nb_pixel_total : 55511 time to create 1 rle with old method : 0.06770658493041992 length of segment : 437 time for calcul the mask position with numpy : 0.007304191589355469 nb_pixel_total : 184197 time to create 1 rle with new method : 0.01727294921875 length of segment : 860 time for calcul the mask position with numpy : 0.0031096935272216797 nb_pixel_total : 166389 time to create 1 rle with new method : 0.005988121032714844 length of segment : 432 time for calcul the mask position with numpy : 0.0006170272827148438 nb_pixel_total : 32921 time to create 1 rle with old method : 0.03919720649719238 length of segment : 185 time for calcul the mask position with numpy : 0.0009164810180664062 nb_pixel_total : 55034 time to create 1 rle with old method : 0.06659674644470215 length of segment : 203 time for calcul the mask position with numpy : 0.0030832290649414062 nb_pixel_total : 78411 time to create 1 rle with old method : 0.09079337120056152 length of segment : 865 time for calcul the mask position with numpy : 0.0006403923034667969 nb_pixel_total : 49648 time to create 1 rle with old method : 0.05844926834106445 length of segment : 201 time for calcul the mask position with numpy : 0.0001773834228515625 nb_pixel_total : 3732 time to create 1 rle with old method : 0.005084991455078125 length of segment : 53 time for calcul the mask position with numpy : 0.0014729499816894531 nb_pixel_total : 50389 time to create 1 rle with old method : 0.06205105781555176 length of segment : 533 time for calcul the mask position with numpy : 0.0001723766326904297 nb_pixel_total : 2642 time to create 1 rle with old method : 0.0033807754516601562 length of segment : 82 time for calcul the mask position with numpy : 0.0017158985137939453 nb_pixel_total : 58615 time to create 1 rle with old method : 0.06715035438537598 length of segment : 670 time for calcul the mask position with numpy : 0.0038404464721679688 nb_pixel_total : 200359 time to create 1 rle with new method : 0.007290363311767578 length of segment : 440 time for calcul the mask position with numpy : 0.0005586147308349609 nb_pixel_total : 20200 time to create 1 rle with old method : 0.025385618209838867 length of segment : 169 time for calcul the mask position with numpy : 0.0012805461883544922 nb_pixel_total : 61090 time to create 1 rle with old method : 0.07427549362182617 length of segment : 233 time for calcul the mask position with numpy : 0.00015401840209960938 nb_pixel_total : 1900 time to create 1 rle with old method : 0.00257110595703125 length of segment : 48 time for calcul the mask position with numpy : 0.00048160552978515625 nb_pixel_total : 16018 time to create 1 rle with old method : 0.02149343490600586 length of segment : 193 time for calcul the mask position with numpy : 0.00017523765563964844 nb_pixel_total : 3285 time to create 1 rle with old method : 0.004566192626953125 length of segment : 63 time for calcul the mask position with numpy : 0.0014276504516601562 nb_pixel_total : 54402 time to create 1 rle with old method : 0.06430459022521973 length of segment : 239 time for calcul the mask position with numpy : 0.0005252361297607422 nb_pixel_total : 4670 time to create 1 rle with old method : 0.006240129470825195 length of segment : 137 time for calcul the mask position with numpy : 0.0018794536590576172 nb_pixel_total : 72973 time to create 1 rle with old method : 0.08379077911376953 length of segment : 323 time for calcul the mask position with numpy : 9.679794311523438e-05 nb_pixel_total : 1762 time to create 1 rle with old method : 0.0023636817932128906 length of segment : 46 time for calcul the mask position with numpy : 0.00023102760314941406 nb_pixel_total : 4559 time to create 1 rle with old method : 0.005769252777099609 length of segment : 60 time for calcul the mask position with numpy : 0.0003657341003417969 nb_pixel_total : 22887 time to create 1 rle with old method : 0.02815389633178711 length of segment : 129 time for calcul the mask position with numpy : 0.003142833709716797 nb_pixel_total : 74078 time to create 1 rle with old method : 0.08794546127319336 length of segment : 697 time for calcul the mask position with numpy : 0.0016779899597167969 nb_pixel_total : 67109 time to create 1 rle with old method : 0.08243751525878906 length of segment : 520 time for calcul the mask position with numpy : 0.0010573863983154297 nb_pixel_total : 36849 time to create 1 rle with old method : 0.04424905776977539 length of segment : 263 time for calcul the mask position with numpy : 0.0005552768707275391 nb_pixel_total : 22274 time to create 1 rle with old method : 0.027706384658813477 length of segment : 225 time for calcul the mask position with numpy : 0.0028891563415527344 nb_pixel_total : 119243 time to create 1 rle with old method : 0.14343810081481934 length of segment : 517 time for calcul the mask position with numpy : 0.00016236305236816406 nb_pixel_total : 5799 time to create 1 rle with old method : 0.006948947906494141 length of segment : 82 time for calcul the mask position with numpy : 0.0004508495330810547 nb_pixel_total : 12277 time to create 1 rle with old method : 0.015441417694091797 length of segment : 202 time for calcul the mask position with numpy : 0.0004987716674804688 nb_pixel_total : 17979 time to create 1 rle with old method : 0.022183895111083984 length of segment : 171 time for calcul the mask position with numpy : 0.004389524459838867 nb_pixel_total : 244895 time to create 1 rle with new method : 0.009530782699584961 length of segment : 671 time for calcul the mask position with numpy : 0.00024199485778808594 nb_pixel_total : 5604 time to create 1 rle with old method : 0.007279634475708008 length of segment : 112 time for calcul the mask position with numpy : 0.00016832351684570312 nb_pixel_total : 3500 time to create 1 rle with old method : 0.004488706588745117 length of segment : 85 time for calcul the mask position with numpy : 0.004214763641357422 nb_pixel_total : 245612 time to create 1 rle with new method : 0.011047601699829102 length of segment : 661 time for calcul the mask position with numpy : 0.0005862712860107422 nb_pixel_total : 19530 time to create 1 rle with old method : 0.024586915969848633 length of segment : 234 time for calcul the mask position with numpy : 0.0008640289306640625 nb_pixel_total : 45826 time to create 1 rle with old method : 0.056014060974121094 length of segment : 232 time for calcul the mask position with numpy : 0.002084016799926758 nb_pixel_total : 104399 time to create 1 rle with old method : 0.12485980987548828 length of segment : 374 time for calcul the mask position with numpy : 0.0009095668792724609 nb_pixel_total : 19899 time to create 1 rle with old method : 0.024212360382080078 length of segment : 293 time for calcul the mask position with numpy : 0.0005431175231933594 nb_pixel_total : 22758 time to create 1 rle with old method : 0.02794647216796875 length of segment : 150 time for calcul the mask position with numpy : 0.002447366714477539 nb_pixel_total : 103579 time to create 1 rle with old method : 0.12265467643737793 length of segment : 315 time for calcul the mask position with numpy : 0.00220489501953125 nb_pixel_total : 108412 time to create 1 rle with old method : 0.12519121170043945 length of segment : 398 time for calcul the mask position with numpy : 0.0001704692840576172 nb_pixel_total : 2785 time to create 1 rle with old method : 0.0034852027893066406 length of segment : 96 time for calcul the mask position with numpy : 0.0008053779602050781 nb_pixel_total : 16096 time to create 1 rle with old method : 0.02081465721130371 length of segment : 302 time for calcul the mask position with numpy : 0.00018787384033203125 nb_pixel_total : 2314 time to create 1 rle with old method : 0.0031976699829101562 length of segment : 61 time for calcul the mask position with numpy : 0.0015459060668945312 nb_pixel_total : 105464 time to create 1 rle with old method : 0.12153005599975586 length of segment : 392 time for calcul the mask position with numpy : 0.00017547607421875 nb_pixel_total : 4892 time to create 1 rle with old method : 0.00648188591003418 length of segment : 67 time for calcul the mask position with numpy : 0.00030231475830078125 nb_pixel_total : 8485 time to create 1 rle with old method : 0.010931253433227539 length of segment : 132 time for calcul the mask position with numpy : 0.0009391307830810547 nb_pixel_total : 34798 time to create 1 rle with old method : 0.03922891616821289 length of segment : 321 time for calcul the mask position with numpy : 0.0002510547637939453 nb_pixel_total : 6434 time to create 1 rle with old method : 0.008043527603149414 length of segment : 158 time for calcul the mask position with numpy : 0.0017242431640625 nb_pixel_total : 84106 time to create 1 rle with old method : 0.09703254699707031 length of segment : 331 time for calcul the mask position with numpy : 0.0025653839111328125 nb_pixel_total : 154922 time to create 1 rle with new method : 0.006729602813720703 length of segment : 630 time for calcul the mask position with numpy : 0.0010106563568115234 nb_pixel_total : 69538 time to create 1 rle with old method : 0.08307313919067383 length of segment : 313 time for calcul the mask position with numpy : 0.0005905628204345703 nb_pixel_total : 29062 time to create 1 rle with old method : 0.03502488136291504 length of segment : 192 time for calcul the mask position with numpy : 0.00020051002502441406 nb_pixel_total : 4696 time to create 1 rle with old method : 0.006087064743041992 length of segment : 47 time for calcul the mask position with numpy : 0.0005676746368408203 nb_pixel_total : 28615 time to create 1 rle with old method : 0.03316307067871094 length of segment : 277 time for calcul the mask position with numpy : 0.0010371208190917969 nb_pixel_total : 8502 time to create 1 rle with old method : 0.01064920425415039 length of segment : 341 time for calcul the mask position with numpy : 0.00037932395935058594 nb_pixel_total : 14693 time to create 1 rle with old method : 0.017998456954956055 length of segment : 145 time for calcul the mask position with numpy : 0.001598358154296875 nb_pixel_total : 52230 time to create 1 rle with old method : 0.06533575057983398 length of segment : 282 time for calcul the mask position with numpy : 0.0036644935607910156 nb_pixel_total : 150192 time to create 1 rle with new method : 0.008333444595336914 length of segment : 515 time for calcul the mask position with numpy : 0.0002913475036621094 nb_pixel_total : 4945 time to create 1 rle with old method : 0.006455659866333008 length of segment : 66 time for calcul the mask position with numpy : 0.003373861312866211 nb_pixel_total : 127496 time to create 1 rle with old method : 0.1463325023651123 length of segment : 660 time for calcul the mask position with numpy : 0.0005636215209960938 nb_pixel_total : 21222 time to create 1 rle with old method : 0.025063753128051758 length of segment : 164 time for calcul the mask position with numpy : 0.0005125999450683594 nb_pixel_total : 7796 time to create 1 rle with old method : 0.009623527526855469 length of segment : 149 time for calcul the mask position with numpy : 0.0023860931396484375 nb_pixel_total : 160447 time to create 1 rle with new method : 0.005936622619628906 length of segment : 556 time for calcul the mask position with numpy : 0.0017800331115722656 nb_pixel_total : 54601 time to create 1 rle with old method : 0.06607389450073242 length of segment : 418 time for calcul the mask position with numpy : 0.0007708072662353516 nb_pixel_total : 39520 time to create 1 rle with old method : 0.04942035675048828 length of segment : 219 time for calcul the mask position with numpy : 0.0012688636779785156 nb_pixel_total : 14248 time to create 1 rle with old method : 0.0185546875 length of segment : 439 time for calcul the mask position with numpy : 0.0004649162292480469 nb_pixel_total : 17442 time to create 1 rle with old method : 0.020678043365478516 length of segment : 164 time for calcul the mask position with numpy : 0.0010263919830322266 nb_pixel_total : 38265 time to create 1 rle with old method : 0.04642748832702637 length of segment : 153 time for calcul the mask position with numpy : 0.0006041526794433594 nb_pixel_total : 15981 time to create 1 rle with old method : 0.02132701873779297 length of segment : 188 time for calcul the mask position with numpy : 0.002485513687133789 nb_pixel_total : 113359 time to create 1 rle with old method : 0.13359689712524414 length of segment : 485 time for calcul the mask position with numpy : 0.0018587112426757812 nb_pixel_total : 81292 time to create 1 rle with old method : 0.09839034080505371 length of segment : 551 time for calcul the mask position with numpy : 0.00026726722717285156 nb_pixel_total : 6331 time to create 1 rle with old method : 0.007936239242553711 length of segment : 102 time for calcul the mask position with numpy : 0.00013136863708496094 nb_pixel_total : 4906 time to create 1 rle with old method : 0.006278038024902344 length of segment : 81 time for calcul the mask position with numpy : 0.0014324188232421875 nb_pixel_total : 97244 time to create 1 rle with old method : 0.10968184471130371 length of segment : 343 time for calcul the mask position with numpy : 0.00016546249389648438 nb_pixel_total : 5313 time to create 1 rle with old method : 0.006630420684814453 length of segment : 144 time spent for convertir_results : 13.04094934463501 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 126 chid ids of type : 3663 Number RLEs to save : 42782 save missing photos in datou_result : time spend for datou_step_exec : 63.49695682525635 time spend to save output : 2.6147255897521973 total time spend for step 1 : 66.11168241500854 step2:crop_condition Tue Feb 18 22:17:35 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 126 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 19 About to insert : list_path_to_insert length 19 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! we have finished the crop for the class : carton_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 ! map_result returned by crop_photo_return_map_crop : length : 32 About to insert : list_path_to_insert length 32 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 12 About to insert : list_path_to_insert length 12 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 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 [1338336766, 1338336665, 1338336640, 1338336637, 1338336634, 1338336632, 1338336629, 1338336627, 1338336613, 1338336607] Looping around the photos to save general results len do output : 87 /-3679346929Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346925Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346944Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346948Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346978Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346977Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346980Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346987Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346996Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346998Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347001Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347008Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347020Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347031Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347030Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347029Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347041Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347040Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347044Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346933Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346943Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346932Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346958Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347002Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347017Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347033Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347039Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347028Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346935Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346940Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346934Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346950Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346968Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346973Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346982Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347006Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347009Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347036Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346928Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346931Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346942Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346924Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346939Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346960Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346951Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346959Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346949Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346956Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346955Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346946Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346964Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346969Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346965Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346963Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346972Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346983Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346994Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346995Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347007Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346997Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346999Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347003Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347010Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347015Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347013Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347023Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347025Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347022Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347034Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347043Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346923Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346954Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346952Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346953Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346976Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346975Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346989Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346984Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347021Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347042Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347045Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347046Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346937Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346930Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346974Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679346985Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3679347012Didn'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, '2597827') ('3459', '20656288', '1338336766', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336665', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336640', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336637', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336634', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336632', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336629', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336627', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336613', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336607', None, None, None, None, None, '2597827') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 271 time used for this insertion : 6.7073163986206055 save_final save missing photos in datou_result : time spend for datou_step_exec : 34.45778775215149 time spend to save output : 6.7108259201049805 total time spend for step 2 : 41.16861367225647 step3:thcl Tue Feb 18 22:18:17 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.015197992324829102 time to convert the images to numpy array : 0.07408738136291504 time to import caffe and check if the image exist : 0.0063135623931884766 time to convert the images to numpy array : 0.10215878486633301 time to import caffe and check if the image exist : 0.008575677871704102 time to convert the images to numpy array : 0.11467528343200684 time to import caffe and check if the image exist : 0.013045549392700195 time to convert the images to numpy array : 0.11487078666687012 time to import caffe and check if the image exist : 0.010395526885986328 time to convert the images to numpy array : 0.11735939979553223 time to import caffe and check if the image exist : 0.009552240371704102 time to convert the images to numpy array : 0.1429448127746582 time to import caffe and check if the image exist : 0.01600170135498047 time to convert the images to numpy array : 0.2857639789581299 time to import caffe and check if the image exist : 0.010818243026733398 time to convert the images to numpy array : 0.30105018615722656 time to import caffe and check if the image exist : 0.014243125915527344 time to convert the images to numpy array : 0.3024940490722656 time to import caffe and check if the image exist : 0.014526128768920898 time to convert the images to numpy array : 0.34186434745788574 total time to convert the images to numpy array : 0.6731979846954346 list photo_ids error: [] list photo_ids correct : [-3679346952, -3679346953, -3679346976, -3679346975, -3679346989, -3679346984, -3679347021, -3679347042, -3679347045, -3679346929, -3679346925, -3679346944, -3679346948, -3679346978, -3679346977, -3679346980, -3679346987, -3679346996, -3679346998, -3679347001, -3679347008, -3679347020, -3679347031, -3679347030, -3679347029, -3679347041, -3679347040, -3679347015, -3679347013, -3679347023, -3679347025, -3679347022, -3679347034, -3679347043, -3679346923, -3679346954, -3679347046, -3679346937, -3679346930, -3679346974, -3679346985, -3679347012, -3679347044, -3679346933, -3679346943, -3679346932, -3679346958, -3679347002, -3679347017, -3679347033, -3679347039, -3679346959, -3679346949, -3679346956, -3679346955, -3679346946, -3679346964, -3679346969, -3679346965, -3679346963, -3679347009, -3679347036, -3679346928, -3679346931, -3679346942, -3679346924, -3679346939, -3679346960, -3679346951, -3679346972, -3679346983, -3679346994, -3679346995, -3679347007, -3679346997, -3679346999, -3679347003, -3679347010, -3679347028, -3679346935, -3679346940, -3679346934, -3679346950, -3679346968, -3679346973, -3679346982, -3679347006] number of photos to traite : 87 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 : 10593 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 : 10374 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.9074172973632812 time used to do the prediction : 0.19145417213439941 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 : 10372 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 : 10372 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.07279372215271 time used to do the prediction : 0.15919208526611328 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.1920928955078125e-05 save missing photos in datou_result : time spend for datou_step_exec : 9.634104013442993 time spend to save output : 0.0006296634674072266 total time spend for step 3 : 9.6347336769104 step4:merge_mask_thcl_custom Tue Feb 18 22:18:26 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 126 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 [1338336766, 1338336665, 1338336640, 1338336637, 1338336634, 1338336632, 1338336629, 1338336627, 1338336613, 1338336607] Looping around the photos to save general results len do output : 10 /1338336766Didn't retrieve data .Didn't retrieve data . /1338336665Didn't retrieve data .Didn't retrieve data . /1338336640Didn't retrieve data .Didn't retrieve data . /1338336637Didn't retrieve data .Didn't retrieve data . /1338336634Didn't retrieve data .Didn't retrieve data . /1338336632Didn't retrieve data .Didn't retrieve data . /1338336629Didn't retrieve data .Didn't retrieve data . /1338336627Didn't retrieve data .Didn't retrieve data . /1338336613Didn't retrieve data .Didn't retrieve data . /1338336607Didn'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, '2597827') ('3459', '20656288', '1338336766', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336665', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336640', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336637', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336634', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336632', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336629', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336627', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336613', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336607', None, None, None, None, None, '2597827') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01378941535949707 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06270408630371094 time spend to save output : 0.014346122741699219 total time spend for step 4 : 0.07705020904541016 step5:rle_unique_nms_with_priority Tue Feb 18 22:18:26 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 : 20 nb_hashtags : 7 time to prepare the origin masks : 14.771400451660156 time for calcul the mask position with numpy : 0.4549999237060547 nb_pixel_total : 6009004 time to create 1 rle with new method : 0.8901019096374512 time for calcul the mask position with numpy : 0.033312320709228516 nb_pixel_total : 26945 time to create 1 rle with old method : 0.03134584426879883 time for calcul the mask position with numpy : 0.035114288330078125 nb_pixel_total : 29797 time to create 1 rle with old method : 0.03266477584838867 time for calcul the mask position with numpy : 0.033468008041381836 nb_pixel_total : 10263 time to create 1 rle with old method : 0.011597633361816406 time for calcul the mask position with numpy : 0.02863168716430664 nb_pixel_total : 22279 time to create 1 rle with old method : 0.02575230598449707 time for calcul the mask position with numpy : 0.0247955322265625 nb_pixel_total : 80775 time to create 1 rle with old method : 0.09912443161010742 time for calcul the mask position with numpy : 0.021971702575683594 nb_pixel_total : 4725 time to create 1 rle with old method : 0.0056188106536865234 time for calcul the mask position with numpy : 0.02363109588623047 nb_pixel_total : 206649 time to create 1 rle with new method : 0.5465149879455566 time for calcul the mask position with numpy : 0.02233123779296875 nb_pixel_total : 19128 time to create 1 rle with old method : 0.024115800857543945 time for calcul the mask position with numpy : 0.022688865661621094 nb_pixel_total : 173763 time to create 1 rle with new method : 2.482828140258789 time for calcul the mask position with numpy : 0.021833419799804688 nb_pixel_total : 141807 time to create 1 rle with old method : 0.17977118492126465 time for calcul the mask position with numpy : 0.02276778221130371 nb_pixel_total : 12565 time to create 1 rle with old method : 0.014419078826904297 time for calcul the mask position with numpy : 0.022503137588500977 nb_pixel_total : 90107 time to create 1 rle with old method : 0.10294151306152344 time for calcul the mask position with numpy : 0.024030208587646484 nb_pixel_total : 27518 time to create 1 rle with old method : 0.03129220008850098 time for calcul the mask position with numpy : 0.024376392364501953 nb_pixel_total : 63625 time to create 1 rle with old method : 0.07602453231811523 time for calcul the mask position with numpy : 0.02242565155029297 nb_pixel_total : 12835 time to create 1 rle with old method : 0.014335393905639648 time for calcul the mask position with numpy : 0.02222585678100586 nb_pixel_total : 2015 time to create 1 rle with old method : 0.0023813247680664062 time for calcul the mask position with numpy : 0.021125078201293945 nb_pixel_total : 2409 time to create 1 rle with old method : 0.0029506683349609375 time for calcul the mask position with numpy : 0.02216172218322754 nb_pixel_total : 26026 time to create 1 rle with old method : 0.0331571102142334 time for calcul the mask position with numpy : 0.0396730899810791 nb_pixel_total : 60926 time to create 1 rle with old method : 0.07160639762878418 time for calcul the mask position with numpy : 0.04059743881225586 nb_pixel_total : 27079 time to create 1 rle with old method : 0.033850669860839844 create new chi : 5.778472185134888 time to delete rle : 0.01477813720703125 batch 1 Loaded 21 chid ids of type : 3726 Number RLEs to save : 14075 TO DO : save crop sub photo not yet done ! save time : 1.1309800148010254 nb_obj : 18 nb_hashtags : 6 time to prepare the origin masks : 14.4409818649292 time for calcul the mask position with numpy : 1.076709508895874 nb_pixel_total : 4707414 time to create 1 rle with new method : 0.9207122325897217 time for calcul the mask position with numpy : 0.037824153900146484 nb_pixel_total : 4138 time to create 1 rle with old method : 0.004856109619140625 time for calcul the mask position with numpy : 0.039620399475097656 nb_pixel_total : 1938 time to create 1 rle with old method : 0.002641439437866211 time for calcul the mask position with numpy : 0.04753851890563965 nb_pixel_total : 180276 time to create 1 rle with new method : 1.2663652896881104 time for calcul the mask position with numpy : 0.06352043151855469 nb_pixel_total : 1072528 time to create 1 rle with new method : 0.9992265701293945 time for calcul the mask position with numpy : 0.037030935287475586 nb_pixel_total : 30822 time to create 1 rle with old method : 0.03950190544128418 time for calcul the mask position with numpy : 0.03926658630371094 nb_pixel_total : 4508 time to create 1 rle with old method : 0.005171775817871094 time for calcul the mask position with numpy : 0.03414177894592285 nb_pixel_total : 19621 time to create 1 rle with old method : 0.024552106857299805 time for calcul the mask position with numpy : 0.03900647163391113 nb_pixel_total : 29244 time to create 1 rle with old method : 0.03483176231384277 time for calcul the mask position with numpy : 0.04319930076599121 nb_pixel_total : 291754 time to create 1 rle with new method : 0.6606857776641846 time for calcul the mask position with numpy : 0.038683176040649414 nb_pixel_total : 256392 time to create 1 rle with new method : 0.6278088092803955 time for calcul the mask position with numpy : 0.034842491149902344 nb_pixel_total : 2744 time to create 1 rle with old method : 0.0040531158447265625 time for calcul the mask position with numpy : 0.041997432708740234 nb_pixel_total : 768 time to create 1 rle with old method : 0.0009720325469970703 time for calcul the mask position with numpy : 0.03722572326660156 nb_pixel_total : 3067 time to create 1 rle with old method : 0.004133462905883789 time for calcul the mask position with numpy : 0.0342717170715332 nb_pixel_total : 17722 time to create 1 rle with old method : 0.020118236541748047 time for calcul the mask position with numpy : 0.03228902816772461 nb_pixel_total : 1789 time to create 1 rle with old method : 0.0021088123321533203 time for calcul the mask position with numpy : 0.03814983367919922 nb_pixel_total : 59977 time to create 1 rle with old method : 0.07239055633544922 time for calcul the mask position with numpy : 0.027180194854736328 nb_pixel_total : 155289 time to create 1 rle with new method : 0.9120428562164307 time for calcul the mask position with numpy : 0.02245306968688965 nb_pixel_total : 210249 time to create 1 rle with new method : 0.7685167789459229 create new chi : 8.32771110534668 time to delete rle : 0.002202272415161133 batch 1 Loaded 19 chid ids of type : 3726 Number RLEs to save : 18454 TO DO : save crop sub photo not yet done ! save time : 1.2713446617126465 nb_obj : 12 nb_hashtags : 6 time to prepare the origin masks : 9.95666766166687 time for calcul the mask position with numpy : 0.49915289878845215 nb_pixel_total : 6232856 time to create 1 rle with new method : 0.5307838916778564 time for calcul the mask position with numpy : 0.034540414810180664 nb_pixel_total : 55790 time to create 1 rle with old method : 0.06354665756225586 time for calcul the mask position with numpy : 0.031989336013793945 nb_pixel_total : 55383 time to create 1 rle with old method : 0.2604377269744873 time for calcul the mask position with numpy : 0.023604631423950195 nb_pixel_total : 1930 time to create 1 rle with old method : 0.0031538009643554688 time for calcul the mask position with numpy : 0.023999452590942383 nb_pixel_total : 93077 time to create 1 rle with old method : 0.11955404281616211 time for calcul the mask position with numpy : 0.02437901496887207 nb_pixel_total : 91611 time to create 1 rle with old method : 0.1364898681640625 time for calcul the mask position with numpy : 0.027077436447143555 nb_pixel_total : 14373 time to create 1 rle with old method : 0.017427682876586914 time for calcul the mask position with numpy : 0.02393364906311035 nb_pixel_total : 2442 time to create 1 rle with old method : 0.0028319358825683594 time for calcul the mask position with numpy : 0.025296688079833984 nb_pixel_total : 132283 time to create 1 rle with old method : 0.1783151626586914 time for calcul the mask position with numpy : 0.023743152618408203 nb_pixel_total : 4009 time to create 1 rle with old method : 0.004798173904418945 time for calcul the mask position with numpy : 0.025261402130126953 nb_pixel_total : 178086 time to create 1 rle with new method : 0.48485589027404785 time for calcul the mask position with numpy : 0.02369236946105957 nb_pixel_total : 183881 time to create 1 rle with new method : 0.47650814056396484 time for calcul the mask position with numpy : 0.022068023681640625 nb_pixel_total : 4519 time to create 1 rle with old method : 0.005858182907104492 create new chi : 3.181697130203247 time to delete rle : 0.0009150505065917969 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 10138 TO DO : save crop sub photo not yet done ! save time : 0.5774855613708496 nb_obj : 6 nb_hashtags : 5 time to prepare the origin masks : 4.414050102233887 time for calcul the mask position with numpy : 0.43790125846862793 nb_pixel_total : 6713265 time to create 1 rle with new method : 0.4666433334350586 time for calcul the mask position with numpy : 0.020039081573486328 nb_pixel_total : 1232 time to create 1 rle with old method : 0.0017654895782470703 time for calcul the mask position with numpy : 0.02014446258544922 nb_pixel_total : 54844 time to create 1 rle with old method : 0.06055927276611328 time for calcul the mask position with numpy : 0.020354509353637695 nb_pixel_total : 3700 time to create 1 rle with old method : 0.004190206527709961 time for calcul the mask position with numpy : 0.02135944366455078 nb_pixel_total : 166147 time to create 1 rle with new method : 0.4507019519805908 time for calcul the mask position with numpy : 0.020857572555541992 nb_pixel_total : 32859 time to create 1 rle with old method : 0.03719162940979004 time for calcul the mask position with numpy : 0.021418333053588867 nb_pixel_total : 78193 time to create 1 rle with old method : 0.09186172485351562 create new chi : 1.7390437126159668 time to delete rle : 0.0006520748138427734 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 5880 TO DO : save crop sub photo not yet done ! save time : 0.3474299907684326 nb_obj : 15 nb_hashtags : 6 time to prepare the origin masks : 8.65116000175476 time for calcul the mask position with numpy : 0.4089810848236084 nb_pixel_total : 6426438 time to create 1 rle with new method : 0.5293283462524414 time for calcul the mask position with numpy : 0.020397424697875977 nb_pixel_total : 54231 time to create 1 rle with old method : 0.06124305725097656 time for calcul the mask position with numpy : 0.02197098731994629 nb_pixel_total : 200028 time to create 1 rle with new method : 0.5002059936523438 time for calcul the mask position with numpy : 0.020884990692138672 nb_pixel_total : 60920 time to create 1 rle with old method : 0.06664633750915527 time for calcul the mask position with numpy : 0.020134925842285156 nb_pixel_total : 58639 time to create 1 rle with old method : 0.06479954719543457 time for calcul the mask position with numpy : 0.02086615562438965 nb_pixel_total : 1750 time to create 1 rle with old method : 0.001954317092895508 time for calcul the mask position with numpy : 0.021044492721557617 nb_pixel_total : 72765 time to create 1 rle with old method : 0.0792238712310791 time for calcul the mask position with numpy : 0.021776676177978516 nb_pixel_total : 50296 time to create 1 rle with old method : 0.05501103401184082 time for calcul the mask position with numpy : 0.023432016372680664 nb_pixel_total : 73878 time to create 1 rle with old method : 0.08610320091247559 time for calcul the mask position with numpy : 0.0231020450592041 nb_pixel_total : 4598 time to create 1 rle with old method : 0.00542140007019043 time for calcul the mask position with numpy : 0.02245807647705078 nb_pixel_total : 3273 time to create 1 rle with old method : 0.0038957595825195312 time for calcul the mask position with numpy : 0.022679805755615234 nb_pixel_total : 189 time to create 1 rle with old method : 0.0004284381866455078 time for calcul the mask position with numpy : 0.022101402282714844 nb_pixel_total : 22775 time to create 1 rle with old method : 0.025285959243774414 time for calcul the mask position with numpy : 0.020664215087890625 nb_pixel_total : 1879 time to create 1 rle with old method : 0.0022306442260742188 time for calcul the mask position with numpy : 0.021028757095336914 nb_pixel_total : 15952 time to create 1 rle with old method : 0.017757892608642578 time for calcul the mask position with numpy : 0.02078390121459961 nb_pixel_total : 2629 time to create 1 rle with old method : 0.003070354461669922 create new chi : 2.2987473011016846 time to delete rle : 0.0009970664978027344 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 9959 TO DO : save crop sub photo not yet done ! save time : 0.9931290149688721 nb_obj : 12 nb_hashtags : 6 time to prepare the origin masks : 5.807646989822388 time for calcul the mask position with numpy : 0.2829935550689697 nb_pixel_total : 6496777 time to create 1 rle with new method : 0.47141218185424805 time for calcul the mask position with numpy : 0.021811723709106445 nb_pixel_total : 22246 time to create 1 rle with old method : 0.024127960205078125 time for calcul the mask position with numpy : 0.021830320358276367 nb_pixel_total : 66860 time to create 1 rle with old method : 0.07258987426757812 time for calcul the mask position with numpy : 0.021866321563720703 nb_pixel_total : 17860 time to create 1 rle with old method : 0.018638134002685547 time for calcul the mask position with numpy : 0.021910905838012695 nb_pixel_total : 36684 time to create 1 rle with old method : 0.03863263130187988 time for calcul the mask position with numpy : 0.02313828468322754 nb_pixel_total : 3487 time to create 1 rle with old method : 0.003716707229614258 time for calcul the mask position with numpy : 0.023041248321533203 nb_pixel_total : 5570 time to create 1 rle with old method : 0.006448984146118164 time for calcul the mask position with numpy : 0.02421736717224121 nb_pixel_total : 119033 time to create 1 rle with old method : 0.1264362335205078 time for calcul the mask position with numpy : 0.023511648178100586 nb_pixel_total : 19510 time to create 1 rle with old method : 0.0214841365814209 time for calcul the mask position with numpy : 0.023029804229736328 nb_pixel_total : 5761 time to create 1 rle with old method : 0.0061054229736328125 time for calcul the mask position with numpy : 0.022141218185424805 nb_pixel_total : 5761 time to create 1 rle with old method : 0.006114006042480469 time for calcul the mask position with numpy : 0.02217864990234375 nb_pixel_total : 5507 time to create 1 rle with old method : 0.0063934326171875 time for calcul the mask position with numpy : 0.023417234420776367 nb_pixel_total : 245184 time to create 1 rle with new method : 0.5669972896575928 create new chi : 1.9951884746551514 time to delete rle : 0.0008254051208496094 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 8871 TO DO : save crop sub photo not yet done ! save time : 5.230258464813232 nb_obj : 11 nb_hashtags : 6 time to prepare the origin masks : 7.231913805007935 time for calcul the mask position with numpy : 0.39629387855529785 nb_pixel_total : 6626064 time to create 1 rle with new method : 0.6584818363189697 time for calcul the mask position with numpy : 0.0348057746887207 nb_pixel_total : 10340 time to create 1 rle with old method : 0.011737346649169922 time for calcul the mask position with numpy : 0.03790783882141113 nb_pixel_total : 4809 time to create 1 rle with old method : 0.005403280258178711 time for calcul the mask position with numpy : 0.03312969207763672 nb_pixel_total : 2287 time to create 1 rle with old method : 0.0026001930236816406 time for calcul the mask position with numpy : 0.03319740295410156 nb_pixel_total : 19893 time to create 1 rle with old method : 0.022268056869506836 time for calcul the mask position with numpy : 0.03329157829284668 nb_pixel_total : 250 time to create 1 rle with old method : 0.0006799697875976562 time for calcul the mask position with numpy : 0.035834550857543945 nb_pixel_total : 108072 time to create 1 rle with old method : 0.11928677558898926 time for calcul the mask position with numpy : 0.03128838539123535 nb_pixel_total : 2777 time to create 1 rle with old method : 0.0032541751861572266 time for calcul the mask position with numpy : 0.03438067436218262 nb_pixel_total : 104014 time to create 1 rle with old method : 0.11578917503356934 time for calcul the mask position with numpy : 0.03758597373962402 nb_pixel_total : 45729 time to create 1 rle with old method : 0.050666093826293945 time for calcul the mask position with numpy : 0.03419971466064453 nb_pixel_total : 22659 time to create 1 rle with old method : 0.02534794807434082 time for calcul the mask position with numpy : 0.03387045860290527 nb_pixel_total : 103346 time to create 1 rle with old method : 0.11711382865905762 create new chi : 1.9462988376617432 time to delete rle : 0.0007879734039306641 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 6778 TO DO : save crop sub photo not yet done ! save time : 0.42271971702575684 nb_obj : 8 nb_hashtags : 5 time to prepare the origin masks : 4.688725709915161 time for calcul the mask position with numpy : 0.40909647941589355 nb_pixel_total : 6726265 time to create 1 rle with new method : 0.48714447021484375 time for calcul the mask position with numpy : 0.02026844024658203 nb_pixel_total : 4650 time to create 1 rle with old method : 0.005354404449462891 time for calcul the mask position with numpy : 0.022432565689086914 nb_pixel_total : 154754 time to create 1 rle with new method : 0.7374725341796875 time for calcul the mask position with numpy : 0.022454023361206055 nb_pixel_total : 15191 time to create 1 rle with old method : 0.018212080001831055 time for calcul the mask position with numpy : 0.023747682571411133 nb_pixel_total : 69857 time to create 1 rle with old method : 0.08322525024414062 time for calcul the mask position with numpy : 0.023243188858032227 nb_pixel_total : 6420 time to create 1 rle with old method : 0.007524251937866211 time for calcul the mask position with numpy : 0.022838115692138672 nb_pixel_total : 8439 time to create 1 rle with old method : 0.009735822677612305 time for calcul the mask position with numpy : 0.02225351333618164 nb_pixel_total : 28942 time to create 1 rle with old method : 0.03377246856689453 time for calcul the mask position with numpy : 0.022408485412597656 nb_pixel_total : 35722 time to create 1 rle with old method : 0.04280710220336914 create new chi : 2.0781116485595703 time to delete rle : 0.0006814002990722656 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 6212 TO DO : save crop sub photo not yet done ! save time : 0.37635278701782227 nb_obj : 11 nb_hashtags : 5 time to prepare the origin masks : 8.620554685592651 time for calcul the mask position with numpy : 0.46370553970336914 nb_pixel_total : 6613633 time to create 1 rle with new method : 1.2212982177734375 time for calcul the mask position with numpy : 0.04448843002319336 nb_pixel_total : 127729 time to create 1 rle with old method : 0.14942216873168945 time for calcul the mask position with numpy : 0.035624027252197266 nb_pixel_total : 4457 time to create 1 rle with old method : 0.005240917205810547 time for calcul the mask position with numpy : 0.033138275146484375 nb_pixel_total : 945 time to create 1 rle with old method : 0.0013988018035888672 time for calcul the mask position with numpy : 0.03660869598388672 nb_pixel_total : 52168 time to create 1 rle with old method : 0.06042361259460449 time for calcul the mask position with numpy : 0.03564190864562988 nb_pixel_total : 160297 time to create 1 rle with new method : 2.344158411026001 time for calcul the mask position with numpy : 0.03584122657775879 nb_pixel_total : 14604 time to create 1 rle with old method : 0.016263723373413086 time for calcul the mask position with numpy : 0.033468008041381836 nb_pixel_total : 7758 time to create 1 rle with old method : 0.009063959121704102 time for calcul the mask position with numpy : 0.033544301986694336 nb_pixel_total : 4872 time to create 1 rle with old method : 0.005598306655883789 time for calcul the mask position with numpy : 0.03165602684020996 nb_pixel_total : 21153 time to create 1 rle with old method : 0.02408576011657715 time for calcul the mask position with numpy : 0.03197813034057617 nb_pixel_total : 28422 time to create 1 rle with old method : 0.03397727012634277 time for calcul the mask position with numpy : 0.029308319091796875 nb_pixel_total : 14202 time to create 1 rle with old method : 0.021834135055541992 create new chi : 4.809112071990967 time to delete rle : 0.0015959739685058594 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 8177 TO DO : save crop sub photo not yet done ! save time : 0.5165917873382568 nb_obj : 8 nb_hashtags : 5 time to prepare the origin masks : 6.046558856964111 time for calcul the mask position with numpy : 0.42151546478271484 nb_pixel_total : 6772127 time to create 1 rle with new method : 1.9156105518341064 time for calcul the mask position with numpy : 0.024410724639892578 nb_pixel_total : 3019 time to create 1 rle with old method : 0.003638029098510742 time for calcul the mask position with numpy : 0.02397632598876953 nb_pixel_total : 15930 time to create 1 rle with old method : 0.018433570861816406 time for calcul the mask position with numpy : 0.026056528091430664 nb_pixel_total : 5286 time to create 1 rle with old method : 0.0063190460205078125 time for calcul the mask position with numpy : 0.02585148811340332 nb_pixel_total : 113112 time to create 1 rle with old method : 0.16450285911560059 time for calcul the mask position with numpy : 0.02666473388671875 nb_pixel_total : 80557 time to create 1 rle with old method : 0.09651565551757812 time for calcul the mask position with numpy : 0.029054641723632812 nb_pixel_total : 17392 time to create 1 rle with old method : 0.023181676864624023 time for calcul the mask position with numpy : 0.024623870849609375 nb_pixel_total : 4891 time to create 1 rle with old method : 0.005716800689697266 time for calcul the mask position with numpy : 0.032006025314331055 nb_pixel_total : 37926 time to create 1 rle with old method : 0.04996204376220703 create new chi : 2.971445083618164 time to delete rle : 0.0006973743438720703 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 5810 TO DO : save crop sub photo not yet done ! save time : 0.3598628044128418 map_output_result : {1338336766: (0.0, 'Should be the crop_list due to order', 0.0), 1338336665: (0.0, 'Should be the crop_list due to order', 0.0), 1338336640: (0.0, 'Should be the crop_list due to order', 0.0), 1338336637: (0.0, 'Should be the crop_list due to order', 0.0), 1338336634: (0.0, 'Should be the crop_list due to order', 0.0), 1338336632: (0.0, 'Should be the crop_list due to order', 0.0), 1338336629: (0.0, 'Should be the crop_list due to order', 0.0), 1338336627: (0.0, 'Should be the crop_list due to order', 0.0), 1338336613: (0.0, 'Should be the crop_list due to order', 0.0), 1338336607: (0.0, 'Should be the crop_list due to order', 0.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 [1338336766, 1338336665, 1338336640, 1338336637, 1338336634, 1338336632, 1338336629, 1338336627, 1338336613, 1338336607] Looping around the photos to save general results len do output : 10 /1338336766.Didn't retrieve data . /1338336665.Didn't retrieve data . /1338336640.Didn't retrieve data . /1338336637.Didn't retrieve data . /1338336634.Didn't retrieve data . /1338336632.Didn't retrieve data . /1338336629.Didn't retrieve data . /1338336627.Didn't retrieve data . /1338336613.Didn't retrieve data . /1338336607.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, '2597827') ('3459', '20656288', '1338336766', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336665', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336640', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336637', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336634', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336632', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336629', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336627', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336613', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336607', None, None, None, None, None, '2597827') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014581680297851562 save_final save missing photos in datou_result : time spend for datou_step_exec : 132.71661591529846 time spend to save output : 0.019104480743408203 total time spend for step 5 : 132.73572039604187 step6:crop_condition Tue Feb 18 22:20:39 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure 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 131 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 4869462 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739913644_1354536 we have uploaded 7 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.139620542526245 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/1739913648_1354536 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.4670062065124512 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/1739913653_1354536 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.9646003246307373 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 4869462 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739913658_1354536 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.801161289215088 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 ! Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 4869462 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739913662_1354536 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.592055559158325 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/1739913666_1354536 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7289645671844482 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/1739913668_1354536 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6550469398498535 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 [1338336766, 1338336665, 1338336640, 1338336637, 1338336634, 1338336632, 1338336629, 1338336627, 1338336613, 1338336607] Looping around the photos to save general results len do output : 29 /1338394142Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394143Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394144Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394145Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394146Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394147Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394148Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394150Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394151Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394152Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394153Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394154Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394155Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394156Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394157Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394158Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394159Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394160Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394161Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394162Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394163Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394164Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394165Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394167Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394169Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394171Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394172Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394191Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338394197Didn'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, '2597827') ('3459', '20656288', '1338336766', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336665', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336640', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336637', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336634', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336632', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336629', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336627', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336613', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336607', None, None, None, None, None, '2597827') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 97 time used for this insertion : 0.02968120574951172 save_final save missing photos in datou_result : time spend for datou_step_exec : 30.386967420578003 time spend to save output : 0.2511563301086426 total time spend for step 6 : 30.638123750686646 step7:ventilate_hashtags_in_portfolio Tue Feb 18 22:21:10 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 : 20656288 get user id for portfolio 20656288 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`=20656288 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','papier','metal','cartonnette','mal_croppe','Carton_brun','environnement','autre_refus','kraft','plastique','flou')) 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`=20656288 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','papier','metal','cartonnette','mal_croppe','Carton_brun','environnement','autre_refus','kraft','plastique','flou')) 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`=20656288 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','papier','metal','cartonnette','mal_croppe','Carton_brun','environnement','autre_refus','kraft','plastique','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20656580,20656581,20656582,20656583,20656584,20656585,20656586,20656587,20656588,20656589,20656590,20656591?tags=Carton_gris,Teint_Dans_La_Masse,papier,metal,cartonnette,mal_croppe,Carton_brun,environnement,autre_refus,kraft,plastique,flou Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1338336766, 1338336665, 1338336640, 1338336637, 1338336634, 1338336632, 1338336629, 1338336627, 1338336613, 1338336607] Looping around the photos to save general results len do output : 1 /20656288. 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, '2597827') ('3459', '20656288', '1338336766', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336665', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336640', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336637', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336634', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336632', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336629', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336627', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336613', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336607', None, None, None, None, None, '2597827') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.01697826385498047 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.0193376541137695 time spend to save output : 0.017308950424194336 total time spend for step 7 : 4.036646604537964 step8:final Tue Feb 18 22:21: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 ! 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 : {1338336766: ('0.056029600838106944',), 1338336665: ('0.056029600838106944',), 1338336640: ('0.056029600838106944',), 1338336637: ('0.056029600838106944',), 1338336634: ('0.056029600838106944',), 1338336632: ('0.056029600838106944',), 1338336629: ('0.056029600838106944',), 1338336627: ('0.056029600838106944',), 1338336613: ('0.056029600838106944',), 1338336607: ('0.056029600838106944',)} new output for save of step final : {1338336766: ('0.056029600838106944',), 1338336665: ('0.056029600838106944',), 1338336640: ('0.056029600838106944',), 1338336637: ('0.056029600838106944',), 1338336634: ('0.056029600838106944',), 1338336632: ('0.056029600838106944',), 1338336629: ('0.056029600838106944',), 1338336627: ('0.056029600838106944',), 1338336613: ('0.056029600838106944',), 1338336607: ('0.056029600838106944',)} [1338336766, 1338336665, 1338336640, 1338336637, 1338336634, 1338336632, 1338336629, 1338336627, 1338336613, 1338336607] Looping around the photos to save general results len do output : 10 /1338336766.Didn't retrieve data . /1338336665.Didn't retrieve data . /1338336640.Didn't retrieve data . /1338336637.Didn't retrieve data . /1338336634.Didn't retrieve data . /1338336632.Didn't retrieve data . /1338336629.Didn't retrieve data . /1338336627.Didn't retrieve data . /1338336613.Didn't retrieve data . /1338336607.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, '2597827') ('3459', '20656288', '1338336766', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336665', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336640', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336637', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336634', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336632', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336629', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336627', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336613', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336607', None, None, None, None, None, '2597827') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.015519857406616211 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10670137405395508 time spend to save output : 0.016254901885986328 total time spend for step 8 : 0.1229562759399414 step9:velours_tree Tue Feb 18 22:21: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 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.24844837188720703 time spend to save output : 7.081031799316406e-05 total time spend for step 9 : 0.2485191822052002 step10:send_mail_cod Tue Feb 18 22:21: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 ! 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_P20656288_18-02-2025_22_21_14.pdf 20656583 imagette206565831739913674 20656584 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206565841739913674 20656585 imagette206565851739913675 20656588 change filename to text .change filename to text .change filename to text .imagette206565881739913675 20656589 change filename to text .imagette206565891739913675 20656590 change filename to text .imagette206565901739913675 20656591 imagette206565911739913675 20656580 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206565801739913675 20656581 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 .imagette206565811739913675 20656586 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206565861739913676 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20656288 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20656580,20656581,20656582,20656583,20656584,20656585,20656586,20656587,20656588,20656589,20656590,20656591?tags=Carton_gris,Teint_Dans_La_Masse,papier,metal,cartonnette,mal_croppe,Carton_brun,environnement,autre_refus,kraft,plastique,flou your option no_mail is active, we will not send the real mail to your client args[1338336766] : ('0.056029600838106944',) no score found for photo 1338336766 We are sending mail with results at report@fotonower.com args[1338336665] : ('0.056029600838106944',) no score found for photo 1338336665 We are sending mail with results at report@fotonower.com args[1338336640] : ('0.056029600838106944',) no score found for photo 1338336640 We are sending mail with results at report@fotonower.com args[1338336637] : ('0.056029600838106944',) no score found for photo 1338336637 We are sending mail with results at report@fotonower.com args[1338336634] : ('0.056029600838106944',) no score found for photo 1338336634 We are sending mail with results at report@fotonower.com args[1338336632] : ('0.056029600838106944',) no score found for photo 1338336632 We are sending mail with results at report@fotonower.com args[1338336629] : ('0.056029600838106944',) no score found for photo 1338336629 We are sending mail with results at report@fotonower.com args[1338336627] : ('0.056029600838106944',) no score found for photo 1338336627 We are sending mail with results at report@fotonower.com args[1338336613] : ('0.056029600838106944',) no score found for photo 1338336613 We are sending mail with results at report@fotonower.com args[1338336607] : ('0.056029600838106944',) no score found for photo 1338336607 We are sending mail with results at report@fotonower.com refus_total : 0.056029600838106944 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=20656288 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 error for generate pdf : 'mal_croppe' Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1338336766, 1338336665, 1338336640, 1338336637, 1338336634, 1338336632, 1338336629, 1338336627, 1338336613, 1338336607] 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, '2597827') ('3459', '20656288', '1338336766', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336665', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336640', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336637', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336634', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336632', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336629', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336627', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336613', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336607', None, None, None, None, None, '2597827') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.013338327407836914 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.068690538406372 time spend to save output : 0.013566017150878906 total time spend for step 10 : 2.082256555557251 step11:split_time_score Tue Feb 18 22:21:16 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('13', 10), ('12', 10)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 18022025 20656288 Nombre de photos uploadées : 20 / 23040 (0%) 18022025 20656288 Nombre de photos taguées (types de déchets): 0 / 20 (0%) 18022025 20656288 Nombre de photos taguées (volume) : 0 / 20 (0%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 7.152557373046875e-06 ???????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0024347305297851562 elapsed_time : insert_dashboard_record_day_entry 0.02446269989013672 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656268 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656269 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656270 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656271 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656272 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656273 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656274 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656275 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656276 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656277 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656278 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656279 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656280 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656281 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656282 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656283 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656284 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656285 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656286 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656287 order by id desc limit 1 Qualite : 0.056029600838106944 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656288 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`=20656288 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656289 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656290 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656291 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656292 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656293 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656294 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656295 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656296 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656297 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656298 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656299 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656300 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656301 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656302 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656303 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656304 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656305 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656306 order by id desc limit 1 Qualite : 0.04561285178720804 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656307 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`=20656307 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656308 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656309 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656310 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656311 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656312 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656313 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20656314 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'18022025': {'nb_upload': 20, '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 [1338336766, 1338336665, 1338336640, 1338336637, 1338336634, 1338336632, 1338336629, 1338336627, 1338336613, 1338336607] Looping around the photos to save general results len do output : 1 /20656288Didn'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, '2597827') ('3459', '20656288', '1338336766', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336665', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336640', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336637', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336634', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336632', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336629', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336627', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336613', None, None, None, None, None, '2597827') ('3459', None, None, None, None, None, None, None, '2597827') ('3459', '20656288', '1338336607', None, None, None, None, None, '2597827') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.014027833938598633 save_final save missing photos in datou_result : time spend for datou_step_exec : 36.1542534828186 time spend to save output : 0.015830278396606445 total time spend for step 11 : 36.17008376121521 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 130.03user 137.78system 5:30.75elapsed 80%CPU (0avgtext+0avgdata 4131616maxresident)k 806984inputs+80800outputs (24302major+12752329minor)pagefaults 0swaps