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 : 1189423 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 : 18>10 please execute split_portfolio.py -i 20351862 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2567697'] with mtr_portfolio_ids : ['20351862'] and first list_photo_ids : [] new path : /proc/1189423/ 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.9412617683410645 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Fri Feb 7 22:14:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-07 22:14:32.299638: 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-07 22:14:32.323112: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-07 22:14:32.325114: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f7d9c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-07 22:14:32.325164: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-07 22:14:32.328881: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-07 22:14:32.613682: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x306f84a0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-07 22:14:32.613732: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-07 22:14:32.615093: 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-07 22:14:32.615466: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-07 22:14:32.618382: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-07 22:14:32.620930: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-07 22:14:32.621392: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-07 22:14:32.624419: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-07 22:14:32.625640: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-07 22:14:32.630446: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-07 22:14:32.632219: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-07 22:14:32.632277: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-07 22:14:32.633048: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-07 22:14:32.633064: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-07 22:14:32.633072: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-07 22:14:32.634355: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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-07 22:14:32.901915: 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-07 22:14:32.902002: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-07 22:14:32.902024: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-07 22:14:32.902042: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-07 22:14:32.902060: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-07 22:14:32.902078: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-07 22:14:32.902096: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-07 22:14:32.902114: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-07 22:14:32.903706: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-07 22:14:32.904970: 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-07 22:14:32.905005: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-07 22:14:32.905023: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-07 22:14:32.905040: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-07 22:14:32.905057: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-07 22:14:32.905074: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-07 22:14:32.905090: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-07 22:14:32.905107: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-07 22:14:32.906679: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-07 22:14:32.906710: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-07 22:14:32.906720: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-07 22:14:32.906730: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-07 22:14:32.908366: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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-07 22:14:40.179449: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-07 22:14:40.343522: 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 : 14 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 6 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 : 33 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 : 27 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 : 22 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 : 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 : 11 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 25 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 17 Detection mask done ! Trying to reset tf kernel 1189762 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 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 : 10998 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.00021147727966308594 nb_pixel_total : 2382 time to create 1 rle with old method : 0.0028624534606933594 length of segment : 49 time for calcul the mask position with numpy : 0.0008552074432373047 nb_pixel_total : 33976 time to create 1 rle with old method : 0.03472542762756348 length of segment : 273 time for calcul the mask position with numpy : 0.025861740112304688 nb_pixel_total : 1209909 time to create 1 rle with new method : 0.057624101638793945 length of segment : 2096 time for calcul the mask position with numpy : 0.0004630088806152344 nb_pixel_total : 20350 time to create 1 rle with old method : 0.021212339401245117 length of segment : 212 time for calcul the mask position with numpy : 0.0018303394317626953 nb_pixel_total : 138972 time to create 1 rle with old method : 0.1393885612487793 length of segment : 350 time for calcul the mask position with numpy : 0.0005891323089599609 nb_pixel_total : 35079 time to create 1 rle with old method : 0.03615903854370117 length of segment : 263 time for calcul the mask position with numpy : 0.008167743682861328 nb_pixel_total : 479457 time to create 1 rle with new method : 0.02300238609313965 length of segment : 800 time for calcul the mask position with numpy : 0.0004684925079345703 nb_pixel_total : 25764 time to create 1 rle with old method : 0.0275571346282959 length of segment : 291 time for calcul the mask position with numpy : 8.606910705566406e-05 nb_pixel_total : 833 time to create 1 rle with old method : 0.0011055469512939453 length of segment : 31 time for calcul the mask position with numpy : 7.367134094238281e-05 nb_pixel_total : 625 time to create 1 rle with old method : 0.0008227825164794922 length of segment : 21 time for calcul the mask position with numpy : 0.0005083084106445312 nb_pixel_total : 34665 time to create 1 rle with old method : 0.03849005699157715 length of segment : 223 time for calcul the mask position with numpy : 0.0004715919494628906 nb_pixel_total : 34070 time to create 1 rle with old method : 0.03509879112243652 length of segment : 224 time for calcul the mask position with numpy : 0.00040841102600097656 nb_pixel_total : 24103 time to create 1 rle with old method : 0.026656389236450195 length of segment : 154 time for calcul the mask position with numpy : 0.0032079219818115234 nb_pixel_total : 153122 time to create 1 rle with new method : 0.008513927459716797 length of segment : 370 time for calcul the mask position with numpy : 0.04821610450744629 nb_pixel_total : 2593951 time to create 1 rle with new method : 0.09862327575683594 length of segment : 3244 time for calcul the mask position with numpy : 0.00014734268188476562 nb_pixel_total : 4822 time to create 1 rle with old method : 0.005338430404663086 length of segment : 106 time for calcul the mask position with numpy : 0.0006225109100341797 nb_pixel_total : 42388 time to create 1 rle with old method : 0.045331716537475586 length of segment : 166 time for calcul the mask position with numpy : 0.0022127628326416016 nb_pixel_total : 180241 time to create 1 rle with new method : 0.005467414855957031 length of segment : 606 time for calcul the mask position with numpy : 0.001621246337890625 nb_pixel_total : 115545 time to create 1 rle with old method : 0.12185907363891602 length of segment : 476 time for calcul the mask position with numpy : 0.00015592575073242188 nb_pixel_total : 8635 time to create 1 rle with old method : 0.009630441665649414 length of segment : 79 time for calcul the mask position with numpy : 0.00031495094299316406 nb_pixel_total : 14135 time to create 1 rle with old method : 0.014827966690063477 length of segment : 263 time for calcul the mask position with numpy : 0.0001842975616455078 nb_pixel_total : 6925 time to create 1 rle with old method : 0.008006095886230469 length of segment : 76 time for calcul the mask position with numpy : 0.005390167236328125 nb_pixel_total : 294452 time to create 1 rle with new method : 0.015563726425170898 length of segment : 728 time for calcul the mask position with numpy : 0.0009377002716064453 nb_pixel_total : 44494 time to create 1 rle with old method : 0.04771709442138672 length of segment : 411 time for calcul the mask position with numpy : 8.463859558105469e-05 nb_pixel_total : 1974 time to create 1 rle with old method : 0.0023479461669921875 length of segment : 53 time for calcul the mask position with numpy : 0.001461029052734375 nb_pixel_total : 86013 time to create 1 rle with old method : 0.09349226951599121 length of segment : 476 time for calcul the mask position with numpy : 0.00041794776916503906 nb_pixel_total : 18390 time to create 1 rle with old method : 0.019997119903564453 length of segment : 161 time for calcul the mask position with numpy : 0.00024580955505371094 nb_pixel_total : 8130 time to create 1 rle with old method : 0.009182453155517578 length of segment : 214 time for calcul the mask position with numpy : 0.0024161338806152344 nb_pixel_total : 157941 time to create 1 rle with new method : 0.0063762664794921875 length of segment : 567 time for calcul the mask position with numpy : 0.0014171600341796875 nb_pixel_total : 87987 time to create 1 rle with old method : 0.09709405899047852 length of segment : 255 time for calcul the mask position with numpy : 0.0002791881561279297 nb_pixel_total : 9659 time to create 1 rle with old method : 0.010972261428833008 length of segment : 169 time for calcul the mask position with numpy : 0.00019502639770507812 nb_pixel_total : 10044 time to create 1 rle with old method : 0.01135396957397461 length of segment : 150 time for calcul the mask position with numpy : 0.00018930435180664062 nb_pixel_total : 5538 time to create 1 rle with old method : 0.005997419357299805 length of segment : 148 time for calcul the mask position with numpy : 0.00017714500427246094 nb_pixel_total : 6247 time to create 1 rle with old method : 0.007324934005737305 length of segment : 145 time for calcul the mask position with numpy : 0.0009813308715820312 nb_pixel_total : 49651 time to create 1 rle with old method : 0.053246259689331055 length of segment : 298 time for calcul the mask position with numpy : 0.005332231521606445 nb_pixel_total : 297078 time to create 1 rle with new method : 0.020168066024780273 length of segment : 668 time for calcul the mask position with numpy : 0.001802682876586914 nb_pixel_total : 52791 time to create 1 rle with old method : 0.06298184394836426 length of segment : 175 time for calcul the mask position with numpy : 0.002004384994506836 nb_pixel_total : 41149 time to create 1 rle with old method : 0.05128073692321777 length of segment : 308 time for calcul the mask position with numpy : 0.007858753204345703 nb_pixel_total : 256907 time to create 1 rle with new method : 0.010650396347045898 length of segment : 523 time for calcul the mask position with numpy : 0.0002009868621826172 nb_pixel_total : 2507 time to create 1 rle with old method : 0.0031549930572509766 length of segment : 42 time for calcul the mask position with numpy : 0.000232696533203125 nb_pixel_total : 3904 time to create 1 rle with old method : 0.004606008529663086 length of segment : 80 time for calcul the mask position with numpy : 0.0007421970367431641 nb_pixel_total : 17594 time to create 1 rle with old method : 0.019628047943115234 length of segment : 201 time for calcul the mask position with numpy : 0.0006201267242431641 nb_pixel_total : 8669 time to create 1 rle with old method : 0.010343551635742188 length of segment : 186 time for calcul the mask position with numpy : 0.0011794567108154297 nb_pixel_total : 22844 time to create 1 rle with old method : 0.03577017784118652 length of segment : 235 time for calcul the mask position with numpy : 0.004090785980224609 nb_pixel_total : 123006 time to create 1 rle with old method : 0.13216567039489746 length of segment : 444 time for calcul the mask position with numpy : 0.003674745559692383 nb_pixel_total : 121203 time to create 1 rle with old method : 0.12894296646118164 length of segment : 454 time for calcul the mask position with numpy : 0.0005609989166259766 nb_pixel_total : 15270 time to create 1 rle with old method : 0.015891551971435547 length of segment : 152 time for calcul the mask position with numpy : 0.002177715301513672 nb_pixel_total : 62350 time to create 1 rle with old method : 0.06696128845214844 length of segment : 356 time for calcul the mask position with numpy : 0.0007979869842529297 nb_pixel_total : 23996 time to create 1 rle with old method : 0.026635408401489258 length of segment : 216 time for calcul the mask position with numpy : 0.0006771087646484375 nb_pixel_total : 10273 time to create 1 rle with old method : 0.017768144607543945 length of segment : 97 time for calcul the mask position with numpy : 0.0006172657012939453 nb_pixel_total : 8588 time to create 1 rle with old method : 0.010993480682373047 length of segment : 128 time for calcul the mask position with numpy : 0.0016946792602539062 nb_pixel_total : 57501 time to create 1 rle with old method : 0.06207108497619629 length of segment : 380 time for calcul the mask position with numpy : 0.005692243576049805 nb_pixel_total : 195478 time to create 1 rle with new method : 0.009391069412231445 length of segment : 658 time for calcul the mask position with numpy : 0.0011894702911376953 nb_pixel_total : 29353 time to create 1 rle with old method : 0.033403635025024414 length of segment : 331 time for calcul the mask position with numpy : 0.0013804435729980469 nb_pixel_total : 38903 time to create 1 rle with old method : 0.042942047119140625 length of segment : 247 time for calcul the mask position with numpy : 0.0007698535919189453 nb_pixel_total : 26070 time to create 1 rle with old method : 0.029414892196655273 length of segment : 154 time for calcul the mask position with numpy : 0.0013306140899658203 nb_pixel_total : 25277 time to create 1 rle with old method : 0.029484272003173828 length of segment : 332 time for calcul the mask position with numpy : 0.0003559589385986328 nb_pixel_total : 10874 time to create 1 rle with old method : 0.011957406997680664 length of segment : 125 time for calcul the mask position with numpy : 0.0077021121978759766 nb_pixel_total : 232088 time to create 1 rle with new method : 0.015941381454467773 length of segment : 751 time for calcul the mask position with numpy : 0.00019288063049316406 nb_pixel_total : 1619 time to create 1 rle with old method : 0.0021097660064697266 length of segment : 50 time for calcul the mask position with numpy : 0.002093076705932617 nb_pixel_total : 65916 time to create 1 rle with old method : 0.06767511367797852 length of segment : 424 time for calcul the mask position with numpy : 0.0006422996520996094 nb_pixel_total : 18177 time to create 1 rle with old method : 0.02062392234802246 length of segment : 155 time for calcul the mask position with numpy : 0.0024683475494384766 nb_pixel_total : 65079 time to create 1 rle with old method : 0.07069921493530273 length of segment : 290 time for calcul the mask position with numpy : 0.0006201267242431641 nb_pixel_total : 12666 time to create 1 rle with old method : 0.019166946411132812 length of segment : 157 time for calcul the mask position with numpy : 0.0006976127624511719 nb_pixel_total : 8732 time to create 1 rle with old method : 0.014687776565551758 length of segment : 143 time for calcul the mask position with numpy : 0.0013692378997802734 nb_pixel_total : 28662 time to create 1 rle with old method : 0.034844398498535156 length of segment : 250 time for calcul the mask position with numpy : 0.008308172225952148 nb_pixel_total : 214138 time to create 1 rle with new method : 0.011898279190063477 length of segment : 745 time for calcul the mask position with numpy : 0.0008816719055175781 nb_pixel_total : 27895 time to create 1 rle with old method : 0.030725479125976562 length of segment : 243 time for calcul the mask position with numpy : 0.00471806526184082 nb_pixel_total : 96290 time to create 1 rle with old method : 0.1038656234741211 length of segment : 772 time for calcul the mask position with numpy : 0.0004754066467285156 nb_pixel_total : 7731 time to create 1 rle with old method : 0.012742280960083008 length of segment : 120 time for calcul the mask position with numpy : 0.0018863677978515625 nb_pixel_total : 57484 time to create 1 rle with old method : 0.06101655960083008 length of segment : 338 time for calcul the mask position with numpy : 0.0005178451538085938 nb_pixel_total : 17311 time to create 1 rle with old method : 0.018813371658325195 length of segment : 143 time for calcul the mask position with numpy : 0.0004944801330566406 nb_pixel_total : 10006 time to create 1 rle with old method : 0.011687755584716797 length of segment : 82 time for calcul the mask position with numpy : 0.0041544437408447266 nb_pixel_total : 168274 time to create 1 rle with new method : 0.006975650787353516 length of segment : 624 time for calcul the mask position with numpy : 0.0005106925964355469 nb_pixel_total : 15197 time to create 1 rle with old method : 0.01690530776977539 length of segment : 155 time for calcul the mask position with numpy : 0.0009760856628417969 nb_pixel_total : 29622 time to create 1 rle with old method : 0.03285717964172363 length of segment : 252 time for calcul the mask position with numpy : 0.0005915164947509766 nb_pixel_total : 16128 time to create 1 rle with old method : 0.01815032958984375 length of segment : 176 time for calcul the mask position with numpy : 0.0008502006530761719 nb_pixel_total : 24036 time to create 1 rle with old method : 0.027442455291748047 length of segment : 211 time for calcul the mask position with numpy : 0.0007975101470947266 nb_pixel_total : 27294 time to create 1 rle with old method : 0.028982162475585938 length of segment : 185 time for calcul the mask position with numpy : 0.0006957054138183594 nb_pixel_total : 22269 time to create 1 rle with old method : 0.02345895767211914 length of segment : 217 time for calcul the mask position with numpy : 0.0006015300750732422 nb_pixel_total : 5134 time to create 1 rle with old method : 0.006793498992919922 length of segment : 145 time for calcul the mask position with numpy : 0.0012841224670410156 nb_pixel_total : 23181 time to create 1 rle with old method : 0.02506875991821289 length of segment : 253 time for calcul the mask position with numpy : 0.0011951923370361328 nb_pixel_total : 23646 time to create 1 rle with old method : 0.02584052085876465 length of segment : 381 time for calcul the mask position with numpy : 0.0005478858947753906 nb_pixel_total : 14035 time to create 1 rle with old method : 0.015628337860107422 length of segment : 160 time for calcul the mask position with numpy : 0.00020766258239746094 nb_pixel_total : 2326 time to create 1 rle with old method : 0.002653837203979492 length of segment : 86 time for calcul the mask position with numpy : 0.006330966949462891 nb_pixel_total : 208038 time to create 1 rle with new method : 0.013124942779541016 length of segment : 718 time for calcul the mask position with numpy : 0.0007772445678710938 nb_pixel_total : 17689 time to create 1 rle with old method : 0.019715309143066406 length of segment : 361 time for calcul the mask position with numpy : 0.0012679100036621094 nb_pixel_total : 54115 time to create 1 rle with old method : 0.05636143684387207 length of segment : 347 time for calcul the mask position with numpy : 0.00019240379333496094 nb_pixel_total : 1979 time to create 1 rle with old method : 0.0022420883178710938 length of segment : 88 time for calcul the mask position with numpy : 0.0004899501800537109 nb_pixel_total : 9856 time to create 1 rle with old method : 0.010773181915283203 length of segment : 146 time for calcul the mask position with numpy : 0.0029973983764648438 nb_pixel_total : 63381 time to create 1 rle with old method : 0.06756067276000977 length of segment : 418 time for calcul the mask position with numpy : 0.0014989376068115234 nb_pixel_total : 13392 time to create 1 rle with old method : 0.014326095581054688 length of segment : 327 time for calcul the mask position with numpy : 0.0007531642913818359 nb_pixel_total : 32072 time to create 1 rle with old method : 0.036125898361206055 length of segment : 323 time for calcul the mask position with numpy : 0.007516145706176758 nb_pixel_total : 145118 time to create 1 rle with old method : 0.158217191696167 length of segment : 1002 time for calcul the mask position with numpy : 0.0008831024169921875 nb_pixel_total : 17971 time to create 1 rle with old method : 0.01916360855102539 length of segment : 256 time for calcul the mask position with numpy : 0.00038886070251464844 nb_pixel_total : 4279 time to create 1 rle with old method : 0.0049285888671875 length of segment : 140 time for calcul the mask position with numpy : 0.0001933574676513672 nb_pixel_total : 3126 time to create 1 rle with old method : 0.0037021636962890625 length of segment : 51 time for calcul the mask position with numpy : 0.00023412704467773438 nb_pixel_total : 3466 time to create 1 rle with old method : 0.0038504600524902344 length of segment : 101 time for calcul the mask position with numpy : 0.004384040832519531 nb_pixel_total : 164870 time to create 1 rle with new method : 0.006922483444213867 length of segment : 405 time for calcul the mask position with numpy : 0.0004973411560058594 nb_pixel_total : 6546 time to create 1 rle with old method : 0.007315874099731445 length of segment : 195 time for calcul the mask position with numpy : 0.0002040863037109375 nb_pixel_total : 6702 time to create 1 rle with old method : 0.007851600646972656 length of segment : 126 time for calcul the mask position with numpy : 0.004852294921875 nb_pixel_total : 187685 time to create 1 rle with new method : 0.008542776107788086 length of segment : 665 time for calcul the mask position with numpy : 0.0003070831298828125 nb_pixel_total : 3453 time to create 1 rle with old method : 0.004114866256713867 length of segment : 72 time for calcul the mask position with numpy : 0.0010213851928710938 nb_pixel_total : 24319 time to create 1 rle with old method : 0.026746749877929688 length of segment : 409 time for calcul the mask position with numpy : 9.250640869140625e-05 nb_pixel_total : 1495 time to create 1 rle with old method : 0.0019118785858154297 length of segment : 39 time for calcul the mask position with numpy : 0.00037169456481933594 nb_pixel_total : 3949 time to create 1 rle with old method : 0.004500627517700195 length of segment : 134 time for calcul the mask position with numpy : 0.0036182403564453125 nb_pixel_total : 118438 time to create 1 rle with old method : 0.12567830085754395 length of segment : 487 time for calcul the mask position with numpy : 0.003682851791381836 nb_pixel_total : 103640 time to create 1 rle with old method : 0.11084556579589844 length of segment : 337 time for calcul the mask position with numpy : 0.003014087677001953 nb_pixel_total : 182992 time to create 1 rle with new method : 0.0075359344482421875 length of segment : 595 time for calcul the mask position with numpy : 0.0030264854431152344 nb_pixel_total : 94893 time to create 1 rle with old method : 0.12392926216125488 length of segment : 311 time for calcul the mask position with numpy : 0.00013828277587890625 nb_pixel_total : 1169 time to create 1 rle with old method : 0.0014662742614746094 length of segment : 55 time for calcul the mask position with numpy : 0.004393100738525391 nb_pixel_total : 115732 time to create 1 rle with old method : 0.12987017631530762 length of segment : 577 time for calcul the mask position with numpy : 0.0020303726196289062 nb_pixel_total : 26639 time to create 1 rle with old method : 0.029330968856811523 length of segment : 374 time for calcul the mask position with numpy : 0.0023179054260253906 nb_pixel_total : 40041 time to create 1 rle with old method : 0.04560542106628418 length of segment : 268 time for calcul the mask position with numpy : 0.0024607181549072266 nb_pixel_total : 64777 time to create 1 rle with old method : 0.06775879859924316 length of segment : 346 time for calcul the mask position with numpy : 0.0023751258850097656 nb_pixel_total : 49068 time to create 1 rle with old method : 0.05397200584411621 length of segment : 442 time for calcul the mask position with numpy : 0.0009837150573730469 nb_pixel_total : 17058 time to create 1 rle with old method : 0.019602060317993164 length of segment : 198 time for calcul the mask position with numpy : 0.00047898292541503906 nb_pixel_total : 16837 time to create 1 rle with old method : 0.018839597702026367 length of segment : 127 time for calcul the mask position with numpy : 0.0007727146148681641 nb_pixel_total : 17822 time to create 1 rle with old method : 0.02018117904663086 length of segment : 149 time for calcul the mask position with numpy : 0.0002415180206298828 nb_pixel_total : 4478 time to create 1 rle with old method : 0.005184173583984375 length of segment : 72 time for calcul the mask position with numpy : 0.00021338462829589844 nb_pixel_total : 7117 time to create 1 rle with old method : 0.007887840270996094 length of segment : 99 time for calcul the mask position with numpy : 0.0026772022247314453 nb_pixel_total : 107614 time to create 1 rle with old method : 0.11179924011230469 length of segment : 438 time for calcul the mask position with numpy : 0.00032448768615722656 nb_pixel_total : 2958 time to create 1 rle with old method : 0.003297567367553711 length of segment : 86 time for calcul the mask position with numpy : 0.00034618377685546875 nb_pixel_total : 16774 time to create 1 rle with old method : 0.01837158203125 length of segment : 183 time for calcul the mask position with numpy : 0.004779815673828125 nb_pixel_total : 116240 time to create 1 rle with old method : 0.1282358169555664 length of segment : 469 time for calcul the mask position with numpy : 0.003035306930541992 nb_pixel_total : 103907 time to create 1 rle with old method : 0.13789772987365723 length of segment : 361 time for calcul the mask position with numpy : 0.0016238689422607422 nb_pixel_total : 104567 time to create 1 rle with old method : 0.10798168182373047 length of segment : 366 time for calcul the mask position with numpy : 0.0021314620971679688 nb_pixel_total : 60401 time to create 1 rle with old method : 0.0641322135925293 length of segment : 411 time for calcul the mask position with numpy : 0.004730224609375 nb_pixel_total : 139069 time to create 1 rle with old method : 0.14478611946105957 length of segment : 761 time for calcul the mask position with numpy : 0.0008702278137207031 nb_pixel_total : 23747 time to create 1 rle with old method : 0.02448248863220215 length of segment : 222 time for calcul the mask position with numpy : 0.00025463104248046875 nb_pixel_total : 11136 time to create 1 rle with old method : 0.012244224548339844 length of segment : 156 time for calcul the mask position with numpy : 0.0002052783966064453 nb_pixel_total : 1849 time to create 1 rle with old method : 0.002152681350708008 length of segment : 74 time for calcul the mask position with numpy : 0.00017309188842773438 nb_pixel_total : 2804 time to create 1 rle with old method : 0.0033311843872070312 length of segment : 64 time for calcul the mask position with numpy : 0.0008692741394042969 nb_pixel_total : 58809 time to create 1 rle with old method : 0.06167435646057129 length of segment : 395 time for calcul the mask position with numpy : 0.00026679039001464844 nb_pixel_total : 5039 time to create 1 rle with old method : 0.005899906158447266 length of segment : 81 time for calcul the mask position with numpy : 0.0012791156768798828 nb_pixel_total : 16863 time to create 1 rle with old method : 0.018518924713134766 length of segment : 312 time for calcul the mask position with numpy : 0.0008754730224609375 nb_pixel_total : 37065 time to create 1 rle with old method : 0.040273189544677734 length of segment : 164 time for calcul the mask position with numpy : 0.0001323223114013672 nb_pixel_total : 2864 time to create 1 rle with old method : 0.0035338401794433594 length of segment : 94 time for calcul the mask position with numpy : 0.00044655799865722656 nb_pixel_total : 6020 time to create 1 rle with old method : 0.006983280181884766 length of segment : 127 time for calcul the mask position with numpy : 0.00019121170043945312 nb_pixel_total : 7944 time to create 1 rle with old method : 0.009052753448486328 length of segment : 185 time for calcul the mask position with numpy : 0.06837248802185059 nb_pixel_total : 3548102 time to create 1 rle with new method : 0.11470556259155273 length of segment : 3601 time for calcul the mask position with numpy : 0.0003674030303955078 nb_pixel_total : 15743 time to create 1 rle with old method : 0.01746392250061035 length of segment : 239 time for calcul the mask position with numpy : 0.00118255615234375 nb_pixel_total : 91406 time to create 1 rle with old method : 0.09606170654296875 length of segment : 441 time for calcul the mask position with numpy : 0.0001227855682373047 nb_pixel_total : 5075 time to create 1 rle with old method : 0.005791664123535156 length of segment : 83 time for calcul the mask position with numpy : 0.005146503448486328 nb_pixel_total : 346044 time to create 1 rle with new method : 0.013436079025268555 length of segment : 970 time for calcul the mask position with numpy : 0.004178285598754883 nb_pixel_total : 350145 time to create 1 rle with new method : 0.00959324836730957 length of segment : 504 time for calcul the mask position with numpy : 0.0050106048583984375 nb_pixel_total : 347616 time to create 1 rle with new method : 0.013039112091064453 length of segment : 995 time for calcul the mask position with numpy : 8.630752563476562e-05 nb_pixel_total : 3130 time to create 1 rle with old method : 0.0034952163696289062 length of segment : 77 time for calcul the mask position with numpy : 0.0010616779327392578 nb_pixel_total : 76249 time to create 1 rle with old method : 0.07906842231750488 length of segment : 306 time for calcul the mask position with numpy : 0.0013422966003417969 nb_pixel_total : 99932 time to create 1 rle with old method : 0.10195755958557129 length of segment : 371 time for calcul the mask position with numpy : 0.0005350112915039062 nb_pixel_total : 9716 time to create 1 rle with old method : 0.012186527252197266 length of segment : 112 time for calcul the mask position with numpy : 0.0003707408905029297 nb_pixel_total : 5279 time to create 1 rle with old method : 0.009090900421142578 length of segment : 96 time for calcul the mask position with numpy : 0.0004265308380126953 nb_pixel_total : 7076 time to create 1 rle with old method : 0.011945009231567383 length of segment : 103 time for calcul the mask position with numpy : 0.005663394927978516 nb_pixel_total : 146464 time to create 1 rle with old method : 0.30583834648132324 length of segment : 355 time for calcul the mask position with numpy : 0.001729726791381836 nb_pixel_total : 32444 time to create 1 rle with old method : 0.0360255241394043 length of segment : 371 time for calcul the mask position with numpy : 0.0006670951843261719 nb_pixel_total : 13783 time to create 1 rle with old method : 0.016936540603637695 length of segment : 209 time for calcul the mask position with numpy : 0.0015680789947509766 nb_pixel_total : 49016 time to create 1 rle with old method : 0.05458426475524902 length of segment : 188 time for calcul the mask position with numpy : 0.0017857551574707031 nb_pixel_total : 4758 time to create 1 rle with old method : 0.0065839290618896484 length of segment : 170 time for calcul the mask position with numpy : 0.007653713226318359 nb_pixel_total : 198072 time to create 1 rle with new method : 0.011241912841796875 length of segment : 670 time for calcul the mask position with numpy : 0.00012636184692382812 nb_pixel_total : 1825 time to create 1 rle with old method : 0.002321481704711914 length of segment : 46 time for calcul the mask position with numpy : 0.004485607147216797 nb_pixel_total : 199627 time to create 1 rle with new method : 0.011841058731079102 length of segment : 665 time for calcul the mask position with numpy : 0.0009722709655761719 nb_pixel_total : 20076 time to create 1 rle with old method : 0.02275252342224121 length of segment : 201 time for calcul the mask position with numpy : 0.002418994903564453 nb_pixel_total : 80570 time to create 1 rle with old method : 0.09265589714050293 length of segment : 481 time for calcul the mask position with numpy : 0.007715463638305664 nb_pixel_total : 238973 time to create 1 rle with new method : 0.013144731521606445 length of segment : 758 time for calcul the mask position with numpy : 0.003092050552368164 nb_pixel_total : 98956 time to create 1 rle with old method : 0.13454174995422363 length of segment : 408 time for calcul the mask position with numpy : 0.006398677825927734 nb_pixel_total : 283341 time to create 1 rle with new method : 0.009454727172851562 length of segment : 757 time for calcul the mask position with numpy : 0.00473475456237793 nb_pixel_total : 141620 time to create 1 rle with old method : 0.1551682949066162 length of segment : 795 time for calcul the mask position with numpy : 0.0003070831298828125 nb_pixel_total : 4589 time to create 1 rle with old method : 0.005128622055053711 length of segment : 86 time for calcul the mask position with numpy : 0.001684427261352539 nb_pixel_total : 41364 time to create 1 rle with old method : 0.045678138732910156 length of segment : 652 time for calcul the mask position with numpy : 0.0027093887329101562 nb_pixel_total : 145582 time to create 1 rle with old method : 0.15381526947021484 length of segment : 875 time for calcul the mask position with numpy : 0.0001556873321533203 nb_pixel_total : 3438 time to create 1 rle with old method : 0.004136562347412109 length of segment : 74 time for calcul the mask position with numpy : 0.0008997917175292969 nb_pixel_total : 42182 time to create 1 rle with old method : 0.04632234573364258 length of segment : 562 time for calcul the mask position with numpy : 0.06810808181762695 nb_pixel_total : 2521057 time to create 1 rle with new method : 0.13541340827941895 length of segment : 3596 time for calcul the mask position with numpy : 0.00012922286987304688 nb_pixel_total : 5184 time to create 1 rle with old method : 0.005461215972900391 length of segment : 90 time for calcul the mask position with numpy : 0.001140594482421875 nb_pixel_total : 86096 time to create 1 rle with old method : 0.08703899383544922 length of segment : 629 time for calcul the mask position with numpy : 0.0009741783142089844 nb_pixel_total : 59101 time to create 1 rle with old method : 0.06277227401733398 length of segment : 467 time for calcul the mask position with numpy : 0.00029850006103515625 nb_pixel_total : 18047 time to create 1 rle with old method : 0.020527362823486328 length of segment : 188 time for calcul the mask position with numpy : 0.010345458984375 nb_pixel_total : 594104 time to create 1 rle with new method : 0.0201416015625 length of segment : 1132 time for calcul the mask position with numpy : 0.014415979385375977 nb_pixel_total : 666051 time to create 1 rle with new method : 0.03952932357788086 length of segment : 1634 time for calcul the mask position with numpy : 0.0010156631469726562 nb_pixel_total : 53137 time to create 1 rle with old method : 0.05567336082458496 length of segment : 306 time for calcul the mask position with numpy : 0.0002644062042236328 nb_pixel_total : 17457 time to create 1 rle with old method : 0.018697738647460938 length of segment : 178 time for calcul the mask position with numpy : 0.00018930435180664062 nb_pixel_total : 7448 time to create 1 rle with old method : 0.008313655853271484 length of segment : 102 time for calcul the mask position with numpy : 0.00012922286987304688 nb_pixel_total : 6095 time to create 1 rle with old method : 0.006734132766723633 length of segment : 86 time for calcul the mask position with numpy : 0.005567789077758789 nb_pixel_total : 374698 time to create 1 rle with new method : 0.011932611465454102 length of segment : 544 time for calcul the mask position with numpy : 0.005994558334350586 nb_pixel_total : 448685 time to create 1 rle with new method : 0.017346620559692383 length of segment : 1039 time for calcul the mask position with numpy : 0.005590677261352539 nb_pixel_total : 428523 time to create 1 rle with new method : 0.012829780578613281 length of segment : 800 time spent for convertir_results : 18.89250373840332 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 186 chid ids of type : 3663 Number RLEs to save : 70869 save missing photos in datou_result : time spend for datou_step_exec : 60.69702911376953 time spend to save output : 5.18101167678833 total time spend for step 1 : 65.87804079055786 step2:crop_condition Fri Feb 7 22:15:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3663 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 186 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 ! 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 : 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 ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 18 About to insert : list_path_to_insert length 18 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 ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! we have finished the crop for the class : 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 ! 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 : 51 About to insert : list_path_to_insert length 51 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 ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! we have finished the crop for the class : 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1335610319, 1335610284, 1335610281, 1335610272, 1335610266, 1335610257, 1335609634, 1335609630, 1335609582, 1335609569] Looping around the photos to save general results len do output : 105 /-3660533648Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533646Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533678Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533676Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533709Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533699Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533695Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533718Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533774Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533783Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533781Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533805Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533653Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533691Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533679Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533692Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533708Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533735Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533724Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533719Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533732Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533727Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533717Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533725Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533755Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533784Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533782Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533791Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533790Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533808Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533639Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533638Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533636Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533684Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533711Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533752Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533753Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533792Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533632Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533630Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533637Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533629Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533633Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533644Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533661Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533655Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533662Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533649Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533670Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533664Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533660Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533651Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533656Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533668Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533680Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533682Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533688Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533673Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533693Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533707Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533701Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533696Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533716Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533729Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533737Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533733Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533734Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533747Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533750Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533754Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533740Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533741Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533746Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533742Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533759Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533761Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533770Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533771Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533768Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533775Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533794Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533780Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533786Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533788Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533795Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533800Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533809Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533803Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533806Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533642Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533654Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533681Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533677Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533705Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533704Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533715Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533726Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533756Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533694Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533686Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533762Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533797Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533802Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533801Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660533751Didn'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, '2567697') ('3459', '20351862', '1335610319', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610284', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610281', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610272', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610266', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610257', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609634', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609630', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609582', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609569', None, None, None, None, None, '2567697') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 325 time used for this insertion : 0.04554176330566406 save_final save missing photos in datou_result : time spend for datou_step_exec : 49.004913568496704 time spend to save output : 0.049546241760253906 total time spend for step 2 : 49.05445981025696 step3:thcl Fri Feb 7 22:16:24 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.014792203903198242 time to convert the images to numpy array : 0.16229009628295898 time to import caffe and check if the image exist : 0.008095741271972656 time to convert the images to numpy array : 0.21076369285583496 time to import caffe and check if the image exist : 0.029257774353027344 time to convert the images to numpy array : 0.31015658378601074 time to import caffe and check if the image exist : 0.01629471778869629 time to convert the images to numpy array : 0.32305312156677246 time to import caffe and check if the image exist : 0.011557340621948242 time to convert the images to numpy array : 0.3331146240234375 time to import caffe and check if the image exist : 0.009242057800292969 time to convert the images to numpy array : 0.3418729305267334 time to import caffe and check if the image exist : 0.03687119483947754 time to convert the images to numpy array : 0.3357720375061035 time to import caffe and check if the image exist : 0.03426790237426758 time to convert the images to numpy array : 0.346768856048584 time to import caffe and check if the image exist : 0.0213320255279541 time to convert the images to numpy array : 0.361591100692749 time to import caffe and check if the image exist : 0.013733148574829102 time to convert the images to numpy array : 0.4149799346923828 total time to convert the images to numpy array : 0.660712480545044 list photo_ids error: [] list photo_ids correct : [-3660533686, -3660533762, -3660533797, -3660533802, -3660533801, -3660533751, -3660533806, -3660533642, -3660533654, -3660533681, -3660533677, -3660533705, -3660533704, -3660533715, -3660533726, -3660533756, -3660533694, -3660533661, -3660533655, -3660533662, -3660533649, -3660533670, -3660533664, -3660533660, -3660533651, -3660533656, -3660533668, -3660533680, -3660533682, -3660533688, -3660533673, -3660533693, -3660533707, -3660533701, -3660533696, -3660533716, -3660533729, -3660533737, -3660533733, -3660533648, -3660533646, -3660533678, -3660533676, -3660533709, -3660533699, -3660533695, -3660533718, -3660533774, -3660533783, -3660533781, -3660533717, -3660533725, -3660533755, -3660533784, -3660533782, -3660533791, -3660533790, -3660533808, -3660533639, -3660533638, -3660533636, -3660533805, -3660533653, -3660533691, -3660533679, -3660533692, -3660533708, -3660533735, -3660533724, -3660533719, -3660533732, -3660533727, -3660533734, -3660533747, -3660533750, -3660533754, -3660533740, -3660533741, -3660533746, -3660533742, -3660533759, -3660533761, -3660533770, -3660533684, -3660533711, -3660533752, -3660533753, -3660533792, -3660533632, -3660533630, -3660533637, -3660533629, -3660533633, -3660533644, -3660533771, -3660533768, -3660533775, -3660533794, -3660533780, -3660533786, -3660533788, -3660533795, -3660533800, -3660533809, -3660533803] number of photos to traite : 105 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 : 10998 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 : 10776 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.3703184127807617 time used to do the prediction : 0.20853734016418457 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 : 10774 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 : 10774 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.4484479427337646 time used to do the prediction : 0.20897650718688965 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 1.0251998901367188e-05 save missing photos in datou_result : time spend for datou_step_exec : 10.837084531784058 time spend to save output : 0.0006625652313232422 total time spend for step 3 : 10.83774709701538 step4:merge_mask_thcl_custom Fri Feb 7 22:16: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 ! 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 186 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 [1335610319, 1335610284, 1335610281, 1335610272, 1335610266, 1335610257, 1335609634, 1335609630, 1335609582, 1335609569] Looping around the photos to save general results len do output : 10 /1335610319Didn't retrieve data .Didn't retrieve data . /1335610284Didn't retrieve data .Didn't retrieve data . /1335610281Didn't retrieve data .Didn't retrieve data . /1335610272Didn't retrieve data .Didn't retrieve data . /1335610266Didn't retrieve data .Didn't retrieve data . /1335610257Didn't retrieve data .Didn't retrieve data . /1335609634Didn't retrieve data .Didn't retrieve data . /1335609630Didn't retrieve data .Didn't retrieve data . /1335609582Didn't retrieve data .Didn't retrieve data . /1335609569Didn'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, '2567697') ('3459', '20351862', '1335610319', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610284', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610281', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610272', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610266', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610257', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609634', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609630', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609582', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609569', None, None, None, None, None, '2567697') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.017523765563964844 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07174062728881836 time spend to save output : 0.018020153045654297 total time spend for step 4 : 0.08976078033447266 step5:rle_unique_nms_with_priority Fri Feb 7 22:16: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 Begin step rle-unique-nms nb_obj : 14 nb_hashtags : 6 time to prepare the origin masks : 10.523026943206787 time for calcul the mask position with numpy : 0.5843207836151123 nb_pixel_total : 5027835 time to create 1 rle with new method : 1.1562144756317139 time for calcul the mask position with numpy : 0.020363330841064453 nb_pixel_total : 790 time to create 1 rle with old method : 0.001361846923828125 time for calcul the mask position with numpy : 0.023441314697265625 nb_pixel_total : 152536 time to create 1 rle with new method : 0.3541440963745117 time for calcul the mask position with numpy : 0.026383161544799805 nb_pixel_total : 479282 time to create 1 rle with new method : 0.38180065155029297 time for calcul the mask position with numpy : 0.02288079261779785 nb_pixel_total : 20227 time to create 1 rle with old method : 0.021554946899414062 time for calcul the mask position with numpy : 0.0209963321685791 nb_pixel_total : 609 time to create 1 rle with old method : 0.0007483959197998047 time for calcul the mask position with numpy : 0.021442890167236328 nb_pixel_total : 824 time to create 1 rle with old method : 0.0010714530944824219 time for calcul the mask position with numpy : 0.02295994758605957 nb_pixel_total : 24021 time to create 1 rle with old method : 0.026455163955688477 time for calcul the mask position with numpy : 0.034374237060546875 nb_pixel_total : 34898 time to create 1 rle with old method : 0.038712501525878906 time for calcul the mask position with numpy : 0.034304141998291016 nb_pixel_total : 25721 time to create 1 rle with old method : 0.027741670608520508 time for calcul the mask position with numpy : 0.0472569465637207 nb_pixel_total : 1211984 time to create 1 rle with new method : 0.7077138423919678 time for calcul the mask position with numpy : 0.03536391258239746 nb_pixel_total : 33868 time to create 1 rle with old method : 0.037748098373413086 time for calcul the mask position with numpy : 0.03136157989501953 nb_pixel_total : 2375 time to create 1 rle with old method : 0.003513813018798828 time for calcul the mask position with numpy : 0.031456708908081055 nb_pixel_total : 723 time to create 1 rle with old method : 0.0011594295501708984 time for calcul the mask position with numpy : 0.03251504898071289 nb_pixel_total : 34547 time to create 1 rle with old method : 0.03750014305114746 create new chi : 3.8944485187530518 time to delete rle : 0.017979860305786133 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 12099 TO DO : save crop sub photo not yet done ! save time : 0.8446309566497803 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 4.350919961929321 time for calcul the mask position with numpy : 0.2902956008911133 nb_pixel_total : 4109433 time to create 1 rle with new method : 0.35277724266052246 time for calcul the mask position with numpy : 0.023400068283081055 nb_pixel_total : 8562 time to create 1 rle with old method : 0.010507822036743164 time for calcul the mask position with numpy : 0.03800177574157715 nb_pixel_total : 115422 time to create 1 rle with old method : 0.12704968452453613 time for calcul the mask position with numpy : 0.04073023796081543 nb_pixel_total : 179596 time to create 1 rle with new method : 0.5849709510803223 time for calcul the mask position with numpy : 0.03563356399536133 nb_pixel_total : 4809 time to create 1 rle with old method : 0.0054759979248046875 time for calcul the mask position with numpy : 0.03558492660522461 nb_pixel_total : 42195 time to create 1 rle with old method : 0.04648637771606445 time for calcul the mask position with numpy : 0.05218005180358887 nb_pixel_total : 2590223 time to create 1 rle with new method : 0.37248706817626953 create new chi : 2.110046148300171 time to delete rle : 0.0014829635620117188 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 11523 TO DO : save crop sub photo not yet done ! save time : 0.786409854888916 nb_obj : 24 nb_hashtags : 6 time to prepare the origin masks : 14.173135042190552 time for calcul the mask position with numpy : 0.448941707611084 nb_pixel_total : 5765571 time to create 1 rle with new method : 1.7758512496948242 time for calcul the mask position with numpy : 0.025791645050048828 nb_pixel_total : 38137 time to create 1 rle with old method : 0.043020009994506836 time for calcul the mask position with numpy : 0.03551435470581055 nb_pixel_total : 8607 time to create 1 rle with old method : 0.010064840316772461 time for calcul the mask position with numpy : 0.03222489356994629 nb_pixel_total : 14108 time to create 1 rle with old method : 0.015478372573852539 time for calcul the mask position with numpy : 0.03463625907897949 nb_pixel_total : 122590 time to create 1 rle with old method : 0.13112473487854004 time for calcul the mask position with numpy : 0.03618049621582031 nb_pixel_total : 49361 time to create 1 rle with old method : 0.05301666259765625 time for calcul the mask position with numpy : 0.03404998779296875 nb_pixel_total : 5513 time to create 1 rle with old method : 0.006146907806396484 time for calcul the mask position with numpy : 0.036246538162231445 nb_pixel_total : 121024 time to create 1 rle with old method : 0.13749146461486816 time for calcul the mask position with numpy : 0.03318214416503906 nb_pixel_total : 22720 time to create 1 rle with old method : 0.025331974029541016 time for calcul the mask position with numpy : 0.03390383720397949 nb_pixel_total : 20585 time to create 1 rle with old method : 0.024335622787475586 time for calcul the mask position with numpy : 0.03178906440734863 nb_pixel_total : 3892 time to create 1 rle with old method : 0.0047190189361572266 time for calcul the mask position with numpy : 0.028924942016601562 nb_pixel_total : 2497 time to create 1 rle with old method : 0.003001689910888672 time for calcul the mask position with numpy : 0.021780729293823242 nb_pixel_total : 52643 time to create 1 rle with old method : 0.05692768096923828 time for calcul the mask position with numpy : 0.022669553756713867 nb_pixel_total : 6235 time to create 1 rle with old method : 0.007207632064819336 time for calcul the mask position with numpy : 0.022957801818847656 nb_pixel_total : 5502 time to create 1 rle with old method : 0.00609898567199707 time for calcul the mask position with numpy : 0.022191762924194336 nb_pixel_total : 10005 time to create 1 rle with old method : 0.011067390441894531 time for calcul the mask position with numpy : 0.02309250831604004 nb_pixel_total : 86618 time to create 1 rle with old method : 0.10086798667907715 time for calcul the mask position with numpy : 0.022764205932617188 nb_pixel_total : 8032 time to create 1 rle with old method : 0.008906364440917969 time for calcul the mask position with numpy : 0.026637792587280273 nb_pixel_total : 292998 time to create 1 rle with new method : 0.41303586959838867 time for calcul the mask position with numpy : 0.02533745765686035 nb_pixel_total : 18251 time to create 1 rle with old method : 0.021919965744018555 time for calcul the mask position with numpy : 0.021568775177001953 nb_pixel_total : 85933 time to create 1 rle with old method : 0.09530043601989746 time for calcul the mask position with numpy : 0.022055387496948242 nb_pixel_total : 1954 time to create 1 rle with old method : 0.002584695816040039 time for calcul the mask position with numpy : 0.03315162658691406 nb_pixel_total : 6867 time to create 1 rle with old method : 0.007582187652587891 time for calcul the mask position with numpy : 0.03612232208251953 nb_pixel_total : 256135 time to create 1 rle with new method : 0.9963259696960449 time for calcul the mask position with numpy : 0.042684316635131836 nb_pixel_total : 44462 time to create 1 rle with old method : 0.04886627197265625 create new chi : 5.259699106216431 time to delete rle : 0.0016090869903564453 batch 1 Loaded 25 chid ids of type : 3726 Number RLEs to save : 14822 TO DO : save crop sub photo not yet done ! save time : 0.9250411987304688 nb_obj : 22 nb_hashtags : 7 time to prepare the origin masks : 14.222050189971924 time for calcul the mask position with numpy : 0.6875019073486328 nb_pixel_total : 6214261 time to create 1 rle with new method : 1.2290804386138916 time for calcul the mask position with numpy : 0.019742727279663086 nb_pixel_total : 1675 time to create 1 rle with old method : 0.00222015380859375 time for calcul the mask position with numpy : 0.02097153663635254 nb_pixel_total : 29248 time to create 1 rle with old method : 0.031117916107177734 time for calcul the mask position with numpy : 0.021799325942993164 nb_pixel_total : 21961 time to create 1 rle with old method : 0.02262115478515625 time for calcul the mask position with numpy : 0.020723581314086914 nb_pixel_total : 28585 time to create 1 rle with old method : 0.02945566177368164 time for calcul the mask position with numpy : 0.021195411682128906 nb_pixel_total : 62274 time to create 1 rle with old method : 0.06256556510925293 time for calcul the mask position with numpy : 0.021732568740844727 nb_pixel_total : 57438 time to create 1 rle with old method : 0.06250882148742676 time for calcul the mask position with numpy : 0.021191120147705078 nb_pixel_total : 8710 time to create 1 rle with old method : 0.009616613388061523 time for calcul the mask position with numpy : 0.022124528884887695 nb_pixel_total : 62206 time to create 1 rle with old method : 0.0694115161895752 time for calcul the mask position with numpy : 0.022939443588256836 nb_pixel_total : 26042 time to create 1 rle with old method : 0.028293609619140625 time for calcul the mask position with numpy : 0.0227203369140625 nb_pixel_total : 17999 time to create 1 rle with old method : 0.020603418350219727 time for calcul the mask position with numpy : 0.021847009658813477 nb_pixel_total : 21086 time to create 1 rle with old method : 0.024686098098754883 time for calcul the mask position with numpy : 0.021708965301513672 nb_pixel_total : 1610 time to create 1 rle with old method : 0.0018925666809082031 time for calcul the mask position with numpy : 0.03264498710632324 nb_pixel_total : 27840 time to create 1 rle with old method : 0.0289003849029541 time for calcul the mask position with numpy : 0.03317880630493164 nb_pixel_total : 8554 time to create 1 rle with old method : 0.009341001510620117 time for calcul the mask position with numpy : 0.03369283676147461 nb_pixel_total : 213778 time to create 1 rle with new method : 0.3849470615386963 time for calcul the mask position with numpy : 0.03502702713012695 nb_pixel_total : 10832 time to create 1 rle with old method : 0.012647390365600586 time for calcul the mask position with numpy : 0.030375242233276367 nb_pixel_total : 25145 time to create 1 rle with old method : 0.027445077896118164 time for calcul the mask position with numpy : 0.02065420150756836 nb_pixel_total : 10175 time to create 1 rle with old method : 0.011181116104125977 time for calcul the mask position with numpy : 0.020174741744995117 nb_pixel_total : 23879 time to create 1 rle with old method : 0.025515079498291016 time for calcul the mask position with numpy : 0.019883155822753906 nb_pixel_total : 15159 time to create 1 rle with old method : 0.01657724380493164 time for calcul the mask position with numpy : 0.020331382751464844 nb_pixel_total : 65772 time to create 1 rle with old method : 0.07064509391784668 time for calcul the mask position with numpy : 0.021304607391357422 nb_pixel_total : 96011 time to create 1 rle with old method : 0.10020923614501953 create new chi : 3.560420274734497 time to delete rle : 0.0012140274047851562 batch 1 Loaded 23 chid ids of type : 3726 Number RLEs to save : 14559 TO DO : save crop sub photo not yet done ! save time : 1.2263641357421875 nb_obj : 17 nb_hashtags : 7 time to prepare the origin masks : 8.183310747146606 time for calcul the mask position with numpy : 0.27666234970092773 nb_pixel_total : 6544264 time to create 1 rle with new method : 0.5819277763366699 time for calcul the mask position with numpy : 0.020572662353515625 nb_pixel_total : 14002 time to create 1 rle with old method : 0.015450000762939453 time for calcul the mask position with numpy : 0.029135942459106445 nb_pixel_total : 3720 time to create 1 rle with old method : 0.0045163631439208984 time for calcul the mask position with numpy : 0.03177905082702637 nb_pixel_total : 22263 time to create 1 rle with old method : 0.02413654327392578 time for calcul the mask position with numpy : 0.02119135856628418 nb_pixel_total : 57375 time to create 1 rle with old method : 0.06128263473510742 time for calcul the mask position with numpy : 0.021114826202392578 nb_pixel_total : 7700 time to create 1 rle with old method : 0.008233070373535156 time for calcul the mask position with numpy : 0.022391796112060547 nb_pixel_total : 29545 time to create 1 rle with old method : 0.04695487022399902 time for calcul the mask position with numpy : 0.022742509841918945 nb_pixel_total : 27218 time to create 1 rle with old method : 0.031096935272216797 time for calcul the mask position with numpy : 0.022557735443115234 nb_pixel_total : 207827 time to create 1 rle with new method : 0.47124147415161133 time for calcul the mask position with numpy : 0.021876096725463867 nb_pixel_total : 2320 time to create 1 rle with old method : 0.0025250911712646484 time for calcul the mask position with numpy : 0.02108001708984375 nb_pixel_total : 5067 time to create 1 rle with old method : 0.005842447280883789 time for calcul the mask position with numpy : 0.020694494247436523 nb_pixel_total : 23902 time to create 1 rle with old method : 0.024969100952148438 time for calcul the mask position with numpy : 0.021353483200073242 nb_pixel_total : 16044 time to create 1 rle with old method : 0.01714611053466797 time for calcul the mask position with numpy : 0.021355152130126953 nb_pixel_total : 15204 time to create 1 rle with old method : 0.016200542449951172 time for calcul the mask position with numpy : 0.02085280418395996 nb_pixel_total : 9916 time to create 1 rle with old method : 0.010610580444335938 time for calcul the mask position with numpy : 0.020695209503173828 nb_pixel_total : 17230 time to create 1 rle with old method : 0.018268823623657227 time for calcul the mask position with numpy : 0.02069401741027832 nb_pixel_total : 23532 time to create 1 rle with old method : 0.02598094940185547 time for calcul the mask position with numpy : 0.02087116241455078 nb_pixel_total : 23111 time to create 1 rle with old method : 0.02562093734741211 create new chi : 2.1157941818237305 time to delete rle : 0.001004934310913086 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 9758 TO DO : save crop sub photo not yet done ! save time : 0.6360034942626953 nb_obj : 24 nb_hashtags : 8 time to prepare the origin masks : 11.761738061904907 time for calcul the mask position with numpy : 0.31003284454345703 nb_pixel_total : 5950688 time to create 1 rle with new method : 0.5258657932281494 time for calcul the mask position with numpy : 0.022962570190429688 nb_pixel_total : 115593 time to create 1 rle with old method : 0.12488532066345215 time for calcul the mask position with numpy : 0.03322625160217285 nb_pixel_total : 1825 time to create 1 rle with old method : 0.002613544464111328 time for calcul the mask position with numpy : 0.03565096855163574 nb_pixel_total : 168865 time to create 1 rle with new method : 0.5690977573394775 time for calcul the mask position with numpy : 0.03800082206726074 nb_pixel_total : 952 time to create 1 rle with old method : 0.0011315345764160156 time for calcul the mask position with numpy : 0.03262925148010254 nb_pixel_total : 1160 time to create 1 rle with old method : 0.0013275146484375 time for calcul the mask position with numpy : 0.03430294990539551 nb_pixel_total : 32121 time to create 1 rle with old method : 0.03561878204345703 time for calcul the mask position with numpy : 0.03186631202697754 nb_pixel_total : 3920 time to create 1 rle with old method : 0.00451350212097168 time for calcul the mask position with numpy : 0.03259921073913574 nb_pixel_total : 1484 time to create 1 rle with old method : 0.0017011165618896484 time for calcul the mask position with numpy : 0.03370070457458496 nb_pixel_total : 3401 time to create 1 rle with old method : 0.004072666168212891 time for calcul the mask position with numpy : 0.0368199348449707 nb_pixel_total : 7434 time to create 1 rle with old method : 0.008700370788574219 time for calcul the mask position with numpy : 0.028011798858642578 nb_pixel_total : 94706 time to create 1 rle with old method : 0.1008903980255127 time for calcul the mask position with numpy : 0.03350830078125 nb_pixel_total : 9841 time to create 1 rle with old method : 0.010920524597167969 time for calcul the mask position with numpy : 0.03775811195373535 nb_pixel_total : 65844 time to create 1 rle with old method : 0.07701420783996582 time for calcul the mask position with numpy : 0.04382681846618652 nb_pixel_total : 3456 time to create 1 rle with old method : 0.0038743019104003906 time for calcul the mask position with numpy : 0.03448057174682617 nb_pixel_total : 118317 time to create 1 rle with old method : 0.1303400993347168 time for calcul the mask position with numpy : 0.033392906188964844 nb_pixel_total : 6510 time to create 1 rle with old method : 0.007212162017822266 time for calcul the mask position with numpy : 0.03392648696899414 nb_pixel_total : 103354 time to create 1 rle with old method : 0.10973620414733887 time for calcul the mask position with numpy : 0.03321051597595215 nb_pixel_total : 3102 time to create 1 rle with old method : 0.0035247802734375 time for calcul the mask position with numpy : 0.033228397369384766 nb_pixel_total : 4254 time to create 1 rle with old method : 0.004700899124145508 time for calcul the mask position with numpy : 0.0336606502532959 nb_pixel_total : 17951 time to create 1 rle with old method : 0.02418065071105957 time for calcul the mask position with numpy : 0.029958724975585938 nb_pixel_total : 1974 time to create 1 rle with old method : 0.0023107528686523438 time for calcul the mask position with numpy : 0.028128385543823242 nb_pixel_total : 164528 time to create 1 rle with new method : 0.4019179344177246 time for calcul the mask position with numpy : 0.02251601219177246 nb_pixel_total : 144720 time to create 1 rle with old method : 0.15744543075561523 time for calcul the mask position with numpy : 0.027405261993408203 nb_pixel_total : 24240 time to create 1 rle with old method : 0.02674388885498047 create new chi : 3.524219512939453 time to delete rle : 0.002016782760620117 batch 1 Loaded 25 chid ids of type : 3726 Number RLEs to save : 15242 TO DO : save crop sub photo not yet done ! save time : 1.0672264099121094 nb_obj : 25 nb_hashtags : 5 time to prepare the origin masks : 10.991558074951172 time for calcul the mask position with numpy : 0.14939069747924805 nb_pixel_total : 6217724 time to create 1 rle with new method : 0.6123182773590088 time for calcul the mask position with numpy : 0.02155017852783203 nb_pixel_total : 107489 time to create 1 rle with old method : 0.11514449119567871 time for calcul the mask position with numpy : 0.02824687957763672 nb_pixel_total : 48534 time to create 1 rle with old method : 0.05206632614135742 time for calcul the mask position with numpy : 0.03480243682861328 nb_pixel_total : 37035 time to create 1 rle with old method : 0.04190635681152344 time for calcul the mask position with numpy : 0.03423285484313965 nb_pixel_total : 5976 time to create 1 rle with old method : 0.006629228591918945 time for calcul the mask position with numpy : 0.034010887145996094 nb_pixel_total : 2851 time to create 1 rle with old method : 0.003205537796020508 time for calcul the mask position with numpy : 0.034049034118652344 nb_pixel_total : 11133 time to create 1 rle with old method : 0.015167474746704102 time for calcul the mask position with numpy : 0.03468155860900879 nb_pixel_total : 789 time to create 1 rle with old method : 0.0009098052978515625 time for calcul the mask position with numpy : 0.03432273864746094 nb_pixel_total : 2572 time to create 1 rle with old method : 0.0029900074005126953 time for calcul the mask position with numpy : 0.03317975997924805 nb_pixel_total : 58669 time to create 1 rle with old method : 0.06485772132873535 time for calcul the mask position with numpy : 0.029662370681762695 nb_pixel_total : 2471 time to create 1 rle with old method : 0.003159761428833008 time for calcul the mask position with numpy : 0.030783653259277344 nb_pixel_total : 2790 time to create 1 rle with old method : 0.0031588077545166016 time for calcul the mask position with numpy : 0.033125877380371094 nb_pixel_total : 16939 time to create 1 rle with old method : 0.018312692642211914 time for calcul the mask position with numpy : 0.020353078842163086 nb_pixel_total : 1846 time to create 1 rle with old method : 0.002118349075317383 time for calcul the mask position with numpy : 0.021210670471191406 nb_pixel_total : 103804 time to create 1 rle with old method : 0.13812685012817383 time for calcul the mask position with numpy : 0.024631261825561523 nb_pixel_total : 64674 time to create 1 rle with old method : 0.0832529067993164 time for calcul the mask position with numpy : 0.02328968048095703 nb_pixel_total : 1750 time to create 1 rle with old method : 0.0022156238555908203 time for calcul the mask position with numpy : 0.022667407989501953 nb_pixel_total : 139103 time to create 1 rle with old method : 0.1528942584991455 time for calcul the mask position with numpy : 0.02186751365661621 nb_pixel_total : 2940 time to create 1 rle with old method : 0.003320455551147461 time for calcul the mask position with numpy : 0.021467924118041992 nb_pixel_total : 4459 time to create 1 rle with old method : 0.0051267147064208984 time for calcul the mask position with numpy : 0.0216062068939209 nb_pixel_total : 16726 time to create 1 rle with old method : 0.018546581268310547 time for calcul the mask position with numpy : 0.022049903869628906 nb_pixel_total : 17675 time to create 1 rle with old method : 0.019372224807739258 time for calcul the mask position with numpy : 0.021852731704711914 nb_pixel_total : 3103 time to create 1 rle with old method : 0.0037424564361572266 time for calcul the mask position with numpy : 0.02225327491760254 nb_pixel_total : 116062 time to create 1 rle with old method : 0.12171316146850586 time for calcul the mask position with numpy : 0.021767616271972656 nb_pixel_total : 39684 time to create 1 rle with old method : 0.04191994667053223 time for calcul the mask position with numpy : 0.020773887634277344 nb_pixel_total : 23442 time to create 1 rle with old method : 0.02527785301208496 create new chi : 2.412621021270752 time to delete rle : 0.0011620521545410156 batch 1 Loaded 26 chid ids of type : 3726 Number RLEs to save : 13954 TO DO : save crop sub photo not yet done ! save time : 0.9108986854553223 nb_obj : 10 nb_hashtags : 5 time to prepare the origin masks : 4.710304021835327 time for calcul the mask position with numpy : 0.34978580474853516 nb_pixel_total : 2911646 time to create 1 rle with new method : 1.2163171768188477 time for calcul the mask position with numpy : 0.025896072387695312 nb_pixel_total : 91199 time to create 1 rle with old method : 0.10569024085998535 time for calcul the mask position with numpy : 0.030627012252807617 nb_pixel_total : 15849 time to create 1 rle with old method : 0.0185091495513916 time for calcul the mask position with numpy : 0.03447914123535156 nb_pixel_total : 3121 time to create 1 rle with old method : 0.0035126209259033203 time for calcul the mask position with numpy : 0.036351680755615234 nb_pixel_total : 100977 time to create 1 rle with old method : 0.11994099617004395 time for calcul the mask position with numpy : 0.037088871002197266 nb_pixel_total : 2664 time to create 1 rle with old method : 0.003057241439819336 time for calcul the mask position with numpy : 0.03794717788696289 nb_pixel_total : 24275 time to create 1 rle with old method : 0.027604341506958008 time for calcul the mask position with numpy : 0.03948807716369629 nb_pixel_total : 263986 time to create 1 rle with new method : 0.5819876194000244 time for calcul the mask position with numpy : 0.032708168029785156 nb_pixel_total : 15712 time to create 1 rle with old method : 0.019888639450073242 time for calcul the mask position with numpy : 0.25500965118408203 nb_pixel_total : 3544758 time to create 1 rle with new method : 0.6099424362182617 time for calcul the mask position with numpy : 0.035788536071777344 nb_pixel_total : 76053 time to create 1 rle with old method : 0.08290576934814453 create new chi : 3.790853500366211 time to delete rle : 0.0017032623291015625 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 15404 TO DO : save crop sub photo not yet done ! save time : 1.1000468730926514 nb_obj : 20 nb_hashtags : 6 time to prepare the origin masks : 10.933875799179077 time for calcul the mask position with numpy : 0.25734758377075195 nb_pixel_total : 5689535 time to create 1 rle with new method : 0.6740148067474365 time for calcul the mask position with numpy : 0.0246737003326416 nb_pixel_total : 98766 time to create 1 rle with old method : 0.1124730110168457 time for calcul the mask position with numpy : 0.03451871871948242 nb_pixel_total : 3415 time to create 1 rle with old method : 0.005855560302734375 time for calcul the mask position with numpy : 0.043202877044677734 nb_pixel_total : 34486 time to create 1 rle with old method : 0.04277682304382324 time for calcul the mask position with numpy : 0.04097628593444824 nb_pixel_total : 30128 time to create 1 rle with old method : 0.03360486030578613 time for calcul the mask position with numpy : 0.03872871398925781 nb_pixel_total : 3930 time to create 1 rle with old method : 0.005177021026611328 time for calcul the mask position with numpy : 0.04011678695678711 nb_pixel_total : 3179 time to create 1 rle with old method : 0.004450082778930664 time for calcul the mask position with numpy : 0.04457807540893555 nb_pixel_total : 237546 time to create 1 rle with new method : 0.7485730648040771 time for calcul the mask position with numpy : 0.03480100631713867 nb_pixel_total : 198208 time to create 1 rle with new method : 0.3817882537841797 time for calcul the mask position with numpy : 0.03794741630554199 nb_pixel_total : 1817 time to create 1 rle with old method : 0.0021643638610839844 time for calcul the mask position with numpy : 0.03884625434875488 nb_pixel_total : 145552 time to create 1 rle with old method : 0.16029644012451172 time for calcul the mask position with numpy : 0.035768747329711914 nb_pixel_total : 282754 time to create 1 rle with new method : 1.9570047855377197 time for calcul the mask position with numpy : 0.03835177421569824 nb_pixel_total : 13727 time to create 1 rle with old method : 0.01519465446472168 time for calcul the mask position with numpy : 0.03690981864929199 nb_pixel_total : 146407 time to create 1 rle with old method : 0.17839479446411133 time for calcul the mask position with numpy : 0.03751802444458008 nb_pixel_total : 7048 time to create 1 rle with old method : 0.0083770751953125 time for calcul the mask position with numpy : 0.040006160736083984 nb_pixel_total : 79489 time to create 1 rle with old method : 0.10424923896789551 time for calcul the mask position with numpy : 0.04368734359741211 nb_pixel_total : 5239 time to create 1 rle with old method : 0.006517648696899414 time for calcul the mask position with numpy : 0.040352582931518555 nb_pixel_total : 12566 time to create 1 rle with old method : 0.016696453094482422 time for calcul the mask position with numpy : 0.0366215705871582 nb_pixel_total : 42040 time to create 1 rle with old method : 0.04586052894592285 time for calcul the mask position with numpy : 0.03614163398742676 nb_pixel_total : 4740 time to create 1 rle with old method : 0.005732536315917969 time for calcul the mask position with numpy : 0.03615236282348633 nb_pixel_total : 9668 time to create 1 rle with old method : 0.010720491409301758 create new chi : 5.651344060897827 time to delete rle : 0.0021178722381591797 batch 1 Loaded 21 chid ids of type : 3726 Number RLEs to save : 16671 TO DO : save crop sub photo not yet done ! save time : 1.1062142848968506 nb_obj : 12 nb_hashtags : 5 time to prepare the origin masks : 6.689564943313599 time for calcul the mask position with numpy : 0.11697649955749512 nb_pixel_total : 3247574 time to create 1 rle with new method : 0.6983470916748047 time for calcul the mask position with numpy : 0.024670124053955078 nb_pixel_total : 129264 time to create 1 rle with old method : 0.13955044746398926 time for calcul the mask position with numpy : 0.021891355514526367 nb_pixel_total : 13503 time to create 1 rle with old method : 0.01532745361328125 time for calcul the mask position with numpy : 0.026433706283569336 nb_pixel_total : 15083 time to create 1 rle with old method : 0.018516063690185547 time for calcul the mask position with numpy : 0.03040313720703125 nb_pixel_total : 114038 time to create 1 rle with old method : 0.12487077713012695 time for calcul the mask position with numpy : 0.03400826454162598 nb_pixel_total : 53043 time to create 1 rle with old method : 0.058005332946777344 time for calcul the mask position with numpy : 0.03782343864440918 nb_pixel_total : 6075 time to create 1 rle with old method : 0.007107734680175781 time for calcul the mask position with numpy : 0.037082672119140625 nb_pixel_total : 258542 time to create 1 rle with new method : 0.7519984245300293 time for calcul the mask position with numpy : 0.04029273986816406 nb_pixel_total : 633322 time to create 1 rle with new method : 0.7887871265411377 time for calcul the mask position with numpy : 0.033551931381225586 nb_pixel_total : 14769 time to create 1 rle with old method : 0.015668630599975586 time for calcul the mask position with numpy : 0.03590655326843262 nb_pixel_total : 737 time to create 1 rle with old method : 0.0016231536865234375 time for calcul the mask position with numpy : 0.057927608489990234 nb_pixel_total : 2478144 time to create 1 rle with new method : 0.5430033206939697 time for calcul the mask position with numpy : 0.040146589279174805 nb_pixel_total : 86146 time to create 1 rle with old method : 0.09415912628173828 create new chi : 3.9107651710510254 time to delete rle : 0.0020377635955810547 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 18491 TO DO : save crop sub photo not yet done ! save time : 1.2674250602722168 map_output_result : {1335610319: (0.0, 'Should be the crop_list due to order', 0.0), 1335610284: (0.0, 'Should be the crop_list due to order', 0.0), 1335610281: (0.0, 'Should be the crop_list due to order', 0.0), 1335610272: (0.0, 'Should be the crop_list due to order', 0.0), 1335610266: (0.0, 'Should be the crop_list due to order', 0.0), 1335610257: (0.0, 'Should be the crop_list due to order', 0.0), 1335609634: (0.0, 'Should be the crop_list due to order', 0.0), 1335609630: (0.0, 'Should be the crop_list due to order', 0.0), 1335609582: (0.0, 'Should be the crop_list due to order', 0.0), 1335609569: (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 [1335610319, 1335610284, 1335610281, 1335610272, 1335610266, 1335610257, 1335609634, 1335609630, 1335609582, 1335609569] Looping around the photos to save general results len do output : 10 /1335610319.Didn't retrieve data . /1335610284.Didn't retrieve data . /1335610281.Didn't retrieve data . /1335610272.Didn't retrieve data . /1335610266.Didn't retrieve data . /1335610257.Didn't retrieve data . /1335609634.Didn't retrieve data . /1335609630.Didn't retrieve data . /1335609582.Didn't retrieve data . /1335609569.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, '2567697') ('3459', '20351862', '1335610319', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610284', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610281', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610272', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610266', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610257', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609634', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609630', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609582', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609569', None, None, None, None, None, '2567697') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013835906982421875 save_final save missing photos in datou_result : time spend for datou_step_exec : 143.67559957504272 time spend to save output : 0.015153169631958008 total time spend for step 5 : 143.69075274467468 step6:crop_condition Fri Feb 7 22:18:59 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 184 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 ! 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/1738963143_1189423 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.0745198726654053 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 ! 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/1738963146_1189423 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.8566265106201172 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! Next one ! Next one ! Next one ! 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/1738963151_1189423 we have uploaded 7 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.4305012226104736 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738963155_1189423 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.1890528202056885 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 4869462 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738963161_1189423 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.2928154468536377 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738963165_1189423 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6373271942138672 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738963168_1189423 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5232934951782227 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 ! 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/1738963170_1189423 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7563879489898682 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 [1335610319, 1335610284, 1335610281, 1335610272, 1335610266, 1335610257, 1335609634, 1335609630, 1335609582, 1335609569] Looping around the photos to save general results len do output : 25 /1335618773Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618774Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618775Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618776Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618779Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618780Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618781Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618782Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618783Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618784Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618785Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618804Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618805Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618806Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618807Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618853Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618855Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618856Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618857Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618858Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618859Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618870Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618911Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618945Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335618947Didn'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, '2567697') ('3459', '20351862', '1335610319', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610284', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610281', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610272', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610266', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610257', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609634', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609630', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609582', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609569', None, None, None, None, None, '2567697') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 85 time used for this insertion : 0.04004383087158203 save_final save missing photos in datou_result : time spend for datou_step_exec : 32.984936475753784 time spend to save output : 0.041198015213012695 total time spend for step 6 : 33.0261344909668 step7:ventilate_hashtags_in_portfolio Fri Feb 7 22:19: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 : 20351862 get user id for portfolio 20351862 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`=20351862 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_brun','mal_croppe','metal','papier','cartonnette','kraft','flou','Carton_gris','plastique','autre_refus','environnement')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20351862 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_brun','mal_croppe','metal','papier','cartonnette','kraft','flou','Carton_gris','plastique','autre_refus','environnement')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20351862 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_brun','mal_croppe','metal','papier','cartonnette','kraft','flou','Carton_gris','plastique','autre_refus','environnement')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20351909,20351910,20351911,20351912,20351913,20351914,20351915,20351916,20351917,20351918,20351919,20351920?tags=Teint_Dans_La_Masse,Carton_brun,mal_croppe,metal,papier,cartonnette,kraft,flou,Carton_gris,plastique,autre_refus,environnement Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1335610319, 1335610284, 1335610281, 1335610272, 1335610266, 1335610257, 1335609634, 1335609630, 1335609582, 1335609569] Looping around the photos to save general results len do output : 1 /20351862. 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, '2567697') ('3459', '20351862', '1335610319', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610284', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610281', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610272', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610266', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610257', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609634', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609630', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609582', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609569', None, None, None, None, None, '2567697') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.0207517147064209 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.432830810546875 time spend to save output : 0.021004199981689453 total time spend for step 7 : 2.4538350105285645 step8:final Fri Feb 7 22:19:34 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 : {1335610319: ('0.1061343927720056',), 1335610284: ('0.1061343927720056',), 1335610281: ('0.1061343927720056',), 1335610272: ('0.1061343927720056',), 1335610266: ('0.1061343927720056',), 1335610257: ('0.1061343927720056',), 1335609634: ('0.1061343927720056',), 1335609630: ('0.1061343927720056',), 1335609582: ('0.1061343927720056',), 1335609569: ('0.1061343927720056',)} new output for save of step final : {1335610319: ('0.1061343927720056',), 1335610284: ('0.1061343927720056',), 1335610281: ('0.1061343927720056',), 1335610272: ('0.1061343927720056',), 1335610266: ('0.1061343927720056',), 1335610257: ('0.1061343927720056',), 1335609634: ('0.1061343927720056',), 1335609630: ('0.1061343927720056',), 1335609582: ('0.1061343927720056',), 1335609569: ('0.1061343927720056',)} [1335610319, 1335610284, 1335610281, 1335610272, 1335610266, 1335610257, 1335609634, 1335609630, 1335609582, 1335609569] Looping around the photos to save general results len do output : 10 /1335610319.Didn't retrieve data . /1335610284.Didn't retrieve data . /1335610281.Didn't retrieve data . /1335610272.Didn't retrieve data . /1335610266.Didn't retrieve data . /1335610257.Didn't retrieve data . /1335609634.Didn't retrieve data . /1335609630.Didn't retrieve data . /1335609582.Didn't retrieve data . /1335609569.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, '2567697') ('3459', '20351862', '1335610319', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610284', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610281', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610272', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610266', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610257', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609634', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609630', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609582', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609569', None, None, None, None, None, '2567697') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.017360210418701172 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1285862922668457 time spend to save output : 0.018175840377807617 total time spend for step 8 : 0.14676213264465332 step9:velours_tree Fri Feb 7 22:19:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.1168825626373291 time spend to save output : 3.695487976074219e-05 total time spend for step 9 : 0.11691951751708984 step10:send_mail_cod Fri Feb 7 22:19: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 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_P20351862_07-02-2025_22_19_35.pdf 20351911 imagette203519111738963175 20351912 change filename to text .change filename to text .imagette203519121738963175 20351914 change filename to text .change filename to text .change filename to text .change filename to text .imagette203519141738963175 20351915 change filename to text .imagette203519151738963175 20351916 imagette203519161738963175 20351918 change filename to text .imagette203519181738963175 20351919 change filename to text .change filename to text .imagette203519191738963175 20351909 change filename to text .change filename to text .imagette203519091738963175 20351910 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette203519101738963176 20351917 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 .imagette203519171738963176 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20351862 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20351909,20351910,20351911,20351912,20351913,20351914,20351915,20351916,20351917,20351918,20351919,20351920?tags=Teint_Dans_La_Masse,Carton_brun,mal_croppe,metal,papier,cartonnette,kraft,flou,Carton_gris,plastique,autre_refus,environnement your option no_mail is active, we will not send the real mail to your client args[1335610319] : ('0.1061343927720056',) no score found for photo 1335610319 apple ('0.1061343927720056',) We are sending mail with results at report@fotonower.com args[1335610284] : ('0.1061343927720056',) no score found for photo 1335610284 apple ('0.1061343927720056',) We are sending mail with results at report@fotonower.com args[1335610281] : ('0.1061343927720056',) no score found for photo 1335610281 apple ('0.1061343927720056',) We are sending mail with results at report@fotonower.com args[1335610272] : ('0.1061343927720056',) no score found for photo 1335610272 apple ('0.1061343927720056',) We are sending mail with results at report@fotonower.com args[1335610266] : ('0.1061343927720056',) no score found for photo 1335610266 apple ('0.1061343927720056',) We are sending mail with results at report@fotonower.com args[1335610257] : ('0.1061343927720056',) no score found for photo 1335610257 apple ('0.1061343927720056',) We are sending mail with results at report@fotonower.com args[1335609634] : ('0.1061343927720056',) no score found for photo 1335609634 apple ('0.1061343927720056',) We are sending mail with results at report@fotonower.com args[1335609630] : ('0.1061343927720056',) no score found for photo 1335609630 apple ('0.1061343927720056',) We are sending mail with results at report@fotonower.com args[1335609582] : ('0.1061343927720056',) no score found for photo 1335609582 apple ('0.1061343927720056',) We are sending mail with results at report@fotonower.com args[1335609569] : ('0.1061343927720056',) no score found for photo 1335609569 apple ('0.1061343927720056',) We are sending mail with results at report@fotonower.com refus_total : 0.1061343927720056 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=20351862 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1335582655,1335610281,1335610272,1335610266,1335610257,1335609634,1335609630,1335609582,1335582666,1335582664,1335582662,1335582658,1335582652,1335609569,1335609410,1335583840,1335610284,1335610319) Found this number of photos: 18 begin to download photo : 1335582655 begin to download photo : 1335610257 begin to download photo : 1335582666 begin to download photo : 1335582652 begin to download photo : 1335610284 download finish for photo 1335582655 begin to download photo : 1335610281 download finish for photo 1335610284 begin to download photo : 1335610319 download finish for photo 1335610257 begin to download photo : 1335609634 download finish for photo 1335582666 begin to download photo : 1335582664 download finish for photo 1335582652 begin to download photo : 1335609569 download finish for photo 1335610281 begin to download photo : 1335610272 download finish for photo 1335610319 download finish for photo 1335582664 begin to download photo : 1335582662 download finish for photo 1335609569 begin to download photo : 1335609410 download finish for photo 1335609634 begin to download photo : 1335609630 download finish for photo 1335582662 begin to download photo : 1335582658 download finish for photo 1335610272 begin to download photo : 1335610266 download finish for photo 1335609630 begin to download photo : 1335609582 download finish for photo 1335609410 begin to download photo : 1335583840 download finish for photo 1335582658 download finish for photo 1335610266 download finish for photo 1335583840 download finish for photo 1335609582 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20351862_07-02-2025_22_19_35.pdf results_Auto_P20351862_07-02-2025_22_19_35.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20351862_07-02-2025_22_19_35.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','20351862','results_Auto_P20351862_07-02-2025_22_19_35.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20351862_07-02-2025_22_19_35.pdf','pdf','','0.76','0.1061343927720056') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1335610319, 1335610284, 1335610281, 1335610272, 1335610266, 1335610257, 1335609634, 1335609630, 1335609582, 1335609569] 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, '2567697') ('3459', '20351862', '1335610319', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610284', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610281', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610272', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610266', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610257', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609634', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609630', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609582', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609569', None, None, None, None, None, '2567697') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.024138450622558594 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.177871227264404 time spend to save output : 0.02446150779724121 total time spend for step 10 : 6.2023327350616455 step11:split_time_score Fri Feb 7 22:19:41 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'}] (('19', 18),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 07022025 20351862 Nombre de photos uploadées : 18 / 23040 (0%) 07022025 20351862 Nombre de photos taguées (types de déchets): 0 / 18 (0%) 07022025 20351862 Nombre de photos taguées (volume) : 0 / 18 (0%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 1.0967254638671875e-05 ?????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0009160041809082031 elapsed_time : insert_dashboard_record_day_entry 0.03379082679748535 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 = 20351770 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351771 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351772 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351773 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351774 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351775 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351776 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351777 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351778 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351779 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351782 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351807 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351814 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351815 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351816 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351817 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351818 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351819 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351820 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351821 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351822 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351841 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351842 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351861 order by id desc limit 1 Qualite : 0.1061343927720056 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20351862_07-02-2025_22_19_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351862 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`=20351862 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351863 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351864 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351865 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351866 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'07022025': {'nb_upload': 18, '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 [1335610319, 1335610284, 1335610281, 1335610272, 1335610266, 1335610257, 1335609634, 1335609630, 1335609582, 1335609569] Looping around the photos to save general results len do output : 1 /20351862Didn'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, '2567697') ('3459', '20351862', '1335610319', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610284', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610281', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610272', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610266', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335610257', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609634', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609630', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609582', None, None, None, None, None, '2567697') ('3459', None, None, None, None, None, None, None, '2567697') ('3459', '20351862', '1335609569', None, None, None, None, None, '2567697') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.015909194946289062 save_final save missing photos in datou_result : time spend for datou_step_exec : 23.924049854278564 time spend to save output : 0.01621413230895996 total time spend for step 11 : 23.940263986587524 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 176.86user 127.49system 5:41.13elapsed 89%CPU (0avgtext+0avgdata 4801804maxresident)k 154000inputs+146640outputs (10122major+13493624minor)pagefaults 0swaps