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 : 3802232 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 : 23>10 please execute split_portfolio.py -i 21266837 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2657252'] with mtr_portfolio_ids : ['21266837'] and first list_photo_ids : [] new path : /proc/3802232/ 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.1996912956237793 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Tue Mar 11 08:32:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10814 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-11 08:32:32.307333: 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-03-11 08:32:32.335077: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-11 08:32:32.337266: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fd280000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-11 08:32:32.337335: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-11 08:32:32.342010: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-11 08:32:32.589393: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x37c67570 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-11 08:32:32.589443: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-11 08:32:32.590223: 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-03-11 08:32:32.590590: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-11 08:32:32.597358: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-11 08:32:32.600178: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-11 08:32:32.601547: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-11 08:32:32.606000: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-11 08:32:32.607655: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-11 08:32:32.614615: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-11 08:32:32.616182: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-11 08:32:32.616285: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-11 08:32:32.617125: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-11 08:32:32.617143: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-11 08:32:32.617152: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-11 08:32:32.618550: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10023 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-03-11 08:32:32.894042: 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-03-11 08:32:32.894178: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-11 08:32:32.894203: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-11 08:32:32.894227: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-11 08:32:32.894248: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-11 08:32:32.894268: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-11 08:32:32.894288: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-11 08:32:32.894310: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-11 08:32:32.895926: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-11 08:32:32.897407: 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-03-11 08:32:32.897457: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-11 08:32:32.897477: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-11 08:32:32.897495: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-11 08:32:32.897512: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-11 08:32:32.897529: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-11 08:32:32.897547: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-11 08:32:32.897565: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-11 08:32:32.899203: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-11 08:32:32.899248: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-11 08:32:32.899259: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-11 08:32:32.899269: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-11 08:32:32.900820: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10023 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-03-11 08:32:41.459723: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-11 08:32:41.656479: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 148.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 Detection mask done ! Trying to reset tf kernel 3802623 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5525 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 : 10814 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.03704690933227539 nb_pixel_total : 1092224 time to create 1 rle with new method : 0.36713290214538574 length of segment : 1631 time for calcul the mask position with numpy : 0.0011749267578125 nb_pixel_total : 94527 time to create 1 rle with old method : 0.09779715538024902 length of segment : 289 time for calcul the mask position with numpy : 0.0049533843994140625 nb_pixel_total : 310620 time to create 1 rle with new method : 0.009444475173950195 length of segment : 913 time for calcul the mask position with numpy : 0.0010592937469482422 nb_pixel_total : 81585 time to create 1 rle with old method : 0.08675599098205566 length of segment : 298 time for calcul the mask position with numpy : 0.010955333709716797 nb_pixel_total : 632619 time to create 1 rle with new method : 0.055342912673950195 length of segment : 1633 time for calcul the mask position with numpy : 0.0023005008697509766 nb_pixel_total : 149707 time to create 1 rle with old method : 0.15625882148742676 length of segment : 894 time for calcul the mask position with numpy : 0.00046324729919433594 nb_pixel_total : 28593 time to create 1 rle with old method : 0.032047271728515625 length of segment : 173 time for calcul the mask position with numpy : 0.0005214214324951172 nb_pixel_total : 32502 time to create 1 rle with old method : 0.04172849655151367 length of segment : 182 time for calcul the mask position with numpy : 0.0016520023345947266 nb_pixel_total : 74244 time to create 1 rle with old method : 0.07938551902770996 length of segment : 394 time for calcul the mask position with numpy : 0.0008437633514404297 nb_pixel_total : 52179 time to create 1 rle with old method : 0.06021857261657715 length of segment : 217 time for calcul the mask position with numpy : 0.00015544891357421875 nb_pixel_total : 6520 time to create 1 rle with old method : 0.007757425308227539 length of segment : 91 time for calcul the mask position with numpy : 0.0180208683013916 nb_pixel_total : 808860 time to create 1 rle with new method : 0.08644628524780273 length of segment : 1247 time for calcul the mask position with numpy : 0.004433155059814453 nb_pixel_total : 148064 time to create 1 rle with old method : 0.17066025733947754 length of segment : 660 time for calcul the mask position with numpy : 0.00018143653869628906 nb_pixel_total : 8114 time to create 1 rle with old method : 0.009383916854858398 length of segment : 114 time for calcul the mask position with numpy : 0.003624439239501953 nb_pixel_total : 308598 time to create 1 rle with new method : 0.008352518081665039 length of segment : 967 time for calcul the mask position with numpy : 0.0014438629150390625 nb_pixel_total : 52553 time to create 1 rle with old method : 0.059960126876831055 length of segment : 465 time for calcul the mask position with numpy : 0.014700889587402344 nb_pixel_total : 641114 time to create 1 rle with new method : 0.2509937286376953 length of segment : 1454 time for calcul the mask position with numpy : 0.002452373504638672 nb_pixel_total : 168136 time to create 1 rle with new method : 0.00616765022277832 length of segment : 435 time for calcul the mask position with numpy : 0.0030121803283691406 nb_pixel_total : 115348 time to create 1 rle with old method : 0.14306855201721191 length of segment : 786 time for calcul the mask position with numpy : 0.0005419254302978516 nb_pixel_total : 12448 time to create 1 rle with old method : 0.014892101287841797 length of segment : 105 time for calcul the mask position with numpy : 0.00047779083251953125 nb_pixel_total : 4963 time to create 1 rle with old method : 0.006131887435913086 length of segment : 152 time for calcul the mask position with numpy : 0.00042510032653808594 nb_pixel_total : 6073 time to create 1 rle with old method : 0.007672786712646484 length of segment : 178 time for calcul the mask position with numpy : 0.0001621246337890625 nb_pixel_total : 4124 time to create 1 rle with old method : 0.0049130916595458984 length of segment : 140 time for calcul the mask position with numpy : 0.0062503814697265625 nb_pixel_total : 274495 time to create 1 rle with new method : 0.010735750198364258 length of segment : 1190 time for calcul the mask position with numpy : 0.0009527206420898438 nb_pixel_total : 42055 time to create 1 rle with old method : 0.04743647575378418 length of segment : 212 time for calcul the mask position with numpy : 0.11945295333862305 nb_pixel_total : 1379720 time to create 1 rle with new method : 0.059487104415893555 length of segment : 1748 time for calcul the mask position with numpy : 0.0002834796905517578 nb_pixel_total : 14493 time to create 1 rle with old method : 0.01680588722229004 length of segment : 243 time for calcul the mask position with numpy : 0.0034406185150146484 nb_pixel_total : 314772 time to create 1 rle with new method : 0.007714986801147461 length of segment : 1003 time for calcul the mask position with numpy : 0.15931439399719238 nb_pixel_total : 1507924 time to create 1 rle with new method : 0.06395387649536133 length of segment : 2135 time for calcul the mask position with numpy : 0.0003421306610107422 nb_pixel_total : 27544 time to create 1 rle with old method : 0.030521154403686523 length of segment : 333 time for calcul the mask position with numpy : 0.0033316612243652344 nb_pixel_total : 283965 time to create 1 rle with new method : 0.007931232452392578 length of segment : 842 time for calcul the mask position with numpy : 0.0034575462341308594 nb_pixel_total : 305384 time to create 1 rle with new method : 0.007994890213012695 length of segment : 918 time for calcul the mask position with numpy : 0.0006513595581054688 nb_pixel_total : 11246 time to create 1 rle with old method : 0.01334834098815918 length of segment : 203 time for calcul the mask position with numpy : 0.012997865676879883 nb_pixel_total : 776681 time to create 1 rle with new method : 0.04658055305480957 length of segment : 1065 time for calcul the mask position with numpy : 0.0001163482666015625 nb_pixel_total : 4789 time to create 1 rle with old method : 0.005629777908325195 length of segment : 94 time for calcul the mask position with numpy : 0.0031900405883789062 nb_pixel_total : 246457 time to create 1 rle with new method : 0.009825468063354492 length of segment : 914 time for calcul the mask position with numpy : 0.0016646385192871094 nb_pixel_total : 97092 time to create 1 rle with old method : 0.10694146156311035 length of segment : 173 time for calcul the mask position with numpy : 0.023772001266479492 nb_pixel_total : 1227470 time to create 1 rle with new method : 0.06768584251403809 length of segment : 1464 time for calcul the mask position with numpy : 0.0028150081634521484 nb_pixel_total : 168178 time to create 1 rle with new method : 0.0053670406341552734 length of segment : 624 time for calcul the mask position with numpy : 0.0004367828369140625 nb_pixel_total : 25528 time to create 1 rle with old method : 0.029168367385864258 length of segment : 262 time for calcul the mask position with numpy : 0.003537416458129883 nb_pixel_total : 307732 time to create 1 rle with new method : 0.007796049118041992 length of segment : 960 time for calcul the mask position with numpy : 0.057247161865234375 nb_pixel_total : 1599547 time to create 1 rle with new method : 0.13954615592956543 length of segment : 1582 time for calcul the mask position with numpy : 0.0034165382385253906 nb_pixel_total : 313428 time to create 1 rle with new method : 0.0071141719818115234 length of segment : 925 time for calcul the mask position with numpy : 0.018257617950439453 nb_pixel_total : 1487844 time to create 1 rle with new method : 0.16763758659362793 length of segment : 1871 time for calcul the mask position with numpy : 0.003444671630859375 nb_pixel_total : 310118 time to create 1 rle with new method : 0.00785517692565918 length of segment : 943 time spent for convertir_results : 7.783027410507202 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 57 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 33122 save missing photos in datou_result : time spend for datou_step_exec : 30.172698736190796 time spend to save output : 3.775690793991089 total time spend for step 1 : 33.948389530181885 step2:crop_condition Tue Mar 11 08:33:03 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 57 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 ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : 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 [1342862219, 1342862213, 1342862019, 1342861998, 1342861602, 1342861562, 1342861425, 1342861423, 1342861365, 1342861363] Looping around the photos to save general results len do output : 16 /-3704493465Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3704493468Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3704493477Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3704493496Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3704493492Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3704551600Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3704493474Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3704493480Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3704493462Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3704493481Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3704493486Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3704493484Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3704493467Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3704493482Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3704493470Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3704493494Didn'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, '2657252') ('3459', '21266837', '1342862219', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342862213', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342862019', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861998', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861602', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861562', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861425', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861423', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861365', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861363', None, None, None, None, None, '2657252') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 58 time used for this insertion : 0.5723910331726074 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.120447158813477 time spend to save output : 0.5734579563140869 total time spend for step 2 : 9.693905115127563 step3:thcl Tue Mar 11 08:33:13 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.007221698760986328 time to convert the images to numpy array : 2.1457672119140625e-06 time to import caffe and check if the image exist : 0.008376836776733398 time to convert the images to numpy array : 2.1457672119140625e-06 time to import caffe and check if the image exist : 0.005980491638183594 time to convert the images to numpy array : 0.013432741165161133 time to import caffe and check if the image exist : 0.009002685546875 time to convert the images to numpy array : 0.009775161743164062 time to import caffe and check if the image exist : 0.009982109069824219 time to convert the images to numpy array : 0.009171724319458008 time to import caffe and check if the image exist : 0.006058216094970703 time to convert the images to numpy array : 0.01951885223388672 time to import caffe and check if the image exist : 0.00848388671875 time to convert the images to numpy array : 0.01791214942932129 time to import caffe and check if the image exist : 0.0039958953857421875 time to convert the images to numpy array : 0.024056196212768555 time to import caffe and check if the image exist : 0.0045773983001708984 time to convert the images to numpy array : 0.024075031280517578 time to import caffe and check if the image exist : 0.014066934585571289 time to convert the images to numpy array : 0.0382075309753418 total time to convert the images to numpy array : 0.33333301544189453 list photo_ids error: [] list photo_ids correct : [-3704493465, -3704493468, -3704493467, -3704493482, -3704493470, -3704493494, -3704493486, -3704493484, -3704493474, -3704493480, -3704493492, -3704551600, -3704493462, -3704493481, -3704493477, -3704493496] number of photos to traite : 16 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 : 10814 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 : 10595 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.1697859764099121 time used to do the prediction : 0.07315468788146973 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 : 10593 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 : 10593 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.13036441802978516 time used to do the prediction : 0.055075883865356445 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 : 7.62939453125e-06 save missing photos in datou_result : time spend for datou_step_exec : 7.64366888999939 time spend to save output : 0.0002868175506591797 total time spend for step 3 : 7.643955707550049 step4:merge_mask_thcl_custom Tue Mar 11 08: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 ! 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 57 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 [1342862219, 1342862213, 1342862019, 1342861998, 1342861602, 1342861562, 1342861425, 1342861423, 1342861365, 1342861363] Looping around the photos to save general results len do output : 10 /1342862219Didn't retrieve data .Didn't retrieve data . /1342862213Didn't retrieve data .Didn't retrieve data . /1342862019Didn't retrieve data .Didn't retrieve data . /1342861998Didn't retrieve data .Didn't retrieve data . /1342861602Didn't retrieve data .Didn't retrieve data . /1342861562Didn't retrieve data .Didn't retrieve data . /1342861425Didn't retrieve data .Didn't retrieve data . /1342861423Didn't retrieve data .Didn't retrieve data . /1342861365Didn't retrieve data .Didn't retrieve data . /1342861363Didn'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, '2657252') ('3459', '21266837', '1342862219', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342862213', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342862019', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861998', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861602', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861562', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861425', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861423', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861365', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861363', None, None, None, None, None, '2657252') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01453399658203125 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.05736398696899414 time spend to save output : 0.015008687973022461 total time spend for step 4 : 0.0723726749420166 step5:rle_unique_nms_with_priority Tue Mar 11 08: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 complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 1.384209156036377 time for calcul the mask position with numpy : 0.011090993881225586 nb_pixel_total : 721227 time to create 1 rle with new method : 0.2501797676086426 time for calcul the mask position with numpy : 0.007208824157714844 nb_pixel_total : 86670 time to create 1 rle with old method : 0.09101009368896484 time for calcul the mask position with numpy : 0.006529331207275391 nb_pixel_total : 91943 time to create 1 rle with old method : 0.09952139854431152 time for calcul the mask position with numpy : 0.006119728088378906 nb_pixel_total : 32880 time to create 1 rle with old method : 0.035698652267456055 time for calcul the mask position with numpy : 0.007539510726928711 nb_pixel_total : 209932 time to create 1 rle with new method : 0.08523011207580566 time for calcul the mask position with numpy : 0.0889272689819336 nb_pixel_total : 930948 time to create 1 rle with new method : 0.08258652687072754 create new chi : 0.7949206829071045 time to delete rle : 0.021900415420532227 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 7576 TO DO : save crop sub photo not yet done ! save time : 1.4653162956237793 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 1.5034418106079102 time for calcul the mask position with numpy : 0.10094666481018066 nb_pixel_total : 1160369 time to create 1 rle with new method : 0.07061266899108887 time for calcul the mask position with numpy : 0.006766080856323242 nb_pixel_total : 47612 time to create 1 rle with old method : 0.051238298416137695 time for calcul the mask position with numpy : 0.006469011306762695 nb_pixel_total : 27016 time to create 1 rle with old method : 0.029717445373535156 time for calcul the mask position with numpy : 0.007871150970458984 nb_pixel_total : 149516 time to create 1 rle with old method : 0.16737723350524902 time for calcul the mask position with numpy : 0.006958723068237305 nb_pixel_total : 95927 time to create 1 rle with old method : 0.10788249969482422 time for calcul the mask position with numpy : 0.010230302810668945 nb_pixel_total : 593160 time to create 1 rle with new method : 0.16950535774230957 create new chi : 0.743333101272583 time to delete rle : 0.0007367134094238281 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 7860 TO DO : save crop sub photo not yet done ! save time : 1.2853031158447266 nb_obj : 11 nb_hashtags : 5 time to prepare the origin masks : 1.6025359630584717 time for calcul the mask position with numpy : 0.029294490814208984 nb_pixel_total : 857913 time to create 1 rle with new method : 0.24106287956237793 time for calcul the mask position with numpy : 0.006831169128417969 nb_pixel_total : 73960 time to create 1 rle with old method : 0.08430123329162598 time for calcul the mask position with numpy : 0.006772518157958984 nb_pixel_total : 648 time to create 1 rle with old method : 0.0008358955383300781 time for calcul the mask position with numpy : 0.006934404373168945 nb_pixel_total : 5876 time to create 1 rle with old method : 0.0067636966705322266 time for calcul the mask position with numpy : 0.006704807281494141 nb_pixel_total : 4650 time to create 1 rle with old method : 0.00553584098815918 time for calcul the mask position with numpy : 0.006335735321044922 nb_pixel_total : 2254 time to create 1 rle with old method : 0.0026297569274902344 time for calcul the mask position with numpy : 0.006279706954956055 nb_pixel_total : 23583 time to create 1 rle with old method : 0.026574373245239258 time for calcul the mask position with numpy : 0.007544994354248047 nb_pixel_total : 124650 time to create 1 rle with old method : 0.1383202075958252 time for calcul the mask position with numpy : 0.007233381271362305 nb_pixel_total : 88105 time to create 1 rle with old method : 0.09795570373535156 time for calcul the mask position with numpy : 0.01217341423034668 nb_pixel_total : 807542 time to create 1 rle with new method : 0.07394123077392578 time for calcul the mask position with numpy : 0.006639719009399414 nb_pixel_total : 51946 time to create 1 rle with old method : 0.06050467491149902 time for calcul the mask position with numpy : 0.00652766227722168 nb_pixel_total : 32473 time to create 1 rle with old method : 0.036019086837768555 create new chi : 0.9006528854370117 time to delete rle : 0.0009686946868896484 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 10775 TO DO : save crop sub photo not yet done ! save time : 4.770621299743652 nb_obj : 10 nb_hashtags : 3 time to prepare the origin masks : 1.14750075340271 time for calcul the mask position with numpy : 0.014584541320800781 nb_pixel_total : 1060004 time to create 1 rle with new method : 0.17827057838439941 time for calcul the mask position with numpy : 0.0062215328216552734 nb_pixel_total : 59645 time to create 1 rle with old method : 0.06233787536621094 time for calcul the mask position with numpy : 0.005869388580322266 nb_pixel_total : 5975 time to create 1 rle with old method : 0.006407022476196289 time for calcul the mask position with numpy : 0.005621671676635742 nb_pixel_total : 21 time to create 1 rle with old method : 9.1552734375e-05 time for calcul the mask position with numpy : 0.005612850189208984 nb_pixel_total : 4930 time to create 1 rle with old method : 0.0052106380462646484 time for calcul the mask position with numpy : 0.006521940231323242 nb_pixel_total : 166854 time to create 1 rle with new method : 0.04607200622558594 time for calcul the mask position with numpy : 0.006386756896972656 nb_pixel_total : 12425 time to create 1 rle with old method : 0.013314008712768555 time for calcul the mask position with numpy : 0.006550788879394531 nb_pixel_total : 12370 time to create 1 rle with old method : 0.014358997344970703 time for calcul the mask position with numpy : 0.0060482025146484375 nb_pixel_total : 2825 time to create 1 rle with old method : 0.004324913024902344 time for calcul the mask position with numpy : 0.012934684753417969 nb_pixel_total : 696166 time to create 1 rle with new method : 0.028732776641845703 time for calcul the mask position with numpy : 0.006201982498168945 nb_pixel_total : 52385 time to create 1 rle with old method : 0.05585646629333496 create new chi : 0.5055451393127441 time to delete rle : 0.0007753372192382812 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 8143 TO DO : save crop sub photo not yet done ! save time : 2.7867634296417236 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.598790168762207 time for calcul the mask position with numpy : 0.008629322052001953 nb_pixel_total : 361150 time to create 1 rle with new method : 0.030931711196899414 time for calcul the mask position with numpy : 0.006778717041015625 nb_pixel_total : 15082 time to create 1 rle with old method : 0.0244600772857666 time for calcul the mask position with numpy : 0.00742793083190918 nb_pixel_total : 74880 time to create 1 rle with old method : 0.09536886215209961 time for calcul the mask position with numpy : 0.006414890289306641 nb_pixel_total : 13123 time to create 1 rle with old method : 0.014909982681274414 time for calcul the mask position with numpy : 0.017119169235229492 nb_pixel_total : 1609365 time to create 1 rle with new method : 0.04810595512390137 create new chi : 0.2608299255371094 time to delete rle : 0.0004124641418457031 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 4340 TO DO : save crop sub photo not yet done ! save time : 1.8126299381256104 nb_obj : 5 nb_hashtags : 1 time to prepare the origin masks : 0.8554511070251465 time for calcul the mask position with numpy : 0.00983119010925293 nb_pixel_total : 460565 time to create 1 rle with new method : 0.18781375885009766 time for calcul the mask position with numpy : 0.0071125030517578125 nb_pixel_total : 39049 time to create 1 rle with old method : 0.06159472465515137 time for calcul the mask position with numpy : 0.006854534149169922 nb_pixel_total : 12837 time to create 1 rle with old method : 0.01466822624206543 time for calcul the mask position with numpy : 0.007032632827758789 nb_pixel_total : 4527 time to create 1 rle with old method : 0.0052111148834228516 time for calcul the mask position with numpy : 0.007002592086791992 nb_pixel_total : 98785 time to create 1 rle with old method : 0.11775064468383789 time for calcul the mask position with numpy : 0.04850649833679199 nb_pixel_total : 1457837 time to create 1 rle with new method : 0.08682942390441895 create new chi : 0.5765447616577148 time to delete rle : 0.0007011890411376953 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 7202 TO DO : save crop sub photo not yet done ! save time : 1.4810309410095215 nb_obj : 5 nb_hashtags : 4 time to prepare the origin masks : 0.44809770584106445 time for calcul the mask position with numpy : 0.032904624938964844 nb_pixel_total : 936631 time to create 1 rle with new method : 0.09800195693969727 time for calcul the mask position with numpy : 0.006421089172363281 nb_pixel_total : 11195 time to create 1 rle with old method : 0.012447357177734375 time for calcul the mask position with numpy : 0.006244659423828125 nb_pixel_total : 3551 time to create 1 rle with old method : 0.0038890838623046875 time for calcul the mask position with numpy : 0.007683277130126953 nb_pixel_total : 246096 time to create 1 rle with new method : 0.0751039981842041 time for calcul the mask position with numpy : 0.007018566131591797 nb_pixel_total : 97032 time to create 1 rle with old method : 0.1126716136932373 time for calcul the mask position with numpy : 0.011956930160522461 nb_pixel_total : 779095 time to create 1 rle with new method : 0.07786273956298828 create new chi : 0.46970152854919434 time to delete rle : 0.0005948543548583984 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 5761 TO DO : save crop sub photo not yet done ! save time : 1.2752928733825684 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.349102258682251 time for calcul the mask position with numpy : 0.012981414794921875 nb_pixel_total : 688014 time to create 1 rle with new method : 0.03128957748413086 time for calcul the mask position with numpy : 0.007361650466918945 nb_pixel_total : 123136 time to create 1 rle with old method : 0.1365668773651123 time for calcul the mask position with numpy : 0.0062444210052490234 nb_pixel_total : 20918 time to create 1 rle with old method : 0.023630857467651367 time for calcul the mask position with numpy : 0.005992412567138672 nb_pixel_total : 16463 time to create 1 rle with old method : 0.01897907257080078 time for calcul the mask position with numpy : 0.014269113540649414 nb_pixel_total : 1225069 time to create 1 rle with new method : 0.21045732498168945 create new chi : 0.468611478805542 time to delete rle : 0.0005419254302978516 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 6074 TO DO : save crop sub photo not yet done ! save time : 1.6237783432006836 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.4855382442474365 time for calcul the mask position with numpy : 0.009645700454711914 nb_pixel_total : 429643 time to create 1 rle with new method : 0.14893198013305664 time for calcul the mask position with numpy : 0.0077075958251953125 nb_pixel_total : 4 time to create 1 rle with old method : 3.0040740966796875e-05 time for calcul the mask position with numpy : 0.0070116519927978516 nb_pixel_total : 36364 time to create 1 rle with old method : 0.04280543327331543 time for calcul the mask position with numpy : 0.006794929504394531 nb_pixel_total : 8411 time to create 1 rle with old method : 0.011383533477783203 time for calcul the mask position with numpy : 0.05427217483520508 nb_pixel_total : 1599178 time to create 1 rle with new method : 0.10937762260437012 create new chi : 0.41817140579223633 time to delete rle : 0.0008792877197265625 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 6033 TO DO : save crop sub photo not yet done ! save time : 5.201680660247803 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.4309220314025879 time for calcul the mask position with numpy : 0.008836746215820312 nb_pixel_total : 405010 time to create 1 rle with new method : 0.28928327560424805 time for calcul the mask position with numpy : 0.006246328353881836 nb_pixel_total : 40253 time to create 1 rle with old method : 0.04341387748718262 time for calcul the mask position with numpy : 0.005957365036010742 nb_pixel_total : 2929 time to create 1 rle with old method : 0.0046539306640625 time for calcul the mask position with numpy : 0.0642852783203125 nb_pixel_total : 1625408 time to create 1 rle with new method : 0.2513272762298584 create new chi : 0.6839313507080078 time to delete rle : 0.0004684925079345703 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 4516 TO DO : save crop sub photo not yet done ! save time : 1.5822463035583496 map_output_result : {1342862219: (0.0, 'Should be the crop_list due to order', 0), 1342862213: (0.0, 'Should be the crop_list due to order', 0), 1342862019: (0.0, 'Should be the crop_list due to order', 0), 1342861998: (0.0, 'Should be the crop_list due to order', 0), 1342861602: (0.0, 'Should be the crop_list due to order', 0), 1342861562: (0.0, 'Should be the crop_list due to order', 0), 1342861425: (0.0, 'Should be the crop_list due to order', 0), 1342861423: (0.0, 'Should be the crop_list due to order', 0), 1342861365: (0.0, 'Should be the crop_list due to order', 0), 1342861363: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1342862219, 1342862213, 1342862019, 1342861998, 1342861602, 1342861562, 1342861425, 1342861423, 1342861365, 1342861363] Looping around the photos to save general results len do output : 10 /1342862219.Didn't retrieve data . /1342862213.Didn't retrieve data . /1342862019.Didn't retrieve data . /1342861998.Didn't retrieve data . /1342861602.Didn't retrieve data . /1342861562.Didn't retrieve data . /1342861425.Didn't retrieve data . /1342861423.Didn't retrieve data . /1342861365.Didn't retrieve data . /1342861363.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, '2657252') ('3459', '21266837', '1342862219', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342862213', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342862019', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861998', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861602', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861562', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861425', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861423', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861365', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861363', None, None, None, None, None, '2657252') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.3378431797027588 save_final save missing photos in datou_result : time spend for datou_step_exec : 38.243852615356445 time spend to save output : 0.3383321762084961 total time spend for step 5 : 38.58218479156494 step6:crop_condition Tue Mar 11 08:33:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure some photos are not treated, begin crop_condition Loading chi in step crop with photo_hashtag_type : 3726 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 77 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 ! 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/1741678441_3802232 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.4752767086029053 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 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 map_result returned by crop_photo_return_map_crop : length : 0 About to insert : list_path_to_insert length 0 new photo from crops ! About to upload 0 photos WARNING : list_path_to_insert is empty, cannot upload ! we have finished the crop for the class : 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 map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741678443_3802232 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5334587097167969 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741678444_3802232 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6879642009735107 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741678445_3802232 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5328211784362793 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 [1342862219, 1342862213, 1342862019, 1342861998, 1342861602, 1342861562, 1342861425, 1342861423, 1342861365, 1342861363] Looping around the photos to save general results len do output : 7 /1342875816Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1342875818Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1342875821Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1342875825Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1342875851Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1342875869Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1342875883Didn'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, '2657252') ('3459', '21266837', '1342862219', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342862213', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342862019', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861998', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861602', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861562', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861425', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861423', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861365', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861363', None, None, None, None, None, '2657252') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 time used for this insertion : 0.023487091064453125 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.941174983978271 time spend to save output : 0.024043560028076172 total time spend for step 6 : 8.965218544006348 step7:ventilate_hashtags_in_portfolio Tue Mar 11 08:34:08 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 : 21266837 get user id for portfolio 21266837 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`=21266837 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','autre_refus','mal_croppe','flou','cartonnette','Carton_brun','Carton_gris','kraft','plastique','papier','metal','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21266837 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','autre_refus','mal_croppe','flou','cartonnette','Carton_brun','Carton_gris','kraft','plastique','papier','metal','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21266837 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','autre_refus','mal_croppe','flou','cartonnette','Carton_brun','Carton_gris','kraft','plastique','papier','metal','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/21267305,21267306,21267307,21267308,21267309,21267310,21267311,21267312,21267313,21267314,21267315,21267316?tags=environnement,autre_refus,mal_croppe,flou,cartonnette,Carton_brun,Carton_gris,kraft,plastique,papier,metal,Teint_Dans_La_Masse Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1342862219, 1342862213, 1342862019, 1342861998, 1342861602, 1342861562, 1342861425, 1342861423, 1342861365, 1342861363] Looping around the photos to save general results len do output : 1 /21266837. 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, '2657252') ('3459', '21266837', '1342862219', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342862213', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342862019', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861998', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861602', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861562', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861425', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861423', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861365', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861363', None, None, None, None, None, '2657252') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013403177261352539 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.946345806121826 time spend to save output : 0.013683080673217773 total time spend for step 7 : 3.960028886795044 step8:final Tue Mar 11 08:34:12 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 : {1342862219: ('0.03480265453910918',), 1342862213: ('0.03480265453910918',), 1342862019: ('0.03480265453910918',), 1342861998: ('0.03480265453910918',), 1342861602: ('0.03480265453910918',), 1342861562: ('0.03480265453910918',), 1342861425: ('0.03480265453910918',), 1342861423: ('0.03480265453910918',), 1342861365: ('0.03480265453910918',), 1342861363: ('0.03480265453910918',)} new output for save of step final : {1342862219: ('0.03480265453910918',), 1342862213: ('0.03480265453910918',), 1342862019: ('0.03480265453910918',), 1342861998: ('0.03480265453910918',), 1342861602: ('0.03480265453910918',), 1342861562: ('0.03480265453910918',), 1342861425: ('0.03480265453910918',), 1342861423: ('0.03480265453910918',), 1342861365: ('0.03480265453910918',), 1342861363: ('0.03480265453910918',)} [1342862219, 1342862213, 1342862019, 1342861998, 1342861602, 1342861562, 1342861425, 1342861423, 1342861365, 1342861363] Looping around the photos to save general results len do output : 10 /1342862219.Didn't retrieve data . /1342862213.Didn't retrieve data . /1342862019.Didn't retrieve data . /1342861998.Didn't retrieve data . /1342861602.Didn't retrieve data . /1342861562.Didn't retrieve data . /1342861425.Didn't retrieve data . /1342861423.Didn't retrieve data . /1342861365.Didn't retrieve data . /1342861363.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, '2657252') ('3459', '21266837', '1342862219', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342862213', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342862019', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861998', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861602', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861562', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861425', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861423', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861365', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861363', None, None, None, None, None, '2657252') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.1669602394104004 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.09990334510803223 time spend to save output : 0.1675858497619629 total time spend for step 8 : 0.2674891948699951 step9:velours_tree Tue Mar 11 08:34:12 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.029824018478393555 time spend to save output : 2.6702880859375e-05 total time spend for step 9 : 0.02985072135925293 step10:send_mail_cod Tue Mar 11 08:34:12 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_P21266837_11-03-2025_08_34_12.pdf 21267306 imagette212673061741678452 21267307 imagette212673071741678452 21267308 imagette212673081741678452 21267309 change filename to text .change filename to text .imagette212673091741678452 21267312 imagette212673121741678452 21267313 change filename to text .imagette212673131741678452 21267315 imagette212673151741678452 21267310 change filename to text .imagette212673101741678452 21267311 imagette212673111741678453 21267316 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette212673161741678453 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21266837 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21267305,21267306,21267307,21267308,21267309,21267310,21267311,21267312,21267313,21267314,21267315,21267316?tags=environnement,autre_refus,mal_croppe,flou,cartonnette,Carton_brun,Carton_gris,kraft,plastique,papier,metal,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1342862219] : ('0.03480265453910918',) no score found for photo 1342862219 We are sending mail with results at report@fotonower.com args[1342862213] : ('0.03480265453910918',) no score found for photo 1342862213 We are sending mail with results at report@fotonower.com args[1342862019] : ('0.03480265453910918',) no score found for photo 1342862019 We are sending mail with results at report@fotonower.com args[1342861998] : ('0.03480265453910918',) no score found for photo 1342861998 We are sending mail with results at report@fotonower.com args[1342861602] : ('0.03480265453910918',) no score found for photo 1342861602 We are sending mail with results at report@fotonower.com args[1342861562] : ('0.03480265453910918',) no score found for photo 1342861562 We are sending mail with results at report@fotonower.com args[1342861425] : ('0.03480265453910918',) no score found for photo 1342861425 We are sending mail with results at report@fotonower.com args[1342861423] : ('0.03480265453910918',) no score found for photo 1342861423 We are sending mail with results at report@fotonower.com args[1342861365] : ('0.03480265453910918',) no score found for photo 1342861365 We are sending mail with results at report@fotonower.com args[1342861363] : ('0.03480265453910918',) no score found for photo 1342861363 We are sending mail with results at report@fotonower.com refus_total : 0.03480265453910918 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=21266837 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1342861998,1342861309,1342862219,1342862213,1342862019,1342861602,1342861562,1342861425,1342861423,1342861365,1342861363,1342861315,1342859699,1342861115,1342860948,1342860650,1342860630,1342860444,1342860355,1342860352) Found this number of photos: 20 begin to download photo : 1342861998 begin to download photo : 1342861602 begin to download photo : 1342861363 begin to download photo : 1342860650 download finish for photo 1342860650 begin to download photo : 1342860630 download finish for photo 1342861363 begin to download photo : 1342861315 download finish for photo 1342861998 begin to download photo : 1342861309 download finish for photo 1342861315 begin to download photo : 1342859699 download finish for photo 1342860630 begin to download photo : 1342860444 download finish for photo 1342861309 begin to download photo : 1342862219 download finish for photo 1342859699 begin to download photo : 1342861115 download finish for photo 1342860444 begin to download photo : 1342860355 download finish for photo 1342862219 begin to download photo : 1342862213 download finish for photo 1342861115 begin to download photo : 1342860948 download finish for photo 1342860355 begin to download photo : 1342860352 download finish for photo 1342862213 begin to download photo : 1342862019 download finish for photo 1342860948 download finish for photo 1342860352 download finish for photo 1342862019 download finish for photo 1342861602 begin to download photo : 1342861562 download finish for photo 1342861562 begin to download photo : 1342861425 download finish for photo 1342861425 begin to download photo : 1342861423 download finish for photo 1342861423 begin to download photo : 1342861365 download finish for photo 1342861365 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21266837_11-03-2025_08_34_12.pdf results_Auto_P21266837_11-03-2025_08_34_12.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21266837_11-03-2025_08_34_12.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','21266837','results_Auto_P21266837_11-03-2025_08_34_12.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21266837_11-03-2025_08_34_12.pdf','pdf','','0.2','0.03480265453910918') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1342862219, 1342862213, 1342862019, 1342861998, 1342861602, 1342861562, 1342861425, 1342861423, 1342861365, 1342861363] 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, '2657252') ('3459', '21266837', '1342862219', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342862213', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342862019', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861998', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861602', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861562', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861425', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861423', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861365', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861363', None, None, None, None, None, '2657252') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.014252662658691406 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.9314193725585938 time spend to save output : 0.014513731002807617 total time spend for step 10 : 3.9459331035614014 step11:split_time_score Tue Mar 11 08:34:16 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('07', 23),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 11032025 21266837 Nombre de photos uploadées : 23 / 23040 (0%) 11032025 21266837 Nombre de photos taguées (types de déchets): 0 / 23 (0%) 11032025 21266837 Nombre de photos taguées (volume) : 0 / 23 (0%) elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 6.4373016357421875e-06 ??????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0010857582092285156 elapsed_time : insert_dashboard_record_day_entry 0.022862911224365234 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.038386490015462016 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21263611_11-03-2025_07_25_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21263611 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`=21263611 AND mptpi.`type`=3726 To do Qualite : 0.05056784075918166 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21264436_11-03-2025_07_39_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21264436 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`=21264436 AND mptpi.`type`=3726 To do Qualite : 0.03480265453910918 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21266837_11-03-2025_08_34_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21266837 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`=21266837 AND mptpi.`type`=3726 To do Qualite : 0.018221849066882945 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21266838_11-03-2025_08_32_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21266838 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`=21266838 AND mptpi.`type`=3726 To do Qualite : 0.02757936120289834 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21266839_11-03-2025_08_32_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21266839 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`=21266839 AND mptpi.`type`=3726 To do Qualite : 0.03743370733203839 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21267077_11-03-2025_08_33_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21267077 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`=21267077 AND mptpi.`type`=3726 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'11032025': {'nb_upload': 23, '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 [1342862219, 1342862213, 1342862019, 1342861998, 1342861602, 1342861562, 1342861425, 1342861423, 1342861365, 1342861363] Looping around the photos to save general results len do output : 1 /21266837Didn'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, '2657252') ('3459', '21266837', '1342862219', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342862213', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342862019', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861998', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861602', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861562', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861425', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861423', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861365', None, None, None, None, None, '2657252') ('3459', None, None, None, None, None, None, None, '2657252') ('3459', '21266837', '1342861363', None, None, None, None, None, '2657252') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.017650604248046875 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5862860679626465 time spend to save output : 0.01787424087524414 total time spend for step 11 : 0.6041603088378906 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 40.35user 27.53system 1:52.13elapsed 60%CPU (0avgtext+0avgdata 2710288maxresident)k 489064inputs+26824outputs (668major+1878025minor)pagefaults 0swaps