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 : 1768221 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 : 30>10 please execute split_portfolio.py -i 20675880 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2599601'] with mtr_portfolio_ids : ['20675880'] and first list_photo_ids : [] new path : /proc/1768221/ 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.1622037887573242 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 Thu Feb 20 12:40: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 : 4521 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-20 12:40:32.495473: 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-20 12:40:32.527052: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-20 12:40:32.529105: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f9678000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-20 12:40:32.529154: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-20 12:40:32.533276: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-20 12:40:32.790150: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xa9bd490 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-20 12:40:32.790199: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-20 12:40:32.791634: 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-20 12:40:32.792012: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-20 12:40:32.795035: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-20 12:40:32.806867: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-20 12:40:32.807275: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-20 12:40:32.825803: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-20 12:40:32.827203: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-20 12:40:32.847920: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-20 12:40:32.849634: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-20 12:40:32.849716: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-20 12:40:32.850661: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-20 12:40:32.850685: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-20 12:40:32.850699: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-20 12:40:32.852409: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4069 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-20 12:40:33.124247: 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-20 12:40:33.124343: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-20 12:40:33.124908: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-20 12:40:33.124928: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-20 12:40:33.124947: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-20 12:40:33.124965: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-20 12:40:33.124982: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-20 12:40:33.125000: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-20 12:40:33.126164: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-20 12:40:33.127224: 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-20 12:40:33.127265: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-20 12:40:33.127287: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-20 12:40:33.127307: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-20 12:40:33.127327: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-20 12:40:33.127352: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-20 12:40:33.127371: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-20 12:40:33.127391: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-20 12:40:33.128533: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-20 12:40:33.128567: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-20 12:40:33.128577: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-20 12:40:33.128587: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-20 12:40:33.129806: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4069 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-20 12:40:40.861205: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-20 12:40:41.044814: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-20 12:40:42.338283: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.134369: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-02-20 12:40:43.221685: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.221792: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-20 12:40:43.224205: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.224232: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-20 12:40:43.231260: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.231307: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-20 12:40:43.232367: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.232385: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-20 12:40:43.275578: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.275642: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 19.91MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-20 12:40:43.275656: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-02-20 12:40:43.276737: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.276768: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-20 12:40:43.277833: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.277852: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-20 12:40:43.285176: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.285202: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-20 12:40:43.286260: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.286279: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-20 12:40:43.287348: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.287369: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.26GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-20 12:40:43.288427: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.296908: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.297972: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.313484: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.314351: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.315269: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.316096: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.320205: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.320844: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.321495: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.322166: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.323182: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.333384: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.334023: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.343060: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.343715: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.344493: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.345710: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.346985: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-20 12:40:43.348150: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.47G (3731750912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 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: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 150.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 Detection mask done ! Trying to reset tf kernel 1768897 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 2829 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 : 2676 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.003540515899658203 nb_pixel_total : 208756 time to create 1 rle with new method : 0.009821176528930664 length of segment : 660 time for calcul the mask position with numpy : 0.0175628662109375 nb_pixel_total : 811227 time to create 1 rle with new method : 0.04038739204406738 length of segment : 1564 time for calcul the mask position with numpy : 0.00684666633605957 nb_pixel_total : 486540 time to create 1 rle with new method : 0.017167329788208008 length of segment : 1785 time for calcul the mask position with numpy : 0.0006618499755859375 nb_pixel_total : 38478 time to create 1 rle with old method : 0.041875362396240234 length of segment : 356 time for calcul the mask position with numpy : 0.0014824867248535156 nb_pixel_total : 100748 time to create 1 rle with old method : 0.11194038391113281 length of segment : 389 time for calcul the mask position with numpy : 0.00026345252990722656 nb_pixel_total : 13861 time to create 1 rle with old method : 0.01583266258239746 length of segment : 132 time for calcul the mask position with numpy : 0.013092756271362305 nb_pixel_total : 813141 time to create 1 rle with new method : 0.03439927101135254 length of segment : 1345 time for calcul the mask position with numpy : 0.0009589195251464844 nb_pixel_total : 49072 time to create 1 rle with old method : 0.0542299747467041 length of segment : 609 time for calcul the mask position with numpy : 0.003892183303833008 nb_pixel_total : 189741 time to create 1 rle with new method : 0.0075647830963134766 length of segment : 434 time for calcul the mask position with numpy : 0.002598285675048828 nb_pixel_total : 118046 time to create 1 rle with old method : 0.12365078926086426 length of segment : 898 time for calcul the mask position with numpy : 0.018076419830322266 nb_pixel_total : 946025 time to create 1 rle with new method : 0.036986351013183594 length of segment : 1540 time for calcul the mask position with numpy : 0.0033330917358398438 nb_pixel_total : 293921 time to create 1 rle with new method : 0.008174419403076172 length of segment : 1050 time for calcul the mask position with numpy : 0.015725135803222656 nb_pixel_total : 918549 time to create 1 rle with new method : 0.034653425216674805 length of segment : 2042 time for calcul the mask position with numpy : 0.00031375885009765625 nb_pixel_total : 3694 time to create 1 rle with old method : 0.005789995193481445 length of segment : 61 time for calcul the mask position with numpy : 0.00445556640625 nb_pixel_total : 354376 time to create 1 rle with new method : 0.013740777969360352 length of segment : 2065 time for calcul the mask position with numpy : 0.0001590251922607422 nb_pixel_total : 2671 time to create 1 rle with old method : 0.004784345626831055 length of segment : 38 time for calcul the mask position with numpy : 0.01778101921081543 nb_pixel_total : 979212 time to create 1 rle with new method : 0.0334169864654541 length of segment : 1177 time for calcul the mask position with numpy : 0.0001900196075439453 nb_pixel_total : 4803 time to create 1 rle with old method : 0.005951404571533203 length of segment : 162 time for calcul the mask position with numpy : 0.0007746219635009766 nb_pixel_total : 60317 time to create 1 rle with old method : 0.0662236213684082 length of segment : 313 time for calcul the mask position with numpy : 0.0004961490631103516 nb_pixel_total : 30814 time to create 1 rle with old method : 0.03396320343017578 length of segment : 203 time for calcul the mask position with numpy : 0.0003638267517089844 nb_pixel_total : 12924 time to create 1 rle with old method : 0.016349315643310547 length of segment : 249 time for calcul the mask position with numpy : 0.0004944801330566406 nb_pixel_total : 31180 time to create 1 rle with old method : 0.03582167625427246 length of segment : 263 time for calcul the mask position with numpy : 0.012927770614624023 nb_pixel_total : 739642 time to create 1 rle with new method : 0.03377199172973633 length of segment : 1365 time for calcul the mask position with numpy : 0.0003752708435058594 nb_pixel_total : 24014 time to create 1 rle with old method : 0.027014970779418945 length of segment : 151 time for calcul the mask position with numpy : 0.0005474090576171875 nb_pixel_total : 19973 time to create 1 rle with old method : 0.02355337142944336 length of segment : 201 time for calcul the mask position with numpy : 0.011583566665649414 nb_pixel_total : 621086 time to create 1 rle with new method : 0.03164100646972656 length of segment : 1424 time for calcul the mask position with numpy : 0.00017070770263671875 nb_pixel_total : 7011 time to create 1 rle with old method : 0.008763551712036133 length of segment : 112 time for calcul the mask position with numpy : 0.0033240318298339844 nb_pixel_total : 305140 time to create 1 rle with new method : 0.0076389312744140625 length of segment : 1155 time for calcul the mask position with numpy : 0.004585742950439453 nb_pixel_total : 250009 time to create 1 rle with new method : 0.011615991592407227 length of segment : 765 time for calcul the mask position with numpy : 0.012005090713500977 nb_pixel_total : 806461 time to create 1 rle with new method : 0.03351569175720215 length of segment : 1456 time for calcul the mask position with numpy : 0.001135110855102539 nb_pixel_total : 48236 time to create 1 rle with old method : 0.053297996520996094 length of segment : 182 time for calcul the mask position with numpy : 0.002472400665283203 nb_pixel_total : 107099 time to create 1 rle with old method : 0.12202095985412598 length of segment : 673 time for calcul the mask position with numpy : 0.020707130432128906 nb_pixel_total : 1288814 time to create 1 rle with new method : 0.04633593559265137 length of segment : 1910 time for calcul the mask position with numpy : 0.0029010772705078125 nb_pixel_total : 198876 time to create 1 rle with new method : 0.0082550048828125 length of segment : 780 time for calcul the mask position with numpy : 0.0037109851837158203 nb_pixel_total : 297793 time to create 1 rle with new method : 0.00754547119140625 length of segment : 937 time for calcul the mask position with numpy : 0.0011525154113769531 nb_pixel_total : 80913 time to create 1 rle with old method : 0.08961677551269531 length of segment : 483 time for calcul the mask position with numpy : 0.022934436798095703 nb_pixel_total : 1639948 time to create 1 rle with new method : 0.20137572288513184 length of segment : 1414 time for calcul the mask position with numpy : 0.003557443618774414 nb_pixel_total : 325625 time to create 1 rle with new method : 0.00705409049987793 length of segment : 966 time spent for convertir_results : 6.487934589385986 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 38 chid ids of type : 3663 Number RLEs to save : 31309 save missing photos in datou_result : time spend for datou_step_exec : 29.841400146484375 time spend to save output : 1.7193002700805664 total time spend for step 1 : 31.56070041656494 step2:crop_condition Thu Feb 20 12:41:01 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 38 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 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 ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 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 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 ! 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 : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1338580615, 1338580611, 1338580604, 1338580600, 1338580568, 1338580564, 1338580554, 1338580550, 1338580533, 1338580491] Looping around the photos to save general results len do output : 10 /-3680507180Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680507186Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680507172Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680507191Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680507202Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680507170Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680507187Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680507185Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680507197Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3680507190Didn'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, '2599601') ('3459', '20675880', '1338580615', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580611', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580604', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580600', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580568', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580564', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580554', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580550', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580533', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580491', None, None, None, None, None, '2599601') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 time used for this insertion : 0.020656824111938477 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.79643177986145 time spend to save output : 0.021456480026245117 total time spend for step 2 : 2.8178882598876953 step3:thcl Thu Feb 20 12:41:04 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.05502676963806152 time to convert the images to numpy array : 0.003950357437133789 time to import caffe and check if the image exist : 0.05581045150756836 time to convert the images to numpy array : 0.007194995880126953 time to import caffe and check if the image exist : 0.05523037910461426 time to convert the images to numpy array : 0.008115053176879883 time to import caffe and check if the image exist : 0.055188894271850586 time to convert the images to numpy array : 0.008310317993164062 time to import caffe and check if the image exist : 0.0546870231628418 time to convert the images to numpy array : 0.00980520248413086 time to import caffe and check if the image exist : 0.05436205863952637 time to convert the images to numpy array : 0.01083683967590332 time to import caffe and check if the image exist : 0.05304837226867676 time to convert the images to numpy array : 0.01382303237915039 time to import caffe and check if the image exist : 0.05464959144592285 time to convert the images to numpy array : 0.012519359588623047 time to import caffe and check if the image exist : 0.05451464653015137 time to convert the images to numpy array : 0.014157533645629883 time to import caffe and check if the image exist : 0.05617976188659668 time to convert the images to numpy array : 0.012971878051757812 total time to convert the images to numpy array : 0.4019501209259033 list photo_ids error: [] list photo_ids correct : [-3680507180, -3680507172, -3680507187, -3680507190, -3680507191, -3680507186, -3680507170, -3680507197, -3680507202, -3680507185] number of photos to traite : 10 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 : 4521 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 : 4302 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.0984196662902832 time used to do the prediction : 0.054668426513671875 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 : 4300 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 : 4300 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.07974863052368164 time used to do the prediction : 0.03565812110900879 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.239776611328125e-05 save missing photos in datou_result : time spend for datou_step_exec : 7.623421669006348 time spend to save output : 0.0001952648162841797 total time spend for step 3 : 7.623616933822632 step4:merge_mask_thcl_custom Thu Feb 20 12:41:11 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 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 38 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 [1338580615, 1338580611, 1338580604, 1338580600, 1338580568, 1338580564, 1338580554, 1338580550, 1338580533, 1338580491] Looping around the photos to save general results len do output : 10 /1338580615Didn't retrieve data .Didn't retrieve data . /1338580611Didn't retrieve data .Didn't retrieve data . /1338580604Didn't retrieve data .Didn't retrieve data . /1338580600Didn't retrieve data .Didn't retrieve data . /1338580568Didn't retrieve data .Didn't retrieve data . /1338580564Didn't retrieve data .Didn't retrieve data . /1338580554Didn't retrieve data .Didn't retrieve data . /1338580550Didn't retrieve data .Didn't retrieve data . /1338580533Didn't retrieve data .Didn't retrieve data . /1338580491Didn'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, '2599601') ('3459', '20675880', '1338580615', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580611', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580604', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580600', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580568', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580564', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580554', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580550', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580533', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580491', None, None, None, None, None, '2599601') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014096498489379883 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.04705405235290527 time spend to save output : 0.014563560485839844 total time spend for step 4 : 0.06161761283874512 step5:rle_unique_nms_with_priority Thu Feb 20 12:41:11 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 : 5 nb_hashtags : 2 time to prepare the origin masks : 1.5077011585235596 time for calcul the mask position with numpy : 0.028944730758666992 nb_pixel_total : 893744 time to create 1 rle with new method : 0.11112403869628906 time for calcul the mask position with numpy : 0.00609278678894043 nb_pixel_total : 39140 time to create 1 rle with old method : 0.03961038589477539 time for calcul the mask position with numpy : 0.0060765743255615234 nb_pixel_total : 58538 time to create 1 rle with old method : 0.05920076370239258 time for calcul the mask position with numpy : 0.007372856140136719 nb_pixel_total : 188147 time to create 1 rle with new method : 0.9714014530181885 time for calcul the mask position with numpy : 0.021564483642578125 nb_pixel_total : 685534 time to create 1 rle with new method : 0.16276049613952637 time for calcul the mask position with numpy : 0.007871627807617188 nb_pixel_total : 208497 time to create 1 rle with new method : 0.0835118293762207 create new chi : 1.535867691040039 time to delete rle : 0.02600693702697754 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 7835 TO DO : save crop sub photo not yet done ! save time : 0.46756410598754883 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 1.0994374752044678 time for calcul the mask position with numpy : 0.03750872611999512 nb_pixel_total : 1072429 time to create 1 rle with new method : 0.43881750106811523 time for calcul the mask position with numpy : 0.006265878677368164 nb_pixel_total : 11135 time to create 1 rle with old method : 0.012018680572509766 time for calcul the mask position with numpy : 0.010836601257324219 nb_pixel_total : 104000 time to create 1 rle with old method : 0.1122431755065918 time for calcul the mask position with numpy : 0.0066051483154296875 nb_pixel_total : 48985 time to create 1 rle with old method : 0.053282737731933594 time for calcul the mask position with numpy : 0.015350103378295898 nb_pixel_total : 837051 time to create 1 rle with new method : 0.3374967575073242 create new chi : 1.0382890701293945 time to delete rle : 0.00024056434631347656 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 4922 TO DO : save crop sub photo not yet done ! save time : 0.3026762008666992 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.3279449939727783 time for calcul the mask position with numpy : 0.012951374053955078 nb_pixel_total : 937821 time to create 1 rle with new method : 0.2772846221923828 time for calcul the mask position with numpy : 0.007185459136962891 nb_pixel_total : 116818 time to create 1 rle with old method : 0.1276414394378662 time for calcul the mask position with numpy : 0.013144969940185547 nb_pixel_total : 901172 time to create 1 rle with new method : 0.08462405204772949 time for calcul the mask position with numpy : 0.006844043731689453 nb_pixel_total : 117789 time to create 1 rle with old method : 0.1249995231628418 create new chi : 0.6715848445892334 time to delete rle : 0.0003268718719482422 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 6268 TO DO : save crop sub photo not yet done ! save time : 0.36266207695007324 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.6730859279632568 time for calcul the mask position with numpy : 0.03247785568237305 nb_pixel_total : 978758 time to create 1 rle with new method : 0.28884458541870117 time for calcul the mask position with numpy : 0.007378339767456055 nb_pixel_total : 176920 time to create 1 rle with new method : 0.07717418670654297 time for calcul the mask position with numpy : 0.012418746948242188 nb_pixel_total : 914235 time to create 1 rle with new method : 0.18314671516418457 time for calcul the mask position with numpy : 0.0063190460205078125 nb_pixel_total : 3687 time to create 1 rle with old method : 0.0042192935943603516 create new chi : 0.6305902004241943 time to delete rle : 0.00047016143798828125 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 7059 TO DO : save crop sub photo not yet done ! save time : 0.4214162826538086 nb_obj : 6 nb_hashtags : 4 time to prepare the origin masks : 1.0974326133728027 time for calcul the mask position with numpy : 0.04112601280212402 nb_pixel_total : 977774 time to create 1 rle with new method : 0.26427125930786133 time for calcul the mask position with numpy : 0.0064542293548583984 nb_pixel_total : 30744 time to create 1 rle with old method : 0.033229827880859375 time for calcul the mask position with numpy : 0.0063228607177734375 nb_pixel_total : 12811 time to create 1 rle with old method : 0.014416694641113281 time for calcul the mask position with numpy : 0.006712913513183594 nb_pixel_total : 60260 time to create 1 rle with old method : 0.06471109390258789 time for calcul the mask position with numpy : 0.006228446960449219 nb_pixel_total : 4785 time to create 1 rle with old method : 0.00534510612487793 time for calcul the mask position with numpy : 0.012783050537109375 nb_pixel_total : 984562 time to create 1 rle with new method : 0.4627528190612793 time for calcul the mask position with numpy : 0.006475925445556641 nb_pixel_total : 2664 time to create 1 rle with old method : 0.0030090808868408203 create new chi : 0.9530959129333496 time to delete rle : 0.00024890899658203125 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 5046 TO DO : save crop sub photo not yet done ! save time : 0.3224906921386719 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.2438647747039795 time for calcul the mask position with numpy : 0.015032052993774414 nb_pixel_total : 1293593 time to create 1 rle with new method : 0.1462874412536621 time for calcul the mask position with numpy : 0.006204843521118164 nb_pixel_total : 22328 time to create 1 rle with old method : 0.023401975631713867 time for calcul the mask position with numpy : 0.006280660629272461 nb_pixel_total : 19832 time to create 1 rle with old method : 0.02116537094116211 time for calcul the mask position with numpy : 0.011351823806762695 nb_pixel_total : 737847 time to create 1 rle with new method : 0.029706478118896484 create new chi : 0.2600364685058594 time to delete rle : 0.00019502639770507812 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 4465 TO DO : save crop sub photo not yet done ! save time : 0.27248048782348633 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.3138735294342041 time for calcul the mask position with numpy : 0.017859458923339844 nb_pixel_total : 1359773 time to create 1 rle with new method : 0.1837921142578125 time for calcul the mask position with numpy : 0.007711172103881836 nb_pixel_total : 85868 time to create 1 rle with old method : 0.10125279426574707 time for calcul the mask position with numpy : 0.0062367916107177734 nb_pixel_total : 6990 time to create 1 rle with old method : 0.00741267204284668 time for calcul the mask position with numpy : 0.013374090194702148 nb_pixel_total : 620969 time to create 1 rle with new method : 0.08607912063598633 create new chi : 0.43345046043395996 time to delete rle : 0.0002803802490234375 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 4956 TO DO : save crop sub photo not yet done ! save time : 0.3039679527282715 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.3140523433685303 time for calcul the mask position with numpy : 0.15703105926513672 nb_pixel_total : 1161959 time to create 1 rle with new method : 0.29894137382507324 time for calcul the mask position with numpy : 0.007765531539916992 nb_pixel_total : 30313 time to create 1 rle with old method : 0.04336047172546387 time for calcul the mask position with numpy : 0.011921167373657227 nb_pixel_total : 631481 time to create 1 rle with new method : 0.0905447006225586 time for calcul the mask position with numpy : 0.008172273635864258 nb_pixel_total : 249847 time to create 1 rle with new method : 0.38724517822265625 create new chi : 1.0216407775878906 time to delete rle : 0.00034165382385253906 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 5523 TO DO : save crop sub photo not yet done ! save time : 0.33520054817199707 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.6785025596618652 time for calcul the mask position with numpy : 0.009824514389038086 nb_pixel_total : 536324 time to create 1 rle with new method : 0.08605432510375977 time for calcul the mask position with numpy : 0.0060269832611083984 nb_pixel_total : 46849 time to create 1 rle with old method : 0.04909682273864746 time for calcul the mask position with numpy : 0.0063800811767578125 nb_pixel_total : 78530 time to create 1 rle with old method : 0.0810096263885498 time for calcul the mask position with numpy : 0.006457328796386719 nb_pixel_total : 19381 time to create 1 rle with old method : 0.020659446716308594 time for calcul the mask position with numpy : 0.23080158233642578 nb_pixel_total : 1285845 time to create 1 rle with new method : 0.09012198448181152 time for calcul the mask position with numpy : 0.007124185562133789 nb_pixel_total : 106671 time to create 1 rle with old method : 0.1130514144897461 create new chi : 0.722637414932251 time to delete rle : 0.0003895759582519531 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 7013 TO DO : save crop sub photo not yet done ! save time : 0.44117116928100586 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.16328644752502441 time for calcul the mask position with numpy : 0.008705615997314453 nb_pixel_total : 383910 time to create 1 rle with new method : 0.32935523986816406 time for calcul the mask position with numpy : 0.006845235824584961 nb_pixel_total : 51555 time to create 1 rle with old method : 0.05451822280883789 time for calcul the mask position with numpy : 0.017571449279785156 nb_pixel_total : 1638135 time to create 1 rle with new method : 0.05417132377624512 create new chi : 0.47924280166625977 time to delete rle : 0.00040030479431152344 batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 4771 TO DO : save crop sub photo not yet done ! save time : 0.3123159408569336 map_output_result : {1338580615: (0.0, 'Should be the crop_list due to order', 0), 1338580611: (0.0, 'Should be the crop_list due to order', 0), 1338580604: (0.0, 'Should be the crop_list due to order', 0), 1338580600: (0.0, 'Should be the crop_list due to order', 0), 1338580568: (0.0, 'Should be the crop_list due to order', 0), 1338580564: (0.0, 'Should be the crop_list due to order', 0), 1338580554: (0.0, 'Should be the crop_list due to order', 0), 1338580550: (0.0, 'Should be the crop_list due to order', 0), 1338580533: (0.0, 'Should be the crop_list due to order', 0), 1338580491: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1338580615, 1338580611, 1338580604, 1338580600, 1338580568, 1338580564, 1338580554, 1338580550, 1338580533, 1338580491] Looping around the photos to save general results len do output : 10 /1338580615.Didn't retrieve data . /1338580611.Didn't retrieve data . /1338580604.Didn't retrieve data . /1338580600.Didn't retrieve data . /1338580568.Didn't retrieve data . /1338580564.Didn't retrieve data . /1338580554.Didn't retrieve data . /1338580550.Didn't retrieve data . /1338580533.Didn't retrieve data . /1338580491.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, '2599601') ('3459', '20675880', '1338580615', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580611', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580604', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580600', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580568', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580564', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580554', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580550', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580533', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580491', None, None, None, None, None, '2599601') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.015172004699707031 save_final save missing photos in datou_result : time spend for datou_step_exec : 18.039642572402954 time spend to save output : 0.01574420928955078 total time spend for step 5 : 18.055386781692505 step6:crop_condition Thu Feb 20 12:41: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 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 47 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 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 ! 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/1740051690_1768221 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6623668670654297 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 begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740051691_1768221 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.645057201385498 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 ! 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/1740051692_1768221 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.598374605178833 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 map_result returned by crop_photo_return_map_crop : length : 0 About to insert : list_path_to_insert length 0 new photo from crops ! About to upload 0 photos WARNING : list_path_to_insert is empty, cannot upload ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1338580615, 1338580611, 1338580604, 1338580600, 1338580568, 1338580564, 1338580554, 1338580550, 1338580533, 1338580491] Looping around the photos to save general results len do output : 3 /1338588215Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338588217Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338588219Didn'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, '2599601') ('3459', '20675880', '1338580615', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580611', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580604', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580600', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580568', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580564', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580554', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580550', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580533', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580491', None, None, None, None, None, '2599601') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.021706104278564453 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.034903287887573 time spend to save output : 0.022139310836791992 total time spend for step 6 : 4.057042598724365 step7:ventilate_hashtags_in_portfolio Thu Feb 20 12:41:33 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 : 20675880 get user id for portfolio 20675880 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`=20675880 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','cartonnette','plastique','papier','kraft','mal_croppe','Carton_brun','flou','metal','autre_refus','Teint_Dans_La_Masse','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`=20675880 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','cartonnette','plastique','papier','kraft','mal_croppe','Carton_brun','flou','metal','autre_refus','Teint_Dans_La_Masse','environnement')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20675880 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','cartonnette','plastique','papier','kraft','mal_croppe','Carton_brun','flou','metal','autre_refus','Teint_Dans_La_Masse','environnement')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20676061,20676062,20676063,20676064,20676065,20676066,20676067,20676068,20676069,20676070,20676071,20676072?tags=Carton_gris,cartonnette,plastique,papier,kraft,mal_croppe,Carton_brun,flou,metal,autre_refus,Teint_Dans_La_Masse,environnement Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1338580615, 1338580611, 1338580604, 1338580600, 1338580568, 1338580564, 1338580554, 1338580550, 1338580533, 1338580491] Looping around the photos to save general results len do output : 1 /20675880. 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, '2599601') ('3459', '20675880', '1338580615', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580611', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580604', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580600', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580568', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580564', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580554', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580550', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580533', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580491', None, None, None, None, None, '2599601') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013869762420654297 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6607732772827148 time spend to save output : 0.014145135879516602 total time spend for step 7 : 0.6749184131622314 step8:final Thu Feb 20 12:41: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 : {1338580615: ('0.7288574709855979',), 1338580611: ('0.7288574709855979',), 1338580604: ('0.7288574709855979',), 1338580600: ('0.7288574709855979',), 1338580568: ('0.7288574709855979',), 1338580564: ('0.7288574709855979',), 1338580554: ('0.7288574709855979',), 1338580550: ('0.7288574709855979',), 1338580533: ('0.7288574709855979',), 1338580491: ('0.7288574709855979',)} new output for save of step final : {1338580615: ('0.7288574709855979',), 1338580611: ('0.7288574709855979',), 1338580604: ('0.7288574709855979',), 1338580600: ('0.7288574709855979',), 1338580568: ('0.7288574709855979',), 1338580564: ('0.7288574709855979',), 1338580554: ('0.7288574709855979',), 1338580550: ('0.7288574709855979',), 1338580533: ('0.7288574709855979',), 1338580491: ('0.7288574709855979',)} [1338580615, 1338580611, 1338580604, 1338580600, 1338580568, 1338580564, 1338580554, 1338580550, 1338580533, 1338580491] Looping around the photos to save general results len do output : 10 /1338580615.Didn't retrieve data . /1338580611.Didn't retrieve data . /1338580604.Didn't retrieve data . /1338580600.Didn't retrieve data . /1338580568.Didn't retrieve data . /1338580564.Didn't retrieve data . /1338580554.Didn't retrieve data . /1338580550.Didn't retrieve data . /1338580533.Didn't retrieve data . /1338580491.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, '2599601') ('3459', '20675880', '1338580615', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580611', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580604', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580600', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580568', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580564', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580554', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580550', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580533', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580491', None, None, None, None, None, '2599601') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013913393020629883 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10561943054199219 time spend to save output : 0.01442265510559082 total time spend for step 8 : 0.12004208564758301 step9:velours_tree Thu Feb 20 12:41: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.07328653335571289 time spend to save output : 3.790855407714844e-05 total time spend for step 9 : 0.07332444190979004 step10:send_mail_cod Thu Feb 20 12:41: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 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_P20675880_20-02-2025_12_41_34.pdf 20676062 change filename to text .imagette206760621740051694 20676063 imagette206760631740051694 20676065 imagette206760651740051694 20676066 imagette206760661740051694 20676068 imagette206760681740051694 20676069 imagette206760691740051694 20676070 change filename to text .imagette206760701740051694 20676061 imagette206760611740051694 20676067 change filename to text .imagette206760671740051694 20676071 imagette206760711740051694 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20675880 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20676061,20676062,20676063,20676064,20676065,20676066,20676067,20676068,20676069,20676070,20676071,20676072?tags=Carton_gris,cartonnette,plastique,papier,kraft,mal_croppe,Carton_brun,flou,metal,autre_refus,Teint_Dans_La_Masse,environnement your option no_mail is active, we will not send the real mail to your client args[1338580615] : ('0.7288574709855979',) no score found for photo 1338580615 We are sending mail with results at report@fotonower.com args[1338580611] : ('0.7288574709855979',) no score found for photo 1338580611 We are sending mail with results at report@fotonower.com args[1338580604] : ('0.7288574709855979',) no score found for photo 1338580604 We are sending mail with results at report@fotonower.com args[1338580600] : ('0.7288574709855979',) no score found for photo 1338580600 We are sending mail with results at report@fotonower.com args[1338580568] : ('0.7288574709855979',) no score found for photo 1338580568 We are sending mail with results at report@fotonower.com args[1338580564] : ('0.7288574709855979',) no score found for photo 1338580564 We are sending mail with results at report@fotonower.com args[1338580554] : ('0.7288574709855979',) no score found for photo 1338580554 We are sending mail with results at report@fotonower.com args[1338580550] : ('0.7288574709855979',) no score found for photo 1338580550 We are sending mail with results at report@fotonower.com args[1338580533] : ('0.7288574709855979',) no score found for photo 1338580533 We are sending mail with results at report@fotonower.com args[1338580491] : ('0.7288574709855979',) no score found for photo 1338580491 We are sending mail with results at report@fotonower.com refus_total : 0.7288574709855979 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=20675880 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 error for generate pdf : ... must have at least a row and column Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1338580615, 1338580611, 1338580604, 1338580600, 1338580568, 1338580564, 1338580554, 1338580550, 1338580533, 1338580491] 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, '2599601') ('3459', '20675880', '1338580615', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580611', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580604', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580600', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580568', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580564', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580554', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580550', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580533', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580491', None, None, None, None, None, '2599601') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.014536619186401367 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4610881805419922 time spend to save output : 0.014748573303222656 total time spend for step 10 : 0.47583675384521484 step11:split_time_score Thu Feb 20 12:41: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 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'}] (('07', 30),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 20022025 20675880 Nombre de photos uploadées : 30 / 23040 (0%) 20022025 20675880 Nombre de photos taguées (types de déchets): 0 / 30 (0%) 20022025 20675880 Nombre de photos taguées (volume) : 0 / 30 (0%) elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ?????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014293193817138672 elapsed_time : insert_dashboard_record_day_entry 0.022533893585205078 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.7288574709855979 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20675880 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`=20675880 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20675881 order by id desc limit 1 Qualite : 0.8491151450985582 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20675882_20-02-2025_12_39_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20675882 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`=20675882 AND mptpi.`type`=3726 To do Qualite : 0.821078677844107 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20675883_20-02-2025_12_29_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20675883 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`=20675883 AND mptpi.`type`=3726 To do Qualite : 0.7251582331622511 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20675884_20-02-2025_12_32_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20675884 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`=20675884 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20675885 order by id desc limit 1 Qualite : 0.7300240744090851 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20675886_20-02-2025_12_20_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20675886 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`=20675886 AND mptpi.`type`=3726 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'20022025': {'nb_upload': 30, '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 [1338580615, 1338580611, 1338580604, 1338580600, 1338580568, 1338580564, 1338580554, 1338580550, 1338580533, 1338580491] Looping around the photos to save general results len do output : 1 /20675880Didn'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, '2599601') ('3459', '20675880', '1338580615', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580611', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580604', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580600', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580568', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580564', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580554', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580550', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580533', None, None, None, None, None, '2599601') ('3459', None, None, None, None, None, None, None, '2599601') ('3459', '20675880', '1338580491', None, None, None, None, None, '2599601') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013833045959472656 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.74058198928833 time spend to save output : 0.014089584350585938 total time spend for step 11 : 2.754671573638916 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 32.86user 30.83system 1:12.15elapsed 88%CPU (0avgtext+0avgdata 2533240maxresident)k 676296inputs+11760outputs (7391major+1921289minor)pagefaults 0swaps