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 : 2349915 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 : 44>10 please execute split_portfolio.py -i 20528860 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2584387'] with mtr_portfolio_ids : ['20528860'] and first list_photo_ids : [] new path : /proc/2349915/ 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.4456243515014648 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Fri Feb 14 00:28: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 havn't enough memory gpu , need / 3000 l 3632 free memory gpu now : 1801 wait 20 seconds l 3637 free memory gpu now : 1801 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-14 00:28:52.810726: 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-14 00:28:52.835137: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-14 00:28:52.837273: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f50c8000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-14 00:28:52.837334: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-14 00:28:52.841409: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-14 00:28:53.112041: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3d417a80 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-14 00:28:53.112089: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-14 00:28:53.112997: 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-14 00:28:53.118102: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-14 00:28:53.200776: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-14 00:28:53.203774: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-14 00:28:53.215779: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-14 00:28:53.219203: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-14 00:28:53.221125: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-14 00:28:53.229638: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-14 00:28:53.231014: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-14 00:28:53.231147: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-14 00:28:53.231848: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-14 00:28:53.231868: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-14 00:28:53.231880: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-14 00:28:53.233760: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1424 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-14 00:28:53.998240: 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-14 00:28:53.998375: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-14 00:28:53.998394: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-14 00:28:53.998410: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-14 00:28:53.998426: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-14 00:28:53.998441: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-14 00:28:53.998457: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-14 00:28:53.998472: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-14 00:28:53.999165: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-14 00:28:54.000082: 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-14 00:28:54.000114: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-14 00:28:54.000132: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-14 00:28:54.000148: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-14 00:28:54.000163: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-14 00:28:54.000179: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-14 00:28:54.000194: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-14 00:28:54.000210: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-14 00:28:54.000918: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-14 00:28:54.000951: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-14 00:28:54.000959: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-14 00:28:54.000966: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-14 00:28:54.001678: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1424 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-14 00:29:04.495581: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-14 00:29:04.798347: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-14 00:29:06.468606: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-14 00:29:06.468813: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-14 00:29:06.475696: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-14 00:29:06.475740: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-14 00:29:06.527780: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-14 00:29:06.527851: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-14 00:29:06.571189: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB 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-14 00:29:06.571232: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB 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-14 00:29:06.618600: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB 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-14 00:29:06.618652: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB 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-14 00:29:06.645429: 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-14 00:29:06.660778: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.661831: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 822.49M (862440704 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.850169: 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-14 00:29:06.868675: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.869720: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.875968: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.877274: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.893917: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.895729: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.902815: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.904429: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.906340: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.907827: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.918548: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.919150: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.919717: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.920254: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.920766: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.921266: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.966333: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.966430: 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-14 00:29:06.967469: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.968412: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.975517: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.976187: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.984023: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:06.984563: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:07.006133: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:07.007035: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:07.007911: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:07.008767: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:07.013186: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:07.014091: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:07.015053: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:07.015950: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:07.018314: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:07.027029: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:07.027571: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:07.036448: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:07.036999: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:07.037544: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:07.038076: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:07.038633: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-14 00:29:07.039258: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 913.88M (958267392 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: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 20 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 24 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 11 Detection mask done ! Trying to reset tf kernel 2350867 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 829 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 : 5801 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.00031685829162597656 nb_pixel_total : 8651 time to create 1 rle with old method : 0.00962209701538086 length of segment : 58 time for calcul the mask position with numpy : 0.001272439956665039 nb_pixel_total : 54409 time to create 1 rle with old method : 0.055672407150268555 length of segment : 337 time for calcul the mask position with numpy : 0.0006437301635742188 nb_pixel_total : 37997 time to create 1 rle with old method : 0.03961586952209473 length of segment : 312 time for calcul the mask position with numpy : 0.0011086463928222656 nb_pixel_total : 55506 time to create 1 rle with old method : 0.08388423919677734 length of segment : 294 time for calcul the mask position with numpy : 0.0026814937591552734 nb_pixel_total : 100591 time to create 1 rle with old method : 0.10417485237121582 length of segment : 414 time for calcul the mask position with numpy : 0.00013446807861328125 nb_pixel_total : 2882 time to create 1 rle with old method : 0.0032377243041992188 length of segment : 112 time for calcul the mask position with numpy : 0.0004761219024658203 nb_pixel_total : 25617 time to create 1 rle with old method : 0.026833057403564453 length of segment : 191 time for calcul the mask position with numpy : 0.0011205673217773438 nb_pixel_total : 46037 time to create 1 rle with old method : 0.04981184005737305 length of segment : 354 time for calcul the mask position with numpy : 0.0004906654357910156 nb_pixel_total : 12082 time to create 1 rle with old method : 0.01261448860168457 length of segment : 248 time for calcul the mask position with numpy : 0.00017499923706054688 nb_pixel_total : 8064 time to create 1 rle with old method : 0.008699178695678711 length of segment : 64 time for calcul the mask position with numpy : 6.604194641113281e-05 nb_pixel_total : 998 time to create 1 rle with old method : 0.001132965087890625 length of segment : 61 time for calcul the mask position with numpy : 0.0012865066528320312 nb_pixel_total : 88924 time to create 1 rle with old method : 0.08816099166870117 length of segment : 497 time for calcul the mask position with numpy : 0.00017070770263671875 nb_pixel_total : 5575 time to create 1 rle with old method : 0.006117343902587891 length of segment : 67 time for calcul the mask position with numpy : 0.004033327102661133 nb_pixel_total : 149846 time to create 1 rle with old method : 0.14710378646850586 length of segment : 380 time for calcul the mask position with numpy : 0.0003676414489746094 nb_pixel_total : 21271 time to create 1 rle with old method : 0.022196531295776367 length of segment : 181 time for calcul the mask position with numpy : 0.0012612342834472656 nb_pixel_total : 70444 time to create 1 rle with old method : 0.0727548599243164 length of segment : 348 time for calcul the mask position with numpy : 0.0010900497436523438 nb_pixel_total : 35178 time to create 1 rle with old method : 0.03728342056274414 length of segment : 301 time for calcul the mask position with numpy : 0.0005691051483154297 nb_pixel_total : 21633 time to create 1 rle with old method : 0.02298450469970703 length of segment : 352 time for calcul the mask position with numpy : 0.0022733211517333984 nb_pixel_total : 92434 time to create 1 rle with old method : 0.0965571403503418 length of segment : 419 time for calcul the mask position with numpy : 0.0012357234954833984 nb_pixel_total : 69248 time to create 1 rle with old method : 0.07165980339050293 length of segment : 363 time for calcul the mask position with numpy : 0.0016918182373046875 nb_pixel_total : 92567 time to create 1 rle with old method : 0.09370136260986328 length of segment : 415 time for calcul the mask position with numpy : 0.0004923343658447266 nb_pixel_total : 20298 time to create 1 rle with old method : 0.021059036254882812 length of segment : 329 time for calcul the mask position with numpy : 0.0013294219970703125 nb_pixel_total : 69875 time to create 1 rle with old method : 0.07392477989196777 length of segment : 373 time for calcul the mask position with numpy : 0.002431154251098633 nb_pixel_total : 131938 time to create 1 rle with old method : 0.1406099796295166 length of segment : 350 time for calcul the mask position with numpy : 0.0007989406585693359 nb_pixel_total : 40144 time to create 1 rle with old method : 0.04215502738952637 length of segment : 311 time for calcul the mask position with numpy : 0.001249551773071289 nb_pixel_total : 39772 time to create 1 rle with old method : 0.0415952205657959 length of segment : 471 time for calcul the mask position with numpy : 0.0029020309448242188 nb_pixel_total : 171305 time to create 1 rle with new method : 0.0138092041015625 length of segment : 697 time for calcul the mask position with numpy : 0.0036623477935791016 nb_pixel_total : 228337 time to create 1 rle with new method : 0.016081571578979492 length of segment : 659 time for calcul the mask position with numpy : 0.0001246929168701172 nb_pixel_total : 4084 time to create 1 rle with old method : 0.0043108463287353516 length of segment : 65 time for calcul the mask position with numpy : 0.0030612945556640625 nb_pixel_total : 232273 time to create 1 rle with new method : 0.012352228164672852 length of segment : 609 time for calcul the mask position with numpy : 0.0017766952514648438 nb_pixel_total : 128391 time to create 1 rle with old method : 0.1282212734222412 length of segment : 318 time for calcul the mask position with numpy : 0.0022225379943847656 nb_pixel_total : 120846 time to create 1 rle with old method : 0.12152481079101562 length of segment : 478 time for calcul the mask position with numpy : 0.0014922618865966797 nb_pixel_total : 89225 time to create 1 rle with old method : 0.08980059623718262 length of segment : 381 time for calcul the mask position with numpy : 0.021435022354125977 nb_pixel_total : 1116432 time to create 1 rle with new method : 0.050426483154296875 length of segment : 1710 time for calcul the mask position with numpy : 0.0024938583374023438 nb_pixel_total : 129169 time to create 1 rle with old method : 0.1343998908996582 length of segment : 530 time for calcul the mask position with numpy : 0.00209808349609375 nb_pixel_total : 68451 time to create 1 rle with old method : 0.06848931312561035 length of segment : 495 time for calcul the mask position with numpy : 0.00034165382385253906 nb_pixel_total : 8571 time to create 1 rle with old method : 0.008974552154541016 length of segment : 86 time for calcul the mask position with numpy : 0.0037822723388671875 nb_pixel_total : 175919 time to create 1 rle with new method : 0.005567789077758789 length of segment : 461 time for calcul the mask position with numpy : 0.0010764598846435547 nb_pixel_total : 22638 time to create 1 rle with old method : 0.024253129959106445 length of segment : 223 time for calcul the mask position with numpy : 0.0006148815155029297 nb_pixel_total : 15657 time to create 1 rle with old method : 0.017312288284301758 length of segment : 128 time for calcul the mask position with numpy : 0.002241373062133789 nb_pixel_total : 57593 time to create 1 rle with old method : 0.0574948787689209 length of segment : 287 time for calcul the mask position with numpy : 0.0009713172912597656 nb_pixel_total : 25153 time to create 1 rle with old method : 0.02687835693359375 length of segment : 197 time for calcul the mask position with numpy : 0.005116701126098633 nb_pixel_total : 175070 time to create 1 rle with new method : 0.008199930191040039 length of segment : 551 time for calcul the mask position with numpy : 0.001516103744506836 nb_pixel_total : 38650 time to create 1 rle with old method : 0.0406954288482666 length of segment : 254 time for calcul the mask position with numpy : 0.00040221214294433594 nb_pixel_total : 9314 time to create 1 rle with old method : 0.010429143905639648 length of segment : 104 time for calcul the mask position with numpy : 0.0008678436279296875 nb_pixel_total : 9502 time to create 1 rle with old method : 0.01085805892944336 length of segment : 165 time for calcul the mask position with numpy : 7.128715515136719e-05 nb_pixel_total : 1624 time to create 1 rle with old method : 0.0019402503967285156 length of segment : 48 time for calcul the mask position with numpy : 0.000621795654296875 nb_pixel_total : 34788 time to create 1 rle with old method : 0.03683328628540039 length of segment : 277 time for calcul the mask position with numpy : 0.003435373306274414 nb_pixel_total : 150775 time to create 1 rle with new method : 0.005808115005493164 length of segment : 602 time for calcul the mask position with numpy : 0.0010859966278076172 nb_pixel_total : 27801 time to create 1 rle with old method : 0.028944015502929688 length of segment : 226 time for calcul the mask position with numpy : 0.0005345344543457031 nb_pixel_total : 7447 time to create 1 rle with old method : 0.007962703704833984 length of segment : 160 time for calcul the mask position with numpy : 0.0021419525146484375 nb_pixel_total : 51991 time to create 1 rle with old method : 0.05375170707702637 length of segment : 465 time for calcul the mask position with numpy : 0.0042760372161865234 nb_pixel_total : 2157 time to create 1 rle with old method : 0.0025527477264404297 length of segment : 53 time for calcul the mask position with numpy : 0.0014324188232421875 nb_pixel_total : 32978 time to create 1 rle with old method : 0.05288100242614746 length of segment : 223 time for calcul the mask position with numpy : 0.004497051239013672 nb_pixel_total : 178597 time to create 1 rle with new method : 0.012294530868530273 length of segment : 597 time for calcul the mask position with numpy : 0.0008945465087890625 nb_pixel_total : 20533 time to create 1 rle with old method : 0.02297496795654297 length of segment : 349 time for calcul the mask position with numpy : 0.0005626678466796875 nb_pixel_total : 10585 time to create 1 rle with old method : 0.012130975723266602 length of segment : 228 time for calcul the mask position with numpy : 0.0007276535034179688 nb_pixel_total : 16232 time to create 1 rle with old method : 0.018827438354492188 length of segment : 196 time for calcul the mask position with numpy : 0.0001983642578125 nb_pixel_total : 2350 time to create 1 rle with old method : 0.003203153610229492 length of segment : 52 time for calcul the mask position with numpy : 0.0002856254577636719 nb_pixel_total : 3476 time to create 1 rle with old method : 0.005979061126708984 length of segment : 68 time for calcul the mask position with numpy : 0.0002586841583251953 nb_pixel_total : 5454 time to create 1 rle with old method : 0.006413936614990234 length of segment : 76 time for calcul the mask position with numpy : 0.0001628398895263672 nb_pixel_total : 2055 time to create 1 rle with old method : 0.0025207996368408203 length of segment : 67 time for calcul the mask position with numpy : 0.00031256675720214844 nb_pixel_total : 7110 time to create 1 rle with old method : 0.008535146713256836 length of segment : 95 time for calcul the mask position with numpy : 0.0017840862274169922 nb_pixel_total : 44369 time to create 1 rle with old method : 0.0691995620727539 length of segment : 540 time for calcul the mask position with numpy : 0.0011293888092041016 nb_pixel_total : 66719 time to create 1 rle with old method : 0.07517743110656738 length of segment : 324 time for calcul the mask position with numpy : 0.0016632080078125 nb_pixel_total : 47139 time to create 1 rle with old method : 0.05106830596923828 length of segment : 390 time for calcul the mask position with numpy : 0.0006551742553710938 nb_pixel_total : 35667 time to create 1 rle with old method : 0.03905010223388672 length of segment : 253 time for calcul the mask position with numpy : 0.0005917549133300781 nb_pixel_total : 30401 time to create 1 rle with old method : 0.034192562103271484 length of segment : 129 time for calcul the mask position with numpy : 0.0008070468902587891 nb_pixel_total : 39587 time to create 1 rle with old method : 0.04306507110595703 length of segment : 242 time for calcul the mask position with numpy : 0.001544952392578125 nb_pixel_total : 85887 time to create 1 rle with old method : 0.09989094734191895 length of segment : 546 time for calcul the mask position with numpy : 0.002665996551513672 nb_pixel_total : 116488 time to create 1 rle with old method : 0.12285947799682617 length of segment : 460 time for calcul the mask position with numpy : 0.0009980201721191406 nb_pixel_total : 8179 time to create 1 rle with old method : 0.010599851608276367 length of segment : 160 time for calcul the mask position with numpy : 0.004407167434692383 nb_pixel_total : 135459 time to create 1 rle with old method : 0.16764140129089355 length of segment : 373 time for calcul the mask position with numpy : 0.00030517578125 nb_pixel_total : 6125 time to create 1 rle with old method : 0.007082462310791016 length of segment : 140 time for calcul the mask position with numpy : 0.0018630027770996094 nb_pixel_total : 42750 time to create 1 rle with old method : 0.048600196838378906 length of segment : 366 time for calcul the mask position with numpy : 0.0033440589904785156 nb_pixel_total : 96311 time to create 1 rle with old method : 0.10433840751647949 length of segment : 793 time for calcul the mask position with numpy : 0.0024280548095703125 nb_pixel_total : 79040 time to create 1 rle with old method : 0.0877387523651123 length of segment : 388 time for calcul the mask position with numpy : 0.0007140636444091797 nb_pixel_total : 23601 time to create 1 rle with old method : 0.026046276092529297 length of segment : 237 time for calcul the mask position with numpy : 0.0008258819580078125 nb_pixel_total : 22005 time to create 1 rle with old method : 0.02498173713684082 length of segment : 201 time for calcul the mask position with numpy : 0.0009593963623046875 nb_pixel_total : 39655 time to create 1 rle with old method : 0.04419755935668945 length of segment : 257 time for calcul the mask position with numpy : 0.01883220672607422 nb_pixel_total : 1114265 time to create 1 rle with new method : 0.20042037963867188 length of segment : 1664 time for calcul the mask position with numpy : 0.0002391338348388672 nb_pixel_total : 7254 time to create 1 rle with old method : 0.008225202560424805 length of segment : 139 time for calcul the mask position with numpy : 0.001321554183959961 nb_pixel_total : 72237 time to create 1 rle with old method : 0.07693982124328613 length of segment : 399 time for calcul the mask position with numpy : 0.00131988525390625 nb_pixel_total : 58900 time to create 1 rle with old method : 0.06251072883605957 length of segment : 440 time for calcul the mask position with numpy : 0.0013811588287353516 nb_pixel_total : 91488 time to create 1 rle with old method : 0.09694981575012207 length of segment : 333 time for calcul the mask position with numpy : 0.00019288063049316406 nb_pixel_total : 4517 time to create 1 rle with old method : 0.005141019821166992 length of segment : 112 time for calcul the mask position with numpy : 0.0032286643981933594 nb_pixel_total : 188711 time to create 1 rle with new method : 0.007404327392578125 length of segment : 594 time for calcul the mask position with numpy : 0.0007126331329345703 nb_pixel_total : 15343 time to create 1 rle with old method : 0.016714096069335938 length of segment : 164 time for calcul the mask position with numpy : 0.0026803016662597656 nb_pixel_total : 87402 time to create 1 rle with old method : 0.0911095142364502 length of segment : 555 time for calcul the mask position with numpy : 0.003883838653564453 nb_pixel_total : 188536 time to create 1 rle with new method : 0.006440639495849609 length of segment : 505 time for calcul the mask position with numpy : 0.002679109573364258 nb_pixel_total : 95311 time to create 1 rle with old method : 0.10163569450378418 length of segment : 334 time for calcul the mask position with numpy : 0.00023484230041503906 nb_pixel_total : 5879 time to create 1 rle with old method : 0.007048368453979492 length of segment : 114 time for calcul the mask position with numpy : 0.0026743412017822266 nb_pixel_total : 70780 time to create 1 rle with old method : 0.07552170753479004 length of segment : 854 time for calcul the mask position with numpy : 0.00033354759216308594 nb_pixel_total : 9369 time to create 1 rle with old method : 0.010699033737182617 length of segment : 120 time for calcul the mask position with numpy : 0.0003223419189453125 nb_pixel_total : 2363 time to create 1 rle with old method : 0.0036072731018066406 length of segment : 86 time for calcul the mask position with numpy : 0.0015053749084472656 nb_pixel_total : 22612 time to create 1 rle with old method : 0.024239063262939453 length of segment : 334 time for calcul the mask position with numpy : 0.005007505416870117 nb_pixel_total : 155309 time to create 1 rle with new method : 0.00828242301940918 length of segment : 638 time for calcul the mask position with numpy : 0.004542827606201172 nb_pixel_total : 163517 time to create 1 rle with new method : 0.006250858306884766 length of segment : 499 time for calcul the mask position with numpy : 0.0007338523864746094 nb_pixel_total : 17980 time to create 1 rle with old method : 0.01939988136291504 length of segment : 134 time for calcul the mask position with numpy : 0.0010037422180175781 nb_pixel_total : 23933 time to create 1 rle with old method : 0.026418447494506836 length of segment : 276 time for calcul the mask position with numpy : 0.0005056858062744141 nb_pixel_total : 11274 time to create 1 rle with old method : 0.012471675872802734 length of segment : 131 time for calcul the mask position with numpy : 0.001512289047241211 nb_pixel_total : 67100 time to create 1 rle with old method : 0.06940841674804688 length of segment : 314 time for calcul the mask position with numpy : 0.00018095970153808594 nb_pixel_total : 3508 time to create 1 rle with old method : 0.00416254997253418 length of segment : 76 time for calcul the mask position with numpy : 0.0002040863037109375 nb_pixel_total : 6607 time to create 1 rle with old method : 0.007399082183837891 length of segment : 121 time for calcul the mask position with numpy : 0.0011932849884033203 nb_pixel_total : 43452 time to create 1 rle with old method : 0.04656052589416504 length of segment : 518 time for calcul the mask position with numpy : 0.0007581710815429688 nb_pixel_total : 14587 time to create 1 rle with old method : 0.016036272048950195 length of segment : 171 time for calcul the mask position with numpy : 0.001171112060546875 nb_pixel_total : 67717 time to create 1 rle with old method : 0.07017898559570312 length of segment : 324 time for calcul the mask position with numpy : 0.026675939559936523 nb_pixel_total : 1064939 time to create 1 rle with new method : 0.03943753242492676 length of segment : 1692 time for calcul the mask position with numpy : 0.0030143260955810547 nb_pixel_total : 163219 time to create 1 rle with new method : 0.007505178451538086 length of segment : 495 time for calcul the mask position with numpy : 0.0060577392578125 nb_pixel_total : 241496 time to create 1 rle with new method : 0.010297060012817383 length of segment : 810 time for calcul the mask position with numpy : 0.0005679130554199219 nb_pixel_total : 16301 time to create 1 rle with old method : 0.017932653427124023 length of segment : 146 time for calcul the mask position with numpy : 0.0005495548248291016 nb_pixel_total : 15356 time to create 1 rle with old method : 0.016096115112304688 length of segment : 195 time for calcul the mask position with numpy : 0.00398564338684082 nb_pixel_total : 68607 time to create 1 rle with old method : 0.07354068756103516 length of segment : 653 time for calcul the mask position with numpy : 0.001987457275390625 nb_pixel_total : 78973 time to create 1 rle with old method : 0.08056926727294922 length of segment : 438 time for calcul the mask position with numpy : 0.00010895729064941406 nb_pixel_total : 5650 time to create 1 rle with old method : 0.005835056304931641 length of segment : 83 time for calcul the mask position with numpy : 0.0010428428649902344 nb_pixel_total : 33959 time to create 1 rle with old method : 0.03540515899658203 length of segment : 279 time for calcul the mask position with numpy : 0.0006103515625 nb_pixel_total : 14857 time to create 1 rle with old method : 0.016284465789794922 length of segment : 239 time spent for convertir_results : 10.836747407913208 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 117 chid ids of type : 3663 Number RLEs to save : 40560 save missing photos in datou_result : time spend for datou_step_exec : 74.24050664901733 time spend to save output : 4.712650775909424 total time spend for step 1 : 78.95315742492676 step2:crop_condition Fri Feb 14 00:29:48 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 117 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 15 About to insert : list_path_to_insert length 15 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 12 About to insert : list_path_to_insert length 12 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 35 About to insert : list_path_to_insert length 35 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 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 [1337462789, 1337462769, 1337462758, 1337462750, 1337462747, 1337462743, 1337462736, 1337462726, 1337462725, 1337462724] Looping around the photos to save general results len do output : 81 /-3674016967Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016966Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016986Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016980Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016974Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017014Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017018Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017021Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017025Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017033Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017028Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017024Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017035Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017049Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017045Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016939Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016985Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016978Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016993Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017001Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017005Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017011Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017007Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017015Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017026Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017051Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017052Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016956Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016951Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016953Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016979Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017040Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017042Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016947Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016944Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016938Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016943Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016937Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016942Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016954Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016949Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016955Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016952Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016957Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016950Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016962Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016963Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016959Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016968Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016987Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016990Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016984Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016989Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016999Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017012Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017013Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017006Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017000Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017003Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017004Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017002Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017022Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017020Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017019Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017032Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017031Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017037Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017048Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016983Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016975Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016977Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016998Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017009Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017017Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017034Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017047Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017050Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016970Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016971Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674016965Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674017008Didn'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, '2584387') ('3459', None, '1337462789', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462769', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462758', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462750', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462747', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462743', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462736', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462726', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462725', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462724', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 253 time used for this insertion : 0.030682086944580078 save_final save missing photos in datou_result : time spend for datou_step_exec : 32.6650505065918 time spend to save output : 0.033960580825805664 total time spend for step 2 : 32.6990110874176 step3:thcl Fri Feb 14 00:30:21 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.007179975509643555 time to convert the images to numpy array : 2.86102294921875e-06 time to import caffe and check if the image exist : 0.008772134780883789 time to convert the images to numpy array : 0.09929418563842773 time to import caffe and check if the image exist : 0.011519670486450195 time to convert the images to numpy array : 0.10875439643859863 time to import caffe and check if the image exist : 0.027084827423095703 time to convert the images to numpy array : 0.09507036209106445 time to import caffe and check if the image exist : 0.03918337821960449 time to convert the images to numpy array : 0.08458399772644043 time to import caffe and check if the image exist : 0.01929187774658203 time to convert the images to numpy array : 0.10920524597167969 time to import caffe and check if the image exist : 0.017589569091796875 time to convert the images to numpy array : 0.12809395790100098 time to import caffe and check if the image exist : 0.008527755737304688 time to convert the images to numpy array : 0.14152932167053223 time to import caffe and check if the image exist : 0.027650117874145508 time to convert the images to numpy array : 0.1422863006591797 time to import caffe and check if the image exist : 0.02153325080871582 time to convert the images to numpy array : 0.1538400650024414 total time to convert the images to numpy array : 0.5322418212890625 list photo_ids error: [] list photo_ids correct : [-3674016967, -3674016966, -3674016986, -3674016980, -3674016974, -3674017014, -3674017018, -3674017021, -3674017025, -3674016943, -3674016937, -3674016942, -3674016954, -3674016949, -3674016955, -3674016952, -3674016957, -3674016950, -3674016956, -3674016951, -3674016953, -3674016979, -3674017040, -3674017042, -3674016947, -3674016944, -3674016938, -3674017019, -3674017032, -3674017031, -3674017037, -3674017048, -3674016983, -3674016975, -3674016977, -3674016998, -3674016993, -3674017001, -3674017005, -3674017011, -3674017007, -3674017015, -3674017026, -3674017051, -3674017052, -3674017009, -3674017017, -3674017034, -3674017047, -3674017050, -3674016970, -3674016971, -3674016965, -3674017008, -3674017012, -3674017013, -3674017006, -3674017000, -3674017003, -3674017004, -3674017002, -3674017022, -3674017020, -3674016962, -3674016963, -3674016959, -3674016968, -3674016987, -3674016990, -3674016984, -3674016989, -3674016999, -3674017033, -3674017028, -3674017024, -3674017035, -3674017049, -3674017045, -3674016939, -3674016985, -3674016978] number of photos to traite : 81 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 : 6022 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 : 5803 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.8580090999603271 time used to do the prediction : 0.22749996185302734 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 : 5801 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 : 5801 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.001528024673462 time used to do the prediction : 0.16563916206359863 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 : 9.64284348487854 time spend to save output : 0.0006096363067626953 total time spend for step 3 : 9.643453121185303 step4:merge_mask_thcl_custom Fri Feb 14 00:30:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step merge_mask_thcl_custom batch 1 Loaded 117 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 [1337462789, 1337462769, 1337462758, 1337462750, 1337462747, 1337462743, 1337462736, 1337462726, 1337462725, 1337462724] Looping around the photos to save general results len do output : 10 /1337462789Didn't retrieve data .Didn't retrieve data . /1337462769Didn't retrieve data .Didn't retrieve data . /1337462758Didn't retrieve data .Didn't retrieve data . /1337462750Didn't retrieve data .Didn't retrieve data . /1337462747Didn't retrieve data .Didn't retrieve data . /1337462743Didn't retrieve data .Didn't retrieve data . /1337462736Didn't retrieve data .Didn't retrieve data . /1337462726Didn't retrieve data .Didn't retrieve data . /1337462725Didn't retrieve data .Didn't retrieve data . /1337462724Didn'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, '2584387') ('3459', None, '1337462789', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462769', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462758', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462750', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462747', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462743', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462736', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462726', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462725', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462724', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.08512735366821289 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07611632347106934 time spend to save output : 0.08565592765808105 total time spend for step 4 : 0.1617722511291504 step5:rle_unique_nms_with_priority Fri Feb 14 00:30:31 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 : 12 nb_hashtags : 4 time to prepare the origin masks : 11.9938645362854 time for calcul the mask position with numpy : 0.663536548614502 nb_pixel_total : 6631329 time to create 1 rle with new method : 0.3374903202056885 time for calcul the mask position with numpy : 0.03606104850769043 nb_pixel_total : 37919 time to create 1 rle with old method : 0.042018890380859375 time for calcul the mask position with numpy : 0.030804157257080078 nb_pixel_total : 67065 time to create 1 rle with old method : 0.07160663604736328 time for calcul the mask position with numpy : 0.024569272994995117 nb_pixel_total : 990 time to create 1 rle with old method : 0.0011715888977050781 time for calcul the mask position with numpy : 0.02283453941345215 nb_pixel_total : 7994 time to create 1 rle with old method : 0.00896906852722168 time for calcul the mask position with numpy : 0.02354907989501953 nb_pixel_total : 55291 time to create 1 rle with old method : 0.0597681999206543 time for calcul the mask position with numpy : 0.024439334869384766 nb_pixel_total : 2881 time to create 1 rle with old method : 0.003308534622192383 time for calcul the mask position with numpy : 0.02264714241027832 nb_pixel_total : 45880 time to create 1 rle with old method : 0.048934221267700195 time for calcul the mask position with numpy : 0.02541518211364746 nb_pixel_total : 100498 time to create 1 rle with old method : 0.10694479942321777 time for calcul the mask position with numpy : 0.023215055465698242 nb_pixel_total : 25551 time to create 1 rle with old method : 0.034326791763305664 time for calcul the mask position with numpy : 0.02521991729736328 nb_pixel_total : 54275 time to create 1 rle with old method : 0.0697481632232666 time for calcul the mask position with numpy : 0.02356553077697754 nb_pixel_total : 8538 time to create 1 rle with old method : 0.0096893310546875 time for calcul the mask position with numpy : 0.025328636169433594 nb_pixel_total : 12029 time to create 1 rle with old method : 0.013048648834228516 create new chi : 1.8189697265625 time to delete rle : 0.013870954513549805 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 7406 TO DO : save crop sub photo not yet done ! save time : 1.1879031658172607 nb_obj : 11 nb_hashtags : 6 time to prepare the origin masks : 12.316882133483887 time for calcul the mask position with numpy : 0.6401355266571045 nb_pixel_total : 6582491 time to create 1 rle with new method : 1.669339895248413 time for calcul the mask position with numpy : 0.041996002197265625 nb_pixel_total : 1357 time to create 1 rle with old method : 0.0019669532775878906 time for calcul the mask position with numpy : 0.04035520553588867 nb_pixel_total : 69616 time to create 1 rle with old method : 0.07557868957519531 time for calcul the mask position with numpy : 0.03849148750305176 nb_pixel_total : 92416 time to create 1 rle with old method : 0.10838699340820312 time for calcul the mask position with numpy : 0.035629987716674805 nb_pixel_total : 149420 time to create 1 rle with old method : 0.1616837978363037 time for calcul the mask position with numpy : 0.03371763229370117 nb_pixel_total : 2062 time to create 1 rle with old method : 0.0027191638946533203 time for calcul the mask position with numpy : 0.03560137748718262 nb_pixel_total : 1724 time to create 1 rle with old method : 0.0021092891693115234 time for calcul the mask position with numpy : 0.035558223724365234 nb_pixel_total : 20214 time to create 1 rle with old method : 0.02172064781188965 time for calcul the mask position with numpy : 0.038129329681396484 nb_pixel_total : 21228 time to create 1 rle with old method : 0.023943185806274414 time for calcul the mask position with numpy : 0.032999515533447266 nb_pixel_total : 69113 time to create 1 rle with old method : 0.08313846588134766 time for calcul the mask position with numpy : 0.03373146057128906 nb_pixel_total : 5524 time to create 1 rle with old method : 0.006474971771240234 time for calcul the mask position with numpy : 0.02998065948486328 nb_pixel_total : 35075 time to create 1 rle with old method : 0.03956317901611328 create new chi : 3.2853851318359375 time to delete rle : 0.0009169578552246094 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 8339 TO DO : save crop sub photo not yet done ! save time : 0.6499030590057373 nb_obj : 14 nb_hashtags : 4 time to prepare the origin masks : 10.694223880767822 time for calcul the mask position with numpy : 0.7229876518249512 nb_pixel_total : 5048536 time to create 1 rle with new method : 0.8558065891265869 time for calcul the mask position with numpy : 0.034477949142456055 nb_pixel_total : 1733 time to create 1 rle with old method : 0.002479076385498047 time for calcul the mask position with numpy : 0.032861948013305664 nb_pixel_total : 8506 time to create 1 rle with old method : 0.009701967239379883 time for calcul the mask position with numpy : 0.03752017021179199 nb_pixel_total : 131472 time to create 1 rle with old method : 0.13824844360351562 time for calcul the mask position with numpy : 0.051048994064331055 nb_pixel_total : 1115166 time to create 1 rle with new method : 2.837268829345703 time for calcul the mask position with numpy : 0.04231858253479004 nb_pixel_total : 4080 time to create 1 rle with old method : 0.005269289016723633 time for calcul the mask position with numpy : 0.03928732872009277 nb_pixel_total : 47420 time to create 1 rle with old method : 0.05156230926513672 time for calcul the mask position with numpy : 0.04261898994445801 nb_pixel_total : 39565 time to create 1 rle with old method : 0.044472694396972656 time for calcul the mask position with numpy : 0.04268908500671387 nb_pixel_total : 39955 time to create 1 rle with old method : 0.04249739646911621 time for calcul the mask position with numpy : 0.04296278953552246 nb_pixel_total : 88921 time to create 1 rle with old method : 0.09591174125671387 time for calcul the mask position with numpy : 0.04745054244995117 nb_pixel_total : 111943 time to create 1 rle with old method : 0.14876246452331543 time for calcul the mask position with numpy : 0.042685508728027344 nb_pixel_total : 9271 time to create 1 rle with old method : 0.010551214218139648 time for calcul the mask position with numpy : 0.04528307914733887 nb_pixel_total : 51410 time to create 1 rle with old method : 0.055347442626953125 time for calcul the mask position with numpy : 0.04249119758605957 nb_pixel_total : 120392 time to create 1 rle with old method : 0.13687348365783691 time for calcul the mask position with numpy : 0.04681730270385742 nb_pixel_total : 231870 time to create 1 rle with new method : 1.0990967750549316 create new chi : 6.94873309135437 time to delete rle : 0.0023071765899658203 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 14238 TO DO : save crop sub photo not yet done ! save time : 0.9699735641479492 nb_obj : 17 nb_hashtags : 7 time to prepare the origin masks : 14.950125455856323 time for calcul the mask position with numpy : 0.6818103790283203 nb_pixel_total : 6416768 time to create 1 rle with new method : 1.4509329795837402 time for calcul the mask position with numpy : 0.03650236129760742 nb_pixel_total : 3269 time to create 1 rle with old method : 0.005202531814575195 time for calcul the mask position with numpy : 0.03833127021789551 nb_pixel_total : 178427 time to create 1 rle with new method : 0.8654866218566895 time for calcul the mask position with numpy : 0.04010415077209473 nb_pixel_total : 7428 time to create 1 rle with old method : 0.008162498474121094 time for calcul the mask position with numpy : 0.039412736892700195 nb_pixel_total : 27744 time to create 1 rle with old method : 0.02994060516357422 time for calcul the mask position with numpy : 0.04032468795776367 nb_pixel_total : 25051 time to create 1 rle with old method : 0.02846360206604004 time for calcul the mask position with numpy : 0.040644168853759766 nb_pixel_total : 2149 time to create 1 rle with old method : 0.0024857521057128906 time for calcul the mask position with numpy : 0.04356884956359863 nb_pixel_total : 15511 time to create 1 rle with old method : 0.017253398895263672 time for calcul the mask position with numpy : 0.04344463348388672 nb_pixel_total : 32855 time to create 1 rle with old method : 0.0358884334564209 time for calcul the mask position with numpy : 0.03679156303405762 nb_pixel_total : 51749 time to create 1 rle with old method : 0.05364084243774414 time for calcul the mask position with numpy : 0.04111647605895996 nb_pixel_total : 301 time to create 1 rle with old method : 0.00042891502380371094 time for calcul the mask position with numpy : 0.046677350997924805 nb_pixel_total : 9236 time to create 1 rle with old method : 0.010398387908935547 time for calcul the mask position with numpy : 0.040702104568481445 nb_pixel_total : 9468 time to create 1 rle with old method : 0.010284185409545898 time for calcul the mask position with numpy : 0.03945446014404297 nb_pixel_total : 57434 time to create 1 rle with old method : 0.05885672569274902 time for calcul the mask position with numpy : 0.037345170974731445 nb_pixel_total : 107 time to create 1 rle with old method : 0.0002930164337158203 time for calcul the mask position with numpy : 0.04580259323120117 nb_pixel_total : 38549 time to create 1 rle with old method : 0.04049992561340332 time for calcul the mask position with numpy : 0.04383039474487305 nb_pixel_total : 22578 time to create 1 rle with old method : 0.023546457290649414 time for calcul the mask position with numpy : 0.03931832313537598 nb_pixel_total : 151616 time to create 1 rle with new method : 0.8769707679748535 create new chi : 4.9947829246521 time to delete rle : 0.001495361328125 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 9911 TO DO : save crop sub photo not yet done ! save time : 1.2667105197906494 nb_obj : 9 nb_hashtags : 3 time to prepare the origin masks : 12.46921181678772 time for calcul the mask position with numpy : 2.336961030960083 nb_pixel_total : 6938349 time to create 1 rle with new method : 0.6773426532745361 time for calcul the mask position with numpy : 0.020309925079345703 nb_pixel_total : 7084 time to create 1 rle with old method : 0.007863044738769531 time for calcul the mask position with numpy : 0.02066659927368164 nb_pixel_total : 16158 time to create 1 rle with old method : 0.016989469528198242 time for calcul the mask position with numpy : 0.020827054977416992 nb_pixel_total : 2047 time to create 1 rle with old method : 0.0022912025451660156 time for calcul the mask position with numpy : 0.020977258682250977 nb_pixel_total : 5432 time to create 1 rle with old method : 0.007430315017700195 time for calcul the mask position with numpy : 0.022284507751464844 nb_pixel_total : 3461 time to create 1 rle with old method : 0.003874063491821289 time for calcul the mask position with numpy : 0.02074456214904785 nb_pixel_total : 2259 time to create 1 rle with old method : 0.0026688575744628906 time for calcul the mask position with numpy : 0.020512819290161133 nb_pixel_total : 10443 time to create 1 rle with old method : 0.011267423629760742 time for calcul the mask position with numpy : 0.021135568618774414 nb_pixel_total : 20323 time to create 1 rle with old method : 0.021328449249267578 time for calcul the mask position with numpy : 0.02429056167602539 nb_pixel_total : 44684 time to create 1 rle with old method : 0.045799970626831055 create new chi : 3.371406078338623 time to delete rle : 0.0006306171417236328 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 5426 TO DO : save crop sub photo not yet done ! save time : 0.8844780921936035 nb_obj : 14 nb_hashtags : 8 time to prepare the origin masks : 18.493035554885864 time for calcul the mask position with numpy : 1.4317431449890137 nb_pixel_total : 6295024 time to create 1 rle with new method : 1.0246925354003906 time for calcul the mask position with numpy : 0.03082561492919922 nb_pixel_total : 39910 time to create 1 rle with old method : 0.04658770561218262 time for calcul the mask position with numpy : 0.0237581729888916 nb_pixel_total : 8142 time to create 1 rle with old method : 0.012827873229980469 time for calcul the mask position with numpy : 0.024253129959106445 nb_pixel_total : 66602 time to create 1 rle with old method : 0.08106136322021484 time for calcul the mask position with numpy : 0.021367311477661133 nb_pixel_total : 30216 time to create 1 rle with old method : 0.03147268295288086 time for calcul the mask position with numpy : 0.020875930786132812 nb_pixel_total : 35562 time to create 1 rle with old method : 0.037497758865356445 time for calcul the mask position with numpy : 0.0203096866607666 nb_pixel_total : 39458 time to create 1 rle with old method : 0.0410008430480957 time for calcul the mask position with numpy : 0.022080183029174805 nb_pixel_total : 46998 time to create 1 rle with old method : 0.04959917068481445 time for calcul the mask position with numpy : 0.021842002868652344 nb_pixel_total : 85721 time to create 1 rle with old method : 0.08858060836791992 time for calcul the mask position with numpy : 0.02142810821533203 nb_pixel_total : 23548 time to create 1 rle with old method : 0.027403593063354492 time for calcul the mask position with numpy : 0.02539658546447754 nb_pixel_total : 42575 time to create 1 rle with old method : 0.04365968704223633 time for calcul the mask position with numpy : 0.03460335731506348 nb_pixel_total : 135085 time to create 1 rle with old method : 0.14632320404052734 time for calcul the mask position with numpy : 0.03538346290588379 nb_pixel_total : 78963 time to create 1 rle with old method : 0.08471393585205078 time for calcul the mask position with numpy : 0.034316301345825195 nb_pixel_total : 6108 time to create 1 rle with old method : 0.006850481033325195 time for calcul the mask position with numpy : 0.034865617752075195 nb_pixel_total : 116328 time to create 1 rle with old method : 0.13148951530456543 create new chi : 3.6997690200805664 time to delete rle : 0.0012280941009521484 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 11449 TO DO : save crop sub photo not yet done ! save time : 0.9142909049987793 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 4.684183835983276 time for calcul the mask position with numpy : 1.8108971118927002 nb_pixel_total : 5868555 time to create 1 rle with new method : 1.5429987907409668 time for calcul the mask position with numpy : 0.03410649299621582 nb_pixel_total : 7224 time to create 1 rle with old method : 0.0076808929443359375 time for calcul the mask position with numpy : 0.041589975357055664 nb_pixel_total : 1113027 time to create 1 rle with new method : 1.3577923774719238 time for calcul the mask position with numpy : 0.03497028350830078 nb_pixel_total : 39525 time to create 1 rle with old method : 0.06258034706115723 time for calcul the mask position with numpy : 0.034572601318359375 nb_pixel_total : 21909 time to create 1 rle with old method : 0.02240777015686035 create new chi : 5.021075010299683 time to delete rle : 0.0009143352508544922 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 6702 TO DO : save crop sub photo not yet done ! save time : 0.8619482517242432 nb_obj : 6 nb_hashtags : 5 time to prepare the origin masks : 7.1034815311431885 time for calcul the mask position with numpy : 0.7788417339324951 nb_pixel_total : 6772831 time to create 1 rle with new method : 1.3147494792938232 time for calcul the mask position with numpy : 0.022148847579956055 nb_pixel_total : 116779 time to create 1 rle with old method : 0.12227678298950195 time for calcul the mask position with numpy : 0.020122289657592773 nb_pixel_total : 4504 time to create 1 rle with old method : 0.004911184310913086 time for calcul the mask position with numpy : 0.019809246063232422 nb_pixel_total : 11130 time to create 1 rle with old method : 0.012338638305664062 time for calcul the mask position with numpy : 0.02089858055114746 nb_pixel_total : 11757 time to create 1 rle with old method : 0.012777566909790039 time for calcul the mask position with numpy : 0.020328283309936523 nb_pixel_total : 58739 time to create 1 rle with old method : 0.06067323684692383 time for calcul the mask position with numpy : 0.020899534225463867 nb_pixel_total : 74500 time to create 1 rle with old method : 0.0763542652130127 create new chi : 2.5547077655792236 time to delete rle : 0.0005884170532226562 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 5360 TO DO : save crop sub photo not yet done ! save time : 1.4355530738830566 nb_obj : 19 nb_hashtags : 7 time to prepare the origin masks : 15.43308973312378 time for calcul the mask position with numpy : 0.796436071395874 nb_pixel_total : 5043789 time to create 1 rle with new method : 0.4133186340332031 time for calcul the mask position with numpy : 0.03420114517211914 nb_pixel_total : 87378 time to create 1 rle with old method : 0.0948023796081543 time for calcul the mask position with numpy : 0.0346677303314209 nb_pixel_total : 8628 time to create 1 rle with old method : 0.00980830192565918 time for calcul the mask position with numpy : 0.03503108024597168 nb_pixel_total : 137591 time to create 1 rle with old method : 0.14666080474853516 time for calcul the mask position with numpy : 0.04465961456298828 nb_pixel_total : 1063332 time to create 1 rle with new method : 0.5669193267822266 time for calcul the mask position with numpy : 0.03338289260864258 nb_pixel_total : 17804 time to create 1 rle with old method : 0.019593477249145508 time for calcul the mask position with numpy : 0.03410506248474121 nb_pixel_total : 95092 time to create 1 rle with old method : 0.09793496131896973 time for calcul the mask position with numpy : 0.0342402458190918 nb_pixel_total : 23835 time to create 1 rle with old method : 0.025378704071044922 time for calcul the mask position with numpy : 0.020412683486938477 nb_pixel_total : 6533 time to create 1 rle with old method : 0.007186412811279297 time for calcul the mask position with numpy : 0.021020889282226562 nb_pixel_total : 3472 time to create 1 rle with old method : 0.003958463668823242 time for calcul the mask position with numpy : 0.020683765411376953 nb_pixel_total : 1471 time to create 1 rle with old method : 0.001965045928955078 time for calcul the mask position with numpy : 0.02151942253112793 nb_pixel_total : 11198 time to create 1 rle with old method : 0.012054443359375 time for calcul the mask position with numpy : 0.0216214656829834 nb_pixel_total : 67526 time to create 1 rle with old method : 0.07199859619140625 time for calcul the mask position with numpy : 0.02655792236328125 nb_pixel_total : 163228 time to create 1 rle with new method : 0.8096456527709961 time for calcul the mask position with numpy : 0.03376173973083496 nb_pixel_total : 2353 time to create 1 rle with old method : 0.0024733543395996094 time for calcul the mask position with numpy : 0.03364205360412598 nb_pixel_total : 9316 time to create 1 rle with old method : 0.009534597396850586 time for calcul the mask position with numpy : 0.03323721885681152 nb_pixel_total : 5841 time to create 1 rle with old method : 0.006297588348388672 time for calcul the mask position with numpy : 0.033299922943115234 nb_pixel_total : 70655 time to create 1 rle with old method : 0.07298159599304199 time for calcul the mask position with numpy : 0.0336456298828125 nb_pixel_total : 43105 time to create 1 rle with old method : 0.05475258827209473 time for calcul the mask position with numpy : 0.036278724670410156 nb_pixel_total : 188093 time to create 1 rle with new method : 1.1756105422973633 create new chi : 5.097200632095337 time to delete rle : 0.0013887882232666016 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 16400 TO DO : save crop sub photo not yet done ! save time : 1.8494718074798584 nb_obj : 8 nb_hashtags : 5 time to prepare the origin masks : 10.172256469726562 time for calcul the mask position with numpy : 0.28778839111328125 nb_pixel_total : 6581633 time to create 1 rle with new method : 0.936652421951294 time for calcul the mask position with numpy : 0.019713163375854492 nb_pixel_total : 14898 time to create 1 rle with old method : 0.01492452621459961 time for calcul the mask position with numpy : 0.01931905746459961 nb_pixel_total : 33928 time to create 1 rle with old method : 0.03279447555541992 time for calcul the mask position with numpy : 0.02073812484741211 nb_pixel_total : 10004 time to create 1 rle with old method : 0.011064767837524414 time for calcul the mask position with numpy : 0.02021622657775879 nb_pixel_total : 5626 time to create 1 rle with old method : 0.006066322326660156 time for calcul the mask position with numpy : 0.021702289581298828 nb_pixel_total : 240936 time to create 1 rle with new method : 1.1197552680969238 time for calcul the mask position with numpy : 0.020943641662597656 nb_pixel_total : 16186 time to create 1 rle with old method : 0.017002344131469727 time for calcul the mask position with numpy : 0.0220034122467041 nb_pixel_total : 78820 time to create 1 rle with old method : 0.08101224899291992 time for calcul the mask position with numpy : 0.021300077438354492 nb_pixel_total : 68209 time to create 1 rle with old method : 0.08800601959228516 create new chi : 2.8256771564483643 time to delete rle : 0.0011413097381591797 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 7796 TO DO : save crop sub photo not yet done ! save time : 0.553175687789917 map_output_result : {1337462789: (0.0, 'Should be the crop_list due to order', 0.0), 1337462769: (0.0, 'Should be the crop_list due to order', 0.0), 1337462758: (0.0, 'Should be the crop_list due to order', 0.0), 1337462750: (0.0, 'Should be the crop_list due to order', 0.0), 1337462747: (0.0, 'Should be the crop_list due to order', 0.0), 1337462743: (0.0, 'Should be the crop_list due to order', 0.0), 1337462736: (0.0, 'Should be the crop_list due to order', 0.0), 1337462726: (0.0, 'Should be the crop_list due to order', 0.0), 1337462725: (0.0, 'Should be the crop_list due to order', 0.0), 1337462724: (0.0, 'Should be the crop_list due to order', 0.0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1337462789, 1337462769, 1337462758, 1337462750, 1337462747, 1337462743, 1337462736, 1337462726, 1337462725, 1337462724] Looping around the photos to save general results len do output : 10 /1337462789.Didn't retrieve data . /1337462769.Didn't retrieve data . /1337462758.Didn't retrieve data . /1337462750.Didn't retrieve data . /1337462747.Didn't retrieve data . /1337462743.Didn't retrieve data . /1337462736.Didn't retrieve data . /1337462726.Didn't retrieve data . /1337462725.Didn't retrieve data . /1337462724.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, '2584387') ('3459', None, '1337462789', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462769', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462758', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462750', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462747', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462743', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462736', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462726', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462725', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462724', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.015215635299682617 save_final save missing photos in datou_result : time spend for datou_step_exec : 169.53184485435486 time spend to save output : 0.015694618225097656 total time spend for step 5 : 169.54753947257996 step6:crop_condition Fri Feb 14 00:33:20 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 124 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739489605_2349915 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.5016906261444092 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739489608_2349915 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.851334810256958 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739489612_2349915 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.273847818374634 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739489616_2349915 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.1528301239013672 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739489619_2349915 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.7024917602539062 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739489623_2349915 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.990241527557373 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 [1337462789, 1337462769, 1337462758, 1337462750, 1337462747, 1337462743, 1337462736, 1337462726, 1337462725, 1337462724] Looping around the photos to save general results len do output : 25 /1337469711Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469714Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469715Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469716Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469720Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469721Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469722Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469725Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469726Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469727Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469728Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469729Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469730Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469731Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469732Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469733Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469745Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469746Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469747Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469748Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469749Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469751Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469752Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337469753Didn'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, '2584387') ('3459', None, '1337462789', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462769', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462758', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462750', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462747', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462743', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462736', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462726', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462725', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462724', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 85 time used for this insertion : 0.033448219299316406 save_final save missing photos in datou_result : time spend for datou_step_exec : 25.634429454803467 time spend to save output : 0.034395694732666016 total time spend for step 6 : 25.668825149536133 step7:ventilate_hashtags_in_portfolio Fri Feb 14 00:33:46 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 20528860 get user id for portfolio 20528860 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`=20528860 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','plastique','mal_croppe','Teint_Dans_La_Masse','Carton_brun','cartonnette','autre_refus','environnement','flou','papier','metal','kraft')) 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`=20528860 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','plastique','mal_croppe','Teint_Dans_La_Masse','Carton_brun','cartonnette','autre_refus','environnement','flou','papier','metal','kraft')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20529403,20529404,20529405,20529406,20529407,20529408,20529409,20529410,20529411,20529412,20529413,20529414?tags=mal_croppe,Carton_gris,plastique,kraft,Teint_Dans_La_Masse,flou,Carton_brun,papier,environnement,autre_refus,metal,cartonnette Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1337462789, 1337462769, 1337462758, 1337462750, 1337462747, 1337462743, 1337462736, 1337462726, 1337462725, 1337462724] Looping around the photos to save general results len do output : 1 /20528860. 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, '2584387') ('3459', None, '1337462789', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462769', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462758', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462750', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462747', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462743', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462736', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462726', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462725', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462724', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.17524290084838867 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4183783531188965 time spend to save output : 0.17549777030944824 total time spend for step 7 : 0.5938761234283447 step8:final Fri Feb 14 00:33:46 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Catched exception ! Connect or reconnect ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1337462789: ('0.0667575559368366',), 1337462769: ('0.0667575559368366',), 1337462758: ('0.0667575559368366',), 1337462750: ('0.0667575559368366',), 1337462747: ('0.0667575559368366',), 1337462743: ('0.0667575559368366',), 1337462736: ('0.0667575559368366',), 1337462726: ('0.0667575559368366',), 1337462725: ('0.0667575559368366',), 1337462724: ('0.0667575559368366',)} new output for save of step final : {1337462789: ('0.0667575559368366',), 1337462769: ('0.0667575559368366',), 1337462758: ('0.0667575559368366',), 1337462750: ('0.0667575559368366',), 1337462747: ('0.0667575559368366',), 1337462743: ('0.0667575559368366',), 1337462736: ('0.0667575559368366',), 1337462726: ('0.0667575559368366',), 1337462725: ('0.0667575559368366',), 1337462724: ('0.0667575559368366',)} [1337462789, 1337462769, 1337462758, 1337462750, 1337462747, 1337462743, 1337462736, 1337462726, 1337462725, 1337462724] Looping around the photos to save general results len do output : 10 /1337462789.Didn't retrieve data . /1337462769.Didn't retrieve data . /1337462758.Didn't retrieve data . /1337462750.Didn't retrieve data . /1337462747.Didn't retrieve data . /1337462743.Didn't retrieve data . /1337462736.Didn't retrieve data . /1337462726.Didn't retrieve data . /1337462725.Didn't retrieve data . /1337462724.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, '2584387') ('3459', None, '1337462789', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462769', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462758', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462750', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462747', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462743', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462736', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462726', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462725', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462724', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.012807369232177734 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10211753845214844 time spend to save output : 0.01328134536743164 total time spend for step 8 : 0.11539888381958008 step9:velours_tree Fri Feb 14 00:33:47 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.028420209884643555 time spend to save output : 3.0279159545898438e-05 total time spend for step 9 : 0.028450489044189453 step10:send_mail_cod Fri Feb 14 00:33:47 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_P20528860_14-02-2025_00_33_47.pdf 20529403 imagette205294031739489627 20529405 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette205294051739489627 20529406 imagette205294061739489627 20529408 imagette205294081739489627 20529412 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette205294121739489627 20529413 imagette205294131739489627 20529414 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette205294141739489627 20529404 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette205294041739489628 20529407 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette205294071739489629 20529409 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette205294091739489629 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20528860 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20529403,20529404,20529405,20529406,20529407,20529408,20529409,20529410,20529411,20529412,20529413,20529414?tags=mal_croppe,Carton_gris,plastique,kraft,Teint_Dans_La_Masse,flou,Carton_brun,papier,environnement,autre_refus,metal,cartonnette your option no_mail is active, we will not send the real mail to your client args[1337462789] : ('0.0667575559368366',) no score found for photo 1337462789 apple ('0.0667575559368366',) We are sending mail with results at report@fotonower.com args[1337462769] : ('0.0667575559368366',) no score found for photo 1337462769 apple ('0.0667575559368366',) We are sending mail with results at report@fotonower.com args[1337462758] : ('0.0667575559368366',) no score found for photo 1337462758 apple ('0.0667575559368366',) We are sending mail with results at report@fotonower.com args[1337462750] : ('0.0667575559368366',) no score found for photo 1337462750 apple ('0.0667575559368366',) We are sending mail with results at report@fotonower.com args[1337462747] : ('0.0667575559368366',) no score found for photo 1337462747 apple ('0.0667575559368366',) We are sending mail with results at report@fotonower.com args[1337462743] : ('0.0667575559368366',) no score found for photo 1337462743 apple ('0.0667575559368366',) We are sending mail with results at report@fotonower.com args[1337462736] : ('0.0667575559368366',) no score found for photo 1337462736 apple ('0.0667575559368366',) We are sending mail with results at report@fotonower.com args[1337462726] : ('0.0667575559368366',) no score found for photo 1337462726 apple ('0.0667575559368366',) We are sending mail with results at report@fotonower.com args[1337462725] : ('0.0667575559368366',) no score found for photo 1337462725 apple ('0.0667575559368366',) We are sending mail with results at report@fotonower.com args[1337462724] : ('0.0667575559368366',) no score found for photo 1337462724 apple ('0.0667575559368366',) We are sending mail with results at report@fotonower.com refus_total : 0.0667575559368366 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=20528860 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1337329752,1337330895,1337327016,1337328401,1337328993,1337329003,1337329664,1337328105,1337329744,1337329755,1337327015,1337462721,1337462725,1337462726,1337462736,1337462743,1337462747,1337462758,1337462769,1337462803) Found this number of photos: 20 begin to download photo : 1337329752 begin to download photo : 1337329003 begin to download photo : 1337327015 begin to download photo : 1337462743 download finish for photo 1337329003 begin to download photo : 1337329664 download finish for photo 1337327015 begin to download photo : 1337462721 download finish for photo 1337462743 begin to download photo : 1337462747 download finish for photo 1337329752 begin to download photo : 1337330895 download finish for photo 1337329664 begin to download photo : 1337328105 download finish for photo 1337462747 begin to download photo : 1337462758 download finish for photo 1337462721 begin to download photo : 1337462725 download finish for photo 1337330895 begin to download photo : 1337327016 download finish for photo 1337462758 begin to download photo : 1337462769 download finish for photo 1337462725 begin to download photo : 1337462726 download finish for photo 1337328105 begin to download photo : 1337329744 download finish for photo 1337462726 begin to download photo : 1337462736 download finish for photo 1337327016 begin to download photo : 1337328401 download finish for photo 1337462769 begin to download photo : 1337462803 download finish for photo 1337329744 begin to download photo : 1337329755 download finish for photo 1337462736 download finish for photo 1337462803 download finish for photo 1337328401 begin to download photo : 1337328993 download finish for photo 1337329755 download finish for photo 1337328993 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528860_14-02-2025_00_33_47.pdf results_Auto_P20528860_14-02-2025_00_33_47.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528860_14-02-2025_00_33_47.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('3459','20528860','results_Auto_P20528860_14-02-2025_00_33_47.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528860_14-02-2025_00_33_47.pdf','pdf','','0.97','0.0667575559368366') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1337462789, 1337462769, 1337462758, 1337462750, 1337462747, 1337462743, 1337462736, 1337462726, 1337462725, 1337462724] 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, '2584387') ('3459', None, '1337462789', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462769', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462758', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462750', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462747', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462743', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462736', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462726', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462725', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462724', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.0163266658782959 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.122514486312866 time spend to save output : 0.016590595245361328 total time spend for step 10 : 7.1391050815582275 step11:split_time_score Fri Feb 14 00:33:54 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'}] (('10', 22), ('11', 22)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13022025 20528860 Nombre de photos uploadées : 44 / 23040 (0%) 13022025 20528860 Nombre de photos taguées (types de déchets): 0 / 44 (0%) 13022025 20528860 Nombre de photos taguées (volume) : 0 / 44 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 8.821487426757812e-06 ???????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002084970474243164 elapsed_time : insert_dashboard_record_day_entry 0.02286839485168457 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528841 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528843 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528845 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528847 order by id desc limit 1 Qualite : 0.14136086604967552 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20503797_13-02-2025_09_15_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20503797 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( 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`=20503797 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20503798_13-02-2025_15_42_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20503798 order by id desc limit 1 Qualite : 0.14449458458151784 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20503799_13-02-2025_09_01_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20503799 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( 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`=20503799 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528849 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528851 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528853 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528854 order by id desc limit 1 Qualite : 0.03872013921048173 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528856_14-02-2025_00_31_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528856 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11524 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11533 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11532 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11528 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11528 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11531 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 11531 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11578 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11578 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11527 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11526 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11526 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11535 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11527 doesn't seem to be define in the database( WARNING : type of input 3 of step 11526 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11524 doesn't seem to be define in the database( WARNING : type of input 2 of step 11528 doesn't seem to be define in the database( WARNING : output 1 of step 11524 have datatype=2 whereas input 1 of step 11531 have datatype=7 WARNING : type of output 2 of step 11531 doesn't seem to be define in the database( WARNING : type of input 1 of step 11525 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11527 have datatype=10 whereas input 3 of step 11534 have datatype=6 WARNING : type of input 2 of step 11578 doesn't seem to be define in the database( WARNING : output 1 of step 11525 have datatype=7 whereas input 2 of step 11578 have datatype=None WARNING : type of output 3 of step 11578 doesn't seem to be define in the database( WARNING : type of input 1 of step 11527 doesn't seem to be define in the database( WARNING : output 0 of step 11527 have datatype=10 whereas input 0 of step 11584 have datatype=18 WARNING : type of input 5 of step 11534 doesn't seem to be define in the database( WARNING : output 0 of step 11584 have datatype=11 whereas input 5 of step 11534 have datatype=None WARNING : type of output 1 of step 11533 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : type of output 1 of step 11532 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : output 0 of step 11531 have datatype=1 whereas input 0 of step 11525 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`=20528856 AND mptpi.`type`=4211 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528858 order by id desc limit 1 Qualite : 0.07891361257373916 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528860_14-02-2025_00_33_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528860 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`=20528860 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528862 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528864 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528865 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528867 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528869 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528871 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528872 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528874 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528876 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528878 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528881 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528906 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528907 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528909 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528911 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528937 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528939 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528940 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528941 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528942 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528943 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528944 order by id desc limit 1 Qualite : 0.06743200877946215 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528945_14-02-2025_00_17_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528945 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`=20528945 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528946 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528947 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528948 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528949 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528950 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528951 order by id desc limit 1 Qualite : 0.14551669770917627 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528952_14-02-2025_00_32_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528952 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 ! 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 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( 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`=20528952 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528953 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528954 order by id desc limit 1 Qualite : 0.024221499769884736 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528957 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! 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 11560 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11567 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11567 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11563 crop_condition is not consistent : 4 used against 2 in the step definition ! Step 11563 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11564 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 11564 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11573 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11573 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11566 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11566 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! 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 11560 doesn't seem to be define in the database( WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 1 of step 11560 have datatype=2 whereas input 1 of step 11564 have datatype=7 WARNING : type of output 2 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11565 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11567 doesn't seem to be define in the database( WARNING : type of input 3 of step 11563 doesn't seem to be define in the database( WARNING : type of output 3 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11568 doesn't seem to be define in the database( WARNING : type of output 1 of step 11568 doesn't seem to be define in the database( WARNING : type of input 3 of step 11566 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11570 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11569 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11570 doesn't seem to be define in the database( WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11569 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11568 have datatype=10 whereas input 3 of step 11571 have datatype=6 WARNING : type of input 2 of step 11573 doesn't seem to be define in the database( WARNING : output 1 of step 11565 have datatype=7 whereas input 2 of step 11573 have datatype=None WARNING : type of output 3 of step 11573 doesn't seem to be define in the database( WARNING : type of input 3 of step 11568 doesn't seem to be define in the database( WARNING : output 0 of step 11568 have datatype=10 whereas input 0 of step 11587 have datatype=18 WARNING : type of input 5 of step 11571 doesn't seem to be define in the database( WARNING : output 0 of step 11587 have datatype=11 whereas input 5 of step 11571 have datatype=None WARNING : output 0 of step 11564 have datatype=1 whereas input 0 of step 11565 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`=20528957 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528958 order by id desc limit 1 Qualite : 0.04225902608664615 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528959_14-02-2025_00_29_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528959 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20528959 AND mptpi.`type`=4207 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13022025': {'nb_upload': 44, '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 [1337462789, 1337462769, 1337462758, 1337462750, 1337462747, 1337462743, 1337462736, 1337462726, 1337462725, 1337462724] Looping around the photos to save general results len do output : 1 /20528860Didn'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, '2584387') ('3459', None, '1337462789', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462769', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462758', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462750', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462747', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462743', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462736', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462726', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462725', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337462724', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.018729209899902344 save_final save missing photos in datou_result : time spend for datou_step_exec : 32.94508600234985 time spend to save output : 0.018994808197021484 total time spend for step 11 : 32.964080810546875 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 124.50user 163.72system 6:02.61elapsed 79%CPU (0avgtext+0avgdata 4034856maxresident)k 975680inputs+128624outputs (2073major+11308347minor)pagefaults 0swaps