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 : 2354728 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 : 39>10 please execute split_portfolio.py -i 20783013 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2610904'] with mtr_portfolio_ids : ['20783013'] and first list_photo_ids : [] new path : /proc/2354728/ 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.5741569995880127 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 Mon Feb 24 22:24: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 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 : 10372 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-24 22:24:32.994175: 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-24 22:24:33.019048: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-24 22:24:33.020937: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f6234000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-24 22:24:33.020985: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-24 22:24:33.024473: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-24 22:24:33.281816: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3069d9f0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-24 22:24:33.281879: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-24 22:24:33.283140: 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-24 22:24:33.283778: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-24 22:24:33.287535: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-24 22:24:33.290363: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-24 22:24:33.291090: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-24 22:24:33.294885: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-24 22:24:33.296417: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-24 22:24:33.302494: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-24 22:24:33.304031: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-24 22:24:33.304126: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-24 22:24:33.304893: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-24 22:24:33.304908: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-24 22:24:33.304916: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-24 22:24:33.306213: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9607 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-24 22:24:33.583868: 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-24 22:24:33.584027: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-24 22:24:33.584055: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-24 22:24:33.584079: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-24 22:24:33.584102: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-24 22:24:33.584128: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-24 22:24:33.584158: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-24 22:24:33.584182: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-24 22:24:33.585865: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-24 22:24:33.587251: 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-24 22:24:33.587285: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-24 22:24:33.587301: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-24 22:24:33.587315: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-24 22:24:33.587329: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-24 22:24:33.587342: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-24 22:24:33.587356: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-24 22:24:33.587370: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-24 22:24:33.588560: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-24 22:24:33.588594: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-24 22:24:33.588602: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-24 22:24:33.588609: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-24 22:24:33.589816: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9607 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-24 22:24:44.457248: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-24 22:24:44.672145: 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: 150.95188 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 18 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 : 18 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 9 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 : 29 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 : 19 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 Detection mask done ! Trying to reset tf kernel 2355294 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5083 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 : 10372 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.0004489421844482422 nb_pixel_total : 10427 time to create 1 rle with old method : 0.01590728759765625 length of segment : 138 time for calcul the mask position with numpy : 0.003338336944580078 nb_pixel_total : 119935 time to create 1 rle with old method : 0.14493823051452637 length of segment : 399 time for calcul the mask position with numpy : 0.00017189979553222656 nb_pixel_total : 3263 time to create 1 rle with old method : 0.0042760372161865234 length of segment : 120 time for calcul the mask position with numpy : 0.0016515254974365234 nb_pixel_total : 75134 time to create 1 rle with old method : 0.09333038330078125 length of segment : 520 time for calcul the mask position with numpy : 0.0003886222839355469 nb_pixel_total : 14280 time to create 1 rle with old method : 0.017180919647216797 length of segment : 241 time for calcul the mask position with numpy : 0.005694389343261719 nb_pixel_total : 225910 time to create 1 rle with new method : 0.016208887100219727 length of segment : 804 time for calcul the mask position with numpy : 0.00010919570922851562 nb_pixel_total : 2790 time to create 1 rle with old method : 0.0034956932067871094 length of segment : 46 time for calcul the mask position with numpy : 0.17924737930297852 nb_pixel_total : 411650 time to create 1 rle with new method : 0.03034210205078125 length of segment : 665 time for calcul the mask position with numpy : 6.389617919921875e-05 nb_pixel_total : 648 time to create 1 rle with old method : 0.0009837150573730469 length of segment : 35 time for calcul the mask position with numpy : 9.655952453613281e-05 nb_pixel_total : 2659 time to create 1 rle with old method : 0.003677845001220703 length of segment : 73 time for calcul the mask position with numpy : 0.001622915267944336 nb_pixel_total : 120163 time to create 1 rle with old method : 0.13537216186523438 length of segment : 396 time for calcul the mask position with numpy : 0.0005326271057128906 nb_pixel_total : 19866 time to create 1 rle with old method : 0.02295374870300293 length of segment : 258 time for calcul the mask position with numpy : 0.0001404285430908203 nb_pixel_total : 4221 time to create 1 rle with old method : 0.005239248275756836 length of segment : 121 time for calcul the mask position with numpy : 9.870529174804688e-05 nb_pixel_total : 3482 time to create 1 rle with old method : 0.004300355911254883 length of segment : 71 time for calcul the mask position with numpy : 0.0015592575073242188 nb_pixel_total : 104398 time to create 1 rle with old method : 0.12900376319885254 length of segment : 556 time for calcul the mask position with numpy : 0.00010132789611816406 nb_pixel_total : 2287 time to create 1 rle with old method : 0.0028867721557617188 length of segment : 55 time for calcul the mask position with numpy : 0.0006759166717529297 nb_pixel_total : 21573 time to create 1 rle with old method : 0.02522897720336914 length of segment : 199 time for calcul the mask position with numpy : 0.000835418701171875 nb_pixel_total : 39418 time to create 1 rle with old method : 0.04616570472717285 length of segment : 540 time for calcul the mask position with numpy : 0.0003001689910888672 nb_pixel_total : 11141 time to create 1 rle with old method : 0.012997865676879883 length of segment : 181 time for calcul the mask position with numpy : 0.0002014636993408203 nb_pixel_total : 8375 time to create 1 rle with old method : 0.010109901428222656 length of segment : 149 time for calcul the mask position with numpy : 0.0003902912139892578 nb_pixel_total : 9097 time to create 1 rle with old method : 0.011157512664794922 length of segment : 94 time for calcul the mask position with numpy : 0.002738475799560547 nb_pixel_total : 250394 time to create 1 rle with new method : 0.007391214370727539 length of segment : 425 time for calcul the mask position with numpy : 0.0001800060272216797 nb_pixel_total : 6842 time to create 1 rle with old method : 0.008297920227050781 length of segment : 101 time for calcul the mask position with numpy : 7.677078247070312e-05 nb_pixel_total : 1145 time to create 1 rle with old method : 0.0014846324920654297 length of segment : 73 time for calcul the mask position with numpy : 0.0002956390380859375 nb_pixel_total : 6047 time to create 1 rle with old method : 0.007598400115966797 length of segment : 150 time for calcul the mask position with numpy : 0.0056400299072265625 nb_pixel_total : 365283 time to create 1 rle with new method : 0.19662165641784668 length of segment : 930 time for calcul the mask position with numpy : 0.005982875823974609 nb_pixel_total : 377942 time to create 1 rle with new method : 0.4800760746002197 length of segment : 973 time for calcul the mask position with numpy : 0.00029206275939941406 nb_pixel_total : 14470 time to create 1 rle with old method : 0.015995502471923828 length of segment : 113 time for calcul the mask position with numpy : 0.003299236297607422 nb_pixel_total : 139543 time to create 1 rle with old method : 0.17459917068481445 length of segment : 627 time for calcul the mask position with numpy : 0.0003311634063720703 nb_pixel_total : 8076 time to create 1 rle with old method : 0.009382963180541992 length of segment : 297 time for calcul the mask position with numpy : 0.0004050731658935547 nb_pixel_total : 19044 time to create 1 rle with old method : 0.02194690704345703 length of segment : 223 time for calcul the mask position with numpy : 0.00014591217041015625 nb_pixel_total : 8041 time to create 1 rle with old method : 0.009078741073608398 length of segment : 79 time for calcul the mask position with numpy : 0.0002923011779785156 nb_pixel_total : 17148 time to create 1 rle with old method : 0.019130945205688477 length of segment : 163 time for calcul the mask position with numpy : 0.21436810493469238 nb_pixel_total : 1055407 time to create 1 rle with new method : 0.2714273929595947 length of segment : 2164 time for calcul the mask position with numpy : 0.002688169479370117 nb_pixel_total : 92677 time to create 1 rle with old method : 0.10661554336547852 length of segment : 490 time for calcul the mask position with numpy : 0.00617671012878418 nb_pixel_total : 298173 time to create 1 rle with new method : 0.010648012161254883 length of segment : 954 time for calcul the mask position with numpy : 0.013152360916137695 nb_pixel_total : 562494 time to create 1 rle with new method : 0.12299990653991699 length of segment : 1123 time for calcul the mask position with numpy : 0.0016160011291503906 nb_pixel_total : 58483 time to create 1 rle with old method : 0.08666110038757324 length of segment : 391 time for calcul the mask position with numpy : 0.0010685920715332031 nb_pixel_total : 37219 time to create 1 rle with old method : 0.0433657169342041 length of segment : 370 time for calcul the mask position with numpy : 0.0005843639373779297 nb_pixel_total : 27160 time to create 1 rle with old method : 0.030830860137939453 length of segment : 215 time for calcul the mask position with numpy : 0.001201629638671875 nb_pixel_total : 32728 time to create 1 rle with old method : 0.03792715072631836 length of segment : 310 time for calcul the mask position with numpy : 0.0013527870178222656 nb_pixel_total : 72394 time to create 1 rle with old method : 0.07911348342895508 length of segment : 427 time for calcul the mask position with numpy : 0.004488468170166016 nb_pixel_total : 302662 time to create 1 rle with new method : 0.025365591049194336 length of segment : 994 time for calcul the mask position with numpy : 0.0008323192596435547 nb_pixel_total : 24636 time to create 1 rle with old method : 0.029708147048950195 length of segment : 208 time for calcul the mask position with numpy : 0.00016045570373535156 nb_pixel_total : 1725 time to create 1 rle with old method : 0.0021245479583740234 length of segment : 56 time for calcul the mask position with numpy : 0.0010495185852050781 nb_pixel_total : 72568 time to create 1 rle with old method : 0.08486676216125488 length of segment : 705 time for calcul the mask position with numpy : 0.0009613037109375 nb_pixel_total : 28696 time to create 1 rle with old method : 0.03302574157714844 length of segment : 230 time for calcul the mask position with numpy : 0.0028634071350097656 nb_pixel_total : 168441 time to create 1 rle with new method : 0.0039937496185302734 length of segment : 540 time for calcul the mask position with numpy : 0.000797271728515625 nb_pixel_total : 25953 time to create 1 rle with old method : 0.030818939208984375 length of segment : 262 time for calcul the mask position with numpy : 0.0019609928131103516 nb_pixel_total : 70073 time to create 1 rle with old method : 0.07977414131164551 length of segment : 461 time for calcul the mask position with numpy : 0.0009012222290039062 nb_pixel_total : 30507 time to create 1 rle with old method : 0.03545689582824707 length of segment : 301 time for calcul the mask position with numpy : 0.00019550323486328125 nb_pixel_total : 2976 time to create 1 rle with old method : 0.003628969192504883 length of segment : 73 time for calcul the mask position with numpy : 0.00027370452880859375 nb_pixel_total : 5246 time to create 1 rle with old method : 0.006354093551635742 length of segment : 96 time for calcul the mask position with numpy : 0.0001850128173828125 nb_pixel_total : 2330 time to create 1 rle with old method : 0.002908468246459961 length of segment : 95 time for calcul the mask position with numpy : 0.00039577484130859375 nb_pixel_total : 4708 time to create 1 rle with old method : 0.005757570266723633 length of segment : 151 time for calcul the mask position with numpy : 0.0011563301086425781 nb_pixel_total : 20623 time to create 1 rle with old method : 0.024286985397338867 length of segment : 646 time for calcul the mask position with numpy : 0.0005664825439453125 nb_pixel_total : 15654 time to create 1 rle with old method : 0.017795085906982422 length of segment : 163 time for calcul the mask position with numpy : 0.00037384033203125 nb_pixel_total : 7489 time to create 1 rle with old method : 0.009394645690917969 length of segment : 60 time for calcul the mask position with numpy : 0.0005831718444824219 nb_pixel_total : 19528 time to create 1 rle with old method : 0.022327899932861328 length of segment : 243 time for calcul the mask position with numpy : 0.0017223358154296875 nb_pixel_total : 50359 time to create 1 rle with old method : 0.057527780532836914 length of segment : 465 time for calcul the mask position with numpy : 0.0005724430084228516 nb_pixel_total : 10117 time to create 1 rle with old method : 0.012383460998535156 length of segment : 119 time for calcul the mask position with numpy : 0.00021982192993164062 nb_pixel_total : 9777 time to create 1 rle with old method : 0.011907100677490234 length of segment : 113 time for calcul the mask position with numpy : 0.0007627010345458984 nb_pixel_total : 26405 time to create 1 rle with old method : 0.030737876892089844 length of segment : 189 time for calcul the mask position with numpy : 0.004656314849853516 nb_pixel_total : 205239 time to create 1 rle with new method : 0.009102821350097656 length of segment : 690 time for calcul the mask position with numpy : 0.0002608299255371094 nb_pixel_total : 8168 time to create 1 rle with old method : 0.009551286697387695 length of segment : 143 time for calcul the mask position with numpy : 0.00020813941955566406 nb_pixel_total : 10762 time to create 1 rle with old method : 0.012707233428955078 length of segment : 142 time for calcul the mask position with numpy : 0.0014562606811523438 nb_pixel_total : 41669 time to create 1 rle with old method : 0.047204017639160156 length of segment : 429 time for calcul the mask position with numpy : 0.0004622936248779297 nb_pixel_total : 11339 time to create 1 rle with old method : 0.013785600662231445 length of segment : 109 time for calcul the mask position with numpy : 0.0005118846893310547 nb_pixel_total : 16224 time to create 1 rle with old method : 0.0184173583984375 length of segment : 164 time for calcul the mask position with numpy : 0.0005013942718505859 nb_pixel_total : 9682 time to create 1 rle with old method : 0.011176824569702148 length of segment : 174 time for calcul the mask position with numpy : 0.003554821014404297 nb_pixel_total : 168167 time to create 1 rle with new method : 0.006882905960083008 length of segment : 641 time for calcul the mask position with numpy : 0.00016927719116210938 nb_pixel_total : 1246 time to create 1 rle with old method : 0.0014297962188720703 length of segment : 75 time for calcul the mask position with numpy : 0.00013136863708496094 nb_pixel_total : 2495 time to create 1 rle with old method : 0.0032508373260498047 length of segment : 38 time for calcul the mask position with numpy : 0.0004572868347167969 nb_pixel_total : 21440 time to create 1 rle with old method : 0.023991107940673828 length of segment : 237 time for calcul the mask position with numpy : 0.00015115737915039062 nb_pixel_total : 2041 time to create 1 rle with old method : 0.002518177032470703 length of segment : 57 time for calcul the mask position with numpy : 0.003364086151123047 nb_pixel_total : 112057 time to create 1 rle with old method : 0.1284787654876709 length of segment : 398 time for calcul the mask position with numpy : 0.003429889678955078 nb_pixel_total : 106522 time to create 1 rle with old method : 0.11572933197021484 length of segment : 404 time for calcul the mask position with numpy : 0.0007352828979492188 nb_pixel_total : 18126 time to create 1 rle with old method : 0.021098613739013672 length of segment : 122 time for calcul the mask position with numpy : 0.00019097328186035156 nb_pixel_total : 1411 time to create 1 rle with old method : 0.0018379688262939453 length of segment : 51 time for calcul the mask position with numpy : 0.00044155120849609375 nb_pixel_total : 7855 time to create 1 rle with old method : 0.009580135345458984 length of segment : 119 time for calcul the mask position with numpy : 0.0005350112915039062 nb_pixel_total : 7311 time to create 1 rle with old method : 0.008913516998291016 length of segment : 152 time for calcul the mask position with numpy : 0.002473592758178711 nb_pixel_total : 91624 time to create 1 rle with old method : 0.10232162475585938 length of segment : 219 time for calcul the mask position with numpy : 0.00043773651123046875 nb_pixel_total : 7945 time to create 1 rle with old method : 0.00924229621887207 length of segment : 110 time for calcul the mask position with numpy : 0.0006289482116699219 nb_pixel_total : 8537 time to create 1 rle with old method : 0.010093927383422852 length of segment : 191 time for calcul the mask position with numpy : 0.0035736560821533203 nb_pixel_total : 98980 time to create 1 rle with old method : 0.10685253143310547 length of segment : 393 time for calcul the mask position with numpy : 0.0006046295166015625 nb_pixel_total : 6498 time to create 1 rle with old method : 0.0075130462646484375 length of segment : 172 time for calcul the mask position with numpy : 0.002314329147338867 nb_pixel_total : 57526 time to create 1 rle with old method : 0.06351852416992188 length of segment : 462 time for calcul the mask position with numpy : 0.0004911422729492188 nb_pixel_total : 15074 time to create 1 rle with old method : 0.017171144485473633 length of segment : 188 time for calcul the mask position with numpy : 0.0009751319885253906 nb_pixel_total : 20176 time to create 1 rle with old method : 0.0223538875579834 length of segment : 381 time for calcul the mask position with numpy : 0.004922628402709961 nb_pixel_total : 161862 time to create 1 rle with new method : 0.008825302124023438 length of segment : 573 time for calcul the mask position with numpy : 0.0006830692291259766 nb_pixel_total : 12747 time to create 1 rle with old method : 0.01480722427368164 length of segment : 174 time for calcul the mask position with numpy : 0.0007650852203369141 nb_pixel_total : 13191 time to create 1 rle with old method : 0.014957904815673828 length of segment : 253 time for calcul the mask position with numpy : 0.0006630420684814453 nb_pixel_total : 11172 time to create 1 rle with old method : 0.01245737075805664 length of segment : 232 time for calcul the mask position with numpy : 0.0011715888977050781 nb_pixel_total : 27254 time to create 1 rle with old method : 0.031129121780395508 length of segment : 276 time for calcul the mask position with numpy : 0.0011413097381591797 nb_pixel_total : 35321 time to create 1 rle with old method : 0.039635658264160156 length of segment : 391 time for calcul the mask position with numpy : 0.0007636547088623047 nb_pixel_total : 12645 time to create 1 rle with old method : 0.015125274658203125 length of segment : 419 time for calcul the mask position with numpy : 0.0002086162567138672 nb_pixel_total : 6145 time to create 1 rle with old method : 0.0072481632232666016 length of segment : 169 time for calcul the mask position with numpy : 0.002530336380004883 nb_pixel_total : 88892 time to create 1 rle with old method : 0.0999901294708252 length of segment : 593 time for calcul the mask position with numpy : 0.0004982948303222656 nb_pixel_total : 10078 time to create 1 rle with old method : 0.011999130249023438 length of segment : 123 time for calcul the mask position with numpy : 0.0009548664093017578 nb_pixel_total : 30135 time to create 1 rle with old method : 0.035633087158203125 length of segment : 248 time for calcul the mask position with numpy : 0.0023450851440429688 nb_pixel_total : 57529 time to create 1 rle with old method : 0.063812255859375 length of segment : 508 time for calcul the mask position with numpy : 0.000263214111328125 nb_pixel_total : 3138 time to create 1 rle with old method : 0.0038156509399414062 length of segment : 86 time for calcul the mask position with numpy : 0.0017695426940917969 nb_pixel_total : 49110 time to create 1 rle with old method : 0.055346012115478516 length of segment : 425 time for calcul the mask position with numpy : 0.006922006607055664 nb_pixel_total : 216619 time to create 1 rle with new method : 0.013343334197998047 length of segment : 454 time for calcul the mask position with numpy : 0.0002167224884033203 nb_pixel_total : 494 time to create 1 rle with old method : 0.0008358955383300781 length of segment : 24 time for calcul the mask position with numpy : 0.012286663055419922 nb_pixel_total : 416732 time to create 1 rle with new method : 0.04057908058166504 length of segment : 949 time for calcul the mask position with numpy : 0.0021295547485351562 nb_pixel_total : 62008 time to create 1 rle with old method : 0.06926679611206055 length of segment : 359 time for calcul the mask position with numpy : 0.004024505615234375 nb_pixel_total : 134586 time to create 1 rle with old method : 0.1488635540008545 length of segment : 601 time for calcul the mask position with numpy : 0.0033414363861083984 nb_pixel_total : 68620 time to create 1 rle with old method : 0.08439373970031738 length of segment : 542 time for calcul the mask position with numpy : 0.00036025047302246094 nb_pixel_total : 6323 time to create 1 rle with old method : 0.007734060287475586 length of segment : 79 time for calcul the mask position with numpy : 0.001333475112915039 nb_pixel_total : 81988 time to create 1 rle with old method : 0.0908811092376709 length of segment : 548 time for calcul the mask position with numpy : 0.0012316703796386719 nb_pixel_total : 63495 time to create 1 rle with old method : 0.07661700248718262 length of segment : 451 time for calcul the mask position with numpy : 0.004525184631347656 nb_pixel_total : 204964 time to create 1 rle with new method : 0.013534307479858398 length of segment : 442 time for calcul the mask position with numpy : 0.004126310348510742 nb_pixel_total : 108366 time to create 1 rle with old method : 0.13251113891601562 length of segment : 407 time for calcul the mask position with numpy : 0.0022563934326171875 nb_pixel_total : 35806 time to create 1 rle with old method : 0.05745410919189453 length of segment : 298 time for calcul the mask position with numpy : 0.0005242824554443359 nb_pixel_total : 10072 time to create 1 rle with old method : 0.016340970993041992 length of segment : 144 time for calcul the mask position with numpy : 0.008489608764648438 nb_pixel_total : 236192 time to create 1 rle with new method : 0.009723424911499023 length of segment : 938 time for calcul the mask position with numpy : 0.0002601146697998047 nb_pixel_total : 5058 time to create 1 rle with old method : 0.006125688552856445 length of segment : 83 time for calcul the mask position with numpy : 0.00014543533325195312 nb_pixel_total : 971 time to create 1 rle with old method : 0.0012691020965576172 length of segment : 47 time for calcul the mask position with numpy : 0.005934238433837891 nb_pixel_total : 212669 time to create 1 rle with new method : 0.012878656387329102 length of segment : 550 time for calcul the mask position with numpy : 0.001180887222290039 nb_pixel_total : 32936 time to create 1 rle with old method : 0.0383906364440918 length of segment : 258 time for calcul the mask position with numpy : 0.00013017654418945312 nb_pixel_total : 1235 time to create 1 rle with old method : 0.0015742778778076172 length of segment : 47 time for calcul the mask position with numpy : 0.00016021728515625 nb_pixel_total : 1887 time to create 1 rle with old method : 0.0024733543395996094 length of segment : 60 time for calcul the mask position with numpy : 0.00022792816162109375 nb_pixel_total : 1791 time to create 1 rle with old method : 0.002329111099243164 length of segment : 80 time for calcul the mask position with numpy : 0.00022530555725097656 nb_pixel_total : 7499 time to create 1 rle with old method : 0.008754253387451172 length of segment : 110 time for calcul the mask position with numpy : 0.0004761219024658203 nb_pixel_total : 14892 time to create 1 rle with old method : 0.01772308349609375 length of segment : 119 time for calcul the mask position with numpy : 0.0017704963684082031 nb_pixel_total : 52423 time to create 1 rle with old method : 0.06118059158325195 length of segment : 389 time for calcul the mask position with numpy : 0.0013995170593261719 nb_pixel_total : 60161 time to create 1 rle with old method : 0.06914019584655762 length of segment : 393 time for calcul the mask position with numpy : 0.00016498565673828125 nb_pixel_total : 7576 time to create 1 rle with old method : 0.009063482284545898 length of segment : 100 time for calcul the mask position with numpy : 0.001375436782836914 nb_pixel_total : 32396 time to create 1 rle with old method : 0.03793454170227051 length of segment : 412 time for calcul the mask position with numpy : 0.010579586029052734 nb_pixel_total : 477064 time to create 1 rle with new method : 0.10023093223571777 length of segment : 933 time for calcul the mask position with numpy : 0.00026917457580566406 nb_pixel_total : 3644 time to create 1 rle with old method : 0.00452423095703125 length of segment : 57 time for calcul the mask position with numpy : 0.0016963481903076172 nb_pixel_total : 48991 time to create 1 rle with old method : 0.05843639373779297 length of segment : 246 time for calcul the mask position with numpy : 0.0012614727020263672 nb_pixel_total : 38565 time to create 1 rle with old method : 0.04462909698486328 length of segment : 335 time for calcul the mask position with numpy : 0.003755331039428711 nb_pixel_total : 197704 time to create 1 rle with new method : 0.0056896209716796875 length of segment : 478 time for calcul the mask position with numpy : 0.0016055107116699219 nb_pixel_total : 55248 time to create 1 rle with old method : 0.06316518783569336 length of segment : 410 time for calcul the mask position with numpy : 0.0001804828643798828 nb_pixel_total : 3191 time to create 1 rle with old method : 0.004047870635986328 length of segment : 57 time for calcul the mask position with numpy : 0.0007269382476806641 nb_pixel_total : 18159 time to create 1 rle with old method : 0.021351099014282227 length of segment : 163 time for calcul the mask position with numpy : 0.00022935867309570312 nb_pixel_total : 3090 time to create 1 rle with old method : 0.004878520965576172 length of segment : 108 time for calcul the mask position with numpy : 0.00044608116149902344 nb_pixel_total : 13781 time to create 1 rle with old method : 0.015894412994384766 length of segment : 168 time for calcul the mask position with numpy : 0.0002605915069580078 nb_pixel_total : 6201 time to create 1 rle with old method : 0.007350444793701172 length of segment : 87 time for calcul the mask position with numpy : 0.001255035400390625 nb_pixel_total : 50157 time to create 1 rle with old method : 0.05820584297180176 length of segment : 243 time for calcul the mask position with numpy : 0.0013527870178222656 nb_pixel_total : 44447 time to create 1 rle with old method : 0.0685570240020752 length of segment : 203 time spent for convertir_results : 12.833787202835083 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 143 chid ids of type : 3663 Number RLEs to save : 45532 save missing photos in datou_result : time spend for datou_step_exec : 86.16383910179138 time spend to save output : 3.751126766204834 total time spend for step 1 : 89.91496586799622 step2:crop_condition Mon Feb 24 22:26: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 ! 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 143 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 16 About to insert : list_path_to_insert length 16 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 39 About to insert : list_path_to_insert length 39 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : 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 [1339409547, 1339409544, 1339396921, 1339396540, 1339396536, 1339396533, 1339396530, 1339396527, 1339396525, 1339396521] Looping around the photos to save general results len do output : 79 /-3685674058Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674054Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674055Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674075Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674088Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674098Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674109Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674136Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674127Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674130Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674126Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674151Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674155Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674153Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674177Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674186Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674052Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674062Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674077Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674086Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674090Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674091Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674113Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674110Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674159Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674167Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674144Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674180Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674065Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674056Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674061Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674079Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674078Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674076Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674067Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674094Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674092Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674089Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674099Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674106Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674101Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674100Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674097Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674114Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674117Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674121Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674139Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674142Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674137Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674140Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674146Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674135Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674145Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674132Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674163Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674164Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674165Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674157Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674148Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674161Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674158Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674162Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674181Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674184Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674166Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674178Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674193Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674083Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674103Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674107Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674118Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674128Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674138Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674134Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674176Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674191Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674093Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674183Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3685674185Didn'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, '2610904') ('3459', None, '1339409547', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339409544', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396921', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396540', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396536', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396533', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396530', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396527', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396525', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396521', None, None, None, None, None, '2610904') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 247 time used for this insertion : 0.029694795608520508 save_final save missing photos in datou_result : time spend for datou_step_exec : 39.01153039932251 time spend to save output : 0.03283572196960449 total time spend for step 2 : 39.044366121292114 step3:thcl Mon Feb 24 22:26:39 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.06106734275817871 time to convert the images to numpy array : 0.05035591125488281 time to import caffe and check if the image exist : 0.05514860153198242 time to convert the images to numpy array : 0.21533536911010742 time to import caffe and check if the image exist : 0.061792850494384766 time to convert the images to numpy array : 0.4522213935852051 time to import caffe and check if the image exist : 0.05713200569152832 time to convert the images to numpy array : 0.45778846740722656 time to import caffe and check if the image exist : 0.05825924873352051 time to convert the images to numpy array : 0.46085309982299805 time to import caffe and check if the image exist : 0.056650400161743164 time to convert the images to numpy array : 0.46512413024902344 time to import caffe and check if the image exist : 0.057189226150512695 time to convert the images to numpy array : 0.46688175201416016 time to import caffe and check if the image exist : 0.05243182182312012 time to convert the images to numpy array : 0.4973752498626709 time to import caffe and check if the image exist : 0.0613865852355957 time to convert the images to numpy array : 0.4940006732940674 time to import caffe and check if the image exist : 0.05936932563781738 time to convert the images to numpy array : 0.5086231231689453 total time to convert the images to numpy array : 0.815298318862915 list photo_ids error: [] list photo_ids correct : [-3685674166, -3685674178, -3685674193, -3685674083, -3685674103, -3685674107, -3685674118, -3685674128, -3685674127, -3685674130, -3685674126, -3685674151, -3685674155, -3685674153, -3685674177, -3685674186, -3685674078, -3685674076, -3685674067, -3685674094, -3685674092, -3685674089, -3685674099, -3685674106, -3685674138, -3685674134, -3685674176, -3685674191, -3685674093, -3685674183, -3685674185, -3685674101, -3685674100, -3685674097, -3685674114, -3685674117, -3685674121, -3685674139, -3685674142, -3685674058, -3685674054, -3685674055, -3685674075, -3685674088, -3685674098, -3685674109, -3685674136, -3685674137, -3685674140, -3685674146, -3685674135, -3685674145, -3685674132, -3685674163, -3685674164, -3685674159, -3685674167, -3685674144, -3685674180, -3685674065, -3685674056, -3685674061, -3685674079, -3685674052, -3685674062, -3685674077, -3685674086, -3685674090, -3685674091, -3685674113, -3685674110, -3685674165, -3685674157, -3685674148, -3685674161, -3685674158, -3685674162, -3685674181, -3685674184] number of photos to traite : 79 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 : 10593 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 : 10374 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.9631285667419434 time used to do the prediction : 0.17334985733032227 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 : 10372 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 : 10372 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.007716178894043 time used to do the prediction : 0.1512165069580078 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 1.4066696166992188e-05 save missing photos in datou_result : time spend for datou_step_exec : 10.107316255569458 time spend to save output : 0.0005943775177001953 total time spend for step 3 : 10.107910633087158 step4:merge_mask_thcl_custom Mon Feb 24 22:26:49 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 143 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 [1339409547, 1339409544, 1339396921, 1339396540, 1339396536, 1339396533, 1339396530, 1339396527, 1339396525, 1339396521] Looping around the photos to save general results len do output : 10 /1339409547Didn't retrieve data .Didn't retrieve data . /1339409544Didn't retrieve data .Didn't retrieve data . /1339396921Didn't retrieve data .Didn't retrieve data . /1339396540Didn't retrieve data .Didn't retrieve data . /1339396536Didn't retrieve data .Didn't retrieve data . /1339396533Didn't retrieve data .Didn't retrieve data . /1339396530Didn't retrieve data .Didn't retrieve data . /1339396527Didn't retrieve data .Didn't retrieve data . /1339396525Didn't retrieve data .Didn't retrieve data . /1339396521Didn'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, '2610904') ('3459', None, '1339409547', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339409544', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396921', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396540', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396536', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396533', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396530', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396527', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396525', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396521', None, None, None, None, None, '2610904') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013321161270141602 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06805062294006348 time spend to save output : 0.01384425163269043 total time spend for step 4 : 0.0818948745727539 step5:rle_unique_nms_with_priority Mon Feb 24 22:26:49 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 14 nb_hashtags : 4 time to prepare the origin masks : 7.840918302536011 time for calcul the mask position with numpy : 0.470318078994751 nb_pixel_total : 6094662 time to create 1 rle with new method : 0.6186752319335938 time for calcul the mask position with numpy : 0.03191995620727539 nb_pixel_total : 2966 time to create 1 rle with old method : 0.0034427642822265625 time for calcul the mask position with numpy : 0.029541492462158203 nb_pixel_total : 80820 time to create 1 rle with old method : 0.08385968208312988 time for calcul the mask position with numpy : 0.028506994247436523 nb_pixel_total : 4209 time to create 1 rle with old method : 0.00441741943359375 time for calcul the mask position with numpy : 0.020934343338012695 nb_pixel_total : 223656 time to create 1 rle with new method : 0.6711838245391846 time for calcul the mask position with numpy : 0.019556283950805664 nb_pixel_total : 19774 time to create 1 rle with old method : 0.019826650619506836 time for calcul the mask position with numpy : 0.019220352172851562 nb_pixel_total : 2649 time to create 1 rle with old method : 0.002736330032348633 time for calcul the mask position with numpy : 0.01939868927001953 nb_pixel_total : 645 time to create 1 rle with old method : 0.0013153553009033203 time for calcul the mask position with numpy : 0.02028512954711914 nb_pixel_total : 2780 time to create 1 rle with old method : 0.0030508041381835938 time for calcul the mask position with numpy : 0.02030014991760254 nb_pixel_total : 74992 time to create 1 rle with old method : 0.07673501968383789 time for calcul the mask position with numpy : 0.020500898361206055 nb_pixel_total : 14329 time to create 1 rle with old method : 0.015211105346679688 time for calcul the mask position with numpy : 0.020673036575317383 nb_pixel_total : 104169 time to create 1 rle with old method : 0.10635614395141602 time for calcul the mask position with numpy : 0.019542455673217773 nb_pixel_total : 3256 time to create 1 rle with old method : 0.003365755081176758 time for calcul the mask position with numpy : 0.01946735382080078 nb_pixel_total : 10393 time to create 1 rle with old method : 0.011420965194702148 time for calcul the mask position with numpy : 0.02182936668395996 nb_pixel_total : 410940 time to create 1 rle with new method : 0.5616986751556396 create new chi : 3.0337746143341064 time to delete rle : 0.018856525421142578 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 10086 TO DO : save crop sub photo not yet done ! save time : 1.7501704692840576 nb_obj : 14 nb_hashtags : 5 time to prepare the origin masks : 8.517650604248047 time for calcul the mask position with numpy : 0.5135824680328369 nb_pixel_total : 6113826 time to create 1 rle with new method : 0.889298677444458 time for calcul the mask position with numpy : 0.04334902763366699 nb_pixel_total : 66932 time to create 1 rle with old method : 0.10047245025634766 time for calcul the mask position with numpy : 0.033965349197387695 nb_pixel_total : 5686 time to create 1 rle with old method : 0.006070375442504883 time for calcul the mask position with numpy : 0.03338885307312012 nb_pixel_total : 139362 time to create 1 rle with old method : 0.14549493789672852 time for calcul the mask position with numpy : 0.03141307830810547 nb_pixel_total : 12485 time to create 1 rle with old method : 0.014767169952392578 time for calcul the mask position with numpy : 0.03691887855529785 nb_pixel_total : 21543 time to create 1 rle with old method : 0.024394989013671875 time for calcul the mask position with numpy : 0.03242206573486328 nb_pixel_total : 363933 time to create 1 rle with new method : 0.7226126194000244 time for calcul the mask position with numpy : 0.0326840877532959 nb_pixel_total : 1131 time to create 1 rle with old method : 0.0018036365509033203 time for calcul the mask position with numpy : 0.03738903999328613 nb_pixel_total : 6814 time to create 1 rle with old method : 0.010982990264892578 time for calcul the mask position with numpy : 0.03955507278442383 nb_pixel_total : 250050 time to create 1 rle with new method : 0.31856656074523926 time for calcul the mask position with numpy : 0.03394055366516113 nb_pixel_total : 8995 time to create 1 rle with old method : 0.010021448135375977 time for calcul the mask position with numpy : 0.03482937812805176 nb_pixel_total : 6787 time to create 1 rle with old method : 0.007464408874511719 time for calcul the mask position with numpy : 0.032266855239868164 nb_pixel_total : 11129 time to create 1 rle with old method : 0.012355327606201172 time for calcul the mask position with numpy : 0.031762123107910156 nb_pixel_total : 39296 time to create 1 rle with old method : 0.0424799919128418 time for calcul the mask position with numpy : 0.029974937438964844 nb_pixel_total : 2271 time to create 1 rle with old method : 0.002544403076171875 create new chi : 3.393939733505249 time to delete rle : 0.0009889602661132812 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 10404 TO DO : save crop sub photo not yet done ! save time : 0.6869199275970459 nb_obj : 15 nb_hashtags : 5 time to prepare the origin masks : 8.813368797302246 time for calcul the mask position with numpy : 0.5430498123168945 nb_pixel_total : 4934768 time to create 1 rle with new method : 0.6238212585449219 time for calcul the mask position with numpy : 0.020483732223510742 nb_pixel_total : 7644 time to create 1 rle with old method : 0.008666038513183594 time for calcul the mask position with numpy : 0.021294593811035156 nb_pixel_total : 1721 time to create 1 rle with old method : 0.0019376277923583984 time for calcul the mask position with numpy : 0.021452665328979492 nb_pixel_total : 17105 time to create 1 rle with old method : 0.018703699111938477 time for calcul the mask position with numpy : 0.022674083709716797 nb_pixel_total : 298063 time to create 1 rle with new method : 0.7579965591430664 time for calcul the mask position with numpy : 0.022420883178710938 nb_pixel_total : 58427 time to create 1 rle with old method : 0.06785893440246582 time for calcul the mask position with numpy : 0.023072004318237305 nb_pixel_total : 32694 time to create 1 rle with old method : 0.03602743148803711 time for calcul the mask position with numpy : 0.024045467376708984 nb_pixel_total : 358312 time to create 1 rle with new method : 1.527012825012207 time for calcul the mask position with numpy : 0.024210691452026367 nb_pixel_total : 92392 time to create 1 rle with old method : 0.10117673873901367 time for calcul the mask position with numpy : 0.033797502517700195 nb_pixel_total : 1061267 time to create 1 rle with new method : 0.7502784729003906 time for calcul the mask position with numpy : 0.026963472366333008 nb_pixel_total : 72191 time to create 1 rle with old method : 0.07563567161560059 time for calcul the mask position with numpy : 0.03318476676940918 nb_pixel_total : 27101 time to create 1 rle with old method : 0.029367685317993164 time for calcul the mask position with numpy : 0.035372257232666016 nb_pixel_total : 7991 time to create 1 rle with old method : 0.00919795036315918 time for calcul the mask position with numpy : 0.034424781799316406 nb_pixel_total : 37091 time to create 1 rle with old method : 0.04044699668884277 time for calcul the mask position with numpy : 0.031630516052246094 nb_pixel_total : 18896 time to create 1 rle with old method : 0.02029132843017578 time for calcul the mask position with numpy : 0.029900312423706055 nb_pixel_total : 24577 time to create 1 rle with old method : 0.025983810424804688 create new chi : 5.144713401794434 time to delete rle : 0.0014307498931884766 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 16532 TO DO : save crop sub photo not yet done ! save time : 2.2966299057006836 nb_obj : 10 nb_hashtags : 4 time to prepare the origin masks : 7.578063726425171 time for calcul the mask position with numpy : 0.9384002685546875 nb_pixel_total : 6691227 time to create 1 rle with new method : 0.6179296970367432 time for calcul the mask position with numpy : 0.02095937728881836 nb_pixel_total : 5224 time to create 1 rle with old method : 0.005805015563964844 time for calcul the mask position with numpy : 0.021681547164916992 nb_pixel_total : 25837 time to create 1 rle with old method : 0.029916048049926758 time for calcul the mask position with numpy : 0.02121591567993164 nb_pixel_total : 30423 time to create 1 rle with old method : 0.032961130142211914 time for calcul the mask position with numpy : 0.020781755447387695 nb_pixel_total : 4669 time to create 1 rle with old method : 0.005389690399169922 time for calcul the mask position with numpy : 0.024420499801635742 nb_pixel_total : 2320 time to create 1 rle with old method : 0.002596139907836914 time for calcul the mask position with numpy : 0.022982358932495117 nb_pixel_total : 2964 time to create 1 rle with old method : 0.0033702850341796875 time for calcul the mask position with numpy : 0.02286982536315918 nb_pixel_total : 28570 time to create 1 rle with old method : 0.0339813232421875 time for calcul the mask position with numpy : 0.024181127548217773 nb_pixel_total : 168363 time to create 1 rle with new method : 0.4606320858001709 time for calcul the mask position with numpy : 0.021493911743164062 nb_pixel_total : 70059 time to create 1 rle with old method : 0.07789182662963867 time for calcul the mask position with numpy : 0.021790266036987305 nb_pixel_total : 20584 time to create 1 rle with old method : 0.022167682647705078 create new chi : 2.513824224472046 time to delete rle : 0.0009026527404785156 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 7846 TO DO : save crop sub photo not yet done ! save time : 0.4573390483856201 nb_obj : 10 nb_hashtags : 5 time to prepare the origin masks : 5.179250001907349 time for calcul the mask position with numpy : 1.3266775608062744 nb_pixel_total : 6656832 time to create 1 rle with new method : 0.589343786239624 time for calcul the mask position with numpy : 0.020820140838623047 nb_pixel_total : 26295 time to create 1 rle with old method : 0.029856204986572266 time for calcul the mask position with numpy : 0.021465063095092773 nb_pixel_total : 9687 time to create 1 rle with old method : 0.012854576110839844 time for calcul the mask position with numpy : 0.022508621215820312 nb_pixel_total : 8141 time to create 1 rle with old method : 0.009354591369628906 time for calcul the mask position with numpy : 0.020995378494262695 nb_pixel_total : 19446 time to create 1 rle with old method : 0.022351503372192383 time for calcul the mask position with numpy : 0.021738290786743164 nb_pixel_total : 204797 time to create 1 rle with new method : 0.5234818458557129 time for calcul the mask position with numpy : 0.022820234298706055 nb_pixel_total : 10019 time to create 1 rle with old method : 0.01161336898803711 time for calcul the mask position with numpy : 0.021372318267822266 nb_pixel_total : 15549 time to create 1 rle with old method : 0.01689004898071289 time for calcul the mask position with numpy : 0.02154374122619629 nb_pixel_total : 41690 time to create 1 rle with old method : 0.04538750648498535 time for calcul the mask position with numpy : 0.02183818817138672 nb_pixel_total : 7449 time to create 1 rle with old method : 0.008399009704589844 time for calcul the mask position with numpy : 0.023630142211914062 nb_pixel_total : 50335 time to create 1 rle with old method : 0.05451607704162598 create new chi : 2.9281234741210938 time to delete rle : 0.0007081031799316406 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 7437 TO DO : save crop sub photo not yet done ! save time : 0.43366265296936035 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 3.4442362785339355 time for calcul the mask position with numpy : 0.645113468170166 nb_pixel_total : 6839864 time to create 1 rle with new method : 0.4373631477355957 time for calcul the mask position with numpy : 0.030160188674926758 nb_pixel_total : 2039 time to create 1 rle with old method : 0.0023255348205566406 time for calcul the mask position with numpy : 0.03707408905029297 nb_pixel_total : 2457 time to create 1 rle with old method : 0.003008604049682617 time for calcul the mask position with numpy : 0.033988237380981445 nb_pixel_total : 1241 time to create 1 rle with old method : 0.0014028549194335938 time for calcul the mask position with numpy : 0.03636741638183594 nb_pixel_total : 167685 time to create 1 rle with new method : 0.3715553283691406 time for calcul the mask position with numpy : 0.03233766555786133 nb_pixel_total : 11218 time to create 1 rle with old method : 0.012675285339355469 time for calcul the mask position with numpy : 0.03389549255371094 nb_pixel_total : 9591 time to create 1 rle with old method : 0.010344743728637695 time for calcul the mask position with numpy : 0.03362751007080078 nb_pixel_total : 16145 time to create 1 rle with old method : 0.017719745635986328 create new chi : 1.7987759113311768 time to delete rle : 0.0007193088531494141 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 4702 TO DO : save crop sub photo not yet done ! save time : 0.2997558116912842 nb_obj : 21 nb_hashtags : 6 time to prepare the origin masks : 12.568621158599854 time for calcul the mask position with numpy : 0.8445043563842773 nb_pixel_total : 6263598 time to create 1 rle with new method : 1.039548397064209 time for calcul the mask position with numpy : 0.03462791442871094 nb_pixel_total : 91296 time to create 1 rle with old method : 0.09814786911010742 time for calcul the mask position with numpy : 0.03870725631713867 nb_pixel_total : 91753 time to create 1 rle with old method : 0.10166716575622559 time for calcul the mask position with numpy : 0.03439974784851074 nb_pixel_total : 8506 time to create 1 rle with old method : 0.009351730346679688 time for calcul the mask position with numpy : 0.035321712493896484 nb_pixel_total : 6111 time to create 1 rle with old method : 0.0070149898529052734 time for calcul the mask position with numpy : 0.033660888671875 nb_pixel_total : 5205 time to create 1 rle with old method : 0.005820751190185547 time for calcul the mask position with numpy : 0.03636050224304199 nb_pixel_total : 12665 time to create 1 rle with old method : 0.014519691467285156 time for calcul the mask position with numpy : 0.03568696975708008 nb_pixel_total : 13207 time to create 1 rle with old method : 0.015298128128051758 time for calcul the mask position with numpy : 0.034940242767333984 nb_pixel_total : 161556 time to create 1 rle with new method : 0.7175369262695312 time for calcul the mask position with numpy : 0.03376603126525879 nb_pixel_total : 58047 time to create 1 rle with old method : 0.06613326072692871 time for calcul the mask position with numpy : 0.03255200386047363 nb_pixel_total : 17976 time to create 1 rle with old method : 0.020342111587524414 time for calcul the mask position with numpy : 0.03441905975341797 nb_pixel_total : 111881 time to create 1 rle with old method : 0.12037277221679688 time for calcul the mask position with numpy : 0.032404184341430664 nb_pixel_total : 7907 time to create 1 rle with old method : 0.009210824966430664 time for calcul the mask position with numpy : 0.028320789337158203 nb_pixel_total : 7306 time to create 1 rle with old method : 0.008107662200927734 time for calcul the mask position with numpy : 0.030153989791870117 nb_pixel_total : 106212 time to create 1 rle with old method : 0.1141214370727539 time for calcul the mask position with numpy : 0.02174210548400879 nb_pixel_total : 7828 time to create 1 rle with old method : 0.009050130844116211 time for calcul the mask position with numpy : 0.021469831466674805 nb_pixel_total : 20099 time to create 1 rle with old method : 0.022101402282714844 time for calcul the mask position with numpy : 0.02133774757385254 nb_pixel_total : 1402 time to create 1 rle with old method : 0.0014998912811279297 time for calcul the mask position with numpy : 0.020567655563354492 nb_pixel_total : 9382 time to create 1 rle with old method : 0.010730981826782227 time for calcul the mask position with numpy : 0.021593570709228516 nb_pixel_total : 8558 time to create 1 rle with old method : 0.009337425231933594 time for calcul the mask position with numpy : 0.021781444549560547 nb_pixel_total : 27174 time to create 1 rle with old method : 0.030898332595825195 time for calcul the mask position with numpy : 0.02180790901184082 nb_pixel_total : 12571 time to create 1 rle with old method : 0.014068365097045898 create new chi : 3.9727814197540283 time to delete rle : 0.0016300678253173828 batch 1 Loaded 22 chid ids of type : 3726 Number RLEs to save : 12726 TO DO : save crop sub photo not yet done ! save time : 0.9964795112609863 nb_obj : 17 nb_hashtags : 4 time to prepare the origin masks : 9.88349962234497 time for calcul the mask position with numpy : 1.0456280708312988 nb_pixel_total : 5762016 time to create 1 rle with new method : 1.1779334545135498 time for calcul the mask position with numpy : 0.03554821014404297 nb_pixel_total : 65 time to create 1 rle with old method : 0.00013184547424316406 time for calcul the mask position with numpy : 0.040474653244018555 nb_pixel_total : 19395 time to create 1 rle with old method : 0.022532939910888672 time for calcul the mask position with numpy : 0.03688168525695801 nb_pixel_total : 61820 time to create 1 rle with old method : 0.07014203071594238 time for calcul the mask position with numpy : 0.036519527435302734 nb_pixel_total : 35747 time to create 1 rle with old method : 0.04138302803039551 time for calcul the mask position with numpy : 0.03669095039367676 nb_pixel_total : 9838 time to create 1 rle with old method : 0.011587142944335938 time for calcul the mask position with numpy : 0.04444146156311035 nb_pixel_total : 414800 time to create 1 rle with new method : 0.8291363716125488 time for calcul the mask position with numpy : 0.03509783744812012 nb_pixel_total : 51217 time to create 1 rle with old method : 0.057199716567993164 time for calcul the mask position with numpy : 0.03606534004211426 nb_pixel_total : 57402 time to create 1 rle with old method : 0.09009671211242676 time for calcul the mask position with numpy : 0.034842729568481445 nb_pixel_total : 215857 time to create 1 rle with new method : 0.7420992851257324 time for calcul the mask position with numpy : 0.02913689613342285 nb_pixel_total : 134369 time to create 1 rle with old method : 0.14071202278137207 time for calcul the mask position with numpy : 0.025423765182495117 nb_pixel_total : 24739 time to create 1 rle with old method : 0.027154922485351562 time for calcul the mask position with numpy : 0.02188563346862793 nb_pixel_total : 48965 time to create 1 rle with old method : 0.05351734161376953 time for calcul the mask position with numpy : 0.021225452423095703 nb_pixel_total : 3123 time to create 1 rle with old method : 0.003487825393676758 time for calcul the mask position with numpy : 0.022496461868286133 nb_pixel_total : 30677 time to create 1 rle with old method : 0.03546142578125 time for calcul the mask position with numpy : 0.023133039474487305 nb_pixel_total : 10013 time to create 1 rle with old method : 0.010797500610351562 time for calcul the mask position with numpy : 0.021798133850097656 nb_pixel_total : 88310 time to create 1 rle with old method : 0.0981447696685791 time for calcul the mask position with numpy : 0.025386810302734375 nb_pixel_total : 81887 time to create 1 rle with old method : 0.08979415893554688 create new chi : 5.1615447998046875 time to delete rle : 0.001995086669921875 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 14813 TO DO : save crop sub photo not yet done ! save time : 1.2730426788330078 nb_obj : 18 nb_hashtags : 6 time to prepare the origin masks : 12.696074724197388 time for calcul the mask position with numpy : 0.7852952480316162 nb_pixel_total : 5865514 time to create 1 rle with new method : 0.7580125331878662 time for calcul the mask position with numpy : 0.023203372955322266 nb_pixel_total : 236103 time to create 1 rle with new method : 0.5973060131072998 time for calcul the mask position with numpy : 0.043013811111450195 nb_pixel_total : 476228 time to create 1 rle with new method : 0.5245468616485596 time for calcul the mask position with numpy : 0.044611215591430664 nb_pixel_total : 38550 time to create 1 rle with old method : 0.04241347312927246 time for calcul the mask position with numpy : 0.04294085502624512 nb_pixel_total : 10031 time to create 1 rle with old method : 0.011880874633789062 time for calcul the mask position with numpy : 0.03932309150695801 nb_pixel_total : 7956 time to create 1 rle with old method : 0.009835958480834961 time for calcul the mask position with numpy : 0.03870868682861328 nb_pixel_total : 52242 time to create 1 rle with old method : 0.07776594161987305 time for calcul the mask position with numpy : 0.03824448585510254 nb_pixel_total : 32341 time to create 1 rle with old method : 0.0361175537109375 time for calcul the mask position with numpy : 0.024379968643188477 nb_pixel_total : 3755 time to create 1 rle with old method : 0.004358768463134766 time for calcul the mask position with numpy : 0.021831989288330078 nb_pixel_total : 7451 time to create 1 rle with old method : 0.008300542831420898 time for calcul the mask position with numpy : 0.021398305892944336 nb_pixel_total : 1783 time to create 1 rle with old method : 0.0020513534545898438 time for calcul the mask position with numpy : 0.022790193557739258 nb_pixel_total : 1880 time to create 1 rle with old method : 0.0021610260009765625 time for calcul the mask position with numpy : 0.023421049118041992 nb_pixel_total : 1227 time to create 1 rle with old method : 0.0013928413391113281 time for calcul the mask position with numpy : 0.022329330444335938 nb_pixel_total : 49006 time to create 1 rle with old method : 0.06143307685852051 time for calcul the mask position with numpy : 0.021677494049072266 nb_pixel_total : 14834 time to create 1 rle with old method : 0.017101526260375977 time for calcul the mask position with numpy : 0.02103257179260254 nb_pixel_total : 32876 time to create 1 rle with old method : 0.03725743293762207 time for calcul the mask position with numpy : 0.02282094955444336 nb_pixel_total : 212460 time to create 1 rle with new method : 0.32215237617492676 time for calcul the mask position with numpy : 0.02368903160095215 nb_pixel_total : 964 time to create 1 rle with old method : 0.0010991096496582031 time for calcul the mask position with numpy : 0.022179603576660156 nb_pixel_total : 5039 time to create 1 rle with old method : 0.0057582855224609375 create new chi : 3.9325013160705566 time to delete rle : 0.0013015270233154297 batch 1 Loaded 19 chid ids of type : 3726 Number RLEs to save : 12481 TO DO : save crop sub photo not yet done ! save time : 0.6733388900756836 nb_obj : 9 nb_hashtags : 5 time to prepare the origin masks : 6.84793496131897 time for calcul the mask position with numpy : 0.39952707290649414 nb_pixel_total : 6659598 time to create 1 rle with new method : 0.5248425006866455 time for calcul the mask position with numpy : 0.02210521697998047 nb_pixel_total : 44295 time to create 1 rle with old method : 0.04864788055419922 time for calcul the mask position with numpy : 0.02355027198791504 nb_pixel_total : 55098 time to create 1 rle with old method : 0.06186556816101074 time for calcul the mask position with numpy : 0.022138357162475586 nb_pixel_total : 6166 time to create 1 rle with old method : 0.007192134857177734 time for calcul the mask position with numpy : 0.022800922393798828 nb_pixel_total : 49700 time to create 1 rle with old method : 0.054553985595703125 time for calcul the mask position with numpy : 0.022841215133666992 nb_pixel_total : 13751 time to create 1 rle with old method : 0.017419099807739258 time for calcul the mask position with numpy : 0.021870851516723633 nb_pixel_total : 3069 time to create 1 rle with old method : 0.003394603729248047 time for calcul the mask position with numpy : 0.021228551864624023 nb_pixel_total : 18024 time to create 1 rle with old method : 0.01993584632873535 time for calcul the mask position with numpy : 0.021765470504760742 nb_pixel_total : 3177 time to create 1 rle with old method : 0.003648996353149414 time for calcul the mask position with numpy : 0.02230238914489746 nb_pixel_total : 197362 time to create 1 rle with new method : 0.5817458629608154 create new chi : 2.008413076400757 time to delete rle : 0.0006010532379150391 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 6008 TO DO : save crop sub photo not yet done ! save time : 0.3628051280975342 map_output_result : {1339409547: (0.0, 'Should be the crop_list due to order', 0), 1339409544: (0.0, 'Should be the crop_list due to order', 0), 1339396921: (0.0, 'Should be the crop_list due to order', 0), 1339396540: (0.0, 'Should be the crop_list due to order', 0), 1339396536: (0.0, 'Should be the crop_list due to order', 0), 1339396533: (0.0, 'Should be the crop_list due to order', 0), 1339396530: (0.0, 'Should be the crop_list due to order', 0), 1339396527: (0.0, 'Should be the crop_list due to order', 0), 1339396525: (0.0, 'Should be the crop_list due to order', 0), 1339396521: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1339409547, 1339409544, 1339396921, 1339396540, 1339396536, 1339396533, 1339396530, 1339396527, 1339396525, 1339396521] Looping around the photos to save general results len do output : 10 /1339409547.Didn't retrieve data . /1339409544.Didn't retrieve data . /1339396921.Didn't retrieve data . /1339396540.Didn't retrieve data . /1339396536.Didn't retrieve data . /1339396533.Didn't retrieve data . /1339396530.Didn't retrieve data . /1339396527.Didn't retrieve data . /1339396525.Didn't retrieve data . /1339396521.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, '2610904') ('3459', None, '1339409547', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339409544', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396921', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396540', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396536', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396533', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396530', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396527', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396525', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396521', None, None, None, None, None, '2610904') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014513731002807617 save_final save missing photos in datou_result : time spend for datou_step_exec : 127.42593955993652 time spend to save output : 0.015069723129272461 total time spend for step 5 : 127.4410092830658 step6:crop_condition Mon Feb 24 22:28:56 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 145 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 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/1740432539_2354728 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.4637794494628906 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 ! 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/1740432543_2354728 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.8181836605072021 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/1740432549_2354728 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.5252127647399902 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/1740432554_2354728 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.2268061637878418 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 4869462 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740432558_2354728 we have uploaded 7 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.5042760372161865 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740432566_2354728 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7415957450866699 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740432568_2354728 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.4950859546661377 we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1339409547, 1339409544, 1339396921, 1339396540, 1339396536, 1339396533, 1339396530, 1339396527, 1339396525, 1339396521] Looping around the photos to save general results len do output : 25 /1339423498Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423499Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423500Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423507Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423508Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423509Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423510Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423511Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423512Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423513Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423514Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423515Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423531Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423532Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423533Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423538Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423539Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423540Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423541Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423542Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423544Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423545Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423548Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423549Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339423550Didn'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, '2610904') ('3459', None, '1339409547', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339409544', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396921', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396540', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396536', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396533', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396530', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396527', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396525', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396521', None, None, None, None, None, '2610904') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 85 time used for this insertion : 0.02744007110595703 save_final save missing photos in datou_result : time spend for datou_step_exec : 32.43010926246643 time spend to save output : 0.02831292152404785 total time spend for step 6 : 32.45842218399048 step7:ventilate_hashtags_in_portfolio Mon Feb 24 22:29:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 20783013 get user id for portfolio 20783013 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`=20783013 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Carton_brun','flou','autre_refus','mal_croppe','Teint_Dans_La_Masse','Carton_gris','plastique','metal','environnement','papier','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`=20783013 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Carton_brun','flou','autre_refus','mal_croppe','Teint_Dans_La_Masse','Carton_gris','plastique','metal','environnement','papier','cartonnette')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20783056,20783057,20783058,20783059,20783060,20783061,20783062,20783063,20783064,20783065,20783066,20783067?tags=environnement,plastique,cartonnette,Teint_Dans_La_Masse,autre_refus,flou,mal_croppe,kraft,papier,metal,Carton_brun,Carton_gris Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339409547, 1339409544, 1339396921, 1339396540, 1339396536, 1339396533, 1339396530, 1339396527, 1339396525, 1339396521] Looping around the photos to save general results len do output : 1 /20783013. 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, '2610904') ('3459', None, '1339409547', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339409544', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396921', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396540', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396536', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396533', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396530', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396527', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396525', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396521', None, None, None, None, None, '2610904') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.01444864273071289 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4678959846496582 time spend to save output : 0.014694452285766602 total time spend for step 7 : 0.4825904369354248 step8:final Mon Feb 24 22:29:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1339409547: ('0.061415268068382683',), 1339409544: ('0.061415268068382683',), 1339396921: ('0.061415268068382683',), 1339396540: ('0.061415268068382683',), 1339396536: ('0.061415268068382683',), 1339396533: ('0.061415268068382683',), 1339396530: ('0.061415268068382683',), 1339396527: ('0.061415268068382683',), 1339396525: ('0.061415268068382683',), 1339396521: ('0.061415268068382683',)} new output for save of step final : {1339409547: ('0.061415268068382683',), 1339409544: ('0.061415268068382683',), 1339396921: ('0.061415268068382683',), 1339396540: ('0.061415268068382683',), 1339396536: ('0.061415268068382683',), 1339396533: ('0.061415268068382683',), 1339396530: ('0.061415268068382683',), 1339396527: ('0.061415268068382683',), 1339396525: ('0.061415268068382683',), 1339396521: ('0.061415268068382683',)} [1339409547, 1339409544, 1339396921, 1339396540, 1339396536, 1339396533, 1339396530, 1339396527, 1339396525, 1339396521] Looping around the photos to save general results len do output : 10 /1339409547.Didn't retrieve data . /1339409544.Didn't retrieve data . /1339396921.Didn't retrieve data . /1339396540.Didn't retrieve data . /1339396536.Didn't retrieve data . /1339396533.Didn't retrieve data . /1339396530.Didn't retrieve data . /1339396527.Didn't retrieve data . /1339396525.Didn't retrieve data . /1339396521.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, '2610904') ('3459', None, '1339409547', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339409544', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396921', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396540', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396536', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396533', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396530', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396527', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396525', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396521', None, None, None, None, None, '2610904') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013320207595825195 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12017631530761719 time spend to save output : 0.013981342315673828 total time spend for step 8 : 0.13415765762329102 step9:velours_tree Mon Feb 24 22:29:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.0448305606842041 time spend to save output : 3.528594970703125e-05 total time spend for step 9 : 0.04486584663391113 step10:send_mail_cod Mon Feb 24 22:29:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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_P20783013_24-02-2025_22_29_29.pdf 20783057 change filename to text .change filename to text .change filename to text .change filename to text .imagette207830571740432569 20783058 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette207830581740432570 20783060 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette207830601740432570 20783061 imagette207830611740432571 20783062 imagette207830621740432571 20783063 change filename to text .imagette207830631740432571 20783065 imagette207830651740432571 20783059 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette207830591740432571 20783066 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette207830661740432571 20783067 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette207830671740432572 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20783013 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20783056,20783057,20783058,20783059,20783060,20783061,20783062,20783063,20783064,20783065,20783066,20783067?tags=environnement,plastique,cartonnette,Teint_Dans_La_Masse,autre_refus,flou,mal_croppe,kraft,papier,metal,Carton_brun,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1339409547] : ('0.061415268068382683',) no score found for photo 1339409547 We are sending mail with results at report@fotonower.com args[1339409544] : ('0.061415268068382683',) no score found for photo 1339409544 We are sending mail with results at report@fotonower.com args[1339396921] : ('0.061415268068382683',) no score found for photo 1339396921 We are sending mail with results at report@fotonower.com args[1339396540] : ('0.061415268068382683',) no score found for photo 1339396540 We are sending mail with results at report@fotonower.com args[1339396536] : ('0.061415268068382683',) no score found for photo 1339396536 We are sending mail with results at report@fotonower.com args[1339396533] : ('0.061415268068382683',) no score found for photo 1339396533 We are sending mail with results at report@fotonower.com args[1339396530] : ('0.061415268068382683',) no score found for photo 1339396530 We are sending mail with results at report@fotonower.com args[1339396527] : ('0.061415268068382683',) no score found for photo 1339396527 We are sending mail with results at report@fotonower.com args[1339396525] : ('0.061415268068382683',) no score found for photo 1339396525 We are sending mail with results at report@fotonower.com args[1339396521] : ('0.061415268068382683',) no score found for photo 1339396521 We are sending mail with results at report@fotonower.com refus_total : 0.061415268068382683 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=20783013 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1339396486,1339409768,1339409756,1339409670,1339409662,1339409620,1339409600,1339409598,1339409593,1339409570,1339409561,1339409544,1339396921,1339396540,1339396536,1339396530,1339396527,1339396525,1339396488,1339396518) Found this number of photos: 20 begin to download photo : 1339396486 begin to download photo : 1339409620 begin to download photo : 1339409561 begin to download photo : 1339396530 download finish for photo 1339396486 begin to download photo : 1339409768 download finish for photo 1339409561 begin to download photo : 1339409544 download finish for photo 1339409620 begin to download photo : 1339409600 download finish for photo 1339396530 begin to download photo : 1339396527 download finish for photo 1339409768 begin to download photo : 1339409756 download finish for photo 1339409600 begin to download photo : 1339409598 download finish for photo 1339396527 begin to download photo : 1339396525 download finish for photo 1339409544 begin to download photo : 1339396921 download finish for photo 1339409756 begin to download photo : 1339409670 download finish for photo 1339409598 begin to download photo : 1339409593 download finish for photo 1339396525 begin to download photo : 1339396488 download finish for photo 1339396921 begin to download photo : 1339396540 download finish for photo 1339409670 begin to download photo : 1339409662 download finish for photo 1339396488 begin to download photo : 1339396518 download finish for photo 1339409593 begin to download photo : 1339409570 download finish for photo 1339396540 begin to download photo : 1339396536 download finish for photo 1339409662 download finish for photo 1339396518 download finish for photo 1339409570 download finish for photo 1339396536 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20783013_24-02-2025_22_29_29.pdf results_Auto_P20783013_24-02-2025_22_29_29.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20783013_24-02-2025_22_29_29.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','20783013','results_Auto_P20783013_24-02-2025_22_29_29.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20783013_24-02-2025_22_29_29.pdf','pdf','','1.16','0.061415268068382683') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339409547, 1339409544, 1339396921, 1339396540, 1339396536, 1339396533, 1339396530, 1339396527, 1339396525, 1339396521] 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, '2610904') ('3459', None, '1339409547', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339409544', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396921', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396540', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396536', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396533', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396530', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396527', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396525', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396521', None, None, None, None, None, '2610904') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.014502525329589844 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.8792970180511475 time spend to save output : 0.014844894409179688 total time spend for step 10 : 7.894141912460327 step11:split_time_score Mon Feb 24 22:29:37 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'}] (('20', 39),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 24022025 20783013 Nombre de photos uploadées : 39 / 23040 (0%) 24022025 20783013 Nombre de photos taguées (types de déchets): 0 / 39 (0%) 24022025 20783013 Nombre de photos taguées (volume) : 0 / 39 (0%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 8.58306884765625e-06 ??????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0027163028717041016 elapsed_time : insert_dashboard_record_day_entry 0.02247309684753418 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 = 20782976 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782977 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782978 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782979 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782980 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782981 order by id desc limit 1 Qualite : 0.04594434409396736 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782982 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11524 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11533 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11532 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11528 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11528 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11531 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11531 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11578 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11578 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11527 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11526 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11526 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11535 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11527 doesn't seem to be define in the database( WARNING : type of input 3 of step 11526 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11524 doesn't seem to be define in the database( WARNING : type of input 2 of step 11528 doesn't seem to be define in the database( WARNING : output 1 of step 11524 have datatype=2 whereas input 1 of step 11531 have datatype=7 WARNING : type of output 2 of step 11531 doesn't seem to be define in the database( WARNING : type of input 1 of step 11525 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11527 have datatype=10 whereas input 3 of step 11534 have datatype=6 WARNING : type of input 2 of step 11578 doesn't seem to be define in the database( WARNING : output 1 of step 11525 have datatype=7 whereas input 2 of step 11578 have datatype=None WARNING : type of output 3 of step 11578 doesn't seem to be define in the database( WARNING : type of input 1 of step 11527 doesn't seem to be define in the database( WARNING : output 0 of step 11527 have datatype=10 whereas input 0 of step 11584 have datatype=18 WARNING : type of input 5 of step 11534 doesn't seem to be define in the database( WARNING : output 0 of step 11584 have datatype=11 whereas input 5 of step 11534 have datatype=None WARNING : type of output 1 of step 11533 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : type of output 1 of step 11532 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : output 0 of step 11531 have datatype=1 whereas input 0 of step 11525 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20782982 AND mptpi.`type`=4211 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782983 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782984 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782985 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782986 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782987 order by id desc limit 1 Qualite : 0.12499677790385096 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20782988_24-02-2025_22_23_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782988 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 11548 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11556 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11557 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11552 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11552 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11555 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 11555 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11580 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11580 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11551 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11550 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11550 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11559 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 11551 doesn't seem to be define in the database( WARNING : type of input 3 of step 11550 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11548 doesn't seem to be define in the database( WARNING : type of input 2 of step 11552 doesn't seem to be define in the database( WARNING : output 1 of step 11548 have datatype=2 whereas input 1 of step 11555 have datatype=7 WARNING : type of output 2 of step 11555 doesn't seem to be define in the database( WARNING : type of input 1 of step 11549 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11551 have datatype=10 whereas input 3 of step 11558 have datatype=6 WARNING : type of input 2 of step 11580 doesn't seem to be define in the database( WARNING : output 1 of step 11549 have datatype=7 whereas input 2 of step 11580 have datatype=None WARNING : type of output 3 of step 11580 doesn't seem to be define in the database( WARNING : type of input 1 of step 11551 doesn't seem to be define in the database( WARNING : output 0 of step 11551 have datatype=10 whereas input 0 of step 11586 have datatype=18 WARNING : type of input 5 of step 11558 doesn't seem to be define in the database( WARNING : output 0 of step 11586 have datatype=11 whereas input 5 of step 11558 have datatype=None WARNING : type of output 1 of step 11556 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : type of output 1 of step 11557 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : output 0 of step 11555 have datatype=1 whereas input 0 of step 11549 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`=20782988 AND mptpi.`type`=4200 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782989 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782990 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782991 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782992 order by id desc limit 1 Qualite : 0.08146381333007933 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20782993_24-02-2025_22_29_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782993 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`=20782993 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782994 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782995 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782996 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782997 order by id desc limit 1 Qualite : 0.048543972049013485 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20782998_24-02-2025_22_17_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782998 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`=20782998 AND mptpi.`type`=4207 To do Qualite : 0.06136040084196714 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20782999_24-02-2025_22_27_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20782999 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11560 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11567 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11567 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11563 crop_condition is not consistent : 4 used against 2 in the step definition ! Step 11563 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11564 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11564 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11573 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11573 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11566 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11566 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 1 of step 11560 have datatype=2 whereas input 1 of step 11564 have datatype=7 WARNING : type of output 2 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11565 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11567 doesn't seem to be define in the database( WARNING : type of input 3 of step 11563 doesn't seem to be define in the database( WARNING : type of output 3 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11568 doesn't seem to be define in the database( WARNING : type of output 1 of step 11568 doesn't seem to be define in the database( WARNING : type of input 3 of step 11566 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11570 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11569 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11570 doesn't seem to be define in the database( WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11569 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11568 have datatype=10 whereas input 3 of step 11571 have datatype=6 WARNING : type of input 2 of step 11573 doesn't seem to be define in the database( WARNING : output 1 of step 11565 have datatype=7 whereas input 2 of step 11573 have datatype=None WARNING : type of output 3 of step 11573 doesn't seem to be define in the database( WARNING : type of input 3 of step 11568 doesn't seem to be define in the database( WARNING : output 0 of step 11568 have datatype=10 whereas input 0 of step 11587 have datatype=18 WARNING : type of input 5 of step 11571 doesn't seem to be define in the database( WARNING : output 0 of step 11587 have datatype=11 whereas input 5 of step 11571 have datatype=None WARNING : output 0 of step 11564 have datatype=1 whereas input 0 of step 11565 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20782999 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783000 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783001 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783002 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783003 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783004 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783005 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783006 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783007 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783008 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783009 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783010 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783011 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783012 order by id desc limit 1 Qualite : 0.052401843008330756 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20783013_24-02-2025_22_29_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783013 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`=20783013 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783014 order by id desc limit 1 Qualite : 0.056568829757248966 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20783015_24-02-2025_22_24_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20783015 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`=20783015 AND mptpi.`type`=4207 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'24022025': {'nb_upload': 39, '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 [1339409547, 1339409544, 1339396921, 1339396540, 1339396536, 1339396533, 1339396530, 1339396527, 1339396525, 1339396521] Looping around the photos to save general results len do output : 1 /20783013Didn'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, '2610904') ('3459', None, '1339409547', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339409544', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396921', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396540', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396536', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396533', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396530', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396527', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396525', None, None, None, None, None, '2610904') ('3459', None, None, None, None, None, None, None, '2610904') ('3459', None, '1339396521', None, None, None, None, None, '2610904') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.01316380500793457 save_final save missing photos in datou_result : time spend for datou_step_exec : 27.259491205215454 time spend to save output : 0.013385772705078125 total time spend for step 11 : 27.272876977920532 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 136.85user 156.05system 5:41.43elapsed 85%CPU (0avgtext+0avgdata 4377484maxresident)k 202224inputs+143392outputs (2027major+12250751minor)pagefaults 0swaps