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 : 2286411 load datou : 3459 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? output optionnel thcl was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) load thcls load THCL from format json or kwargs add thcl : 2456 in CacheModelConfig load THCL from format json or kwargs add thcl : 2868 in CacheModelConfig load THCL from format json or kwargs add thcl : 2896 in CacheModelConfig load pdts add pdt : 4999 in CacheModelConfig add pdt : 5288 in CacheModelConfig add pdt : 5309 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 we have a portfolio with more photos than limit : 44>10 please execute split_portfolio.py -i 20528860 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2584387'] with mtr_portfolio_ids : ['20528860'] and first list_photo_ids : [] new path : /proc/2286411/ 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.4579405784606934 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Fri Feb 14 00:16: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 : 5359 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-14 00:16:32.551224: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-02-14 00:16:32.583229: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-14 00:16:32.586109: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f0ed8000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-14 00:16:32.586159: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-14 00:16:32.590309: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-14 00:16:32.836630: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3b897200 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-14 00:16:32.836692: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-14 00:16:32.838111: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-14 00:16:32.838544: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-14 00:16:32.841958: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-14 00:16:32.846061: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-14 00:16:32.846507: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-14 00:16:32.852724: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-14 00:16:32.857259: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-14 00:16:32.874417: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-14 00:16:32.876337: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-14 00:16:32.876449: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-14 00:16:32.877433: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-14 00:16:32.877458: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-14 00:16:32.877473: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-14 00:16:32.879564: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4895 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-02-14 00:16:33.169468: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-14 00:16:33.169570: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-14 00:16:33.169595: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-14 00:16:33.169614: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-14 00:16:33.169631: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-14 00:16:33.169649: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-14 00:16:33.169666: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-14 00:16:33.169684: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-14 00:16:33.170875: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-14 00:16:33.172141: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-14 00:16:33.172195: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-14 00:16:33.172227: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-14 00:16:33.172254: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-14 00:16:33.172280: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-14 00:16:33.172308: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-14 00:16:33.172335: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-14 00:16:33.172363: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-14 00:16:33.173653: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-14 00:16:33.173692: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-14 00:16:33.173703: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-14 00:16:33.173713: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-14 00:16:33.174987: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4895 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-02-14 00:16:44.691340: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-14 00:16:44.886785: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 20 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 20 Detection mask done ! Trying to reset tf kernel 2287819 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 70 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 : 5359 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.0015554428100585938 nb_pixel_total : 31180 time to create 1 rle with old method : 0.0406191349029541 length of segment : 182 time for calcul the mask position with numpy : 0.017666101455688477 nb_pixel_total : 328173 time to create 1 rle with new method : 0.02391338348388672 length of segment : 983 time for calcul the mask position with numpy : 0.0005068778991699219 nb_pixel_total : 18408 time to create 1 rle with old method : 0.021914958953857422 length of segment : 106 time for calcul the mask position with numpy : 0.0008263587951660156 nb_pixel_total : 26253 time to create 1 rle with old method : 0.032280683517456055 length of segment : 125 time for calcul the mask position with numpy : 0.0003540515899658203 nb_pixel_total : 10743 time to create 1 rle with old method : 0.014782428741455078 length of segment : 122 time for calcul the mask position with numpy : 0.00015211105346679688 nb_pixel_total : 5301 time to create 1 rle with old method : 0.007093906402587891 length of segment : 76 time for calcul the mask position with numpy : 0.0010013580322265625 nb_pixel_total : 46316 time to create 1 rle with old method : 0.054674386978149414 length of segment : 276 time for calcul the mask position with numpy : 0.0006988048553466797 nb_pixel_total : 21047 time to create 1 rle with old method : 0.025781869888305664 length of segment : 334 time for calcul the mask position with numpy : 0.0007367134094238281 nb_pixel_total : 25394 time to create 1 rle with old method : 0.029788494110107422 length of segment : 270 time for calcul the mask position with numpy : 0.0010077953338623047 nb_pixel_total : 46153 time to create 1 rle with old method : 0.05540752410888672 length of segment : 278 time for calcul the mask position with numpy : 0.05270099639892578 nb_pixel_total : 961529 time to create 1 rle with new method : 0.39117002487182617 length of segment : 2916 time for calcul the mask position with numpy : 0.0020689964294433594 nb_pixel_total : 82621 time to create 1 rle with old method : 0.0956718921661377 length of segment : 424 time for calcul the mask position with numpy : 0.8742749691009521 nb_pixel_total : 3199223 time to create 1 rle with new method : 0.86039137840271 length of segment : 3360 time for calcul the mask position with numpy : 0.0015437602996826172 nb_pixel_total : 32935 time to create 1 rle with old method : 0.08612442016601562 length of segment : 199 time for calcul the mask position with numpy : 0.0014836788177490234 nb_pixel_total : 54338 time to create 1 rle with old method : 0.0673978328704834 length of segment : 303 time for calcul the mask position with numpy : 0.0009589195251464844 nb_pixel_total : 29830 time to create 1 rle with old method : 0.03684401512145996 length of segment : 312 time for calcul the mask position with numpy : 0.0003681182861328125 nb_pixel_total : 23862 time to create 1 rle with old method : 0.027964115142822266 length of segment : 276 time for calcul the mask position with numpy : 0.0014290809631347656 nb_pixel_total : 53880 time to create 1 rle with old method : 0.07634401321411133 length of segment : 495 time for calcul the mask position with numpy : 0.0011487007141113281 nb_pixel_total : 46982 time to create 1 rle with old method : 0.05913209915161133 length of segment : 241 time for calcul the mask position with numpy : 0.1447436809539795 nb_pixel_total : 2931872 time to create 1 rle with new method : 0.4406454563140869 length of segment : 2916 time for calcul the mask position with numpy : 0.0004017353057861328 nb_pixel_total : 16230 time to create 1 rle with old method : 0.020221233367919922 length of segment : 151 time for calcul the mask position with numpy : 0.0016565322875976562 nb_pixel_total : 84407 time to create 1 rle with old method : 0.09688210487365723 length of segment : 480 time for calcul the mask position with numpy : 0.0014476776123046875 nb_pixel_total : 91619 time to create 1 rle with old method : 0.10581660270690918 length of segment : 536 time for calcul the mask position with numpy : 0.003251791000366211 nb_pixel_total : 70720 time to create 1 rle with old method : 0.09085917472839355 length of segment : 622 time for calcul the mask position with numpy : 0.002872467041015625 nb_pixel_total : 116055 time to create 1 rle with old method : 0.13535213470458984 length of segment : 406 time for calcul the mask position with numpy : 0.0009276866912841797 nb_pixel_total : 11258 time to create 1 rle with old method : 0.014714956283569336 length of segment : 237 time for calcul the mask position with numpy : 0.007116794586181641 nb_pixel_total : 317561 time to create 1 rle with new method : 0.011517763137817383 length of segment : 618 time for calcul the mask position with numpy : 0.0008831024169921875 nb_pixel_total : 25192 time to create 1 rle with old method : 0.03002452850341797 length of segment : 127 time for calcul the mask position with numpy : 0.0941472053527832 nb_pixel_total : 1626374 time to create 1 rle with new method : 0.6146776676177979 length of segment : 1804 time for calcul the mask position with numpy : 0.00042366981506347656 nb_pixel_total : 18290 time to create 1 rle with old method : 0.023124217987060547 length of segment : 172 time for calcul the mask position with numpy : 0.0012047290802001953 nb_pixel_total : 13415 time to create 1 rle with old method : 0.01604771614074707 length of segment : 266 time for calcul the mask position with numpy : 0.0019893646240234375 nb_pixel_total : 89657 time to create 1 rle with old method : 0.10559940338134766 length of segment : 577 time for calcul the mask position with numpy : 0.020432472229003906 nb_pixel_total : 572396 time to create 1 rle with new method : 0.07622838020324707 length of segment : 987 time for calcul the mask position with numpy : 0.0019173622131347656 nb_pixel_total : 111033 time to create 1 rle with old method : 0.12931084632873535 length of segment : 408 time for calcul the mask position with numpy : 0.00570368766784668 nb_pixel_total : 262568 time to create 1 rle with new method : 0.022769689559936523 length of segment : 1394 time for calcul the mask position with numpy : 0.0076215267181396484 nb_pixel_total : 395707 time to create 1 rle with new method : 0.01995563507080078 length of segment : 1244 time for calcul the mask position with numpy : 0.0008168220520019531 nb_pixel_total : 16733 time to create 1 rle with old method : 0.0201570987701416 length of segment : 158 time for calcul the mask position with numpy : 0.005163431167602539 nb_pixel_total : 226823 time to create 1 rle with new method : 0.007937908172607422 length of segment : 560 time for calcul the mask position with numpy : 0.002961874008178711 nb_pixel_total : 92113 time to create 1 rle with old method : 0.12771177291870117 length of segment : 623 time for calcul the mask position with numpy : 0.0006411075592041016 nb_pixel_total : 9338 time to create 1 rle with old method : 0.012822866439819336 length of segment : 140 time for calcul the mask position with numpy : 0.007117033004760742 nb_pixel_total : 153768 time to create 1 rle with new method : 0.011037111282348633 length of segment : 461 time for calcul the mask position with numpy : 0.0018754005432128906 nb_pixel_total : 17687 time to create 1 rle with old method : 0.023562908172607422 length of segment : 344 time for calcul the mask position with numpy : 0.0036880970001220703 nb_pixel_total : 198594 time to create 1 rle with new method : 0.0064411163330078125 length of segment : 399 time for calcul the mask position with numpy : 0.0011615753173828125 nb_pixel_total : 29104 time to create 1 rle with old method : 0.036670684814453125 length of segment : 307 time for calcul the mask position with numpy : 0.0002617835998535156 nb_pixel_total : 5446 time to create 1 rle with old method : 0.007151126861572266 length of segment : 76 time for calcul the mask position with numpy : 0.00020170211791992188 nb_pixel_total : 3272 time to create 1 rle with old method : 0.004167318344116211 length of segment : 59 time for calcul the mask position with numpy : 0.0016605854034423828 nb_pixel_total : 37161 time to create 1 rle with old method : 0.04281473159790039 length of segment : 419 time for calcul the mask position with numpy : 0.002607583999633789 nb_pixel_total : 92301 time to create 1 rle with old method : 0.10319232940673828 length of segment : 489 time for calcul the mask position with numpy : 0.0011515617370605469 nb_pixel_total : 41322 time to create 1 rle with old method : 0.05160713195800781 length of segment : 237 time for calcul the mask position with numpy : 0.0020627975463867188 nb_pixel_total : 70535 time to create 1 rle with old method : 0.07947611808776855 length of segment : 303 time for calcul the mask position with numpy : 0.0029296875 nb_pixel_total : 144404 time to create 1 rle with old method : 0.18590593338012695 length of segment : 608 time for calcul the mask position with numpy : 0.001965045928955078 nb_pixel_total : 62571 time to create 1 rle with old method : 0.08115530014038086 length of segment : 513 time for calcul the mask position with numpy : 0.0005183219909667969 nb_pixel_total : 15804 time to create 1 rle with old method : 0.019500017166137695 length of segment : 267 time for calcul the mask position with numpy : 0.0034351348876953125 nb_pixel_total : 92064 time to create 1 rle with old method : 0.13059711456298828 length of segment : 486 time for calcul the mask position with numpy : 0.0010750293731689453 nb_pixel_total : 24866 time to create 1 rle with old method : 0.03037261962890625 length of segment : 152 time for calcul the mask position with numpy : 0.00040268898010253906 nb_pixel_total : 9162 time to create 1 rle with old method : 0.011134862899780273 length of segment : 127 time for calcul the mask position with numpy : 0.0006344318389892578 nb_pixel_total : 15861 time to create 1 rle with old method : 0.018568038940429688 length of segment : 188 time for calcul the mask position with numpy : 0.004357576370239258 nb_pixel_total : 139283 time to create 1 rle with old method : 0.16573882102966309 length of segment : 562 time for calcul the mask position with numpy : 0.0029163360595703125 nb_pixel_total : 75596 time to create 1 rle with old method : 0.08705472946166992 length of segment : 419 time for calcul the mask position with numpy : 0.00027680397033691406 nb_pixel_total : 4431 time to create 1 rle with old method : 0.006327152252197266 length of segment : 72 time for calcul the mask position with numpy : 0.0014376640319824219 nb_pixel_total : 73331 time to create 1 rle with old method : 0.08545446395874023 length of segment : 432 time for calcul the mask position with numpy : 0.0014793872833251953 nb_pixel_total : 62706 time to create 1 rle with old method : 0.07191658020019531 length of segment : 270 time for calcul the mask position with numpy : 0.012627124786376953 nb_pixel_total : 404823 time to create 1 rle with new method : 0.024790048599243164 length of segment : 679 time for calcul the mask position with numpy : 0.0010421276092529297 nb_pixel_total : 37821 time to create 1 rle with old method : 0.04701423645019531 length of segment : 180 time for calcul the mask position with numpy : 0.0015645027160644531 nb_pixel_total : 30167 time to create 1 rle with old method : 0.03560233116149902 length of segment : 310 time for calcul the mask position with numpy : 0.00115966796875 nb_pixel_total : 20889 time to create 1 rle with old method : 0.03696131706237793 length of segment : 224 time for calcul the mask position with numpy : 0.008444547653198242 nb_pixel_total : 208887 time to create 1 rle with new method : 0.01404571533203125 length of segment : 694 time for calcul the mask position with numpy : 0.002924680709838867 nb_pixel_total : 1884 time to create 1 rle with old method : 0.0039272308349609375 length of segment : 100 time for calcul the mask position with numpy : 0.003923654556274414 nb_pixel_total : 192844 time to create 1 rle with new method : 0.009842157363891602 length of segment : 724 time for calcul the mask position with numpy : 0.0004627704620361328 nb_pixel_total : 17772 time to create 1 rle with old method : 0.020507335662841797 length of segment : 172 time for calcul the mask position with numpy : 0.0013010501861572266 nb_pixel_total : 35282 time to create 1 rle with old method : 0.0438079833984375 length of segment : 386 time for calcul the mask position with numpy : 0.008301734924316406 nb_pixel_total : 310993 time to create 1 rle with new method : 0.016775131225585938 length of segment : 727 time for calcul the mask position with numpy : 0.00013947486877441406 nb_pixel_total : 926 time to create 1 rle with old method : 0.0014948844909667969 length of segment : 37 time for calcul the mask position with numpy : 0.000232696533203125 nb_pixel_total : 4247 time to create 1 rle with old method : 0.006791353225708008 length of segment : 61 time for calcul the mask position with numpy : 0.0006582736968994141 nb_pixel_total : 14262 time to create 1 rle with old method : 0.018903017044067383 length of segment : 214 time for calcul the mask position with numpy : 0.0016987323760986328 nb_pixel_total : 57488 time to create 1 rle with old method : 0.06867361068725586 length of segment : 370 time for calcul the mask position with numpy : 0.0023810863494873047 nb_pixel_total : 77331 time to create 1 rle with old method : 0.08799052238464355 length of segment : 288 time for calcul the mask position with numpy : 0.003957986831665039 nb_pixel_total : 143991 time to create 1 rle with old method : 0.16346096992492676 length of segment : 452 time for calcul the mask position with numpy : 0.002664327621459961 nb_pixel_total : 46504 time to create 1 rle with old method : 0.05194258689880371 length of segment : 332 time for calcul the mask position with numpy : 0.0001747608184814453 nb_pixel_total : 2055 time to create 1 rle with old method : 0.002938985824584961 length of segment : 53 time for calcul the mask position with numpy : 0.0024535655975341797 nb_pixel_total : 86569 time to create 1 rle with old method : 0.10276150703430176 length of segment : 366 time for calcul the mask position with numpy : 0.0002887248992919922 nb_pixel_total : 4495 time to create 1 rle with old method : 0.005862236022949219 length of segment : 97 time for calcul the mask position with numpy : 0.009790897369384766 nb_pixel_total : 175109 time to create 1 rle with new method : 0.014150381088256836 length of segment : 600 time for calcul the mask position with numpy : 0.0002033710479736328 nb_pixel_total : 2308 time to create 1 rle with old method : 0.0034036636352539062 length of segment : 34 time for calcul the mask position with numpy : 0.0017130374908447266 nb_pixel_total : 56923 time to create 1 rle with old method : 0.07121062278747559 length of segment : 229 time for calcul the mask position with numpy : 0.0009093284606933594 nb_pixel_total : 14688 time to create 1 rle with old method : 0.017320632934570312 length of segment : 163 time for calcul the mask position with numpy : 0.009184122085571289 nb_pixel_total : 378829 time to create 1 rle with new method : 0.01503610610961914 length of segment : 777 time for calcul the mask position with numpy : 0.002015829086303711 nb_pixel_total : 67049 time to create 1 rle with old method : 0.09514498710632324 length of segment : 208 time for calcul the mask position with numpy : 0.0004444122314453125 nb_pixel_total : 14811 time to create 1 rle with old method : 0.01874828338623047 length of segment : 159 time for calcul the mask position with numpy : 0.002057790756225586 nb_pixel_total : 91140 time to create 1 rle with old method : 0.12293148040771484 length of segment : 618 time for calcul the mask position with numpy : 0.0001430511474609375 nb_pixel_total : 4019 time to create 1 rle with old method : 0.0048944950103759766 length of segment : 61 time for calcul the mask position with numpy : 0.027558565139770508 nb_pixel_total : 1214788 time to create 1 rle with new method : 0.2798433303833008 length of segment : 1882 time for calcul the mask position with numpy : 0.008019685745239258 nb_pixel_total : 314225 time to create 1 rle with new method : 0.04649186134338379 length of segment : 398 time for calcul the mask position with numpy : 0.0011250972747802734 nb_pixel_total : 18827 time to create 1 rle with old method : 0.024662256240844727 length of segment : 293 time for calcul the mask position with numpy : 0.0028488636016845703 nb_pixel_total : 74203 time to create 1 rle with old method : 0.0895698070526123 length of segment : 364 time for calcul the mask position with numpy : 0.003677845001220703 nb_pixel_total : 135211 time to create 1 rle with old method : 0.18615174293518066 length of segment : 653 time for calcul the mask position with numpy : 0.0004334449768066406 nb_pixel_total : 7767 time to create 1 rle with old method : 0.01043558120727539 length of segment : 72 time for calcul the mask position with numpy : 0.0015239715576171875 nb_pixel_total : 18159 time to create 1 rle with old method : 0.0302126407623291 length of segment : 180 time for calcul the mask position with numpy : 0.00017309188842773438 nb_pixel_total : 1606 time to create 1 rle with old method : 0.014261722564697266 length of segment : 52 time for calcul the mask position with numpy : 0.0030570030212402344 nb_pixel_total : 118553 time to create 1 rle with old method : 0.1817154884338379 length of segment : 506 time for calcul the mask position with numpy : 0.0003604888916015625 nb_pixel_total : 5726 time to create 1 rle with old method : 0.007582187652587891 length of segment : 73 time for calcul the mask position with numpy : 0.0011839866638183594 nb_pixel_total : 19587 time to create 1 rle with old method : 0.023198843002319336 length of segment : 259 time for calcul the mask position with numpy : 0.003104686737060547 nb_pixel_total : 105169 time to create 1 rle with old method : 0.17171978950500488 length of segment : 408 time for calcul the mask position with numpy : 0.0002598762512207031 nb_pixel_total : 1937 time to create 1 rle with old method : 0.0030090808868408203 length of segment : 45 time for calcul the mask position with numpy : 0.0075588226318359375 nb_pixel_total : 189242 time to create 1 rle with new method : 0.017857789993286133 length of segment : 492 time spent for convertir_results : 28.976803302764893 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 105 chid ids of type : 3663 Number RLEs to save : 47886 save missing photos in datou_result : time spend for datou_step_exec : 95.59336972236633 time spend to save output : 3.5501275062561035 total time spend for step 1 : 99.14349722862244 step2:crop_condition Fri Feb 14 00:18: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 ! 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 105 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 36 About to insert : list_path_to_insert length 36 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1337462887, 1337462827, 1337462824, 1337462821, 1337462817, 1337462806, 1337462803, 1337462800, 1337462797, 1337462793] Looping around the photos to save general results len do output : 71 /-3674008537Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008544Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008550Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008580Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008594Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008593Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008602Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008598Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008626Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008630Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008542Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008540Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008546Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008559Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008566Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008596Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008599Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008637Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008548Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008584Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008610Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008635Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008632Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008539Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008533Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008547Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008549Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008554Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008555Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008551Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008563Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008558Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008560Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008557Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008564Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008574Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008576Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008573Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008581Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008583Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008585Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008582Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008586Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008597Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008590Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008589Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008604Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008601Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008600Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008621Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008611Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008617Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008620Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008625Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008613Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008608Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008623Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008628Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008627Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008535Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008553Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008556Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008562Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008572Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008587Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008618Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008614Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008568Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008575Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008570Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674008591Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462887', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462827', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462824', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462821', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462817', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462806', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462803', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462800', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462797', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462793', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 223 time used for this insertion : 0.03394341468811035 save_final save missing photos in datou_result : time spend for datou_step_exec : 38.02683997154236 time spend to save output : 0.10231256484985352 total time spend for step 2 : 38.12915253639221 step3:thcl Fri Feb 14 00:18:46 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.007343292236328125 time to convert the images to numpy array : 3.337860107421875e-06 time to import caffe and check if the image exist : 0.009290933609008789 time to convert the images to numpy array : 0.3396310806274414 time to import caffe and check if the image exist : 0.015976667404174805 time to convert the images to numpy array : 0.34053707122802734 time to import caffe and check if the image exist : 0.016609668731689453 time to convert the images to numpy array : 0.340923547744751 time to import caffe and check if the image exist : 0.017402172088623047 time to convert the images to numpy array : 0.3717308044433594 time to import caffe and check if the image exist : 0.016091585159301758 time to convert the images to numpy array : 0.394275426864624 time to import caffe and check if the image exist : 0.015725374221801758 time to convert the images to numpy array : 0.400921106338501 time to import caffe and check if the image exist : 0.019840002059936523 time to convert the images to numpy array : 0.7910535335540771 time to import caffe and check if the image exist : 0.013840913772583008 time to convert the images to numpy array : 0.9613914489746094 time to import caffe and check if the image exist : 0.019760847091674805 time to convert the images to numpy array : 0.9644548892974854 total time to convert the images to numpy array : 1.6998677253723145 list photo_ids error: [] list photo_ids correct : [-3674008537, -3674008544, -3674008550, -3674008580, -3674008594, -3674008593, -3674008602, -3674008598, -3674008623, -3674008628, -3674008627, -3674008535, -3674008553, -3674008556, -3674008562, -3674008572, -3674008533, -3674008547, -3674008549, -3674008554, -3674008555, -3674008551, -3674008563, -3674008558, -3674008626, -3674008630, -3674008542, -3674008540, -3674008546, -3674008559, -3674008566, -3674008596, -3674008560, -3674008557, -3674008564, -3674008574, -3674008576, -3674008573, -3674008581, -3674008583, -3674008600, -3674008621, -3674008611, -3674008617, -3674008620, -3674008625, -3674008613, -3674008608, -3674008599, -3674008637, -3674008548, -3674008584, -3674008610, -3674008635, -3674008632, -3674008539, -3674008585, -3674008582, -3674008586, -3674008597, -3674008590, -3674008589, -3674008604, -3674008601, -3674008587, -3674008618, -3674008614, -3674008568, -3674008575, -3674008570, -3674008591] number of photos to traite : 71 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 : 5580 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 : 5361 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.2109098434448242 time used to do the prediction : 0.24994444847106934 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 : 5359 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 : 5359 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.103276014328003 time used to do the prediction : 0.15670418739318848 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 : 0.00011706352233886719 save missing photos in datou_result : time spend for datou_step_exec : 12.109718561172485 time spend to save output : 0.0011565685272216797 total time spend for step 3 : 12.110875129699707 step4:merge_mask_thcl_custom Fri Feb 14 00:18:58 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 105 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 [1337462887, 1337462827, 1337462824, 1337462821, 1337462817, 1337462806, 1337462803, 1337462800, 1337462797, 1337462793] Looping around the photos to save general results len do output : 10 /1337462887Didn't retrieve data .Didn't retrieve data . /1337462827Didn't retrieve data .Didn't retrieve data . /1337462824Didn't retrieve data .Didn't retrieve data . /1337462821Didn't retrieve data .Didn't retrieve data . /1337462817Didn't retrieve data .Didn't retrieve data . /1337462806Didn't retrieve data .Didn't retrieve data . /1337462803Didn't retrieve data .Didn't retrieve data . /1337462800Didn't retrieve data .Didn't retrieve data . /1337462797Didn't retrieve data .Didn't retrieve data . /1337462793Didn't retrieve data .Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462887', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462827', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462824', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462821', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462817', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462806', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462803', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462800', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462797', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462793', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.0172727108001709 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.059042930603027344 time spend to save output : 0.017619848251342773 total time spend for step 4 : 0.07666277885437012 step5:rle_unique_nms_with_priority Fri Feb 14 00:18:58 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 : 11 nb_hashtags : 5 time to prepare the origin masks : 11.667765140533447 time for calcul the mask position with numpy : 0.7516078948974609 nb_pixel_total : 5587233 time to create 1 rle with new method : 0.5218894481658936 time for calcul the mask position with numpy : 0.07127022743225098 nb_pixel_total : 12536 time to create 1 rle with old method : 0.041730403900146484 time for calcul the mask position with numpy : 0.07551383972167969 nb_pixel_total : 18230 time to create 1 rle with old method : 0.031426191329956055 time for calcul the mask position with numpy : 0.05684375762939453 nb_pixel_total : 962292 time to create 1 rle with new method : 1.641592264175415 time for calcul the mask position with numpy : 0.037775516510009766 nb_pixel_total : 25394 time to create 1 rle with old method : 0.03178286552429199 time for calcul the mask position with numpy : 0.04854893684387207 nb_pixel_total : 10701 time to create 1 rle with old method : 0.012978553771972656 time for calcul the mask position with numpy : 0.03423142433166504 nb_pixel_total : 5245 time to create 1 rle with old method : 0.00628209114074707 time for calcul the mask position with numpy : 0.026570558547973633 nb_pixel_total : 25750 time to create 1 rle with old method : 0.029809236526489258 time for calcul the mask position with numpy : 0.0332026481628418 nb_pixel_total : 31074 time to create 1 rle with old method : 0.04927539825439453 time for calcul the mask position with numpy : 0.04670238494873047 nb_pixel_total : 324249 time to create 1 rle with new method : 1.022693157196045 time for calcul the mask position with numpy : 0.03988814353942871 nb_pixel_total : 1351 time to create 1 rle with old method : 0.0019202232360839844 time for calcul the mask position with numpy : 0.040596723556518555 nb_pixel_total : 46185 time to create 1 rle with old method : 0.0554354190826416 create new chi : 4.815115690231323 time to delete rle : 0.015522241592407227 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 12592 TO DO : save crop sub photo not yet done ! save time : 1.0101587772369385 nb_obj : 6 nb_hashtags : 4 time to prepare the origin masks : 7.662225246429443 time for calcul the mask position with numpy : 0.29038429260253906 nb_pixel_total : 3660842 time to create 1 rle with new method : 1.0957791805267334 time for calcul the mask position with numpy : 0.04410409927368164 nb_pixel_total : 5266 time to create 1 rle with old method : 0.006078481674194336 time for calcul the mask position with numpy : 0.04784536361694336 nb_pixel_total : 32721 time to create 1 rle with old method : 0.038140296936035156 time for calcul the mask position with numpy : 0.04687833786010742 nb_pixel_total : 82370 time to create 1 rle with old method : 0.10230374336242676 time for calcul the mask position with numpy : 0.05068159103393555 nb_pixel_total : 14568 time to create 1 rle with old method : 0.017145872116088867 time for calcul the mask position with numpy : 0.4435238838195801 nb_pixel_total : 3200208 time to create 1 rle with new method : 0.9296562671661377 time for calcul the mask position with numpy : 0.03528952598571777 nb_pixel_total : 54265 time to create 1 rle with old method : 0.06634974479675293 create new chi : 3.3113338947296143 time to delete rle : 0.002254486083984375 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 10587 TO DO : save crop sub photo not yet done ! save time : 0.7638905048370361 nb_obj : 6 nb_hashtags : 5 time to prepare the origin masks : 9.268841028213501 time for calcul the mask position with numpy : 0.37854957580566406 nb_pixel_total : 3870937 time to create 1 rle with new method : 0.5709502696990967 time for calcul the mask position with numpy : 0.029460668563842773 nb_pixel_total : 26737 time to create 1 rle with old method : 0.037548065185546875 time for calcul the mask position with numpy : 0.03826475143432617 nb_pixel_total : 82350 time to create 1 rle with old method : 0.10451126098632812 time for calcul the mask position with numpy : 0.031911373138427734 nb_pixel_total : 81630 time to create 1 rle with old method : 0.10692048072814941 time for calcul the mask position with numpy : 0.02999711036682129 nb_pixel_total : 16204 time to create 1 rle with old method : 0.022252798080444336 time for calcul the mask position with numpy : 0.8600401878356934 nb_pixel_total : 2914956 time to create 1 rle with new method : 0.8930883407592773 time for calcul the mask position with numpy : 0.042963504791259766 nb_pixel_total : 57426 time to create 1 rle with old method : 0.07585453987121582 create new chi : 3.321023464202881 time to delete rle : 0.0019724369049072266 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 11049 TO DO : save crop sub photo not yet done ! save time : 0.8099966049194336 nb_obj : 12 nb_hashtags : 6 time to prepare the origin masks : 12.178959608078003 time for calcul the mask position with numpy : 1.0336391925811768 nb_pixel_total : 4539066 time to create 1 rle with new method : 0.9506893157958984 time for calcul the mask position with numpy : 0.05858325958251953 nb_pixel_total : 220985 time to create 1 rle with new method : 1.3220129013061523 time for calcul the mask position with numpy : 0.060552358627319336 nb_pixel_total : 106767 time to create 1 rle with old method : 0.12317085266113281 time for calcul the mask position with numpy : 0.04919266700744629 nb_pixel_total : 52543 time to create 1 rle with old method : 0.06206059455871582 time for calcul the mask position with numpy : 0.05312514305114746 nb_pixel_total : 235597 time to create 1 rle with new method : 0.45649123191833496 time for calcul the mask position with numpy : 0.03761744499206543 nb_pixel_total : 108306 time to create 1 rle with old method : 0.12405610084533691 time for calcul the mask position with numpy : 0.03277587890625 nb_pixel_total : 11218 time to create 1 rle with old method : 0.01357412338256836 time for calcul the mask position with numpy : 0.02712273597717285 nb_pixel_total : 18195 time to create 1 rle with old method : 0.021780729293823242 time for calcul the mask position with numpy : 0.07186150550842285 nb_pixel_total : 1596969 time to create 1 rle with new method : 0.6348633766174316 time for calcul the mask position with numpy : 0.03705024719238281 nb_pixel_total : 11316 time to create 1 rle with old method : 0.01612710952758789 time for calcul the mask position with numpy : 0.03754901885986328 nb_pixel_total : 25063 time to create 1 rle with old method : 0.029716014862060547 time for calcul the mask position with numpy : 0.025884628295898438 nb_pixel_total : 110791 time to create 1 rle with old method : 0.1354541778564453 time for calcul the mask position with numpy : 0.029549837112426758 nb_pixel_total : 13424 time to create 1 rle with old method : 0.015921831130981445 create new chi : 5.65300726890564 time to delete rle : 0.0014111995697021484 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 14030 TO DO : save crop sub photo not yet done ! save time : 1.1211299896240234 nb_obj : 8 nb_hashtags : 7 time to prepare the origin masks : 9.157047271728516 time for calcul the mask position with numpy : 1.591881275177002 nb_pixel_total : 6307468 time to create 1 rle with new method : 1.1706926822662354 time for calcul the mask position with numpy : 0.03301358222961426 nb_pixel_total : 9302 time to create 1 rle with old method : 0.012188196182250977 time for calcul the mask position with numpy : 0.03136873245239258 nb_pixel_total : 153548 time to create 1 rle with new method : 0.7105286121368408 time for calcul the mask position with numpy : 0.0274045467376709 nb_pixel_total : 198237 time to create 1 rle with new method : 0.43590211868286133 time for calcul the mask position with numpy : 0.03941845893859863 nb_pixel_total : 92000 time to create 1 rle with old method : 0.13593816757202148 time for calcul the mask position with numpy : 0.02947211265563965 nb_pixel_total : 226519 time to create 1 rle with new method : 0.5333297252655029 time for calcul the mask position with numpy : 0.0288541316986084 nb_pixel_total : 28969 time to create 1 rle with old method : 0.03743147850036621 time for calcul the mask position with numpy : 0.03086996078491211 nb_pixel_total : 16569 time to create 1 rle with old method : 0.02322077751159668 time for calcul the mask position with numpy : 0.032296180725097656 nb_pixel_total : 17628 time to create 1 rle with old method : 0.023343801498413086 create new chi : 5.111083507537842 time to delete rle : 0.0009169578552246094 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 8192 TO DO : save crop sub photo not yet done ! save time : 0.6082906723022461 nb_obj : 10 nb_hashtags : 5 time to prepare the origin masks : 10.8509840965271 time for calcul the mask position with numpy : 0.9044113159179688 nb_pixel_total : 6635065 time to create 1 rle with new method : 0.6207864284515381 time for calcul the mask position with numpy : 0.028842687606811523 nb_pixel_total : 85468 time to create 1 rle with old method : 0.10204386711120605 time for calcul the mask position with numpy : 0.0411074161529541 nb_pixel_total : 1662 time to create 1 rle with old method : 0.0038743019104003906 time for calcul the mask position with numpy : 0.04964756965637207 nb_pixel_total : 92315 time to create 1 rle with old method : 0.14505457878112793 time for calcul the mask position with numpy : 0.04602622985839844 nb_pixel_total : 41231 time to create 1 rle with old method : 0.04814910888671875 time for calcul the mask position with numpy : 0.04113173484802246 nb_pixel_total : 62565 time to create 1 rle with old method : 0.09773063659667969 time for calcul the mask position with numpy : 0.03863382339477539 nb_pixel_total : 37014 time to create 1 rle with old method : 0.045273542404174805 time for calcul the mask position with numpy : 0.029300928115844727 nb_pixel_total : 70544 time to create 1 rle with old method : 0.09001016616821289 time for calcul the mask position with numpy : 0.04485654830932617 nb_pixel_total : 3246 time to create 1 rle with old method : 0.004976749420166016 time for calcul the mask position with numpy : 0.03776097297668457 nb_pixel_total : 5397 time to create 1 rle with old method : 0.006869792938232422 time for calcul the mask position with numpy : 0.030028820037841797 nb_pixel_total : 15733 time to create 1 rle with old method : 0.019147396087646484 create new chi : 2.546039342880249 time to delete rle : 0.001544952392578125 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 8346 TO DO : save crop sub photo not yet done ! save time : 0.7597641944885254 nb_obj : 11 nb_hashtags : 6 time to prepare the origin masks : 8.819764614105225 time for calcul the mask position with numpy : 1.9203987121582031 nb_pixel_total : 6174638 time to create 1 rle with new method : 0.5489318370819092 time for calcul the mask position with numpy : 0.02963423728942871 nb_pixel_total : 138972 time to create 1 rle with old method : 0.16485309600830078 time for calcul the mask position with numpy : 0.029694795608520508 nb_pixel_total : 30035 time to create 1 rle with old method : 0.03829479217529297 time for calcul the mask position with numpy : 0.03432035446166992 nb_pixel_total : 15834 time to create 1 rle with old method : 0.024016141891479492 time for calcul the mask position with numpy : 0.03354787826538086 nb_pixel_total : 73222 time to create 1 rle with old method : 0.0883028507232666 time for calcul the mask position with numpy : 0.02494072914123535 nb_pixel_total : 62506 time to create 1 rle with old method : 0.07249999046325684 time for calcul the mask position with numpy : 0.02855849266052246 nb_pixel_total : 403889 time to create 1 rle with new method : 0.7158010005950928 time for calcul the mask position with numpy : 0.027446985244750977 nb_pixel_total : 37681 time to create 1 rle with old method : 0.04459095001220703 time for calcul the mask position with numpy : 0.033326148986816406 nb_pixel_total : 24705 time to create 1 rle with old method : 0.027887821197509766 time for calcul the mask position with numpy : 0.03318619728088379 nb_pixel_total : 4362 time to create 1 rle with old method : 0.005472660064697266 time for calcul the mask position with numpy : 0.030472278594970703 nb_pixel_total : 9111 time to create 1 rle with old method : 0.011196613311767578 time for calcul the mask position with numpy : 0.032267093658447266 nb_pixel_total : 75285 time to create 1 rle with old method : 0.08776617050170898 create new chi : 4.181122064590454 time to delete rle : 0.0010919570922851562 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 8948 TO DO : save crop sub photo not yet done ! save time : 0.6189138889312744 nb_obj : 10 nb_hashtags : 6 time to prepare the origin masks : 8.89253854751587 time for calcul the mask position with numpy : 0.45984339714050293 nb_pixel_total : 6427863 time to create 1 rle with new method : 0.9518721103668213 time for calcul the mask position with numpy : 0.025357484817504883 nb_pixel_total : 25928 time to create 1 rle with old method : 0.03280949592590332 time for calcul the mask position with numpy : 0.029654264450073242 nb_pixel_total : 309976 time to create 1 rle with new method : 0.6761367321014404 time for calcul the mask position with numpy : 0.027105331420898438 nb_pixel_total : 191747 time to create 1 rle with new method : 0.4868631362915039 time for calcul the mask position with numpy : 0.032033443450927734 nb_pixel_total : 14190 time to create 1 rle with old method : 0.026579618453979492 time for calcul the mask position with numpy : 0.045391082763671875 nb_pixel_total : 4202 time to create 1 rle with old method : 0.0068683624267578125 time for calcul the mask position with numpy : 0.034250497817993164 nb_pixel_total : 922 time to create 1 rle with old method : 0.0012862682342529297 time for calcul the mask position with numpy : 0.02967214584350586 nb_pixel_total : 35078 time to create 1 rle with old method : 0.054845333099365234 time for calcul the mask position with numpy : 0.026471376419067383 nb_pixel_total : 17678 time to create 1 rle with old method : 0.02076578140258789 time for calcul the mask position with numpy : 0.022008419036865234 nb_pixel_total : 20787 time to create 1 rle with old method : 0.024567842483520508 time for calcul the mask position with numpy : 0.02822566032409668 nb_pixel_total : 1869 time to create 1 rle with old method : 0.003410816192626953 create new chi : 3.1715028285980225 time to delete rle : 0.0008366107940673828 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 8480 TO DO : save crop sub photo not yet done ! save time : 1.2305850982666016 nb_obj : 17 nb_hashtags : 5 time to prepare the origin masks : 12.13182258605957 time for calcul the mask position with numpy : 0.2981603145599365 nb_pixel_total : 4440096 time to create 1 rle with new method : 1.0647332668304443 time for calcul the mask position with numpy : 0.03490900993347168 nb_pixel_total : 313633 time to create 1 rle with new method : 0.7972917556762695 time for calcul the mask position with numpy : 0.02302265167236328 nb_pixel_total : 1789 time to create 1 rle with old method : 0.006257295608520508 time for calcul the mask position with numpy : 0.02686023712158203 nb_pixel_total : 66687 time to create 1 rle with old method : 0.07649874687194824 time for calcul the mask position with numpy : 0.02712726593017578 nb_pixel_total : 4476 time to create 1 rle with old method : 0.0057065486907958984 time for calcul the mask position with numpy : 0.02747201919555664 nb_pixel_total : 56659 time to create 1 rle with old method : 0.06713271141052246 time for calcul the mask position with numpy : 0.036041259765625 nb_pixel_total : 1204728 time to create 1 rle with new method : 1.429203987121582 time for calcul the mask position with numpy : 0.025946855545043945 nb_pixel_total : 57502 time to create 1 rle with old method : 0.0813453197479248 time for calcul the mask position with numpy : 0.024320363998413086 nb_pixel_total : 456 time to create 1 rle with old method : 0.0006732940673828125 time for calcul the mask position with numpy : 0.024173736572265625 nb_pixel_total : 14785 time to create 1 rle with old method : 0.01923680305480957 time for calcul the mask position with numpy : 0.029153823852539062 nb_pixel_total : 377911 time to create 1 rle with new method : 0.612241268157959 time for calcul the mask position with numpy : 0.0277254581451416 nb_pixel_total : 2246 time to create 1 rle with old method : 0.0027320384979248047 time for calcul the mask position with numpy : 0.025476694107055664 nb_pixel_total : 46404 time to create 1 rle with old method : 0.06567955017089844 time for calcul the mask position with numpy : 0.035364627838134766 nb_pixel_total : 153342 time to create 1 rle with new method : 1.0802628993988037 time for calcul the mask position with numpy : 0.026654720306396484 nb_pixel_total : 86550 time to create 1 rle with old method : 0.12668895721435547 time for calcul the mask position with numpy : 0.04573774337768555 nb_pixel_total : 2050 time to create 1 rle with old method : 0.0027647018432617188 time for calcul the mask position with numpy : 0.03297543525695801 nb_pixel_total : 143771 time to create 1 rle with old method : 0.1737959384918213 time for calcul the mask position with numpy : 0.03129434585571289 nb_pixel_total : 77155 time to create 1 rle with old method : 0.08952546119689941 create new chi : 6.672015428543091 time to delete rle : 0.0019309520721435547 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 14437 TO DO : save crop sub photo not yet done ! save time : 1.1484453678131104 nb_obj : 11 nb_hashtags : 5 time to prepare the origin masks : 8.822358131408691 time for calcul the mask position with numpy : 1.3293883800506592 nb_pixel_total : 6468144 time to create 1 rle with new method : 0.6501390933990479 time for calcul the mask position with numpy : 0.02277517318725586 nb_pixel_total : 20573 time to create 1 rle with old method : 0.023567914962768555 time for calcul the mask position with numpy : 0.02342534065246582 nb_pixel_total : 1906 time to create 1 rle with old method : 0.0031213760375976562 time for calcul the mask position with numpy : 0.043346405029296875 nb_pixel_total : 134841 time to create 1 rle with old method : 0.17621898651123047 time for calcul the mask position with numpy : 0.025464296340942383 nb_pixel_total : 18056 time to create 1 rle with old method : 0.020306825637817383 time for calcul the mask position with numpy : 0.02414846420288086 nb_pixel_total : 188876 time to create 1 rle with new method : 0.6568074226379395 time for calcul the mask position with numpy : 0.023990154266357422 nb_pixel_total : 110236 time to create 1 rle with old method : 0.1353006362915039 time for calcul the mask position with numpy : 0.027081012725830078 nb_pixel_total : 5675 time to create 1 rle with old method : 0.006562232971191406 time for calcul the mask position with numpy : 0.027701616287231445 nb_pixel_total : 1598 time to create 1 rle with old method : 0.001871347427368164 time for calcul the mask position with numpy : 0.029068470001220703 nb_pixel_total : 7672 time to create 1 rle with old method : 0.009027719497680664 time for calcul the mask position with numpy : 0.031201839447021484 nb_pixel_total : 18701 time to create 1 rle with old method : 0.020917892456054688 time for calcul the mask position with numpy : 0.02828669548034668 nb_pixel_total : 73962 time to create 1 rle with old method : 0.10040640830993652 create new chi : 3.5223751068115234 time to delete rle : 0.0017235279083251953 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 7826 TO DO : save crop sub photo not yet done ! save time : 0.5876526832580566 map_output_result : {1337462887: (0.0, 'Should be the crop_list due to order', 0.0), 1337462827: (0.0, 'Should be the crop_list due to order', 0.0), 1337462824: (0.0, 'Should be the crop_list due to order', 0.0), 1337462821: (0.0, 'Should be the crop_list due to order', 0.0), 1337462817: (0.0, 'Should be the crop_list due to order', 0.0), 1337462806: (0.0, 'Should be the crop_list due to order', 0.0), 1337462803: (0.0, 'Should be the crop_list due to order', 0.0), 1337462800: (0.0, 'Should be the crop_list due to order', 0.0), 1337462797: (0.0, 'Should be the crop_list due to order', 0.0), 1337462793: (0.0, 'Should be the crop_list due to order', 0.0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1337462887, 1337462827, 1337462824, 1337462821, 1337462817, 1337462806, 1337462803, 1337462800, 1337462797, 1337462793] Looping around the photos to save general results len do output : 10 /1337462887.Didn't retrieve data . /1337462827.Didn't retrieve data . /1337462824.Didn't retrieve data . /1337462821.Didn't retrieve data . /1337462817.Didn't retrieve data . /1337462806.Didn't retrieve data . /1337462803.Didn't retrieve data . /1337462800.Didn't retrieve data . /1337462797.Didn't retrieve data . /1337462793.Didn't retrieve data . before output type Used above Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462887', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462827', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462824', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462821', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462817', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462806', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462803', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462800', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462797', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462793', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.018064022064208984 save_final save missing photos in datou_result : time spend for datou_step_exec : 151.52790999412537 time spend to save output : 0.019728899002075195 total time spend for step 5 : 151.54763889312744 step6:crop_condition Fri Feb 14 00:21:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 112 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! Next one ! 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/1739488893_2286411 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.5651140213012695 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739488898_2286411 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.2431979179382324 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! Next one ! Next one ! 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/1739488903_2286411 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.5616416931152344 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739488906_2286411 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.844860553741455 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739488911_2286411 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.6126923561096191 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739488916_2286411 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.4484341144561768 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 [1337462887, 1337462827, 1337462824, 1337462821, 1337462817, 1337462806, 1337462803, 1337462800, 1337462797, 1337462793] Looping around the photos to save general results len do output : 22 /1337467119Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337467122Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337467126Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337467129Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337467309Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337467312Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337467316Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337467379Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337467380Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337467381Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337467383Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337467384Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337467385Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337467386Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337467387Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337467388Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337467389Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337467390Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337467391Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337467393Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337467394Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337467395Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462887', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462827', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462824', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462821', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462817', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462806', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462803', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462800', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462797', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462793', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 76 time used for this insertion : 0.07130217552185059 save_final save missing photos in datou_result : time spend for datou_step_exec : 28.518038511276245 time spend to save output : 0.11433982849121094 total time spend for step 6 : 28.632378339767456 step7:ventilate_hashtags_in_portfolio Fri Feb 14 00:21: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 ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! To do loadFromThcl(), then load ParamDescType : thcl2725 thcls : [{'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5186 Iterating over portfolio : 20528860 get user id for portfolio 20528860 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20528860 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','Carton_gris','plastique','kraft','Teint_Dans_La_Masse','flou','Carton_brun','papier','environnement','autre_refus','metal','cartonnette')) 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`=20528860 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','Carton_gris','plastique','kraft','Teint_Dans_La_Masse','flou','Carton_brun','papier','environnement','autre_refus','metal','cartonnette')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20528860 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','Carton_gris','plastique','kraft','Teint_Dans_La_Masse','flou','Carton_brun','papier','environnement','autre_refus','metal','cartonnette')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20529403,20529404,20529405,20529406,20529407,20529408,20529409,20529410,20529411,20529412,20529413,20529414?tags=mal_croppe,Carton_gris,plastique,kraft,Teint_Dans_La_Masse,flou,Carton_brun,papier,environnement,autre_refus,metal,cartonnette Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1337462887, 1337462827, 1337462824, 1337462821, 1337462817, 1337462806, 1337462803, 1337462800, 1337462797, 1337462793] Looping around the photos to save general results len do output : 1 /20528860. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462887', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462827', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462824', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462821', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462817', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462806', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462803', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462800', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462797', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462793', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.02484726905822754 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.7066178321838379 time spend to save output : 0.02517390251159668 total time spend for step 7 : 0.7317917346954346 step8:final Fri Feb 14 00:21: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 ! 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 : {1337462887: ('0.07891361257373916',), 1337462827: ('0.07891361257373916',), 1337462824: ('0.07891361257373916',), 1337462821: ('0.07891361257373916',), 1337462817: ('0.07891361257373916',), 1337462806: ('0.07891361257373916',), 1337462803: ('0.07891361257373916',), 1337462800: ('0.07891361257373916',), 1337462797: ('0.07891361257373916',), 1337462793: ('0.07891361257373916',)} new output for save of step final : {1337462887: ('0.07891361257373916',), 1337462827: ('0.07891361257373916',), 1337462824: ('0.07891361257373916',), 1337462821: ('0.07891361257373916',), 1337462817: ('0.07891361257373916',), 1337462806: ('0.07891361257373916',), 1337462803: ('0.07891361257373916',), 1337462800: ('0.07891361257373916',), 1337462797: ('0.07891361257373916',), 1337462793: ('0.07891361257373916',)} [1337462887, 1337462827, 1337462824, 1337462821, 1337462817, 1337462806, 1337462803, 1337462800, 1337462797, 1337462793] Looping around the photos to save general results len do output : 10 /1337462887.Didn't retrieve data . /1337462827.Didn't retrieve data . /1337462824.Didn't retrieve data . /1337462821.Didn't retrieve data . /1337462817.Didn't retrieve data . /1337462806.Didn't retrieve data . /1337462803.Didn't retrieve data . /1337462800.Didn't retrieve data . /1337462797.Didn't retrieve data . /1337462793.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462887', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462827', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462824', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462821', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462817', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462806', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462803', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462800', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462797', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462793', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014059782028198242 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10599708557128906 time spend to save output : 0.015033960342407227 total time spend for step 8 : 0.12103104591369629 step9:velours_tree Fri Feb 14 00:21: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 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.1838836669921875 time spend to save output : 3.838539123535156e-05 total time spend for step 9 : 0.18392205238342285 step10:send_mail_cod Fri Feb 14 00:22:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_Auto_P20528860_14-02-2025_00_22_00.pdf 20529403 imagette205294031739488920 20529405 change filename to text .change filename to text .change filename to text .imagette205294051739488920 20529406 imagette205294061739488920 20529408 imagette205294081739488920 20529412 change filename to text .change filename to text .change filename to text .imagette205294121739488920 20529413 imagette205294131739488920 20529414 change filename to text .change filename to text .change filename to text .imagette205294141739488920 20529404 change filename to text .change filename to text .change filename to text .change filename to text .imagette205294041739488920 20529407 change filename to text .change filename to text .change filename to text .change filename to text .imagette205294071739488921 20529409 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette205294091739488921 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20528860 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20529403,20529404,20529405,20529406,20529407,20529408,20529409,20529410,20529411,20529412,20529413,20529414?tags=mal_croppe,Carton_gris,plastique,kraft,Teint_Dans_La_Masse,flou,Carton_brun,papier,environnement,autre_refus,metal,cartonnette your option no_mail is active, we will not send the real mail to your client args[1337462887] : ('0.07891361257373916',) no score found for photo 1337462887 apple ('0.07891361257373916',) We are sending mail with results at report@fotonower.com args[1337462827] : ('0.07891361257373916',) no score found for photo 1337462827 apple ('0.07891361257373916',) We are sending mail with results at report@fotonower.com args[1337462824] : ('0.07891361257373916',) no score found for photo 1337462824 apple ('0.07891361257373916',) We are sending mail with results at report@fotonower.com args[1337462821] : ('0.07891361257373916',) no score found for photo 1337462821 apple ('0.07891361257373916',) We are sending mail with results at report@fotonower.com args[1337462817] : ('0.07891361257373916',) no score found for photo 1337462817 apple ('0.07891361257373916',) We are sending mail with results at report@fotonower.com args[1337462806] : ('0.07891361257373916',) no score found for photo 1337462806 apple ('0.07891361257373916',) We are sending mail with results at report@fotonower.com args[1337462803] : ('0.07891361257373916',) no score found for photo 1337462803 apple ('0.07891361257373916',) We are sending mail with results at report@fotonower.com args[1337462800] : ('0.07891361257373916',) no score found for photo 1337462800 apple ('0.07891361257373916',) We are sending mail with results at report@fotonower.com args[1337462797] : ('0.07891361257373916',) no score found for photo 1337462797 apple ('0.07891361257373916',) We are sending mail with results at report@fotonower.com args[1337462793] : ('0.07891361257373916',) no score found for photo 1337462793 apple ('0.07891361257373916',) We are sending mail with results at report@fotonower.com refus_total : 0.07891361257373916 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20528860 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1337329752,1337330895,1337327016,1337328401,1337328993,1337329003,1337329664,1337328105,1337329744,1337329755,1337327015,1337462721,1337462725,1337462726,1337462736,1337462743,1337462747,1337462758,1337462769,1337462803) Found this number of photos: 20 begin to download photo : 1337329752 begin to download photo : 1337329003 begin to download photo : 1337327015 begin to download photo : 1337462743 download finish for photo 1337327015 begin to download photo : 1337462721 download finish for photo 1337329003 begin to download photo : 1337329664 download finish for photo 1337329752 begin to download photo : 1337330895 download finish for photo 1337462743 begin to download photo : 1337462747 download finish for photo 1337462747 begin to download photo : 1337462758 download finish for photo 1337330895 begin to download photo : 1337327016 download finish for photo 1337462721 begin to download photo : 1337462725 download finish for photo 1337329664 begin to download photo : 1337328105 download finish for photo 1337462758 begin to download photo : 1337462769 download finish for photo 1337462725 begin to download photo : 1337462726 download finish for photo 1337328105 begin to download photo : 1337329744 download finish for photo 1337327016 begin to download photo : 1337328401 download finish for photo 1337462726 begin to download photo : 1337462736 download finish for photo 1337462769 begin to download photo : 1337462803 download finish for photo 1337462736 download finish for photo 1337329744 begin to download photo : 1337329755 download finish for photo 1337328401 begin to download photo : 1337328993 download finish for photo 1337462803 download finish for photo 1337328993 download finish for photo 1337329755 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528860_14-02-2025_00_22_00.pdf results_Auto_P20528860_14-02-2025_00_22_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528860_14-02-2025_00_22_00.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('3459','20528860','results_Auto_P20528860_14-02-2025_00_22_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528860_14-02-2025_00_22_00.pdf','pdf','','0.71','0.07891361257373916') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1337462887, 1337462827, 1337462824, 1337462821, 1337462817, 1337462806, 1337462803, 1337462800, 1337462797, 1337462793] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462887', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462827', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462824', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462821', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462817', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462806', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462803', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462800', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462797', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462793', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.014496088027954102 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.656375408172607 time spend to save output : 0.014713287353515625 total time spend for step 10 : 5.671088695526123 step11:split_time_score Fri Feb 14 00:22:05 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('10', 22), ('11', 22)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13022025 20528860 Nombre de photos uploadées : 44 / 23040 (0%) 13022025 20528860 Nombre de photos taguées (types de déchets): 0 / 44 (0%) 13022025 20528860 Nombre de photos taguées (volume) : 0 / 44 (0%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 7.867813110351562e-06 ???????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0023458003997802734 elapsed_time : insert_dashboard_record_day_entry 0.02379131317138672 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528841 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528843 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528845 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528847 order by id desc limit 1 Qualite : 0.14136086604967552 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20503797_13-02-2025_09_15_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20503797 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20503797 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20503798_13-02-2025_15_42_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20503798 order by id desc limit 1 Qualite : 0.14449458458151784 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20503799_13-02-2025_09_01_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20503799 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20503799 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528849 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528851 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528853 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528854 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528856 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528858 order by id desc limit 1 Qualite : 0.07891361257373916 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528860_14-02-2025_00_22_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528860 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20528860 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528862 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528864 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528865 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528867 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528869 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528871 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528872 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528874 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528876 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528878 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528881 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528906 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528907 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528909 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528911 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528937 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528939 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528940 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528941 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528942 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528943 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528944 order by id desc limit 1 Qualite : 0.06743200877946215 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528945_14-02-2025_00_17_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528945 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20528945 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528946 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528947 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528948 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528949 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528950 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528951 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528952 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528953 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528954 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528957 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528958 order by id desc limit 1 Qualite : 0.04225902608664615 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528959_14-02-2025_00_19_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528959 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20528959 AND mptpi.`type`=4207 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13022025': {'nb_upload': 44, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1337462887, 1337462827, 1337462824, 1337462821, 1337462817, 1337462806, 1337462803, 1337462800, 1337462797, 1337462793] Looping around the photos to save general results len do output : 1 /20528860Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462887', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462827', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462824', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462821', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462817', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462806', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462803', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462800', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462797', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', '20528860', '1337462793', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.01390838623046875 save_final save missing photos in datou_result : time spend for datou_step_exec : 34.72298502922058 time spend to save output : 0.014388799667358398 total time spend for step 11 : 34.73737382888794 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 141.98user 174.99system 6:17.27elapsed 84%CPU (0avgtext+0avgdata 3248084maxresident)k 1612208inputs+111784outputs (47453major+11540440minor)pagefaults 0swaps