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 : 3823546 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 list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2593491'] with mtr_portfolio_ids : ['20609978'] and first list_photo_ids : [] new path : /proc/3823546/ 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 , BFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 time to download the photos : 1.5130031108856201 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 17 15:08:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-17 15:08:34.227940: 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-17 15:08:34.255051: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-17 15:08:34.256947: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f9e4c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-17 15:08:34.256978: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-17 15:08:34.260984: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-17 15:08:34.548336: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xcce1d30 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-17 15:08:34.548397: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-17 15:08:34.549726: 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-17 15:08:34.550212: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-17 15:08:34.553676: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-17 15:08:34.557013: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-17 15:08:34.557555: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-17 15:08:34.561437: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-17 15:08:34.562706: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-17 15:08:34.568816: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-17 15:08:34.570796: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-17 15:08:34.570885: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-17 15:08:34.571885: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-17 15:08:34.571908: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-17 15:08:34.571919: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-17 15:08:34.573887: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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-17 15:08:34.836484: 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-17 15:08:34.836582: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-17 15:08:34.836619: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-17 15:08:34.836642: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-17 15:08:34.836662: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-17 15:08:34.836683: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-17 15:08:34.836703: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-17 15:08:34.836724: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-17 15:08:34.838322: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-17 15:08:34.839740: 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-17 15:08:34.839787: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-17 15:08:34.839807: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-17 15:08:34.839825: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-17 15:08:34.839842: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-17 15:08:34.839859: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-17 15:08:34.839877: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-17 15:08:34.839894: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-17 15:08:34.841483: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-17 15:08:34.841514: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-17 15:08:34.841524: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-17 15:08:34.841534: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-17 15:08:34.843198: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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-17 15:08:45.574355: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-17 15:08:45.748958: 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 : 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 : 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 : 22 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 21 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 : 18 Detection mask done ! Trying to reset tf kernel 3823843 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 tf kernel not reseted sub process len(results) : 9 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 9 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 : 10998 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.003717184066772461 nb_pixel_total : 143210 time to create 1 rle with old method : 0.1671586036682129 length of segment : 557 time for calcul the mask position with numpy : 0.003903627395629883 nb_pixel_total : 244352 time to create 1 rle with new method : 0.011805057525634766 length of segment : 681 time for calcul the mask position with numpy : 0.0020835399627685547 nb_pixel_total : 123993 time to create 1 rle with old method : 0.1271662712097168 length of segment : 599 time for calcul the mask position with numpy : 0.00020074844360351562 nb_pixel_total : 9223 time to create 1 rle with old method : 0.009737014770507812 length of segment : 171 time for calcul the mask position with numpy : 0.004045009613037109 nb_pixel_total : 264110 time to create 1 rle with new method : 0.02031087875366211 length of segment : 935 time for calcul the mask position with numpy : 0.003259897232055664 nb_pixel_total : 255087 time to create 1 rle with new method : 0.008786201477050781 length of segment : 723 time for calcul the mask position with numpy : 0.002959012985229492 nb_pixel_total : 242633 time to create 1 rle with new method : 0.0071430206298828125 length of segment : 535 time for calcul the mask position with numpy : 0.0004992485046386719 nb_pixel_total : 29265 time to create 1 rle with old method : 0.03247952461242676 length of segment : 291 time for calcul the mask position with numpy : 7.319450378417969e-05 nb_pixel_total : 2178 time to create 1 rle with old method : 0.002596616744995117 length of segment : 55 time for calcul the mask position with numpy : 0.0014388561248779297 nb_pixel_total : 109642 time to create 1 rle with old method : 0.12201976776123047 length of segment : 497 time for calcul the mask position with numpy : 0.0008997917175292969 nb_pixel_total : 50665 time to create 1 rle with old method : 0.062172889709472656 length of segment : 269 time for calcul the mask position with numpy : 0.0011475086212158203 nb_pixel_total : 50107 time to create 1 rle with old method : 0.0584716796875 length of segment : 206 time for calcul the mask position with numpy : 0.005130767822265625 nb_pixel_total : 249358 time to create 1 rle with new method : 0.007841825485229492 length of segment : 696 time for calcul the mask position with numpy : 0.004201173782348633 nb_pixel_total : 254308 time to create 1 rle with new method : 0.009160518646240234 length of segment : 526 time for calcul the mask position with numpy : 0.007570981979370117 nb_pixel_total : 235368 time to create 1 rle with new method : 0.012824535369873047 length of segment : 885 time for calcul the mask position with numpy : 0.0004115104675292969 nb_pixel_total : 8952 time to create 1 rle with old method : 0.010480165481567383 length of segment : 156 time for calcul the mask position with numpy : 0.006250143051147461 nb_pixel_total : 254139 time to create 1 rle with new method : 0.009727954864501953 length of segment : 662 time for calcul the mask position with numpy : 0.0011701583862304688 nb_pixel_total : 54788 time to create 1 rle with old method : 0.06245112419128418 length of segment : 217 time for calcul the mask position with numpy : 0.0020890235900878906 nb_pixel_total : 56514 time to create 1 rle with old method : 0.06286025047302246 length of segment : 466 time for calcul the mask position with numpy : 0.002903461456298828 nb_pixel_total : 122282 time to create 1 rle with old method : 0.13075590133666992 length of segment : 525 time for calcul the mask position with numpy : 0.004680156707763672 nb_pixel_total : 129039 time to create 1 rle with old method : 0.14491772651672363 length of segment : 563 time for calcul the mask position with numpy : 0.00609588623046875 nb_pixel_total : 243461 time to create 1 rle with new method : 0.012857675552368164 length of segment : 817 time for calcul the mask position with numpy : 0.00015473365783691406 nb_pixel_total : 2119 time to create 1 rle with old method : 0.002542734146118164 length of segment : 55 time for calcul the mask position with numpy : 0.0013751983642578125 nb_pixel_total : 50303 time to create 1 rle with old method : 0.054613351821899414 length of segment : 259 time for calcul the mask position with numpy : 0.004792213439941406 nb_pixel_total : 245409 time to create 1 rle with new method : 0.006142139434814453 length of segment : 503 time for calcul the mask position with numpy : 0.005421876907348633 nb_pixel_total : 245265 time to create 1 rle with new method : 0.00702977180480957 length of segment : 537 time for calcul the mask position with numpy : 0.0014760494232177734 nb_pixel_total : 72832 time to create 1 rle with old method : 0.08130955696105957 length of segment : 374 time for calcul the mask position with numpy : 0.003717184066772461 nb_pixel_total : 257624 time to create 1 rle with new method : 0.009167671203613281 length of segment : 530 time for calcul the mask position with numpy : 0.003463268280029297 nb_pixel_total : 132480 time to create 1 rle with old method : 0.14412164688110352 length of segment : 400 time for calcul the mask position with numpy : 0.006105184555053711 nb_pixel_total : 255251 time to create 1 rle with new method : 0.008782625198364258 length of segment : 677 time for calcul the mask position with numpy : 0.0007073879241943359 nb_pixel_total : 26230 time to create 1 rle with old method : 0.030766963958740234 length of segment : 232 time for calcul the mask position with numpy : 0.003492593765258789 nb_pixel_total : 187376 time to create 1 rle with new method : 0.006039619445800781 length of segment : 694 time for calcul the mask position with numpy : 0.00014543533325195312 nb_pixel_total : 2288 time to create 1 rle with old method : 0.0026760101318359375 length of segment : 55 time for calcul the mask position with numpy : 0.004967689514160156 nb_pixel_total : 50616 time to create 1 rle with old method : 0.05595731735229492 length of segment : 693 time for calcul the mask position with numpy : 0.0017027854919433594 nb_pixel_total : 65909 time to create 1 rle with old method : 0.07141923904418945 length of segment : 331 time for calcul the mask position with numpy : 0.00029921531677246094 nb_pixel_total : 5829 time to create 1 rle with old method : 0.007482767105102539 length of segment : 107 time for calcul the mask position with numpy : 0.0011913776397705078 nb_pixel_total : 34954 time to create 1 rle with old method : 0.038163185119628906 length of segment : 357 time for calcul the mask position with numpy : 0.007417917251586914 nb_pixel_total : 285087 time to create 1 rle with new method : 0.017568111419677734 length of segment : 930 time for calcul the mask position with numpy : 0.0040552616119384766 nb_pixel_total : 177614 time to create 1 rle with new method : 0.005465984344482422 length of segment : 442 time for calcul the mask position with numpy : 0.005446672439575195 nb_pixel_total : 250145 time to create 1 rle with new method : 0.007525920867919922 length of segment : 536 time for calcul the mask position with numpy : 0.00029969215393066406 nb_pixel_total : 5390 time to create 1 rle with old method : 0.006242513656616211 length of segment : 115 time for calcul the mask position with numpy : 0.006232261657714844 nb_pixel_total : 264896 time to create 1 rle with new method : 0.011208772659301758 length of segment : 505 time for calcul the mask position with numpy : 0.0020999908447265625 nb_pixel_total : 67534 time to create 1 rle with old method : 0.07443642616271973 length of segment : 544 time for calcul the mask position with numpy : 0.0010309219360351562 nb_pixel_total : 20436 time to create 1 rle with old method : 0.02283310890197754 length of segment : 191 time for calcul the mask position with numpy : 0.0007579326629638672 nb_pixel_total : 20892 time to create 1 rle with old method : 0.022553205490112305 length of segment : 202 time for calcul the mask position with numpy : 0.0002734661102294922 nb_pixel_total : 3780 time to create 1 rle with old method : 0.004358530044555664 length of segment : 125 time for calcul the mask position with numpy : 0.008132696151733398 nb_pixel_total : 333117 time to create 1 rle with new method : 0.011065483093261719 length of segment : 549 time for calcul the mask position with numpy : 0.003279447555541992 nb_pixel_total : 126936 time to create 1 rle with old method : 0.13738751411437988 length of segment : 479 time for calcul the mask position with numpy : 0.00017380714416503906 nb_pixel_total : 2599 time to create 1 rle with old method : 0.0033576488494873047 length of segment : 47 time for calcul the mask position with numpy : 0.0005023479461669922 nb_pixel_total : 16140 time to create 1 rle with old method : 0.0178983211517334 length of segment : 134 time for calcul the mask position with numpy : 0.00415802001953125 nb_pixel_total : 224549 time to create 1 rle with new method : 0.007554054260253906 length of segment : 703 time for calcul the mask position with numpy : 0.003589153289794922 nb_pixel_total : 139768 time to create 1 rle with old method : 0.15237975120544434 length of segment : 700 time for calcul the mask position with numpy : 0.0015459060668945312 nb_pixel_total : 52006 time to create 1 rle with old method : 0.05763602256774902 length of segment : 405 time for calcul the mask position with numpy : 0.0010669231414794922 nb_pixel_total : 61511 time to create 1 rle with old method : 0.06445956230163574 length of segment : 537 time for calcul the mask position with numpy : 0.007041454315185547 nb_pixel_total : 391804 time to create 1 rle with new method : 0.23344826698303223 length of segment : 1060 time for calcul the mask position with numpy : 0.0005867481231689453 nb_pixel_total : 8362 time to create 1 rle with old method : 0.010178565979003906 length of segment : 179 time for calcul the mask position with numpy : 0.00555872917175293 nb_pixel_total : 383343 time to create 1 rle with new method : 0.013464927673339844 length of segment : 963 time for calcul the mask position with numpy : 0.0010151863098144531 nb_pixel_total : 65448 time to create 1 rle with old method : 0.07499265670776367 length of segment : 294 time for calcul the mask position with numpy : 0.00013327598571777344 nb_pixel_total : 1914 time to create 1 rle with old method : 0.002373933792114258 length of segment : 56 time for calcul the mask position with numpy : 0.4280695915222168 nb_pixel_total : 3618586 time to create 1 rle with new method : 0.4162561893463135 length of segment : 3206 time for calcul the mask position with numpy : 0.004924297332763672 nb_pixel_total : 392599 time to create 1 rle with new method : 0.012173652648925781 length of segment : 1117 time for calcul the mask position with numpy : 7.915496826171875e-05 nb_pixel_total : 1952 time to create 1 rle with old method : 0.002356290817260742 length of segment : 74 time for calcul the mask position with numpy : 0.00038623809814453125 nb_pixel_total : 13990 time to create 1 rle with old method : 0.015822172164916992 length of segment : 141 time for calcul the mask position with numpy : 0.0009443759918212891 nb_pixel_total : 47657 time to create 1 rle with old method : 0.05200314521789551 length of segment : 231 time for calcul the mask position with numpy : 0.0034961700439453125 nb_pixel_total : 169632 time to create 1 rle with new method : 0.005451202392578125 length of segment : 1020 time for calcul the mask position with numpy : 0.0022156238555908203 nb_pixel_total : 111042 time to create 1 rle with old method : 0.12055516242980957 length of segment : 477 time for calcul the mask position with numpy : 0.00025177001953125 nb_pixel_total : 4238 time to create 1 rle with old method : 0.005509853363037109 length of segment : 71 time for calcul the mask position with numpy : 0.0008740425109863281 nb_pixel_total : 28078 time to create 1 rle with old method : 0.03266477584838867 length of segment : 256 time for calcul the mask position with numpy : 0.00030040740966796875 nb_pixel_total : 8566 time to create 1 rle with old method : 0.01023411750793457 length of segment : 140 time for calcul the mask position with numpy : 0.000732421875 nb_pixel_total : 46605 time to create 1 rle with old method : 0.054025888442993164 length of segment : 254 time for calcul the mask position with numpy : 0.0011200904846191406 nb_pixel_total : 44395 time to create 1 rle with old method : 0.05010795593261719 length of segment : 363 time for calcul the mask position with numpy : 0.0034983158111572266 nb_pixel_total : 217802 time to create 1 rle with new method : 0.008059024810791016 length of segment : 482 time for calcul the mask position with numpy : 0.0008778572082519531 nb_pixel_total : 30997 time to create 1 rle with old method : 0.0374598503112793 length of segment : 185 time for calcul the mask position with numpy : 0.0006010532379150391 nb_pixel_total : 26573 time to create 1 rle with old method : 0.034075260162353516 length of segment : 290 time for calcul the mask position with numpy : 0.00029087066650390625 nb_pixel_total : 12348 time to create 1 rle with old method : 0.015297174453735352 length of segment : 155 time for calcul the mask position with numpy : 0.016451597213745117 nb_pixel_total : 809549 time to create 1 rle with new method : 0.05580568313598633 length of segment : 967 time for calcul the mask position with numpy : 0.0016660690307617188 nb_pixel_total : 64248 time to create 1 rle with old method : 0.07393741607666016 length of segment : 281 time for calcul the mask position with numpy : 0.0004153251647949219 nb_pixel_total : 12696 time to create 1 rle with old method : 0.01509404182434082 length of segment : 136 time for calcul the mask position with numpy : 0.0008575916290283203 nb_pixel_total : 58260 time to create 1 rle with old method : 0.06763744354248047 length of segment : 283 time for calcul the mask position with numpy : 9.918212890625e-05 nb_pixel_total : 2069 time to create 1 rle with old method : 0.003511190414428711 length of segment : 57 time for calcul the mask position with numpy : 0.010660409927368164 nb_pixel_total : 476529 time to create 1 rle with new method : 0.018410444259643555 length of segment : 996 time for calcul the mask position with numpy : 0.003975629806518555 nb_pixel_total : 224351 time to create 1 rle with new method : 0.007225990295410156 length of segment : 414 time for calcul the mask position with numpy : 0.0004563331604003906 nb_pixel_total : 20377 time to create 1 rle with old method : 0.023992300033569336 length of segment : 168 time for calcul the mask position with numpy : 0.007635831832885742 nb_pixel_total : 327519 time to create 1 rle with new method : 0.013984203338623047 length of segment : 626 time for calcul the mask position with numpy : 0.002359151840209961 nb_pixel_total : 75146 time to create 1 rle with old method : 0.0845482349395752 length of segment : 488 time for calcul the mask position with numpy : 0.0006113052368164062 nb_pixel_total : 15098 time to create 1 rle with old method : 0.01730036735534668 length of segment : 142 time for calcul the mask position with numpy : 0.0035181045532226562 nb_pixel_total : 100522 time to create 1 rle with old method : 0.11261296272277832 length of segment : 1034 time for calcul the mask position with numpy : 0.0004622936248779297 nb_pixel_total : 3153 time to create 1 rle with old method : 0.003896951675415039 length of segment : 120 time for calcul the mask position with numpy : 0.00557708740234375 nb_pixel_total : 206038 time to create 1 rle with new method : 0.008680343627929688 length of segment : 539 time for calcul the mask position with numpy : 0.0022089481353759766 nb_pixel_total : 97004 time to create 1 rle with old method : 0.11116862297058105 length of segment : 243 time for calcul the mask position with numpy : 0.006957530975341797 nb_pixel_total : 173248 time to create 1 rle with new method : 0.012553930282592773 length of segment : 652 time for calcul the mask position with numpy : 0.00047588348388671875 nb_pixel_total : 7221 time to create 1 rle with old method : 0.011978864669799805 length of segment : 178 time for calcul the mask position with numpy : 0.01032567024230957 nb_pixel_total : 358503 time to create 1 rle with new method : 0.022977352142333984 length of segment : 718 time for calcul the mask position with numpy : 0.002368450164794922 nb_pixel_total : 108699 time to create 1 rle with old method : 0.11825084686279297 length of segment : 417 time for calcul the mask position with numpy : 0.0003731250762939453 nb_pixel_total : 13204 time to create 1 rle with old method : 0.01618504524230957 length of segment : 197 time for calcul the mask position with numpy : 0.0003533363342285156 nb_pixel_total : 6776 time to create 1 rle with old method : 0.008370161056518555 length of segment : 164 time for calcul the mask position with numpy : 0.002828359603881836 nb_pixel_total : 115430 time to create 1 rle with old method : 0.14617919921875 length of segment : 526 time for calcul the mask position with numpy : 0.026371002197265625 nb_pixel_total : 366406 time to create 1 rle with new method : 0.04221677780151367 length of segment : 718 time for calcul the mask position with numpy : 0.0015840530395507812 nb_pixel_total : 71288 time to create 1 rle with old method : 0.0828099250793457 length of segment : 504 time for calcul the mask position with numpy : 0.0005135536193847656 nb_pixel_total : 15547 time to create 1 rle with old method : 0.017110586166381836 length of segment : 203 time for calcul the mask position with numpy : 0.0036399364471435547 nb_pixel_total : 251165 time to create 1 rle with new method : 0.006976127624511719 length of segment : 578 time for calcul the mask position with numpy : 0.0005319118499755859 nb_pixel_total : 28526 time to create 1 rle with old method : 0.031289100646972656 length of segment : 185 time for calcul the mask position with numpy : 0.00455474853515625 nb_pixel_total : 275948 time to create 1 rle with new method : 0.012273073196411133 length of segment : 778 time for calcul the mask position with numpy : 0.0003161430358886719 nb_pixel_total : 10122 time to create 1 rle with old method : 0.011998891830444336 length of segment : 93 time for calcul the mask position with numpy : 0.00029015541076660156 nb_pixel_total : 6224 time to create 1 rle with old method : 0.007489681243896484 length of segment : 133 time for calcul the mask position with numpy : 0.0009708404541015625 nb_pixel_total : 51006 time to create 1 rle with old method : 0.05696249008178711 length of segment : 346 time for calcul the mask position with numpy : 0.00022172927856445312 nb_pixel_total : 5225 time to create 1 rle with old method : 0.006653308868408203 length of segment : 75 time for calcul the mask position with numpy : 0.0001697540283203125 nb_pixel_total : 3253 time to create 1 rle with old method : 0.004022121429443359 length of segment : 87 time for calcul the mask position with numpy : 0.0033271312713623047 nb_pixel_total : 181448 time to create 1 rle with new method : 0.006768226623535156 length of segment : 504 time for calcul the mask position with numpy : 0.002660989761352539 nb_pixel_total : 188494 time to create 1 rle with new method : 0.0072820186614990234 length of segment : 450 time for calcul the mask position with numpy : 0.0011904239654541016 nb_pixel_total : 24591 time to create 1 rle with old method : 0.027011871337890625 length of segment : 508 time for calcul the mask position with numpy : 0.0038118362426757812 nb_pixel_total : 229880 time to create 1 rle with new method : 0.0077478885650634766 length of segment : 684 time for calcul the mask position with numpy : 0.00038743019104003906 nb_pixel_total : 10129 time to create 1 rle with old method : 0.01089024543762207 length of segment : 172 time for calcul the mask position with numpy : 0.0037224292755126953 nb_pixel_total : 165354 time to create 1 rle with new method : 0.0053861141204833984 length of segment : 623 time for calcul the mask position with numpy : 0.0006799697875976562 nb_pixel_total : 28942 time to create 1 rle with old method : 0.031341552734375 length of segment : 317 time for calcul the mask position with numpy : 0.0009930133819580078 nb_pixel_total : 38741 time to create 1 rle with old method : 0.0430912971496582 length of segment : 370 time for calcul the mask position with numpy : 0.008107185363769531 nb_pixel_total : 298375 time to create 1 rle with new method : 0.015179872512817383 length of segment : 853 time for calcul the mask position with numpy : 0.0002455711364746094 nb_pixel_total : 4931 time to create 1 rle with old method : 0.006269693374633789 length of segment : 115 time for calcul the mask position with numpy : 0.005666971206665039 nb_pixel_total : 276673 time to create 1 rle with new method : 0.01010441780090332 length of segment : 730 time for calcul the mask position with numpy : 0.005768537521362305 nb_pixel_total : 252657 time to create 1 rle with new method : 0.009697198867797852 length of segment : 543 time for calcul the mask position with numpy : 0.004879474639892578 nb_pixel_total : 234931 time to create 1 rle with new method : 0.01133871078491211 length of segment : 615 time for calcul the mask position with numpy : 0.001390218734741211 nb_pixel_total : 75329 time to create 1 rle with old method : 0.0813751220703125 length of segment : 444 time for calcul the mask position with numpy : 0.0017044544219970703 nb_pixel_total : 100746 time to create 1 rle with old method : 0.11340522766113281 length of segment : 436 time for calcul the mask position with numpy : 0.0020475387573242188 nb_pixel_total : 97045 time to create 1 rle with old method : 0.10494279861450195 length of segment : 931 time for calcul the mask position with numpy : 0.004376649856567383 nb_pixel_total : 256705 time to create 1 rle with new method : 0.009355306625366211 length of segment : 732 time spent for convertir_results : 15.014356851577759 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 131 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 57067 save missing photos in datou_result : time spend for datou_step_exec : 57.32380175590515 time spend to save output : 9.44341492652893 total time spend for step 1 : 66.76721668243408 step2:crop_condition Mon Feb 17 15:09:38 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 : 9 ! batch 1 Loaded 131 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 ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 17 About to insert : list_path_to_insert length 17 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! we have finished the crop for the class : 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 ! map_result returned by crop_photo_return_map_crop : length : 24 About to insert : list_path_to_insert length 24 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 ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 41 About to insert : list_path_to_insert length 41 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 [1338160797, 1338160793, 1338153524, 1338153523, 1338153521, 1338153494, 1338153491, 1338153487, 1338153483] Looping around the photos to save general results len do output : 104 /-3678064300Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064298Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045630Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045631Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045647Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045645Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045678Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045695Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045696Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045694Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045711Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064291Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064292Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064294Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064297Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064301Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045634Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045646Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045650Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045651Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045684Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045704Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045710Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045714Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045708Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045730Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045734Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064313Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064293Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064307Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045637Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045732Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064285Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064282Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064287Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064306Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064304Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064308Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045640Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045639Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045644Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045648Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045652Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045675Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045701Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045700Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045690Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045689Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045699Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045697Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045702Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064312Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045720Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045727Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045736Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045726Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064283Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064295Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045638Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045635Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045674Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045724Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045729Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064289Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064284Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064280Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064286Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064281Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064299Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064303Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064305Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064296Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045625Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045628Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045636Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045626Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045649Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064309Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045654Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045643Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045657Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045685Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045682Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045677Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045679Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045683Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045686Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045681Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045676Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045698Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045693Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045692Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045688Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045687Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045705Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678064310Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045721Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045709Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045728Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045725Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045733Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045731Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045723Didn'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, '2593491') ('3459', '20609978', '1338160797', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338160793', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153524', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153523', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153521', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153494', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153491', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153487', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153483', None, None, None, None, None, '2593491') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 321 time used for this insertion : 0.03502964973449707 save_final save missing photos in datou_result : time spend for datou_step_exec : 71.20944571495056 time spend to save output : 0.0382084846496582 total time spend for step 2 : 71.24765419960022 step3:thcl Mon Feb 17 15:10: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 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.014351844787597656 time to convert the images to numpy array : 0.6185531616210938 time to import caffe and check if the image exist : 0.014973878860473633 time to convert the images to numpy array : 0.641589879989624 time to import caffe and check if the image exist : 0.016590595245361328 time to convert the images to numpy array : 0.6414062976837158 time to import caffe and check if the image exist : 0.011399984359741211 time to convert the images to numpy array : 0.6500263214111328 time to import caffe and check if the image exist : 0.019748687744140625 time to convert the images to numpy array : 0.6943116188049316 time to import caffe and check if the image exist : 0.015689849853515625 time to convert the images to numpy array : 1.053588628768921 time to import caffe and check if the image exist : 0.019344806671142578 time to convert the images to numpy array : 1.0814447402954102 time to import caffe and check if the image exist : 0.013278722763061523 time to convert the images to numpy array : 1.4881579875946045 time to import caffe and check if the image exist : 0.017704248428344727 time to convert the images to numpy array : 1.5939903259277344 time to import caffe and check if the image exist : 0.01827859878540039 time to convert the images to numpy array : 1.6143279075622559 total time to convert the images to numpy array : 1.828160285949707 list photo_ids error: [] list photo_ids correct : [-3678045728, -3678045725, -3678045733, -3678045731, -3678045723, -3678064282, -3678064287, -3678064306, -3678064304, -3678064308, -3678045640, -3678045639, -3678045644, -3678045648, -3678045652, -3678045675, -3678064300, -3678064298, -3678045630, -3678045631, -3678045647, -3678045645, -3678045678, -3678045695, -3678045696, -3678045694, -3678045711, -3678045726, -3678064283, -3678064295, -3678045638, -3678045635, -3678045674, -3678045724, -3678045729, -3678064289, -3678064284, -3678064280, -3678045701, -3678045700, -3678045690, -3678045689, -3678045699, -3678045697, -3678045702, -3678064312, -3678045720, -3678045727, -3678045736, -3678064309, -3678045654, -3678045643, -3678045657, -3678045685, -3678045682, -3678045677, -3678045679, -3678045683, -3678045686, -3678045681, -3678064286, -3678064281, -3678064299, -3678064303, -3678064305, -3678064296, -3678045625, -3678045628, -3678045636, -3678045626, -3678045649, -3678064291, -3678064292, -3678064294, -3678064297, -3678064301, -3678045634, -3678045646, -3678045650, -3678045651, -3678045684, -3678045704, -3678045710, -3678045714, -3678045708, -3678045730, -3678045734, -3678064313, -3678064293, -3678064307, -3678045637, -3678045732, -3678064285, -3678045676, -3678045698, -3678045693, -3678045692, -3678045688, -3678045687, -3678045705, -3678064310, -3678045721, -3678045709, -3678045712] number of photos to traite : 104 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 : 5706 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 : 5487 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 2.2788054943084717 time used to do the prediction : 0.2548506259918213 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 : 5485 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 : 5485 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 2.4088964462280273 time used to do the prediction : 0.1934974193572998 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 : 3.504753112792969e-05 save missing photos in datou_result : time spend for datou_step_exec : 14.232119083404541 time spend to save output : 0.0012271404266357422 total time spend for step 3 : 14.233346223831177 step4:merge_mask_thcl_custom Mon Feb 17 15:11:03 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 131 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 [1338160797, 1338160793, 1338153524, 1338153523, 1338153521, 1338153494, 1338153491, 1338153487, 1338153483] Looping around the photos to save general results len do output : 9 /1338160797Didn't retrieve data .Didn't retrieve data . /1338160793Didn't retrieve data .Didn't retrieve data . /1338153524Didn't retrieve data .Didn't retrieve data . /1338153523Didn't retrieve data .Didn't retrieve data . /1338153521Didn't retrieve data .Didn't retrieve data . /1338153494Didn't retrieve data .Didn't retrieve data . /1338153491Didn't retrieve data .Didn't retrieve data . /1338153487Didn't retrieve data .Didn't retrieve data . /1338153483Didn'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, '2593491') ('3459', '20609978', '1338160797', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338160793', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153524', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153523', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153521', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153494', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153491', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153487', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153483', None, None, None, None, None, '2593491') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.01308298110961914 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.18042254447937012 time spend to save output : 0.013573884963989258 total time spend for step 4 : 0.19399642944335938 step5:rle_unique_nms_with_priority Mon Feb 17 15:11:03 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 5 time to prepare the origin masks : 11.379979610443115 time for calcul the mask position with numpy : 0.3420989513397217 nb_pixel_total : 5616047 time to create 1 rle with new method : 1.0859448909759521 time for calcul the mask position with numpy : 0.023367881774902344 nb_pixel_total : 29109 time to create 1 rle with old method : 0.03414177894592285 time for calcul the mask position with numpy : 0.023158788681030273 nb_pixel_total : 143081 time to create 1 rle with old method : 0.16741251945495605 time for calcul the mask position with numpy : 0.027567625045776367 nb_pixel_total : 5414 time to create 1 rle with old method : 0.0076465606689453125 time for calcul the mask position with numpy : 0.024095535278320312 nb_pixel_total : 123909 time to create 1 rle with old method : 0.13580679893493652 time for calcul the mask position with numpy : 0.023797035217285156 nb_pixel_total : 6483 time to create 1 rle with old method : 0.008640766143798828 time for calcul the mask position with numpy : 0.02275538444519043 nb_pixel_total : 244061 time to create 1 rle with new method : 0.5509312152862549 time for calcul the mask position with numpy : 0.023380041122436523 nb_pixel_total : 253849 time to create 1 rle with new method : 0.7971830368041992 time for calcul the mask position with numpy : 0.031023025512695312 nb_pixel_total : 32225 time to create 1 rle with old method : 0.0355377197265625 time for calcul the mask position with numpy : 0.02995920181274414 nb_pixel_total : 254852 time to create 1 rle with new method : 0.7176883220672607 time for calcul the mask position with numpy : 0.029000520706176758 nb_pixel_total : 2168 time to create 1 rle with old method : 0.0026726722717285156 time for calcul the mask position with numpy : 0.0295255184173584 nb_pixel_total : 170702 time to create 1 rle with new method : 0.8808746337890625 time for calcul the mask position with numpy : 0.029335737228393555 nb_pixel_total : 9222 time to create 1 rle with old method : 0.010191679000854492 time for calcul the mask position with numpy : 0.0312952995300293 nb_pixel_total : 49774 time to create 1 rle with old method : 0.06366944313049316 time for calcul the mask position with numpy : 0.022144794464111328 nb_pixel_total : 109344 time to create 1 rle with old method : 0.12766528129577637 create new chi : 5.47974419593811 time to delete rle : 0.01747584342956543 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 14350 TO DO : save crop sub photo not yet done ! save time : 0.8218860626220703 nb_obj : 13 nb_hashtags : 7 time to prepare the origin masks : 8.525571823120117 time for calcul the mask position with numpy : 0.4665346145629883 nb_pixel_total : 5794740 time to create 1 rle with new method : 0.6462240219116211 time for calcul the mask position with numpy : 0.03777885437011719 nb_pixel_total : 56458 time to create 1 rle with old method : 0.06236124038696289 time for calcul the mask position with numpy : 0.03620743751525879 nb_pixel_total : 9149 time to create 1 rle with old method : 0.010916471481323242 time for calcul the mask position with numpy : 0.04208827018737793 nb_pixel_total : 8115 time to create 1 rle with old method : 0.00984811782836914 time for calcul the mask position with numpy : 0.04381752014160156 nb_pixel_total : 54868 time to create 1 rle with old method : 0.06234931945800781 time for calcul the mask position with numpy : 0.04731130599975586 nb_pixel_total : 72621 time to create 1 rle with old method : 0.08094143867492676 time for calcul the mask position with numpy : 0.04842805862426758 nb_pixel_total : 50213 time to create 1 rle with old method : 0.05497336387634277 time for calcul the mask position with numpy : 0.04473686218261719 nb_pixel_total : 2116 time to create 1 rle with old method : 0.0025320053100585938 time for calcul the mask position with numpy : 0.04471325874328613 nb_pixel_total : 245138 time to create 1 rle with new method : 0.7450320720672607 time for calcul the mask position with numpy : 0.03279685974121094 nb_pixel_total : 253746 time to create 1 rle with new method : 0.6337850093841553 time for calcul the mask position with numpy : 0.028242826461791992 nb_pixel_total : 8942 time to create 1 rle with old method : 0.010538816452026367 time for calcul the mask position with numpy : 0.02772831916809082 nb_pixel_total : 243046 time to create 1 rle with new method : 0.5833065509796143 time for calcul the mask position with numpy : 0.031087160110473633 nb_pixel_total : 128953 time to create 1 rle with old method : 0.14002037048339844 time for calcul the mask position with numpy : 0.046022891998291016 nb_pixel_total : 122135 time to create 1 rle with old method : 0.13704323768615723 create new chi : 4.290597438812256 time to delete rle : 0.0018045902252197266 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 12210 TO DO : save crop sub photo not yet done ! save time : 0.6957323551177979 nb_obj : 18 nb_hashtags : 8 time to prepare the origin masks : 12.328700065612793 time for calcul the mask position with numpy : 0.40674805641174316 nb_pixel_total : 5240026 time to create 1 rle with new method : 0.4990100860595703 time for calcul the mask position with numpy : 0.02301192283630371 nb_pixel_total : 20854 time to create 1 rle with old method : 0.02270364761352539 time for calcul the mask position with numpy : 0.025029659271240234 nb_pixel_total : 3769 time to create 1 rle with old method : 0.0043468475341796875 time for calcul the mask position with numpy : 0.02466440200805664 nb_pixel_total : 273819 time to create 1 rle with new method : 0.5399937629699707 time for calcul the mask position with numpy : 0.02386021614074707 nb_pixel_total : 18511 time to create 1 rle with old method : 0.020419597625732422 time for calcul the mask position with numpy : 0.028945207595825195 nb_pixel_total : 65699 time to create 1 rle with old method : 0.07432341575622559 time for calcul the mask position with numpy : 0.024187803268432617 nb_pixel_total : 249627 time to create 1 rle with new method : 0.3082141876220703 time for calcul the mask position with numpy : 0.022322654724121094 nb_pixel_total : 5371 time to create 1 rle with old method : 0.006407022476196289 time for calcul the mask position with numpy : 0.0253450870513916 nb_pixel_total : 177100 time to create 1 rle with new method : 0.3506793975830078 time for calcul the mask position with numpy : 0.026453256607055664 nb_pixel_total : 34884 time to create 1 rle with old method : 0.039058685302734375 time for calcul the mask position with numpy : 0.02262735366821289 nb_pixel_total : 5760 time to create 1 rle with old method : 0.0066318511962890625 time for calcul the mask position with numpy : 0.02440619468688965 nb_pixel_total : 255100 time to create 1 rle with new method : 0.3134458065032959 time for calcul the mask position with numpy : 0.0289306640625 nb_pixel_total : 266252 time to create 1 rle with new method : 0.3340282440185547 time for calcul the mask position with numpy : 0.034399986267089844 nb_pixel_total : 2281 time to create 1 rle with old method : 0.08138275146484375 time for calcul the mask position with numpy : 0.04027867317199707 nb_pixel_total : 97187 time to create 1 rle with old method : 0.10892271995544434 time for calcul the mask position with numpy : 0.03543972969055176 nb_pixel_total : 67504 time to create 1 rle with old method : 0.07476949691772461 time for calcul the mask position with numpy : 0.03334522247314453 nb_pixel_total : 189361 time to create 1 rle with new method : 0.3323640823364258 time for calcul the mask position with numpy : 0.03732466697692871 nb_pixel_total : 26221 time to create 1 rle with old method : 0.02910304069519043 time for calcul the mask position with numpy : 0.03309345245361328 nb_pixel_total : 50914 time to create 1 rle with old method : 0.0570673942565918 create new chi : 4.3132219314575195 time to delete rle : 0.0014579296112060547 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 15552 TO DO : save crop sub photo not yet done ! save time : 0.8932223320007324 nb_obj : 12 nb_hashtags : 7 time to prepare the origin masks : 9.252251386642456 time for calcul the mask position with numpy : 0.6344525814056396 nb_pixel_total : 5702383 time to create 1 rle with new method : 0.7214558124542236 time for calcul the mask position with numpy : 0.03437924385070801 nb_pixel_total : 10176 time to create 1 rle with old method : 0.01308584213256836 time for calcul the mask position with numpy : 0.03518939018249512 nb_pixel_total : 52028 time to create 1 rle with old method : 0.06246185302734375 time for calcul the mask position with numpy : 0.0367732048034668 nb_pixel_total : 224165 time to create 1 rle with new method : 0.6899359226226807 time for calcul the mask position with numpy : 0.03348255157470703 nb_pixel_total : 21804 time to create 1 rle with old method : 0.02453780174255371 time for calcul the mask position with numpy : 0.03204941749572754 nb_pixel_total : 16055 time to create 1 rle with old method : 0.017156124114990234 time for calcul the mask position with numpy : 0.031786441802978516 nb_pixel_total : 136064 time to create 1 rle with old method : 0.1437668800354004 time for calcul the mask position with numpy : 0.03293871879577637 nb_pixel_total : 394557 time to create 1 rle with new method : 0.4068779945373535 time for calcul the mask position with numpy : 0.030046939849853516 nb_pixel_total : 8269 time to create 1 rle with old method : 0.009402275085449219 time for calcul the mask position with numpy : 0.021214723587036133 nb_pixel_total : 2580 time to create 1 rle with old method : 0.0029332637786865234 time for calcul the mask position with numpy : 0.023017168045043945 nb_pixel_total : 290233 time to create 1 rle with new method : 0.39482975006103516 time for calcul the mask position with numpy : 0.022261619567871094 nb_pixel_total : 126655 time to create 1 rle with old method : 0.13571572303771973 time for calcul the mask position with numpy : 0.023805618286132812 nb_pixel_total : 65271 time to create 1 rle with old method : 0.06853199005126953 create new chi : 3.795825958251953 time to delete rle : 0.0013391971588134766 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 12086 TO DO : save crop sub photo not yet done ! save time : 0.679699182510376 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 3.3449461460113525 time for calcul the mask position with numpy : 0.17450785636901855 nb_pixel_total : 2741137 time to create 1 rle with new method : 0.4015660285949707 time for calcul the mask position with numpy : 0.03426623344421387 nb_pixel_total : 1944 time to create 1 rle with old method : 0.0022907257080078125 time for calcul the mask position with numpy : 0.3668184280395508 nb_pixel_total : 4305254 time to create 1 rle with new method : 0.5377359390258789 time for calcul the mask position with numpy : 0.032852888107299805 nb_pixel_total : 1905 time to create 1 rle with old method : 0.002254962921142578 create new chi : 1.619598388671875 time to delete rle : 0.0007009506225585938 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 6498 TO DO : save crop sub photo not yet done ! save time : 0.3786742687225342 nb_obj : 12 nb_hashtags : 5 time to prepare the origin masks : 6.246405363082886 time for calcul the mask position with numpy : 0.33344554901123047 nb_pixel_total : 6341677 time to create 1 rle with new method : 0.5888004302978516 time for calcul the mask position with numpy : 0.020877361297607422 nb_pixel_total : 30878 time to create 1 rle with old method : 0.033618927001953125 time for calcul the mask position with numpy : 0.021790266036987305 nb_pixel_total : 217501 time to create 1 rle with new method : 0.41707849502563477 time for calcul the mask position with numpy : 0.021958112716674805 nb_pixel_total : 47466 time to create 1 rle with old method : 0.051195383071899414 time for calcul the mask position with numpy : 0.020938873291015625 nb_pixel_total : 26557 time to create 1 rle with old method : 0.028170347213745117 time for calcul the mask position with numpy : 0.020911455154418945 nb_pixel_total : 44353 time to create 1 rle with old method : 0.04763460159301758 time for calcul the mask position with numpy : 0.021097421646118164 nb_pixel_total : 110958 time to create 1 rle with old method : 0.11994528770446777 time for calcul the mask position with numpy : 0.021666765213012695 nb_pixel_total : 12353 time to create 1 rle with old method : 0.012918710708618164 time for calcul the mask position with numpy : 0.019989013671875 nb_pixel_total : 28030 time to create 1 rle with old method : 0.028303146362304688 time for calcul the mask position with numpy : 0.02616572380065918 nb_pixel_total : 14014 time to create 1 rle with old method : 0.014799118041992188 time for calcul the mask position with numpy : 0.034502506256103516 nb_pixel_total : 125692 time to create 1 rle with old method : 0.13318467140197754 time for calcul the mask position with numpy : 0.03336524963378906 nb_pixel_total : 4195 time to create 1 rle with old method : 0.0046918392181396484 time for calcul the mask position with numpy : 0.03263235092163086 nb_pixel_total : 46566 time to create 1 rle with old method : 0.05041313171386719 create new chi : 2.228860855102539 time to delete rle : 0.0009388923645019531 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 9927 TO DO : save crop sub photo not yet done ! save time : 0.5573551654815674 nb_obj : 19 nb_hashtags : 7 time to prepare the origin masks : 11.708859205245972 time for calcul the mask position with numpy : 0.3388040065765381 nb_pixel_total : 4445060 time to create 1 rle with new method : 0.565941572189331 time for calcul the mask position with numpy : 0.02391362190246582 nb_pixel_total : 172844 time to create 1 rle with new method : 0.5893793106079102 time for calcul the mask position with numpy : 0.02208876609802246 nb_pixel_total : 61165 time to create 1 rle with old method : 0.07026028633117676 time for calcul the mask position with numpy : 0.02560567855834961 nb_pixel_total : 339329 time to create 1 rle with new method : 0.6504988670349121 time for calcul the mask position with numpy : 0.02239537239074707 nb_pixel_total : 15017 time to create 1 rle with old method : 0.016461610794067383 time for calcul the mask position with numpy : 0.0264279842376709 nb_pixel_total : 19812 time to create 1 rle with old method : 0.022175073623657227 time for calcul the mask position with numpy : 0.02144002914428711 nb_pixel_total : 4288 time to create 1 rle with old method : 0.0065081119537353516 time for calcul the mask position with numpy : 0.021761655807495117 nb_pixel_total : 74874 time to create 1 rle with old method : 0.08202338218688965 time for calcul the mask position with numpy : 0.021242618560791016 nb_pixel_total : 7185 time to create 1 rle with old method : 0.008409261703491211 time for calcul the mask position with numpy : 0.026793956756591797 nb_pixel_total : 358176 time to create 1 rle with new method : 0.46294093132019043 time for calcul the mask position with numpy : 0.022391796112060547 nb_pixel_total : 96555 time to create 1 rle with old method : 0.10218405723571777 time for calcul the mask position with numpy : 0.022660255432128906 nb_pixel_total : 192054 time to create 1 rle with new method : 0.4370901584625244 time for calcul the mask position with numpy : 0.022066831588745117 nb_pixel_total : 12615 time to create 1 rle with old method : 0.014649391174316406 time for calcul the mask position with numpy : 0.027188539505004883 nb_pixel_total : 809194 time to create 1 rle with new method : 0.5991599559783936 time for calcul the mask position with numpy : 0.025728225708007812 nb_pixel_total : 2066 time to create 1 rle with old method : 0.0022993087768554688 time for calcul the mask position with numpy : 0.02488112449645996 nb_pixel_total : 58275 time to create 1 rle with old method : 0.06667065620422363 time for calcul the mask position with numpy : 0.022716760635375977 nb_pixel_total : 64065 time to create 1 rle with old method : 0.07259440422058105 time for calcul the mask position with numpy : 0.023913860321044922 nb_pixel_total : 108824 time to create 1 rle with old method : 0.12008905410766602 time for calcul the mask position with numpy : 0.023724794387817383 nb_pixel_total : 205756 time to create 1 rle with new method : 0.4748387336730957 time for calcul the mask position with numpy : 0.021505355834960938 nb_pixel_total : 3086 time to create 1 rle with old method : 0.0034716129302978516 create new chi : 5.34374213218689 time to delete rle : 0.0015463829040527344 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 15789 TO DO : save crop sub photo not yet done ! save time : 0.8892130851745605 nb_obj : 16 nb_hashtags : 5 time to prepare the origin masks : 9.224123477935791 time for calcul the mask position with numpy : 0.30161046981811523 nb_pixel_total : 5912281 time to create 1 rle with new method : 0.6786644458770752 time for calcul the mask position with numpy : 0.040465593338012695 nb_pixel_total : 28487 time to create 1 rle with old method : 0.030829906463623047 time for calcul the mask position with numpy : 0.03856086730957031 nb_pixel_total : 7926 time to create 1 rle with old method : 0.009099483489990234 time for calcul the mask position with numpy : 0.04183793067932129 nb_pixel_total : 365757 time to create 1 rle with new method : 0.3422257900238037 time for calcul the mask position with numpy : 0.035539865493774414 nb_pixel_total : 24850 time to create 1 rle with old method : 0.02853846549987793 time for calcul the mask position with numpy : 0.03728938102722168 nb_pixel_total : 3241 time to create 1 rle with old method : 0.003608226776123047 time for calcul the mask position with numpy : 0.03356313705444336 nb_pixel_total : 5164 time to create 1 rle with old method : 0.006720304489135742 time for calcul the mask position with numpy : 0.03980684280395508 nb_pixel_total : 114696 time to create 1 rle with old method : 0.14061284065246582 time for calcul the mask position with numpy : 0.04106950759887695 nb_pixel_total : 251078 time to create 1 rle with new method : 0.6066069602966309 time for calcul the mask position with numpy : 0.035095930099487305 nb_pixel_total : 6193 time to create 1 rle with old method : 0.0069887638092041016 time for calcul the mask position with numpy : 0.037240028381347656 nb_pixel_total : 182403 time to create 1 rle with new method : 0.4881401062011719 time for calcul the mask position with numpy : 0.03380703926086426 nb_pixel_total : 10042 time to create 1 rle with old method : 0.01087188720703125 time for calcul the mask position with numpy : 0.034327030181884766 nb_pixel_total : 6690 time to create 1 rle with old method : 0.007784366607666016 time for calcul the mask position with numpy : 0.03318667411804199 nb_pixel_total : 24584 time to create 1 rle with old method : 0.027900218963623047 time for calcul the mask position with numpy : 0.030664443969726562 nb_pixel_total : 78249 time to create 1 rle with old method : 0.08213615417480469 time for calcul the mask position with numpy : 0.03262948989868164 nb_pixel_total : 13180 time to create 1 rle with old method : 0.014101743698120117 time for calcul the mask position with numpy : 0.03096294403076172 nb_pixel_total : 15419 time to create 1 rle with old method : 0.01669478416442871 create new chi : 3.498246669769287 time to delete rle : 0.001558065414428711 batch 1 Loaded 19 chid ids of type : 3726 Number RLEs to save : 12198 TO DO : save crop sub photo not yet done ! save time : 0.6872584819793701 nb_obj : 14 nb_hashtags : 4 time to prepare the origin masks : 7.676319599151611 time for calcul the mask position with numpy : 0.2530839443206787 nb_pixel_total : 5100504 time to create 1 rle with new method : 0.63702392578125 time for calcul the mask position with numpy : 0.02254319190979004 nb_pixel_total : 28958 time to create 1 rle with old method : 0.03049755096435547 time for calcul the mask position with numpy : 0.0196535587310791 nb_pixel_total : 4911 time to create 1 rle with old method : 0.005450725555419922 time for calcul the mask position with numpy : 0.020975589752197266 nb_pixel_total : 143891 time to create 1 rle with old method : 0.1482224464416504 time for calcul the mask position with numpy : 0.01945948600769043 nb_pixel_total : 10122 time to create 1 rle with old method : 0.010543584823608398 time for calcul the mask position with numpy : 0.020637035369873047 nb_pixel_total : 229670 time to create 1 rle with new method : 0.49167656898498535 time for calcul the mask position with numpy : 0.021971702575683594 nb_pixel_total : 226063 time to create 1 rle with new method : 0.40114760398864746 time for calcul the mask position with numpy : 0.02205944061279297 nb_pixel_total : 38665 time to create 1 rle with old method : 0.041910409927368164 time for calcul the mask position with numpy : 0.02211308479309082 nb_pixel_total : 256303 time to create 1 rle with new method : 0.5016751289367676 time for calcul the mask position with numpy : 0.02125406265258789 nb_pixel_total : 233956 time to create 1 rle with new method : 0.3357584476470947 time for calcul the mask position with numpy : 0.020700693130493164 nb_pixel_total : 228467 time to create 1 rle with new method : 0.4087965488433838 time for calcul the mask position with numpy : 0.020610809326171875 nb_pixel_total : 97016 time to create 1 rle with old method : 0.10286927223205566 time for calcul the mask position with numpy : 0.029736042022705078 nb_pixel_total : 276043 time to create 1 rle with new method : 0.4561429023742676 time for calcul the mask position with numpy : 0.032418251037597656 nb_pixel_total : 75040 time to create 1 rle with old method : 0.08931136131286621 time for calcul the mask position with numpy : 0.030956745147705078 nb_pixel_total : 100631 time to create 1 rle with old method : 0.11133098602294922 create new chi : 4.515983581542969 time to delete rle : 0.0014395713806152344 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 16502 TO DO : save crop sub photo not yet done ! save time : 1.009855031967163 map_output_result : {1338160797: (0.0, 'Should be the crop_list due to order', 0.0), 1338160793: (0.0, 'Should be the crop_list due to order', 0.0), 1338153524: (0.0, 'Should be the crop_list due to order', 0.0), 1338153523: (0.0, 'Should be the crop_list due to order', 0.0), 1338153521: (0.0, 'Should be the crop_list due to order', 0.0), 1338153494: (0.0, 'Should be the crop_list due to order', 0.0), 1338153491: (0.0, 'Should be the crop_list due to order', 0.0), 1338153487: (0.0, 'Should be the crop_list due to order', 0.0), 1338153483: (0.0, 'Should be the crop_list due to order', 0.0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1338160797, 1338160793, 1338153524, 1338153523, 1338153521, 1338153494, 1338153491, 1338153487, 1338153483] Looping around the photos to save general results len do output : 9 /1338160797.Didn't retrieve data . /1338160793.Didn't retrieve data . /1338153524.Didn't retrieve data . /1338153523.Didn't retrieve data . /1338153521.Didn't retrieve data . /1338153494.Didn't retrieve data . /1338153491.Didn't retrieve data . /1338153487.Didn't retrieve data . /1338153483.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, '2593491') ('3459', '20609978', '1338160797', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338160793', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153524', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153523', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153521', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153494', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153491', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153487', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153483', None, None, None, None, None, '2593491') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.015482425689697266 save_final save missing photos in datou_result : time spend for datou_step_exec : 122.32640719413757 time spend to save output : 0.016168832778930664 total time spend for step 5 : 122.3425760269165 step6:crop_condition Mon Feb 17 15:13:06 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 : 9 ! batch 1 Loaded 137 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 ! 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/1739801588_3823546 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.8195774555206299 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 ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 20 About to insert : list_path_to_insert length 20 new photo from crops ! About to upload 20 photos upload in portfolio : 4869462 init cache_photo without model_param we have 20 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739801608_3823546 we have uploaded 20 photos in the portfolio 4869462 time of upload the photos Elapsed time : 8.347931623458862 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 ! 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/1739801619_3823546 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.4174437522888184 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 ! 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/1739801622_3823546 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.5354137420654297 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 ! Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! About to upload 8 photos upload in portfolio : 4869462 init cache_photo without model_param we have 8 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739801629_3823546 we have uploaded 8 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.9406423568725586 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 26 About to insert : list_path_to_insert length 26 new photo from crops ! About to upload 26 photos upload in portfolio : 4869462 init cache_photo without model_param we have 26 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739801646_3823546 we have uploaded 26 photos in the portfolio 4869462 time of upload the photos Elapsed time : 6.742119312286377 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 ! 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/1739801656_3823546 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.9936108589172363 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 [1338160797, 1338160793, 1338153524, 1338153523, 1338153521, 1338153494, 1338153491, 1338153487, 1338153483] Looping around the photos to save general results len do output : 65 /1338171137Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171138Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171263Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171264Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171267Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171269Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171271Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171273Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171275Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171277Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171279Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171281Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171283Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171285Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171287Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171290Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171292Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171294Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171296Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171298Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171300Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171302Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171327Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171328Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171329Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171337Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171339Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171359Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171360Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171361Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171362Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171363Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171364Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171365Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171367Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171391Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171392Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171393Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171394Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171395Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171396Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171397Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171398Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171399Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171400Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171401Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171402Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171403Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171404Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171405Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171406Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171407Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171408Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171409Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171410Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171411Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171412Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171413Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171414Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171415Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171416Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171417Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171418Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171419Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338171420Didn'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, '2593491') ('3459', '20609978', '1338160797', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338160793', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153524', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153523', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153521', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153494', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153491', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153487', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153483', None, None, None, None, None, '2593491') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 204 time used for this insertion : 0.03112053871154785 save_final save missing photos in datou_result : time spend for datou_step_exec : 73.03536605834961 time spend to save output : 0.03280520439147949 total time spend for step 6 : 73.06817126274109 step7:ventilate_hashtags_in_portfolio Mon Feb 17 15:14:19 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 : 20609978 get user id for portfolio 20609978 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`=20609978 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','cartonnette','environnement','mal_croppe','flou','Carton_brun','autre_refus','metal','papier','kraft','plastique')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20609978 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','cartonnette','environnement','mal_croppe','flou','Carton_brun','autre_refus','metal','papier','kraft','plastique')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20609978 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','cartonnette','environnement','mal_croppe','flou','Carton_brun','autre_refus','metal','papier','kraft','plastique')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20610020,20610021,20610022,20610023,20610024,20610025,20610026,20610027,20610028,20610029,20610030,20610031?tags=Carton_gris,Teint_Dans_La_Masse,cartonnette,environnement,mal_croppe,flou,Carton_brun,autre_refus,metal,papier,kraft,plastique Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1338160797, 1338160793, 1338153524, 1338153523, 1338153521, 1338153494, 1338153491, 1338153487, 1338153483] Looping around the photos to save general results len do output : 1 /20609978. 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, '2593491') ('3459', '20609978', '1338160797', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338160793', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153524', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153523', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153521', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153494', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153491', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153487', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153483', None, None, None, None, None, '2593491') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.014036417007446289 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.811002492904663 time spend to save output : 0.014711380004882812 total time spend for step 7 : 1.825713872909546 step8:final Mon Feb 17 15:14:20 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1338160797: ('0.232753906804281',), 1338160793: ('0.232753906804281',), 1338153524: ('0.232753906804281',), 1338153523: ('0.232753906804281',), 1338153521: ('0.232753906804281',), 1338153494: ('0.232753906804281',), 1338153491: ('0.232753906804281',), 1338153487: ('0.232753906804281',), 1338153483: ('0.232753906804281',)} new output for save of step final : {1338160797: ('0.232753906804281',), 1338160793: ('0.232753906804281',), 1338153524: ('0.232753906804281',), 1338153523: ('0.232753906804281',), 1338153521: ('0.232753906804281',), 1338153494: ('0.232753906804281',), 1338153491: ('0.232753906804281',), 1338153487: ('0.232753906804281',), 1338153483: ('0.232753906804281',)} [1338160797, 1338160793, 1338153524, 1338153523, 1338153521, 1338153494, 1338153491, 1338153487, 1338153483] Looping around the photos to save general results len do output : 9 /1338160797.Didn't retrieve data . /1338160793.Didn't retrieve data . /1338153524.Didn't retrieve data . /1338153523.Didn't retrieve data . /1338153521.Didn't retrieve data . /1338153494.Didn't retrieve data . /1338153491.Didn't retrieve data . /1338153487.Didn't retrieve data . /1338153483.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, '2593491') ('3459', '20609978', '1338160797', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338160793', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153524', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153523', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153521', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153494', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153491', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153487', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153483', None, None, None, None, None, '2593491') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.012514829635620117 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11316323280334473 time spend to save output : 0.013062477111816406 total time spend for step 8 : 0.12622570991516113 step9:velours_tree Mon Feb 17 15:14:21 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure 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.14861750602722168 time spend to save output : 3.695487976074219e-05 total time spend for step 9 : 0.14865446090698242 step10:send_mail_cod Mon Feb 17 15:14:21 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P20609978_17-02-2025_15_14_21.pdf 20610022 change filename to text .change filename to text .imagette206100221739801661 20610024 imagette206100241739801661 20610025 imagette206100251739801661 20610027 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 .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206100271739801661 20610028 imagette206100281739801663 20610030 change filename to text .change filename to text .change filename to text .change filename to text .imagette206100301739801663 20610031 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 .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206100311739801663 20610020 change filename to text .change filename to text .change filename to text .imagette206100201739801665 20610021 change filename to text .change filename to text .imagette206100211739801665 20610026 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 .imagette206100261739801665 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20609978 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20610020,20610021,20610022,20610023,20610024,20610025,20610026,20610027,20610028,20610029,20610030,20610031?tags=Carton_gris,Teint_Dans_La_Masse,cartonnette,environnement,mal_croppe,flou,Carton_brun,autre_refus,metal,papier,kraft,plastique your option no_mail is active, we will not send the real mail to your client args[1338160797] : ('0.232753906804281',) no score found for photo 1338160797 apple ('0.232753906804281',) We are sending mail with results at report@fotonower.com args[1338160793] : ('0.232753906804281',) no score found for photo 1338160793 apple ('0.232753906804281',) We are sending mail with results at report@fotonower.com args[1338153524] : ('0.232753906804281',) no score found for photo 1338153524 apple ('0.232753906804281',) We are sending mail with results at report@fotonower.com args[1338153523] : ('0.232753906804281',) no score found for photo 1338153523 apple ('0.232753906804281',) We are sending mail with results at report@fotonower.com args[1338153521] : ('0.232753906804281',) no score found for photo 1338153521 apple ('0.232753906804281',) We are sending mail with results at report@fotonower.com args[1338153494] : ('0.232753906804281',) no score found for photo 1338153494 apple ('0.232753906804281',) We are sending mail with results at report@fotonower.com args[1338153491] : ('0.232753906804281',) no score found for photo 1338153491 apple ('0.232753906804281',) We are sending mail with results at report@fotonower.com args[1338153487] : ('0.232753906804281',) no score found for photo 1338153487 apple ('0.232753906804281',) We are sending mail with results at report@fotonower.com args[1338153483] : ('0.232753906804281',) no score found for photo 1338153483 apple ('0.232753906804281',) We are sending mail with results at report@fotonower.com refus_total : 0.232753906804281 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=20609978 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1338153483,1338153487,1338153491,1338153523,1338153524,1338160793,1338160797,1338153494,1338153521) Found this number of photos: 9 begin to download photo : 1338153483 begin to download photo : 1338153491 begin to download photo : 1338153524 begin to download photo : 1338160797 begin to download photo : 1338153521 download finish for photo 1338153521 download finish for photo 1338153524 begin to download photo : 1338160793 download finish for photo 1338153491 begin to download photo : 1338153523 download finish for photo 1338160797 begin to download photo : 1338153494 download finish for photo 1338153483 begin to download photo : 1338153487 download finish for photo 1338160793 download finish for photo 1338153523 download finish for photo 1338153494 download finish for photo 1338153487 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20609978_17-02-2025_15_14_21.pdf results_Auto_P20609978_17-02-2025_15_14_21.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20609978_17-02-2025_15_14_21.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','20609978','results_Auto_P20609978_17-02-2025_15_14_21.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20609978_17-02-2025_15_14_21.pdf','pdf','','1.41','0.232753906804281') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1338160797, 1338160793, 1338153524, 1338153523, 1338153521, 1338153494, 1338153491, 1338153487, 1338153483] 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, '2593491') ('3459', '20609978', '1338160797', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338160793', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153524', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153523', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153521', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153494', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153491', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153487', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153483', None, None, None, None, None, '2593491') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.013245582580566406 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.008625984191895 time spend to save output : 0.013556480407714844 total time spend for step 10 : 8.02218246459961 step11:split_time_score Mon Feb 17 15:14: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 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'}] (('13', 9),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 17022025 20609978 Nombre de photos uploadées : 9 / 23040 (0%) 17022025 20609978 Nombre de photos taguées (types de déchets): 0 / 9 (0%) 17022025 20609978 Nombre de photos taguées (volume) : 0 / 9 (0%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 6.67572021484375e-06 ????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005872249603271484 elapsed_time : insert_dashboard_record_day_entry 0.36840367317199707 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.04358282622296515 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20599894_17-02-2025_10_01_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20599894 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`=20599894 AND mptpi.`type`=4207 To do Qualite : 0.05023964307933092 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20599895_17-02-2025_09_36_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20599895 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`=20599895 AND mptpi.`type`=4207 To do Qualite : 0.037520319588614646 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20599896_17-02-2025_09_19_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20599896 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`=20599896 AND mptpi.`type`=4207 To do Qualite : 0.036624499990701415 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20599897_17-02-2025_11_30_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20599897 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`=20599897 AND mptpi.`type`=4211 To do Qualite : 0.11310947136892767 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20607927_17-02-2025_15_07_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20607927 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`=20607927 AND mptpi.`type`=3327 To do Qualite : 0.14144574575410973 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20602076_17-02-2025_10_33_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20602076 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20602076 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20602077_17-02-2025_10_41_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20602077 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20599899_17-02-2025_09_36_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20599899 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20609972 order by id desc limit 1 Qualite : 0.046669328276683006 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20602079_17-02-2025_12_27_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20602079 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`=20602079 AND mptpi.`type`=4207 To do Qualite : 0.05224601635413538 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20607928_17-02-2025_14_15_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20607928 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`=20607928 AND mptpi.`type`=4207 To do Qualite : 0.044815716981886695 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20607929_17-02-2025_13_28_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20607929 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`=20607929 AND mptpi.`type`=4207 To do Qualite : 0.011610592257638191 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20607930_17-02-2025_13_49_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20607930 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 11488 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11496 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11497 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11495 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 11495 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11575 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11575 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11491 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11490 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11490 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11498 send_mail_cod have less outputs used (0) than in the step definition (1) : some outputs may be not used ! Step 11499 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 11491 doesn't seem to be define in the database( WARNING : type of input 3 of step 11490 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11488 doesn't seem to be define in the database( WARNING : type of input 2 of step 11492 doesn't seem to be define in the database( WARNING : output 1 of step 11488 have datatype=2 whereas input 1 of step 11495 have datatype=7 WARNING : type of output 2 of step 11495 doesn't seem to be define in the database( WARNING : type of input 1 of step 11489 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11491 have datatype=10 whereas input 3 of step 11498 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11575 doesn't seem to be define in the database( WARNING : output 1 of step 11489 have datatype=7 whereas input 2 of step 11575 have datatype=None WARNING : type of output 3 of step 11575 doesn't seem to be define in the database( WARNING : type of input 1 of step 11491 doesn't seem to be define in the database( WARNING : output 0 of step 11491 have datatype=10 whereas input 0 of step 11581 have datatype=18 WARNING : type of input 5 of step 11498 doesn't seem to be define in the database( WARNING : output 0 of step 11581 have datatype=11 whereas input 5 of step 11498 have datatype=None WARNING : type of output 1 of step 11496 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : type of output 1 of step 11497 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : output 0 of step 11495 have datatype=1 whereas input 0 of step 11489 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`=20607930 AND mptpi.`type`=4209 To do Qualite : 0.07331807065070181 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20607931_17-02-2025_13_26_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20607931 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`=20607931 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20609973 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20609974 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20609975 order by id desc limit 1 Qualite : 0.1420596218811598 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20607935_17-02-2025_13_32_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20607935 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20607935 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20609976 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20609977 order by id desc limit 1 Qualite : 0.232753906804281 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20609978_17-02-2025_15_14_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20609978 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`=20609978 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20609979 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20609980 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20609981 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'17022025': {'nb_upload': 9, '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 [1338160797, 1338160793, 1338153524, 1338153523, 1338153521, 1338153494, 1338153491, 1338153487, 1338153483] Looping around the photos to save general results len do output : 1 /20609978Didn'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, '2593491') ('3459', '20609978', '1338160797', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338160793', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153524', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153523', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153521', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153494', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153491', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153487', None, None, None, None, None, '2593491') ('3459', None, None, None, None, None, None, None, '2593491') ('3459', '20609978', '1338153483', None, None, None, None, None, '2593491') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.01333165168762207 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.793760299682617 time spend to save output : 0.013512849807739258 total time spend for step 11 : 8.807273149490356 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 1 len(input) + len(total_photo_id_missing) : 9 set_done_treatment 212.23user 123.73system 6:14.85elapsed 89%CPU (0avgtext+0avgdata 4110440maxresident)k 298448inputs+271528outputs (12618major+13245981minor)pagefaults 0swaps