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 : 2730067 load datou : 3459 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? output optionnel thcl was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) load thcls load THCL from format json or kwargs add thcl : 2456 in CacheModelConfig load THCL from format json or kwargs add thcl : 2868 in CacheModelConfig load THCL from format json or kwargs add thcl : 2896 in CacheModelConfig load pdts add pdt : 4999 in CacheModelConfig add pdt : 5288 in CacheModelConfig add pdt : 5309 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 we have a portfolio with more photos than limit : 21>10 please execute split_portfolio.py -i 20406980 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2571593'] with mtr_portfolio_ids : ['20406980'] and first list_photo_ids : [] new path : /proc/2730067/ 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.7383599281311035 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 Mon Feb 10 15:18:28 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 : 9890 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-10 15:18:31.449362: 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-10 15:18:31.479360: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-10 15:18:31.481410: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f2b04000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-10 15:18:31.481470: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-10 15:18:31.485897: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-10 15:18:31.708375: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xf6c8170 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-10 15:18:31.708447: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-10 15:18:31.709984: 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-10 15:18:31.710459: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-10 15:18:31.726220: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-10 15:18:31.735451: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-10 15:18:31.735999: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-10 15:18:31.749234: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-10 15:18:31.752126: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-10 15:18:31.772102: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-10 15:18:31.774020: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-10 15:18:31.774332: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-10 15:18:31.775363: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-10 15:18:31.775386: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-10 15:18:31.775399: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-10 15:18:31.777281: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9154 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-10 15:18:32.059928: 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-10 15:18:32.060039: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-10 15:18:32.060067: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-10 15:18:32.060092: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-10 15:18:32.060117: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-10 15:18:32.060142: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-10 15:18:32.060166: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-10 15:18:32.060190: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-10 15:18:32.061471: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-10 15:18:32.062521: 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-10 15:18:32.062548: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-10 15:18:32.062563: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-10 15:18:32.062577: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-10 15:18:32.062591: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-10 15:18:32.062604: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-10 15:18:32.062618: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-10 15:18:32.062632: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-10 15:18:32.063868: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-10 15:18:32.063896: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-10 15:18:32.063904: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-10 15:18:32.063912: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-10 15:18:32.065183: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9154 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-10 15:18:43.043550: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-10 15:18:43.194644: 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 : 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 : 15 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 31 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 : 34 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 : 18 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 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 : 24 Detection mask done ! Trying to reset tf kernel 2730506 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4601 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 : 10111 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.02758646011352539 nb_pixel_total : 1528472 time to create 1 rle with new method : 0.0977487564086914 length of segment : 2737 time for calcul the mask position with numpy : 0.0004391670227050781 nb_pixel_total : 23734 time to create 1 rle with old method : 0.029717206954956055 length of segment : 177 time for calcul the mask position with numpy : 0.0012083053588867188 nb_pixel_total : 63205 time to create 1 rle with old method : 0.0700218677520752 length of segment : 346 time for calcul the mask position with numpy : 0.0006923675537109375 nb_pixel_total : 35208 time to create 1 rle with old method : 0.04580426216125488 length of segment : 320 time for calcul the mask position with numpy : 9.34600830078125e-05 nb_pixel_total : 1736 time to create 1 rle with old method : 0.0020508766174316406 length of segment : 113 time for calcul the mask position with numpy : 0.001085042953491211 nb_pixel_total : 67893 time to create 1 rle with old method : 0.07604360580444336 length of segment : 350 time for calcul the mask position with numpy : 0.007516622543334961 nb_pixel_total : 382976 time to create 1 rle with new method : 0.01871514320373535 length of segment : 1012 time for calcul the mask position with numpy : 0.0029175281524658203 nb_pixel_total : 202145 time to create 1 rle with new method : 0.007502079010009766 length of segment : 679 time for calcul the mask position with numpy : 0.00036597251892089844 nb_pixel_total : 21408 time to create 1 rle with old method : 0.024376630783081055 length of segment : 169 time for calcul the mask position with numpy : 0.00046181678771972656 nb_pixel_total : 18372 time to create 1 rle with old method : 0.02156996726989746 length of segment : 153 time for calcul the mask position with numpy : 0.00019049644470214844 nb_pixel_total : 5764 time to create 1 rle with old method : 0.007825613021850586 length of segment : 105 time for calcul the mask position with numpy : 0.00020575523376464844 nb_pixel_total : 6851 time to create 1 rle with old method : 0.008589982986450195 length of segment : 148 time for calcul the mask position with numpy : 0.0036878585815429688 nb_pixel_total : 199661 time to create 1 rle with new method : 0.009882450103759766 length of segment : 524 time for calcul the mask position with numpy : 0.0009424686431884766 nb_pixel_total : 48886 time to create 1 rle with old method : 0.05998349189758301 length of segment : 456 time for calcul the mask position with numpy : 0.0033490657806396484 nb_pixel_total : 164942 time to create 1 rle with new method : 0.009294748306274414 length of segment : 489 time for calcul the mask position with numpy : 0.0019500255584716797 nb_pixel_total : 114825 time to create 1 rle with old method : 0.1350996494293213 length of segment : 449 time for calcul the mask position with numpy : 0.000202178955078125 nb_pixel_total : 3378 time to create 1 rle with old method : 0.004027128219604492 length of segment : 148 time for calcul the mask position with numpy : 0.0023195743560791016 nb_pixel_total : 81287 time to create 1 rle with old method : 0.09262537956237793 length of segment : 432 time for calcul the mask position with numpy : 0.0025484561920166016 nb_pixel_total : 37034 time to create 1 rle with old method : 0.044465065002441406 length of segment : 357 time for calcul the mask position with numpy : 0.007361650466918945 nb_pixel_total : 274609 time to create 1 rle with new method : 0.013267993927001953 length of segment : 590 time for calcul the mask position with numpy : 0.0011706352233886719 nb_pixel_total : 31995 time to create 1 rle with old method : 0.037941694259643555 length of segment : 408 time for calcul the mask position with numpy : 0.34156203269958496 nb_pixel_total : 3643379 time to create 1 rle with new method : 0.48207998275756836 length of segment : 2563 time for calcul the mask position with numpy : 8.606910705566406e-05 nb_pixel_total : 1536 time to create 1 rle with old method : 0.0018944740295410156 length of segment : 44 time for calcul the mask position with numpy : 0.0013782978057861328 nb_pixel_total : 109781 time to create 1 rle with old method : 0.12176895141601562 length of segment : 672 time for calcul the mask position with numpy : 0.0023603439331054688 nb_pixel_total : 64539 time to create 1 rle with old method : 0.09505176544189453 length of segment : 398 time for calcul the mask position with numpy : 0.0034928321838378906 nb_pixel_total : 96737 time to create 1 rle with old method : 0.12389469146728516 length of segment : 292 time for calcul the mask position with numpy : 0.001140594482421875 nb_pixel_total : 18686 time to create 1 rle with old method : 0.021886110305786133 length of segment : 196 time for calcul the mask position with numpy : 0.0003814697265625 nb_pixel_total : 7003 time to create 1 rle with old method : 0.008379936218261719 length of segment : 122 time for calcul the mask position with numpy : 0.0015957355499267578 nb_pixel_total : 51416 time to create 1 rle with old method : 0.05723714828491211 length of segment : 313 time for calcul the mask position with numpy : 0.0006237030029296875 nb_pixel_total : 22716 time to create 1 rle with old method : 0.027793407440185547 length of segment : 155 time for calcul the mask position with numpy : 0.001207590103149414 nb_pixel_total : 14039 time to create 1 rle with old method : 0.01858973503112793 length of segment : 366 time for calcul the mask position with numpy : 0.0005609989166259766 nb_pixel_total : 15011 time to create 1 rle with old method : 0.017405986785888672 length of segment : 101 time for calcul the mask position with numpy : 0.004118680953979492 nb_pixel_total : 125794 time to create 1 rle with old method : 0.13876938819885254 length of segment : 428 time for calcul the mask position with numpy : 0.00028586387634277344 nb_pixel_total : 3308 time to create 1 rle with old method : 0.004062652587890625 length of segment : 79 time for calcul the mask position with numpy : 0.00016832351684570312 nb_pixel_total : 2821 time to create 1 rle with old method : 0.0035266876220703125 length of segment : 34 time for calcul the mask position with numpy : 0.00597691535949707 nb_pixel_total : 136746 time to create 1 rle with old method : 0.15196776390075684 length of segment : 479 time for calcul the mask position with numpy : 0.02390909194946289 nb_pixel_total : 568833 time to create 1 rle with new method : 0.0368046760559082 length of segment : 1800 time for calcul the mask position with numpy : 0.0007145404815673828 nb_pixel_total : 26920 time to create 1 rle with old method : 0.030533552169799805 length of segment : 311 time for calcul the mask position with numpy : 0.014669418334960938 nb_pixel_total : 467269 time to create 1 rle with new method : 0.0203704833984375 length of segment : 1102 time for calcul the mask position with numpy : 0.001087188720703125 nb_pixel_total : 30935 time to create 1 rle with old method : 0.03840160369873047 length of segment : 228 time for calcul the mask position with numpy : 0.002620697021484375 nb_pixel_total : 76389 time to create 1 rle with old method : 0.08894753456115723 length of segment : 393 time for calcul the mask position with numpy : 0.0006008148193359375 nb_pixel_total : 5855 time to create 1 rle with old method : 0.007094144821166992 length of segment : 158 time for calcul the mask position with numpy : 0.0002942085266113281 nb_pixel_total : 4575 time to create 1 rle with old method : 0.005480766296386719 length of segment : 122 time for calcul the mask position with numpy : 0.0016210079193115234 nb_pixel_total : 37265 time to create 1 rle with old method : 0.042650699615478516 length of segment : 477 time for calcul the mask position with numpy : 0.0009145736694335938 nb_pixel_total : 6809 time to create 1 rle with old method : 0.008411645889282227 length of segment : 162 time for calcul the mask position with numpy : 0.0023665428161621094 nb_pixel_total : 62301 time to create 1 rle with old method : 0.06951093673706055 length of segment : 353 time for calcul the mask position with numpy : 0.007259845733642578 nb_pixel_total : 344716 time to create 1 rle with new method : 0.011462926864624023 length of segment : 795 time for calcul the mask position with numpy : 0.0019941329956054688 nb_pixel_total : 57013 time to create 1 rle with old method : 0.06514167785644531 length of segment : 332 time for calcul the mask position with numpy : 0.0003857612609863281 nb_pixel_total : 7448 time to create 1 rle with old method : 0.008700132369995117 length of segment : 109 time for calcul the mask position with numpy : 0.014102697372436523 nb_pixel_total : 399441 time to create 1 rle with new method : 0.020202159881591797 length of segment : 1053 time for calcul the mask position with numpy : 0.0019741058349609375 nb_pixel_total : 46807 time to create 1 rle with old method : 0.05380725860595703 length of segment : 316 time for calcul the mask position with numpy : 0.0002532005310058594 nb_pixel_total : 6302 time to create 1 rle with old method : 0.00766754150390625 length of segment : 189 time for calcul the mask position with numpy : 0.0035066604614257812 nb_pixel_total : 104075 time to create 1 rle with old method : 0.11620402336120605 length of segment : 418 time for calcul the mask position with numpy : 0.00814509391784668 nb_pixel_total : 244785 time to create 1 rle with new method : 0.010964632034301758 length of segment : 632 time for calcul the mask position with numpy : 0.00019025802612304688 nb_pixel_total : 2981 time to create 1 rle with old method : 0.003499269485473633 length of segment : 58 time for calcul the mask position with numpy : 0.0049343109130859375 nb_pixel_total : 190006 time to create 1 rle with new method : 0.0063495635986328125 length of segment : 533 time for calcul the mask position with numpy : 0.0009336471557617188 nb_pixel_total : 14848 time to create 1 rle with old method : 0.017000436782836914 length of segment : 172 time for calcul the mask position with numpy : 0.001222372055053711 nb_pixel_total : 26985 time to create 1 rle with old method : 0.030354976654052734 length of segment : 227 time for calcul the mask position with numpy : 0.0006015300750732422 nb_pixel_total : 17561 time to create 1 rle with old method : 0.02003002166748047 length of segment : 163 time for calcul the mask position with numpy : 0.0001366138458251953 nb_pixel_total : 1325 time to create 1 rle with old method : 0.001641988754272461 length of segment : 46 time for calcul the mask position with numpy : 0.0004138946533203125 nb_pixel_total : 6270 time to create 1 rle with old method : 0.007560253143310547 length of segment : 91 time for calcul the mask position with numpy : 8.726119995117188e-05 nb_pixel_total : 952 time to create 1 rle with old method : 0.0012462139129638672 length of segment : 30 time for calcul the mask position with numpy : 0.0004780292510986328 nb_pixel_total : 8907 time to create 1 rle with old method : 0.010666131973266602 length of segment : 93 time for calcul the mask position with numpy : 0.002499103546142578 nb_pixel_total : 33478 time to create 1 rle with old method : 0.03827834129333496 length of segment : 362 time for calcul the mask position with numpy : 0.0002262592315673828 nb_pixel_total : 2997 time to create 1 rle with old method : 0.0036776065826416016 length of segment : 67 time for calcul the mask position with numpy : 0.0003421306610107422 nb_pixel_total : 4197 time to create 1 rle with old method : 0.00509953498840332 length of segment : 95 time for calcul the mask position with numpy : 0.0010209083557128906 nb_pixel_total : 29306 time to create 1 rle with old method : 0.03340649604797363 length of segment : 241 time for calcul the mask position with numpy : 0.001447916030883789 nb_pixel_total : 33053 time to create 1 rle with old method : 0.03747272491455078 length of segment : 331 time for calcul the mask position with numpy : 0.0003838539123535156 nb_pixel_total : 14001 time to create 1 rle with old method : 0.016178131103515625 length of segment : 159 time for calcul the mask position with numpy : 0.0013880729675292969 nb_pixel_total : 33899 time to create 1 rle with old method : 0.038686513900756836 length of segment : 235 time for calcul the mask position with numpy : 0.0007448196411132812 nb_pixel_total : 12410 time to create 1 rle with old method : 0.01483464241027832 length of segment : 127 time for calcul the mask position with numpy : 0.0004241466522216797 nb_pixel_total : 7607 time to create 1 rle with old method : 0.008998870849609375 length of segment : 80 time for calcul the mask position with numpy : 0.009029388427734375 nb_pixel_total : 215621 time to create 1 rle with new method : 0.012323617935180664 length of segment : 488 time for calcul the mask position with numpy : 0.0008461475372314453 nb_pixel_total : 7046 time to create 1 rle with old method : 0.008202314376831055 length of segment : 246 time for calcul the mask position with numpy : 0.0009253025054931641 nb_pixel_total : 12268 time to create 1 rle with old method : 0.014295339584350586 length of segment : 156 time for calcul the mask position with numpy : 0.0003192424774169922 nb_pixel_total : 3023 time to create 1 rle with old method : 0.004114866256713867 length of segment : 62 time for calcul the mask position with numpy : 0.0004153251647949219 nb_pixel_total : 4023 time to create 1 rle with old method : 0.004925251007080078 length of segment : 98 time for calcul the mask position with numpy : 0.0011487007141113281 nb_pixel_total : 30094 time to create 1 rle with old method : 0.035010337829589844 length of segment : 93 time for calcul the mask position with numpy : 0.0005025863647460938 nb_pixel_total : 13364 time to create 1 rle with old method : 0.016818523406982422 length of segment : 158 time for calcul the mask position with numpy : 0.002282381057739258 nb_pixel_total : 78272 time to create 1 rle with old method : 0.0875709056854248 length of segment : 357 time for calcul the mask position with numpy : 0.00046944618225097656 nb_pixel_total : 12338 time to create 1 rle with old method : 0.01576519012451172 length of segment : 82 time for calcul the mask position with numpy : 0.0005795955657958984 nb_pixel_total : 6607 time to create 1 rle with old method : 0.008015871047973633 length of segment : 90 time for calcul the mask position with numpy : 0.0008234977722167969 nb_pixel_total : 18177 time to create 1 rle with old method : 0.02110576629638672 length of segment : 259 time for calcul the mask position with numpy : 0.00023174285888671875 nb_pixel_total : 3382 time to create 1 rle with old method : 0.004259347915649414 length of segment : 111 time for calcul the mask position with numpy : 0.0007822513580322266 nb_pixel_total : 16185 time to create 1 rle with old method : 0.0195009708404541 length of segment : 282 time for calcul the mask position with numpy : 0.0017440319061279297 nb_pixel_total : 55468 time to create 1 rle with old method : 0.06373763084411621 length of segment : 338 time for calcul the mask position with numpy : 0.0011570453643798828 nb_pixel_total : 59295 time to create 1 rle with old method : 0.06781840324401855 length of segment : 338 time for calcul the mask position with numpy : 0.00021195411682128906 nb_pixel_total : 2470 time to create 1 rle with old method : 0.0028862953186035156 length of segment : 79 time for calcul the mask position with numpy : 0.003371715545654297 nb_pixel_total : 49049 time to create 1 rle with old method : 0.07939839363098145 length of segment : 783 time for calcul the mask position with numpy : 0.001180887222290039 nb_pixel_total : 27752 time to create 1 rle with old method : 0.031999826431274414 length of segment : 452 time for calcul the mask position with numpy : 0.0006773471832275391 nb_pixel_total : 767 time to create 1 rle with old method : 0.0010707378387451172 length of segment : 60 time for calcul the mask position with numpy : 0.004552125930786133 nb_pixel_total : 162319 time to create 1 rle with new method : 0.006716489791870117 length of segment : 358 time for calcul the mask position with numpy : 0.0002086162567138672 nb_pixel_total : 3076 time to create 1 rle with old method : 0.0035910606384277344 length of segment : 108 time for calcul the mask position with numpy : 0.0004940032958984375 nb_pixel_total : 11122 time to create 1 rle with old method : 0.012972354888916016 length of segment : 209 time for calcul the mask position with numpy : 0.0005319118499755859 nb_pixel_total : 30762 time to create 1 rle with old method : 0.03612470626831055 length of segment : 239 time for calcul the mask position with numpy : 0.00022339820861816406 nb_pixel_total : 4978 time to create 1 rle with old method : 0.00611114501953125 length of segment : 130 time for calcul the mask position with numpy : 0.0016074180603027344 nb_pixel_total : 52498 time to create 1 rle with old method : 0.05889582633972168 length of segment : 190 time for calcul the mask position with numpy : 0.00035858154296875 nb_pixel_total : 17012 time to create 1 rle with old method : 0.02063751220703125 length of segment : 174 time for calcul the mask position with numpy : 0.00434565544128418 nb_pixel_total : 144634 time to create 1 rle with old method : 0.1602940559387207 length of segment : 601 time for calcul the mask position with numpy : 0.0054340362548828125 nb_pixel_total : 190529 time to create 1 rle with new method : 0.008873224258422852 length of segment : 652 time for calcul the mask position with numpy : 0.0021936893463134766 nb_pixel_total : 66832 time to create 1 rle with old method : 0.07806730270385742 length of segment : 490 time for calcul the mask position with numpy : 0.001485586166381836 nb_pixel_total : 49669 time to create 1 rle with old method : 0.05715632438659668 length of segment : 309 time for calcul the mask position with numpy : 0.003618478775024414 nb_pixel_total : 125480 time to create 1 rle with old method : 0.14790725708007812 length of segment : 521 time for calcul the mask position with numpy : 0.00011801719665527344 nb_pixel_total : 995 time to create 1 rle with old method : 0.0017888545989990234 length of segment : 54 time for calcul the mask position with numpy : 0.004038810729980469 nb_pixel_total : 85277 time to create 1 rle with old method : 0.12031936645507812 length of segment : 363 time for calcul the mask position with numpy : 0.0004968643188476562 nb_pixel_total : 19261 time to create 1 rle with old method : 0.0224151611328125 length of segment : 144 time for calcul the mask position with numpy : 0.0009744167327880859 nb_pixel_total : 39622 time to create 1 rle with old method : 0.04785513877868652 length of segment : 152 time for calcul the mask position with numpy : 0.007191181182861328 nb_pixel_total : 207969 time to create 1 rle with new method : 0.015286445617675781 length of segment : 1032 time for calcul the mask position with numpy : 0.002317667007446289 nb_pixel_total : 157209 time to create 1 rle with new method : 0.005725860595703125 length of segment : 604 time for calcul the mask position with numpy : 0.00010514259338378906 nb_pixel_total : 2913 time to create 1 rle with old method : 0.003563404083251953 length of segment : 72 time for calcul the mask position with numpy : 0.0001354217529296875 nb_pixel_total : 2208 time to create 1 rle with old method : 0.002771615982055664 length of segment : 39 time for calcul the mask position with numpy : 0.0029587745666503906 nb_pixel_total : 176866 time to create 1 rle with new method : 0.008241891860961914 length of segment : 938 time for calcul the mask position with numpy : 0.0004444122314453125 nb_pixel_total : 8612 time to create 1 rle with old method : 0.010082483291625977 length of segment : 153 time for calcul the mask position with numpy : 0.0005483627319335938 nb_pixel_total : 19291 time to create 1 rle with old method : 0.0226442813873291 length of segment : 231 time for calcul the mask position with numpy : 0.0005388259887695312 nb_pixel_total : 32804 time to create 1 rle with old method : 0.0370478630065918 length of segment : 278 time for calcul the mask position with numpy : 0.00029277801513671875 nb_pixel_total : 10041 time to create 1 rle with old method : 0.012578964233398438 length of segment : 84 time for calcul the mask position with numpy : 0.001138448715209961 nb_pixel_total : 29924 time to create 1 rle with old method : 0.0360872745513916 length of segment : 303 time for calcul the mask position with numpy : 0.0006303787231445312 nb_pixel_total : 9830 time to create 1 rle with old method : 0.011704444885253906 length of segment : 188 time for calcul the mask position with numpy : 0.0034317970275878906 nb_pixel_total : 111859 time to create 1 rle with old method : 0.13463926315307617 length of segment : 593 time for calcul the mask position with numpy : 0.0008058547973632812 nb_pixel_total : 16868 time to create 1 rle with old method : 0.019605159759521484 length of segment : 270 time for calcul the mask position with numpy : 0.003446817398071289 nb_pixel_total : 147932 time to create 1 rle with old method : 0.17338180541992188 length of segment : 591 time for calcul the mask position with numpy : 0.002857208251953125 nb_pixel_total : 100307 time to create 1 rle with old method : 0.11411380767822266 length of segment : 464 time for calcul the mask position with numpy : 0.0008311271667480469 nb_pixel_total : 21269 time to create 1 rle with old method : 0.025766611099243164 length of segment : 304 time for calcul the mask position with numpy : 0.00029540061950683594 nb_pixel_total : 4493 time to create 1 rle with old method : 0.00664520263671875 length of segment : 93 time for calcul the mask position with numpy : 0.002066373825073242 nb_pixel_total : 155135 time to create 1 rle with new method : 0.005346059799194336 length of segment : 664 time for calcul the mask position with numpy : 0.002182483673095703 nb_pixel_total : 91169 time to create 1 rle with old method : 0.10207009315490723 length of segment : 385 time for calcul the mask position with numpy : 0.0025153160095214844 nb_pixel_total : 78448 time to create 1 rle with old method : 0.08824300765991211 length of segment : 290 time for calcul the mask position with numpy : 0.0002923011779785156 nb_pixel_total : 5789 time to create 1 rle with old method : 0.007095813751220703 length of segment : 78 time for calcul the mask position with numpy : 0.001577138900756836 nb_pixel_total : 38167 time to create 1 rle with old method : 0.044939517974853516 length of segment : 389 time for calcul the mask position with numpy : 0.0007128715515136719 nb_pixel_total : 18909 time to create 1 rle with old method : 0.021553516387939453 length of segment : 172 time for calcul the mask position with numpy : 0.00023317337036132812 nb_pixel_total : 4637 time to create 1 rle with old method : 0.005473613739013672 length of segment : 97 time for calcul the mask position with numpy : 0.0001442432403564453 nb_pixel_total : 1170 time to create 1 rle with old method : 0.001489400863647461 length of segment : 57 time for calcul the mask position with numpy : 0.00011324882507324219 nb_pixel_total : 3325 time to create 1 rle with old method : 0.004132747650146484 length of segment : 75 time for calcul the mask position with numpy : 0.0033614635467529297 nb_pixel_total : 126930 time to create 1 rle with old method : 0.16620397567749023 length of segment : 755 time for calcul the mask position with numpy : 0.0007090568542480469 nb_pixel_total : 12176 time to create 1 rle with old method : 0.014961004257202148 length of segment : 149 time for calcul the mask position with numpy : 0.0041806697845458984 nb_pixel_total : 73112 time to create 1 rle with old method : 0.08210229873657227 length of segment : 456 time for calcul the mask position with numpy : 0.0007188320159912109 nb_pixel_total : 24822 time to create 1 rle with old method : 0.02974390983581543 length of segment : 136 time for calcul the mask position with numpy : 0.0007114410400390625 nb_pixel_total : 13671 time to create 1 rle with old method : 0.015625476837158203 length of segment : 164 time for calcul the mask position with numpy : 0.0029251575469970703 nb_pixel_total : 99393 time to create 1 rle with old method : 0.12269473075866699 length of segment : 430 time for calcul the mask position with numpy : 0.005457639694213867 nb_pixel_total : 194812 time to create 1 rle with new method : 0.008474111557006836 length of segment : 896 time for calcul the mask position with numpy : 0.0015337467193603516 nb_pixel_total : 8000 time to create 1 rle with old method : 0.009828329086303711 length of segment : 114 time for calcul the mask position with numpy : 0.0010862350463867188 nb_pixel_total : 14188 time to create 1 rle with old method : 0.016583681106567383 length of segment : 179 time for calcul the mask position with numpy : 0.00016379356384277344 nb_pixel_total : 6520 time to create 1 rle with old method : 0.007498025894165039 length of segment : 121 time for calcul the mask position with numpy : 0.002741098403930664 nb_pixel_total : 115507 time to create 1 rle with old method : 0.13025259971618652 length of segment : 547 time for calcul the mask position with numpy : 0.004031658172607422 nb_pixel_total : 202591 time to create 1 rle with new method : 0.00699615478515625 length of segment : 778 time for calcul the mask position with numpy : 0.0005295276641845703 nb_pixel_total : 7540 time to create 1 rle with old method : 0.009059429168701172 length of segment : 121 time for calcul the mask position with numpy : 0.003526926040649414 nb_pixel_total : 96771 time to create 1 rle with old method : 0.11075949668884277 length of segment : 524 time for calcul the mask position with numpy : 0.0003554821014404297 nb_pixel_total : 5462 time to create 1 rle with old method : 0.0064084529876708984 length of segment : 141 time for calcul the mask position with numpy : 0.0010464191436767578 nb_pixel_total : 37700 time to create 1 rle with old method : 0.0426328182220459 length of segment : 234 time for calcul the mask position with numpy : 0.0003647804260253906 nb_pixel_total : 4264 time to create 1 rle with old method : 0.00499725341796875 length of segment : 131 time for calcul the mask position with numpy : 0.0009357929229736328 nb_pixel_total : 36835 time to create 1 rle with old method : 0.041663169860839844 length of segment : 188 time for calcul the mask position with numpy : 0.0015578269958496094 nb_pixel_total : 46283 time to create 1 rle with old method : 0.051590919494628906 length of segment : 265 time for calcul the mask position with numpy : 0.000392913818359375 nb_pixel_total : 6448 time to create 1 rle with old method : 0.007502555847167969 length of segment : 113 time for calcul the mask position with numpy : 0.0002956390380859375 nb_pixel_total : 4210 time to create 1 rle with old method : 0.0052568912506103516 length of segment : 104 time for calcul the mask position with numpy : 0.0005586147308349609 nb_pixel_total : 12224 time to create 1 rle with old method : 0.014655590057373047 length of segment : 172 time for calcul the mask position with numpy : 0.014897823333740234 nb_pixel_total : 517198 time to create 1 rle with new method : 0.1652390956878662 length of segment : 1111 time for calcul the mask position with numpy : 0.0007648468017578125 nb_pixel_total : 7857 time to create 1 rle with old method : 0.009671211242675781 length of segment : 241 time for calcul the mask position with numpy : 0.007017374038696289 nb_pixel_total : 348561 time to create 1 rle with new method : 0.00915837287902832 length of segment : 568 time for calcul the mask position with numpy : 0.0021686553955078125 nb_pixel_total : 79774 time to create 1 rle with old method : 0.08860254287719727 length of segment : 385 time for calcul the mask position with numpy : 0.0027222633361816406 nb_pixel_total : 94944 time to create 1 rle with old method : 0.10709452629089355 length of segment : 372 time for calcul the mask position with numpy : 0.00041174888610839844 nb_pixel_total : 15396 time to create 1 rle with old method : 0.01804208755493164 length of segment : 220 time for calcul the mask position with numpy : 0.0011069774627685547 nb_pixel_total : 71607 time to create 1 rle with old method : 0.08396315574645996 length of segment : 361 time for calcul the mask position with numpy : 0.0006787776947021484 nb_pixel_total : 22793 time to create 1 rle with old method : 0.02632284164428711 length of segment : 266 time for calcul the mask position with numpy : 0.001878499984741211 nb_pixel_total : 51033 time to create 1 rle with old method : 0.05773162841796875 length of segment : 460 time for calcul the mask position with numpy : 0.0009393692016601562 nb_pixel_total : 20645 time to create 1 rle with old method : 0.024012327194213867 length of segment : 273 time for calcul the mask position with numpy : 0.0005536079406738281 nb_pixel_total : 18390 time to create 1 rle with old method : 0.02150440216064453 length of segment : 158 time spent for convertir_results : 16.710813522338867 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 166 chid ids of type : 3663 Number RLEs to save : 57267 save missing photos in datou_result : time spend for datou_step_exec : 80.79861164093018 time spend to save output : 3.831591844558716 total time spend for step 1 : 84.63020348548889 step2:crop_condition Mon Feb 10 15:19:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 166 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 ! map_result returned by crop_photo_return_map_crop : length : 15 About to insert : list_path_to_insert length 15 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 ! 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 : 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 ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 48 About to insert : list_path_to_insert length 48 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1336468288, 1336468186, 1336467319, 1336467313, 1336467272, 1336467271, 1336467269, 1336467265, 1336467262, 1336467258] Looping around the photos to save general results len do output : 103 /-3668102512Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102529Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102528Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102532Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102560Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102556Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102557Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102595Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102583Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102594Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102602Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102620Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102630Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102632Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102650Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102506Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102581Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102578Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102576Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102600Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102611Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102617Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102644Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102645Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102662Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102661Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102655Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102527Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102551Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102544Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102555Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102567Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102590Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102597Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102612Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102603Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102647Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102511Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102505Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102509Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102521Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102519Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102522Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102516Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102524Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102517Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102518Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102513Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102549Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102554Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102550Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102536Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102543Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102533Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102548Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102534Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102546Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102566Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102582Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102559Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102570Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102571Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102589Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102599Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102586Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102593Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102592Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102618Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102606Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102615Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102608Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102626Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102629Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102622Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102628Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102637Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102648Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102639Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102642Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102643Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102640Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102669Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102663Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102654Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102667Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102535Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102541Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102531Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102562Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102561Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102572Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102609Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102633Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102638Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102657Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102523Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102598Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102610Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102625Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102652Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102665Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102573Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668102664Didn'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, '2571593') ('3459', '20406980', '1336468288', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336468186', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467319', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467313', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467272', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467271', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467269', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467265', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467262', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467258', None, None, None, None, None, '2571593') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 319 time used for this insertion : 0.03610348701477051 save_final save missing photos in datou_result : time spend for datou_step_exec : 45.664326190948486 time spend to save output : 0.03893280029296875 total time spend for step 2 : 45.703258991241455 step3:thcl Mon Feb 10 15:20:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step Thcl ! nombre de thcls : 2 we are using the classfication for multi_thcl [2456, 2868] time to import caffe and check if the image exist : 0.008453369140625 time to convert the images to numpy array : 0.06235218048095703 time to import caffe and check if the image exist : 0.016134023666381836 time to convert the images to numpy array : 0.5302584171295166 time to import caffe and check if the image exist : 0.013419151306152344 time to convert the images to numpy array : 0.5747969150543213 time to import caffe and check if the image exist : 0.011450529098510742 time to convert the images to numpy array : 0.5987691879272461 time to import caffe and check if the image exist : 0.023499727249145508 time to convert the images to numpy array : 0.5943763256072998 time to import caffe and check if the image exist : 0.01546621322631836 time to convert the images to numpy array : 0.6352274417877197 time to import caffe and check if the image exist : 0.01036834716796875 time to convert the images to numpy array : 0.6581130027770996 time to import caffe and check if the image exist : 0.012699604034423828 time to convert the images to numpy array : 0.6669621467590332 time to import caffe and check if the image exist : 0.013846158981323242 time to convert the images to numpy array : 0.701002836227417 time to import caffe and check if the image exist : 0.02059030532836914 time to convert the images to numpy array : 0.7032387256622314 total time to convert the images to numpy array : 1.003964900970459 list photo_ids error: [] list photo_ids correct : [-3668102652, -3668102665, -3668102573, -3668102664, -3668102534, -3668102546, -3668102566, -3668102582, -3668102559, -3668102570, -3668102571, -3668102589, -3668102599, -3668102586, -3668102593, -3668102562, -3668102561, -3668102572, -3668102609, -3668102633, -3668102638, -3668102657, -3668102523, -3668102598, -3668102610, -3668102625, -3668102644, -3668102645, -3668102662, -3668102661, -3668102655, -3668102527, -3668102551, -3668102544, -3668102555, -3668102567, -3668102590, -3668102639, -3668102642, -3668102643, -3668102640, -3668102669, -3668102663, -3668102654, -3668102667, -3668102535, -3668102541, -3668102531, -3668102524, -3668102517, -3668102518, -3668102513, -3668102549, -3668102554, -3668102550, -3668102536, -3668102543, -3668102533, -3668102548, -3668102512, -3668102529, -3668102528, -3668102532, -3668102560, -3668102556, -3668102557, -3668102595, -3668102583, -3668102594, -3668102602, -3668102620, -3668102630, -3668102632, -3668102650, -3668102506, -3668102581, -3668102578, -3668102576, -3668102600, -3668102611, -3668102617, -3668102597, -3668102612, -3668102603, -3668102647, -3668102511, -3668102505, -3668102509, -3668102521, -3668102519, -3668102522, -3668102516, -3668102592, -3668102618, -3668102606, -3668102615, -3668102608, -3668102626, -3668102629, -3668102622, -3668102628, -3668102637, -3668102648] number of photos to traite : 103 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 : 7714 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 : 7495 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.2850353717803955 time used to do the prediction : 0.2701084613800049 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 : 7231 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 : 2799 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.6404449939727783 time used to do the prediction : 0.3316318988800049 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 2.3603439331054688e-05 save missing photos in datou_result : time spend for datou_step_exec : 11.235847234725952 time spend to save output : 0.0008795261383056641 total time spend for step 3 : 11.236726760864258 step4:merge_mask_thcl_custom Mon Feb 10 15:20:50 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 166 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 [1336468288, 1336468186, 1336467319, 1336467313, 1336467272, 1336467271, 1336467269, 1336467265, 1336467262, 1336467258] Looping around the photos to save general results len do output : 10 /1336468288Didn't retrieve data .Didn't retrieve data . /1336468186Didn't retrieve data .Didn't retrieve data . /1336467319Didn't retrieve data .Didn't retrieve data . /1336467313Didn't retrieve data .Didn't retrieve data . /1336467272Didn't retrieve data .Didn't retrieve data . /1336467271Didn't retrieve data .Didn't retrieve data . /1336467269Didn't retrieve data .Didn't retrieve data . /1336467265Didn't retrieve data .Didn't retrieve data . /1336467262Didn't retrieve data .Didn't retrieve data . /1336467258Didn'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, '2571593') ('3459', '20406980', '1336468288', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336468186', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467319', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467313', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467272', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467271', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467269', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467265', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467262', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467258', None, None, None, None, None, '2571593') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.011919260025024414 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.05913233757019043 time spend to save output : 0.012501955032348633 total time spend for step 4 : 0.07163429260253906 step5:rle_unique_nms_with_priority Mon Feb 10 15:20:50 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 8 nb_hashtags : 5 time to prepare the origin masks : 7.829895257949829 time for calcul the mask position with numpy : 0.25951385498046875 nb_pixel_total : 5046096 time to create 1 rle with new method : 0.6852357387542725 time for calcul the mask position with numpy : 0.03896141052246094 nb_pixel_total : 23621 time to create 1 rle with old method : 0.03747987747192383 time for calcul the mask position with numpy : 0.028993606567382812 nb_pixel_total : 1875 time to create 1 rle with old method : 0.002512216567993164 time for calcul the mask position with numpy : 0.025284528732299805 nb_pixel_total : 29639 time to create 1 rle with old method : 0.03462529182434082 time for calcul the mask position with numpy : 0.025330781936645508 nb_pixel_total : 183743 time to create 1 rle with new method : 0.41338133811950684 time for calcul the mask position with numpy : 0.04177665710449219 nb_pixel_total : 1731 time to create 1 rle with old method : 0.0020799636840820312 time for calcul the mask position with numpy : 0.042929887771606445 nb_pixel_total : 34902 time to create 1 rle with old method : 0.039566755294799805 time for calcul the mask position with numpy : 0.04391360282897949 nb_pixel_total : 201802 time to create 1 rle with new method : 0.5806670188903809 time for calcul the mask position with numpy : 0.06757879257202148 nb_pixel_total : 1526831 time to create 1 rle with new method : 0.6081194877624512 create new chi : 3.109254837036133 time to delete rle : 0.009794473648071289 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 11807 TO DO : save crop sub photo not yet done ! save time : 0.6705455780029297 nb_obj : 13 nb_hashtags : 5 time to prepare the origin masks : 10.590470790863037 time for calcul the mask position with numpy : 0.4358501434326172 nb_pixel_total : 6199207 time to create 1 rle with new method : 0.5517704486846924 time for calcul the mask position with numpy : 0.043421030044555664 nb_pixel_total : 199253 time to create 1 rle with new method : 0.49356555938720703 time for calcul the mask position with numpy : 0.039208173751831055 nb_pixel_total : 36949 time to create 1 rle with old method : 0.05923891067504883 time for calcul the mask position with numpy : 0.03839302062988281 nb_pixel_total : 3359 time to create 1 rle with old method : 0.004751682281494141 time for calcul the mask position with numpy : 0.03531670570373535 nb_pixel_total : 18307 time to create 1 rle with old method : 0.02037811279296875 time for calcul the mask position with numpy : 0.03671121597290039 nb_pixel_total : 4055 time to create 1 rle with old method : 0.0049741268157958984 time for calcul the mask position with numpy : 0.03601241111755371 nb_pixel_total : 273703 time to create 1 rle with new method : 1.0643503665924072 time for calcul the mask position with numpy : 0.042608022689819336 nb_pixel_total : 81162 time to create 1 rle with old method : 0.09001398086547852 time for calcul the mask position with numpy : 0.03560495376586914 nb_pixel_total : 6708 time to create 1 rle with old method : 0.00778508186340332 time for calcul the mask position with numpy : 0.041356801986694336 nb_pixel_total : 116057 time to create 1 rle with old method : 0.13780641555786133 time for calcul the mask position with numpy : 0.058779239654541016 nb_pixel_total : 5737 time to create 1 rle with old method : 0.0070095062255859375 time for calcul the mask position with numpy : 0.052580833435058594 nb_pixel_total : 21323 time to create 1 rle with old method : 0.03688859939575195 time for calcul the mask position with numpy : 0.05856680870056152 nb_pixel_total : 31992 time to create 1 rle with old method : 0.05987381935119629 time for calcul the mask position with numpy : 0.05607151985168457 nb_pixel_total : 52428 time to create 1 rle with old method : 0.057634592056274414 create new chi : 3.727459192276001 time to delete rle : 0.0015141963958740234 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 9981 TO DO : save crop sub photo not yet done ! save time : 0.5740783214569092 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 4.118253946304321 time for calcul the mask position with numpy : 0.824946403503418 nb_pixel_total : 3294751 time to create 1 rle with new method : 0.39611124992370605 time for calcul the mask position with numpy : 0.030903100967407227 nb_pixel_total : 117007 time to create 1 rle with old method : 0.13328289985656738 time for calcul the mask position with numpy : 0.028000354766845703 nb_pixel_total : 1531 time to create 1 rle with old method : 0.001796722412109375 time for calcul the mask position with numpy : 0.40718603134155273 nb_pixel_total : 3636951 time to create 1 rle with new method : 0.913463830947876 create new chi : 2.8121352195739746 time to delete rle : 0.0014455318450927734 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 8277 TO DO : save crop sub photo not yet done ! save time : 2.3333017826080322 nb_obj : 28 nb_hashtags : 6 time to prepare the origin masks : 14.179522514343262 time for calcul the mask position with numpy : 0.4188542366027832 nb_pixel_total : 4652549 time to create 1 rle with new method : 1.9696829319000244 time for calcul the mask position with numpy : 0.037798404693603516 nb_pixel_total : 564935 time to create 1 rle with new method : 2.0977180004119873 time for calcul the mask position with numpy : 0.04605245590209961 nb_pixel_total : 165784 time to create 1 rle with new method : 1.108062505722046 time for calcul the mask position with numpy : 0.03548622131347656 nb_pixel_total : 136752 time to create 1 rle with old method : 0.16884398460388184 time for calcul the mask position with numpy : 0.04468822479248047 nb_pixel_total : 466564 time to create 1 rle with new method : 1.6936876773834229 time for calcul the mask position with numpy : 0.030687332153320312 nb_pixel_total : 64498 time to create 1 rle with old method : 0.0873253345489502 time for calcul the mask position with numpy : 0.03016066551208496 nb_pixel_total : 26871 time to create 1 rle with old method : 0.029330968856811523 time for calcul the mask position with numpy : 0.029873371124267578 nb_pixel_total : 51351 time to create 1 rle with old method : 0.057154178619384766 time for calcul the mask position with numpy : 0.02972722053527832 nb_pixel_total : 3280 time to create 1 rle with old method : 0.0038847923278808594 time for calcul the mask position with numpy : 0.02992534637451172 nb_pixel_total : 14928 time to create 1 rle with old method : 0.01872849464416504 time for calcul the mask position with numpy : 0.03136157989501953 nb_pixel_total : 46751 time to create 1 rle with old method : 0.05368685722351074 time for calcul the mask position with numpy : 0.03724980354309082 nb_pixel_total : 30891 time to create 1 rle with old method : 0.0362088680267334 time for calcul the mask position with numpy : 0.031800270080566406 nb_pixel_total : 76064 time to create 1 rle with old method : 0.08853936195373535 time for calcul the mask position with numpy : 0.03180193901062012 nb_pixel_total : 56874 time to create 1 rle with old method : 0.07620525360107422 time for calcul the mask position with numpy : 0.030455827713012695 nb_pixel_total : 37406 time to create 1 rle with old method : 0.041792869567871094 time for calcul the mask position with numpy : 0.031542062759399414 nb_pixel_total : 6964 time to create 1 rle with old method : 0.009788990020751953 time for calcul the mask position with numpy : 0.03377532958984375 nb_pixel_total : 2799 time to create 1 rle with old method : 0.004705190658569336 time for calcul the mask position with numpy : 0.034552574157714844 nb_pixel_total : 6643 time to create 1 rle with old method : 0.008688688278198242 time for calcul the mask position with numpy : 0.03262639045715332 nb_pixel_total : 125456 time to create 1 rle with old method : 0.13781952857971191 time for calcul the mask position with numpy : 0.030153274536132812 nb_pixel_total : 1839 time to create 1 rle with old method : 0.0024275779724121094 time for calcul the mask position with numpy : 0.03281569480895996 nb_pixel_total : 4558 time to create 1 rle with old method : 0.0054929256439208984 time for calcul the mask position with numpy : 0.03309941291809082 nb_pixel_total : 14025 time to create 1 rle with old method : 0.0164945125579834 time for calcul the mask position with numpy : 0.03236055374145508 nb_pixel_total : 6784 time to create 1 rle with old method : 0.008090019226074219 time for calcul the mask position with numpy : 0.04025697708129883 nb_pixel_total : 280160 time to create 1 rle with new method : 1.0978024005889893 time for calcul the mask position with numpy : 0.031148672103881836 nb_pixel_total : 96430 time to create 1 rle with old method : 0.10941648483276367 time for calcul the mask position with numpy : 0.03121328353881836 nb_pixel_total : 62109 time to create 1 rle with old method : 0.11113977432250977 time for calcul the mask position with numpy : 0.0312347412109375 nb_pixel_total : 22539 time to create 1 rle with old method : 0.02652287483215332 time for calcul the mask position with numpy : 0.030919551849365234 nb_pixel_total : 18600 time to create 1 rle with old method : 0.02102184295654297 time for calcul the mask position with numpy : 0.030788660049438477 nb_pixel_total : 5836 time to create 1 rle with old method : 0.006860971450805664 create new chi : 10.606330156326294 time to delete rle : 0.0036966800689697266 batch 1 Loaded 29 chid ids of type : 3726 Number RLEs to save : 21901 TO DO : save crop sub photo not yet done ! save time : 1.4106011390686035 nb_obj : 25 nb_hashtags : 9 time to prepare the origin masks : 29.09226942062378 time for calcul the mask position with numpy : 0.4991278648376465 nb_pixel_total : 6022654 time to create 1 rle with new method : 0.9197273254394531 time for calcul the mask position with numpy : 0.04279351234436035 nb_pixel_total : 1255 time to create 1 rle with old method : 0.0018894672393798828 time for calcul the mask position with numpy : 0.04956507682800293 nb_pixel_total : 19461 time to create 1 rle with old method : 0.027202367782592773 time for calcul the mask position with numpy : 0.061122894287109375 nb_pixel_total : 13945 time to create 1 rle with old method : 0.029892683029174805 time for calcul the mask position with numpy : 0.05600333213806152 nb_pixel_total : 8854 time to create 1 rle with old method : 0.012686491012573242 time for calcul the mask position with numpy : 0.045259714126586914 nb_pixel_total : 29204 time to create 1 rle with old method : 0.03229355812072754 time for calcul the mask position with numpy : 0.044225215911865234 nb_pixel_total : 4009 time to create 1 rle with old method : 0.004816770553588867 time for calcul the mask position with numpy : 0.04815483093261719 nb_pixel_total : 189898 time to create 1 rle with new method : 0.8869855403900146 time for calcul the mask position with numpy : 0.039498329162597656 nb_pixel_total : 2997 time to create 1 rle with old method : 0.0035827159881591797 time for calcul the mask position with numpy : 0.03856205940246582 nb_pixel_total : 32948 time to create 1 rle with old method : 0.04594159126281738 time for calcul the mask position with numpy : 0.03847861289978027 nb_pixel_total : 7028 time to create 1 rle with old method : 0.009930610656738281 time for calcul the mask position with numpy : 0.04813838005065918 nb_pixel_total : 26893 time to create 1 rle with old method : 0.03263521194458008 time for calcul the mask position with numpy : 0.07399296760559082 nb_pixel_total : 103967 time to create 1 rle with old method : 0.14455366134643555 time for calcul the mask position with numpy : 0.03676414489746094 nb_pixel_total : 14823 time to create 1 rle with old method : 0.021493911743164062 time for calcul the mask position with numpy : 0.03747844696044922 nb_pixel_total : 4171 time to create 1 rle with old method : 0.005155801773071289 time for calcul the mask position with numpy : 0.035866737365722656 nb_pixel_total : 17514 time to create 1 rle with old method : 0.028840303421020508 time for calcul the mask position with numpy : 0.04193115234375 nb_pixel_total : 2982 time to create 1 rle with old method : 0.010483264923095703 time for calcul the mask position with numpy : 0.03969287872314453 nb_pixel_total : 215761 time to create 1 rle with new method : 1.2772352695465088 time for calcul the mask position with numpy : 0.04098868370056152 nb_pixel_total : 12220 time to create 1 rle with old method : 0.016567707061767578 time for calcul the mask position with numpy : 0.04245471954345703 nb_pixel_total : 947 time to create 1 rle with old method : 0.0011172294616699219 time for calcul the mask position with numpy : 0.044934749603271484 nb_pixel_total : 6233 time to create 1 rle with old method : 0.008483171463012695 time for calcul the mask position with numpy : 0.04794907569885254 nb_pixel_total : 29864 time to create 1 rle with old method : 0.03729963302612305 time for calcul the mask position with numpy : 0.04058218002319336 nb_pixel_total : 1317 time to create 1 rle with old method : 0.0015964508056640625 time for calcul the mask position with numpy : 0.037575483322143555 nb_pixel_total : 33669 time to create 1 rle with old method : 0.0391080379486084 time for calcul the mask position with numpy : 0.04073023796081543 nb_pixel_total : 2974 time to create 1 rle with old method : 0.0051422119140625 time for calcul the mask position with numpy : 0.09044241905212402 nb_pixel_total : 244652 time to create 1 rle with new method : 1.0004386901855469 create new chi : 6.4284467697143555 time to delete rle : 0.012208938598632812 batch 1 Loaded 26 chid ids of type : 3726 Number RLEs to save : 12522 TO DO : save crop sub photo not yet done ! save time : 0.8418021202087402 nb_obj : 18 nb_hashtags : 6 time to prepare the origin masks : 13.895812511444092 time for calcul the mask position with numpy : 0.6200869083404541 nb_pixel_total : 6511936 time to create 1 rle with new method : 0.7222962379455566 time for calcul the mask position with numpy : 0.026053190231323242 nb_pixel_total : 30251 time to create 1 rle with old method : 0.03428006172180176 time for calcul the mask position with numpy : 0.03352665901184082 nb_pixel_total : 18042 time to create 1 rle with old method : 0.02042245864868164 time for calcul the mask position with numpy : 0.027234315872192383 nb_pixel_total : 6988 time to create 1 rle with old method : 0.010689020156860352 time for calcul the mask position with numpy : 0.02751612663269043 nb_pixel_total : 52381 time to create 1 rle with old method : 0.07425093650817871 time for calcul the mask position with numpy : 0.02731609344482422 nb_pixel_total : 27655 time to create 1 rle with old method : 0.035176753997802734 time for calcul the mask position with numpy : 0.02456045150756836 nb_pixel_total : 3061 time to create 1 rle with old method : 0.0037140846252441406 time for calcul the mask position with numpy : 0.033124446868896484 nb_pixel_total : 78026 time to create 1 rle with old method : 0.08403635025024414 time for calcul the mask position with numpy : 0.02480173110961914 nb_pixel_total : 4448 time to create 1 rle with old method : 0.005029201507568359 time for calcul the mask position with numpy : 0.026175737380981445 nb_pixel_total : 2459 time to create 1 rle with old method : 0.0028955936431884766 time for calcul the mask position with numpy : 0.025010108947753906 nb_pixel_total : 16113 time to create 1 rle with old method : 0.017717361450195312 time for calcul the mask position with numpy : 0.03215289115905762 nb_pixel_total : 37 time to create 1 rle with old method : 9.584426879882812e-05 time for calcul the mask position with numpy : 0.04761958122253418 nb_pixel_total : 10573 time to create 1 rle with old method : 0.013081073760986328 time for calcul the mask position with numpy : 0.04774332046508789 nb_pixel_total : 55082 time to create 1 rle with old method : 0.05780625343322754 time for calcul the mask position with numpy : 0.04028773307800293 nb_pixel_total : 48980 time to create 1 rle with old method : 0.05600118637084961 time for calcul the mask position with numpy : 0.04651618003845215 nb_pixel_total : 162061 time to create 1 rle with new method : 0.8014209270477295 time for calcul the mask position with numpy : 0.03876042366027832 nb_pixel_total : 3354 time to create 1 rle with old method : 0.004103899002075195 time for calcul the mask position with numpy : 0.04612302780151367 nb_pixel_total : 6498 time to create 1 rle with old method : 0.007443904876708984 time for calcul the mask position with numpy : 0.0382845401763916 nb_pixel_total : 12295 time to create 1 rle with old method : 0.013630867004394531 create new chi : 3.344318389892578 time to delete rle : 0.003577709197998047 batch 1 Loaded 19 chid ids of type : 3726 Number RLEs to save : 10648 TO DO : save crop sub photo not yet done ! save time : 0.6590509414672852 nb_obj : 15 nb_hashtags : 4 time to prepare the origin masks : 9.28796672821045 time for calcul the mask position with numpy : 0.40952181816101074 nb_pixel_total : 6059190 time to create 1 rle with new method : 0.8201394081115723 time for calcul the mask position with numpy : 0.03953957557678223 nb_pixel_total : 19148 time to create 1 rle with old method : 0.020617246627807617 time for calcul the mask position with numpy : 0.041678667068481445 nb_pixel_total : 677 time to create 1 rle with old method : 0.0008141994476318359 time for calcul the mask position with numpy : 0.03633904457092285 nb_pixel_total : 190350 time to create 1 rle with new method : 0.4827151298522949 time for calcul the mask position with numpy : 0.06706380844116211 nb_pixel_total : 84889 time to create 1 rle with old method : 0.09878134727478027 time for calcul the mask position with numpy : 0.03225541114807129 nb_pixel_total : 39467 time to create 1 rle with old method : 0.04269886016845703 time for calcul the mask position with numpy : 0.03422737121582031 nb_pixel_total : 3277 time to create 1 rle with old method : 0.004258632659912109 time for calcul the mask position with numpy : 0.03496193885803223 nb_pixel_total : 32712 time to create 1 rle with old method : 0.036191701889038086 time for calcul the mask position with numpy : 0.03522014617919922 nb_pixel_total : 38286 time to create 1 rle with old method : 0.0424799919128418 time for calcul the mask position with numpy : 0.036978721618652344 nb_pixel_total : 842 time to create 1 rle with old method : 0.0013065338134765625 time for calcul the mask position with numpy : 0.04425477981567383 nb_pixel_total : 49564 time to create 1 rle with old method : 0.061191558837890625 time for calcul the mask position with numpy : 0.03904271125793457 nb_pixel_total : 19274 time to create 1 rle with old method : 0.021680116653442383 time for calcul the mask position with numpy : 0.0402219295501709 nb_pixel_total : 176413 time to create 1 rle with new method : 0.49985408782958984 time for calcul the mask position with numpy : 0.05924105644226074 nb_pixel_total : 144386 time to create 1 rle with old method : 0.15840816497802734 time for calcul the mask position with numpy : 0.0384213924407959 nb_pixel_total : 66727 time to create 1 rle with old method : 0.07230925559997559 time for calcul the mask position with numpy : 0.021871566772460938 nb_pixel_total : 125038 time to create 1 rle with old method : 0.13765811920166016 create new chi : 3.61775803565979 time to delete rle : 0.0018000602722167969 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 13608 TO DO : save crop sub photo not yet done ! save time : 0.8725833892822266 nb_obj : 11 nb_hashtags : 5 time to prepare the origin masks : 9.40302062034607 time for calcul the mask position with numpy : 0.6777322292327881 nb_pixel_total : 6499616 time to create 1 rle with new method : 0.5465652942657471 time for calcul the mask position with numpy : 0.03887820243835449 nb_pixel_total : 100208 time to create 1 rle with old method : 0.11427640914916992 time for calcul the mask position with numpy : 0.04610180854797363 nb_pixel_total : 91060 time to create 1 rle with old method : 0.0986475944519043 time for calcul the mask position with numpy : 0.04303789138793945 nb_pixel_total : 4477 time to create 1 rle with old method : 0.00528407096862793 time for calcul the mask position with numpy : 0.042932748794555664 nb_pixel_total : 111602 time to create 1 rle with old method : 0.12111353874206543 time for calcul the mask position with numpy : 0.04342389106750488 nb_pixel_total : 30102 time to create 1 rle with old method : 0.033049583435058594 time for calcul the mask position with numpy : 0.04259443283081055 nb_pixel_total : 4949 time to create 1 rle with old method : 0.00619959831237793 time for calcul the mask position with numpy : 0.042273759841918945 nb_pixel_total : 12100 time to create 1 rle with old method : 0.013837814331054688 time for calcul the mask position with numpy : 0.04460883140563965 nb_pixel_total : 155137 time to create 1 rle with new method : 0.525122880935669 time for calcul the mask position with numpy : 0.04750800132751465 nb_pixel_total : 21239 time to create 1 rle with old method : 0.025847434997558594 time for calcul the mask position with numpy : 0.028105735778808594 nb_pixel_total : 9796 time to create 1 rle with old method : 0.011467695236206055 time for calcul the mask position with numpy : 0.026279211044311523 nb_pixel_total : 9954 time to create 1 rle with old method : 0.01134490966796875 create new chi : 2.718421459197998 time to delete rle : 0.0016698837280273438 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 9303 TO DO : save crop sub photo not yet done ! save time : 0.6884489059448242 nb_obj : 18 nb_hashtags : 6 time to prepare the origin masks : 11.874942064285278 time for calcul the mask position with numpy : 0.7109730243682861 nb_pixel_total : 6025569 time to create 1 rle with new method : 0.8497970104217529 time for calcul the mask position with numpy : 0.035698652267456055 nb_pixel_total : 14123 time to create 1 rle with old method : 0.017920494079589844 time for calcul the mask position with numpy : 0.038355350494384766 nb_pixel_total : 18874 time to create 1 rle with old method : 0.025690078735351562 time for calcul the mask position with numpy : 0.038355112075805664 nb_pixel_total : 38645 time to create 1 rle with old method : 0.042671918869018555 time for calcul the mask position with numpy : 0.02902817726135254 nb_pixel_total : 24694 time to create 1 rle with old method : 0.027238845825195312 time for calcul the mask position with numpy : 0.03257107734680176 nb_pixel_total : 78160 time to create 1 rle with old method : 0.11197662353515625 time for calcul the mask position with numpy : 0.034512996673583984 nb_pixel_total : 13589 time to create 1 rle with old method : 0.014966249465942383 time for calcul the mask position with numpy : 0.03455781936645508 nb_pixel_total : 12010 time to create 1 rle with old method : 0.01434779167175293 time for calcul the mask position with numpy : 0.034685373306274414 nb_pixel_total : 93202 time to create 1 rle with old method : 0.1019902229309082 time for calcul the mask position with numpy : 0.03648543357849121 nb_pixel_total : 99201 time to create 1 rle with old method : 0.10921859741210938 time for calcul the mask position with numpy : 0.027581453323364258 nb_pixel_total : 3309 time to create 1 rle with old method : 0.013621330261230469 time for calcul the mask position with numpy : 0.02869892120361328 nb_pixel_total : 126716 time to create 1 rle with old method : 0.13913702964782715 time for calcul the mask position with numpy : 0.02911543846130371 nb_pixel_total : 202026 time to create 1 rle with new method : 0.851715087890625 time for calcul the mask position with numpy : 0.030879735946655273 nb_pixel_total : 1163 time to create 1 rle with old method : 0.0015113353729248047 time for calcul the mask position with numpy : 0.029124021530151367 nb_pixel_total : 4613 time to create 1 rle with old method : 0.0059206485748291016 time for calcul the mask position with numpy : 0.03276515007019043 nb_pixel_total : 207907 time to create 1 rle with new method : 1.1318690776824951 time for calcul the mask position with numpy : 0.030573368072509766 nb_pixel_total : 72793 time to create 1 rle with old method : 0.08159756660461426 time for calcul the mask position with numpy : 0.028048276901245117 nb_pixel_total : 7946 time to create 1 rle with old method : 0.009168386459350586 time for calcul the mask position with numpy : 0.044884681701660156 nb_pixel_total : 5700 time to create 1 rle with old method : 0.007310152053833008 create new chi : 4.971215009689331 time to delete rle : 0.0014657974243164062 batch 1 Loaded 19 chid ids of type : 3726 Number RLEs to save : 12755 TO DO : save crop sub photo not yet done ! save time : 0.9745681285858154 nb_obj : 19 nb_hashtags : 7 time to prepare the origin masks : 12.318914651870728 time for calcul the mask position with numpy : 0.3796982765197754 nb_pixel_total : 5657906 time to create 1 rle with new method : 0.962843656539917 time for calcul the mask position with numpy : 0.043473005294799805 nb_pixel_total : 4173 time to create 1 rle with old method : 0.004952430725097656 time for calcul the mask position with numpy : 0.04437112808227539 nb_pixel_total : 36780 time to create 1 rle with old method : 0.04204726219177246 time for calcul the mask position with numpy : 0.04501080513000488 nb_pixel_total : 52638 time to create 1 rle with old method : 0.06315112113952637 time for calcul the mask position with numpy : 0.03995680809020996 nb_pixel_total : 18267 time to create 1 rle with old method : 0.020685434341430664 time for calcul the mask position with numpy : 0.044382333755493164 nb_pixel_total : 20504 time to create 1 rle with old method : 0.02362513542175293 time for calcul the mask position with numpy : 0.043469905853271484 nb_pixel_total : 37571 time to create 1 rle with old method : 0.047908782958984375 time for calcul the mask position with numpy : 0.04558229446411133 nb_pixel_total : 3962 time to create 1 rle with old method : 0.004555463790893555 time for calcul the mask position with numpy : 0.07563114166259766 nb_pixel_total : 516771 time to create 1 rle with new method : 0.5356855392456055 time for calcul the mask position with numpy : 0.05293416976928711 nb_pixel_total : 46224 time to create 1 rle with old method : 0.05280590057373047 time for calcul the mask position with numpy : 0.0537567138671875 nb_pixel_total : 11788 time to create 1 rle with old method : 0.014394044876098633 time for calcul the mask position with numpy : 0.04926753044128418 nb_pixel_total : 6409 time to create 1 rle with old method : 0.0076520442962646484 time for calcul the mask position with numpy : 0.05124974250793457 nb_pixel_total : 347777 time to create 1 rle with new method : 0.9295101165771484 time for calcul the mask position with numpy : 0.03833818435668945 nb_pixel_total : 96709 time to create 1 rle with old method : 0.11004877090454102 time for calcul the mask position with numpy : 0.03641223907470703 nb_pixel_total : 4250 time to create 1 rle with old method : 0.004853248596191406 time for calcul the mask position with numpy : 0.03634190559387207 nb_pixel_total : 7310 time to create 1 rle with old method : 0.01194143295288086 time for calcul the mask position with numpy : 0.039684295654296875 nb_pixel_total : 94646 time to create 1 rle with old method : 0.10681700706481934 time for calcul the mask position with numpy : 0.03796792030334473 nb_pixel_total : 9655 time to create 1 rle with old method : 0.012087106704711914 time for calcul the mask position with numpy : 0.03825640678405762 nb_pixel_total : 5434 time to create 1 rle with old method : 0.008056640625 time for calcul the mask position with numpy : 0.03928542137145996 nb_pixel_total : 71466 time to create 1 rle with old method : 0.08459281921386719 create new chi : 4.409570217132568 time to delete rle : 0.001971721649169922 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 13471 TO DO : save crop sub photo not yet done ! save time : 0.8755302429199219 map_output_result : {1336468288: (0.0, 'Should be the crop_list due to order', 0.0), 1336468186: (0.0, 'Should be the crop_list due to order', 0.0), 1336467319: (0.0, 'Should be the crop_list due to order', 0.0), 1336467313: (0.0, 'Should be the crop_list due to order', 0.0), 1336467272: (0.0, 'Should be the crop_list due to order', 0.0), 1336467271: (0.0, 'Should be the crop_list due to order', 0.0), 1336467269: (0.0, 'Should be the crop_list due to order', 0.0), 1336467265: (0.0, 'Should be the crop_list due to order', 0.0), 1336467262: (0.0, 'Should be the crop_list due to order', 0.0), 1336467258: (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 [1336468288, 1336468186, 1336467319, 1336467313, 1336467272, 1336467271, 1336467269, 1336467265, 1336467262, 1336467258] Looping around the photos to save general results len do output : 10 /1336468288.Didn't retrieve data . /1336468186.Didn't retrieve data . /1336467319.Didn't retrieve data . /1336467313.Didn't retrieve data . /1336467272.Didn't retrieve data . /1336467271.Didn't retrieve data . /1336467269.Didn't retrieve data . /1336467265.Didn't retrieve data . /1336467262.Didn't retrieve data . /1336467258.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, '2571593') ('3459', '20406980', '1336468288', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336468186', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467319', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467313', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467272', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467271', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467269', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467265', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467262', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467258', None, None, None, None, None, '2571593') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013265371322631836 save_final save missing photos in datou_result : time spend for datou_step_exec : 180.13555264472961 time spend to save output : 0.049216508865356445 total time spend for step 5 : 180.18476915359497 step6:crop_condition Mon Feb 10 15:23:50 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 168 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! 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 ! About to upload 10 photos upload in portfolio : 4869462 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739197436_2730067 we have uploaded 10 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.1154119968414307 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! 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 ! About to upload 9 photos upload in portfolio : 4869462 init cache_photo without model_param we have 9 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739197446_2730067 we have uploaded 9 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.357818841934204 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739197450_2730067 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.744164228439331 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 ! 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/1739197453_2730067 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.598954439163208 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 ! 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/1739197456_2730067 we have uploaded 7 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.7188835144042969 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! Next one ! Next one ! 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/1739197461_2730067 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.9438130855560303 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 ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739197464_2730067 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.9343540668487549 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 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/1739197468_2730067 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5820357799530029 we have finished the crop for the class : metal delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1336468288, 1336468186, 1336467319, 1336467313, 1336467272, 1336467271, 1336467269, 1336467265, 1336467262, 1336467258] Looping around the photos to save general results len do output : 35 /1336512365Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512366Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512367Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512368Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512369Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512370Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512371Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512372Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512373Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512374Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512377Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512378Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512379Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512380Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512382Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512383Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512384Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512385Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512386Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512389Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512390Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512394Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512400Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512401Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512402Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512403Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512404Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512405Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512406Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512411Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512412Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512413Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512416Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512417Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336512421Didn'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, '2571593') ('3459', '20406980', '1336468288', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336468186', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467319', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467313', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467272', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467271', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467269', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467265', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467262', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467258', None, None, None, None, None, '2571593') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 115 time used for this insertion : 0.14035558700561523 save_final save missing photos in datou_result : time spend for datou_step_exec : 41.66939091682434 time spend to save output : 0.7203249931335449 total time spend for step 6 : 42.389715909957886 step7:ventilate_hashtags_in_portfolio Mon Feb 10 15:24:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 20406980 get user id for portfolio 20406980 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`=20406980 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','cartonnette','Carton_brun','Carton_gris','environnement','kraft','mal_croppe','flou','metal','plastique','Teint_Dans_La_Masse','autre_refus')) 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`=20406980 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','cartonnette','Carton_brun','Carton_gris','environnement','kraft','mal_croppe','flou','metal','plastique','Teint_Dans_La_Masse','autre_refus')) 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`=20406980 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','cartonnette','Carton_brun','Carton_gris','environnement','kraft','mal_croppe','flou','metal','plastique','Teint_Dans_La_Masse','autre_refus')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20407413,20407414,20407415,20407416,20407417,20407418,20407419,20407420,20407421,20407422,20407423,20407424?tags=papier,cartonnette,Carton_brun,Carton_gris,environnement,kraft,mal_croppe,flou,metal,plastique,Teint_Dans_La_Masse,autre_refus Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1336468288, 1336468186, 1336467319, 1336467313, 1336467272, 1336467271, 1336467269, 1336467265, 1336467262, 1336467258] Looping around the photos to save general results len do output : 1 /20406980. 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, '2571593') ('3459', '20406980', '1336468288', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336468186', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467319', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467313', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467272', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467271', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467269', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467265', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467262', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467258', None, None, None, None, None, '2571593') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013649463653564453 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.300144910812378 time spend to save output : 0.013967514038085938 total time spend for step 7 : 2.314112424850464 step8:final Mon Feb 10 15:24: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 ! 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 : {1336468288: ('0.07596114810538569',), 1336468186: ('0.07596114810538569',), 1336467319: ('0.07596114810538569',), 1336467313: ('0.07596114810538569',), 1336467272: ('0.07596114810538569',), 1336467271: ('0.07596114810538569',), 1336467269: ('0.07596114810538569',), 1336467265: ('0.07596114810538569',), 1336467262: ('0.07596114810538569',), 1336467258: ('0.07596114810538569',)} new output for save of step final : {1336468288: ('0.07596114810538569',), 1336468186: ('0.07596114810538569',), 1336467319: ('0.07596114810538569',), 1336467313: ('0.07596114810538569',), 1336467272: ('0.07596114810538569',), 1336467271: ('0.07596114810538569',), 1336467269: ('0.07596114810538569',), 1336467265: ('0.07596114810538569',), 1336467262: ('0.07596114810538569',), 1336467258: ('0.07596114810538569',)} [1336468288, 1336468186, 1336467319, 1336467313, 1336467272, 1336467271, 1336467269, 1336467265, 1336467262, 1336467258] Looping around the photos to save general results len do output : 10 /1336468288.Didn't retrieve data . /1336468186.Didn't retrieve data . /1336467319.Didn't retrieve data . /1336467313.Didn't retrieve data . /1336467272.Didn't retrieve data . /1336467271.Didn't retrieve data . /1336467269.Didn't retrieve data . /1336467265.Didn't retrieve data . /1336467262.Didn't retrieve data . /1336467258.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, '2571593') ('3459', '20406980', '1336468288', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336468186', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467319', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467313', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467272', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467271', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467269', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467265', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467262', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467258', None, None, None, None, None, '2571593') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013930559158325195 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1695394515991211 time spend to save output : 0.016219615936279297 total time spend for step 8 : 0.1857590675354004 step9:velours_tree Mon Feb 10 15:24: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 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 : 1.7066898345947266 time spend to save output : 5.459785461425781e-05 total time spend for step 9 : 1.7067444324493408 step10:send_mail_cod Mon Feb 10 15:24:36 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_P20406980_10-02-2025_15_24_36.pdf 20407414 change filename to text .imagette204074141739197476 20407418 change filename to text .change filename to text .imagette204074181739197477 20407419 imagette204074191739197477 20407420 imagette204074201739197477 20407421 change filename to text .imagette204074211739197477 20407422 change filename to text .change filename to text .change filename to text .imagette204074221739197477 20407424 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette204074241739197477 20407415 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 .imagette204074151739197478 20407416 change filename to text .change filename to text .imagette204074161739197478 20407423 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette204074231739197478 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20406980 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20407413,20407414,20407415,20407416,20407417,20407418,20407419,20407420,20407421,20407422,20407423,20407424?tags=papier,cartonnette,Carton_brun,Carton_gris,environnement,kraft,mal_croppe,flou,metal,plastique,Teint_Dans_La_Masse,autre_refus your option no_mail is active, we will not send the real mail to your client args[1336468288] : ('0.07596114810538569',) no score found for photo 1336468288 apple ('0.07596114810538569',) We are sending mail with results at report@fotonower.com args[1336468186] : ('0.07596114810538569',) no score found for photo 1336468186 apple ('0.07596114810538569',) We are sending mail with results at report@fotonower.com args[1336467319] : ('0.07596114810538569',) no score found for photo 1336467319 apple ('0.07596114810538569',) We are sending mail with results at report@fotonower.com args[1336467313] : ('0.07596114810538569',) no score found for photo 1336467313 apple ('0.07596114810538569',) We are sending mail with results at report@fotonower.com args[1336467272] : ('0.07596114810538569',) no score found for photo 1336467272 apple ('0.07596114810538569',) We are sending mail with results at report@fotonower.com args[1336467271] : ('0.07596114810538569',) no score found for photo 1336467271 apple ('0.07596114810538569',) We are sending mail with results at report@fotonower.com args[1336467269] : ('0.07596114810538569',) no score found for photo 1336467269 apple ('0.07596114810538569',) We are sending mail with results at report@fotonower.com args[1336467265] : ('0.07596114810538569',) no score found for photo 1336467265 apple ('0.07596114810538569',) We are sending mail with results at report@fotonower.com args[1336467262] : ('0.07596114810538569',) no score found for photo 1336467262 apple ('0.07596114810538569',) We are sending mail with results at report@fotonower.com args[1336467258] : ('0.07596114810538569',) no score found for photo 1336467258 apple ('0.07596114810538569',) We are sending mail with results at report@fotonower.com refus_total : 0.07596114810538569 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=20406980 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1336467063,1336468186,1336467272,1336467271,1336467269,1336467265,1336467262,1336467258,1336467218,1336467168,1336467128,1336467060,1336467216,1336467164,1336467153,1336467082,1336467068,1336467066,1336467313,1336467319) Found this number of photos: 20 begin to download photo : 1336467063 begin to download photo : 1336467265 begin to download photo : 1336467128 begin to download photo : 1336467082 download finish for photo 1336467128 begin to download photo : 1336467060 download finish for photo 1336467063 begin to download photo : 1336468186 download finish for photo 1336467265 begin to download photo : 1336467262 download finish for photo 1336467082 begin to download photo : 1336467068 download finish for photo 1336467060 begin to download photo : 1336467216 download finish for photo 1336468186 begin to download photo : 1336467272 download finish for photo 1336467068 begin to download photo : 1336467066 download finish for photo 1336467262 begin to download photo : 1336467258 download finish for photo 1336467272 begin to download photo : 1336467271 download finish for photo 1336467216 begin to download photo : 1336467164 download finish for photo 1336467258 begin to download photo : 1336467218 download finish for photo 1336467066 begin to download photo : 1336467313 download finish for photo 1336467271 begin to download photo : 1336467269 download finish for photo 1336467164 begin to download photo : 1336467153 download finish for photo 1336467269 download finish for photo 1336467313 begin to download photo : 1336467319 download finish for photo 1336467218 begin to download photo : 1336467168 download finish for photo 1336467153 download finish for photo 1336467319 download finish for photo 1336467168 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406980_10-02-2025_15_24_36.pdf results_Auto_P20406980_10-02-2025_15_24_36.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406980_10-02-2025_15_24_36.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('3459','20406980','results_Auto_P20406980_10-02-2025_15_24_36.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406980_10-02-2025_15_24_36.pdf','pdf','','0.82','0.07596114810538569') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1336468288, 1336468186, 1336467319, 1336467313, 1336467272, 1336467271, 1336467269, 1336467265, 1336467262, 1336467258] 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, '2571593') ('3459', '20406980', '1336468288', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336468186', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467319', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467313', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467272', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467271', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467269', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467265', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467262', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467258', None, None, None, None, None, '2571593') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.012698173522949219 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.316250801086426 time spend to save output : 0.012917041778564453 total time spend for step 10 : 7.32916784286499 step11:split_time_score Mon Feb 10 15:24:44 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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'}] (('11', 21),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 10022025 20406980 Nombre de photos uploadées : 21 / 23040 (0%) 10022025 20406980 Nombre de photos taguées (types de déchets): 0 / 21 (0%) 10022025 20406980 Nombre de photos taguées (volume) : 0 / 21 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 9.775161743164062e-06 ????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.005731821060180664 elapsed_time : insert_dashboard_record_day_entry 0.6062607765197754 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 = 20406967 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406968 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406970 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406971 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406972 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406974 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406975 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406976 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406978 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406979 order by id desc limit 1 Qualite : 0.07596114810538569 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406980_10-02-2025_15_24_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406980 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`=20406980 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406981 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406982 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406983 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406984 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406985 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406986 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406987 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406988 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'10022025': {'nb_upload': 21, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1336468288, 1336468186, 1336467319, 1336467313, 1336467272, 1336467271, 1336467269, 1336467265, 1336467262, 1336467258] Looping around the photos to save general results len do output : 1 /20406980Didn'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, '2571593') ('3459', '20406980', '1336468288', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336468186', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467319', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467313', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467272', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467271', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467269', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467265', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467262', None, None, None, None, None, '2571593') ('3459', None, None, None, None, None, None, None, '2571593') ('3459', '20406980', '1336467258', None, None, None, None, None, '2571593') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013402700424194336 save_final save missing photos in datou_result : time spend for datou_step_exec : 15.034777402877808 time spend to save output : 0.01367330551147461 total time spend for step 11 : 15.048450708389282 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 183.78user 174.15system 6:38.03elapsed 89%CPU (0avgtext+0avgdata 4643972maxresident)k 1518312inputs+134712outputs (27079major+15391651minor)pagefaults 0swaps