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 : 2658201 load datou : 3459 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? output optionnel thcl was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) load thcls load THCL from format json or kwargs add thcl : 2456 in CacheModelConfig load THCL from format json or kwargs add thcl : 2868 in CacheModelConfig load THCL from format json or kwargs add thcl : 2896 in CacheModelConfig load pdts add pdt : 4999 in CacheModelConfig add pdt : 5288 in CacheModelConfig add pdt : 5309 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 we have a portfolio with more photos than limit : 34>10 please execute split_portfolio.py -i 20577686 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2589640'] with mtr_portfolio_ids : ['20577686'] and first list_photo_ids : [] new path : /proc/2658201/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.5206923484802246 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Fri Feb 14 22:58:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10774 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-14 22:58:31.870698: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-02-14 22:58:31.899051: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-14 22:58:31.901282: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f2664000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-14 22:58:31.901335: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-14 22:58:31.905287: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-14 22:58:32.153049: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2192ea60 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-14 22:58:32.153115: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-14 22:58:32.154685: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-14 22:58:32.155128: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-14 22:58:32.162192: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-14 22:58:32.165169: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-14 22:58:32.165717: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-14 22:58:32.168910: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-14 22:58:32.170589: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-14 22:58:32.175698: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-14 22:58:32.177221: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-14 22:58:32.177293: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-14 22:58:32.178037: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-14 22:58:32.178052: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-14 22:58:32.178061: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-14 22:58:32.179453: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9985 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-02-14 22:58:32.443380: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-14 22:58:32.443487: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-14 22:58:32.443515: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-14 22:58:32.443540: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-14 22:58:32.443563: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-14 22:58:32.443587: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-14 22:58:32.443610: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-14 22:58:32.443632: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-14 22:58:32.444884: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-14 22:58:32.445894: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-14 22:58:32.445919: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-14 22:58:32.445933: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-14 22:58:32.445945: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-14 22:58:32.445957: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-14 22:58:32.445970: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-14 22:58:32.445982: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-14 22:58:32.445994: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-14 22:58:32.447163: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-14 22:58:32.447188: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-14 22:58:32.447196: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-14 22:58:32.447203: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-14 22:58:32.448411: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9985 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-02-14 22:58:42.552173: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-14 22:58:42.727422: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 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 : 17 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 25 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 : 2 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 : 7 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 : 3 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 : 11 Detection mask done ! Trying to reset tf kernel 2658525 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 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.0005004405975341797 nb_pixel_total : 23206 time to create 1 rle with old method : 0.02599167823791504 length of segment : 186 time for calcul the mask position with numpy : 0.00014066696166992188 nb_pixel_total : 5886 time to create 1 rle with old method : 0.00674748420715332 length of segment : 66 time for calcul the mask position with numpy : 0.002734661102294922 nb_pixel_total : 148269 time to create 1 rle with old method : 0.15550684928894043 length of segment : 500 time for calcul the mask position with numpy : 0.00030803680419921875 nb_pixel_total : 14127 time to create 1 rle with old method : 0.015595674514770508 length of segment : 167 time for calcul the mask position with numpy : 0.001861572265625 nb_pixel_total : 128372 time to create 1 rle with old method : 0.1399385929107666 length of segment : 368 time for calcul the mask position with numpy : 0.0019485950469970703 nb_pixel_total : 114289 time to create 1 rle with old method : 0.1201639175415039 length of segment : 703 time for calcul the mask position with numpy : 0.0011742115020751953 nb_pixel_total : 67631 time to create 1 rle with old method : 0.07145357131958008 length of segment : 333 time for calcul the mask position with numpy : 0.0009665489196777344 nb_pixel_total : 58236 time to create 1 rle with old method : 0.061823368072509766 length of segment : 353 time for calcul the mask position with numpy : 0.00020933151245117188 nb_pixel_total : 4042 time to create 1 rle with old method : 0.007106781005859375 length of segment : 149 time for calcul the mask position with numpy : 0.0009210109710693359 nb_pixel_total : 52442 time to create 1 rle with old method : 0.06416893005371094 length of segment : 324 time for calcul the mask position with numpy : 0.009767532348632812 nb_pixel_total : 343395 time to create 1 rle with new method : 0.029259681701660156 length of segment : 552 time for calcul the mask position with numpy : 0.0005488395690917969 nb_pixel_total : 21753 time to create 1 rle with old method : 0.025687456130981445 length of segment : 170 time for calcul the mask position with numpy : 0.0010066032409667969 nb_pixel_total : 59708 time to create 1 rle with old method : 0.06794071197509766 length of segment : 374 time for calcul the mask position with numpy : 0.0011985301971435547 nb_pixel_total : 64775 time to create 1 rle with old method : 0.07129144668579102 length of segment : 322 time for calcul the mask position with numpy : 0.003290414810180664 nb_pixel_total : 141445 time to create 1 rle with old method : 0.14874911308288574 length of segment : 396 time for calcul the mask position with numpy : 0.0010912418365478516 nb_pixel_total : 52577 time to create 1 rle with old method : 0.05706167221069336 length of segment : 333 time for calcul the mask position with numpy : 0.0013213157653808594 nb_pixel_total : 44084 time to create 1 rle with old method : 0.04780769348144531 length of segment : 495 time for calcul the mask position with numpy : 0.00045299530029296875 nb_pixel_total : 20313 time to create 1 rle with old method : 0.021602630615234375 length of segment : 249 time for calcul the mask position with numpy : 0.0003464221954345703 nb_pixel_total : 15747 time to create 1 rle with old method : 0.01765155792236328 length of segment : 204 time for calcul the mask position with numpy : 0.0001933574676513672 nb_pixel_total : 6491 time to create 1 rle with old method : 0.007474184036254883 length of segment : 127 time for calcul the mask position with numpy : 7.43865966796875e-05 nb_pixel_total : 1610 time to create 1 rle with old method : 0.0019214153289794922 length of segment : 57 time for calcul the mask position with numpy : 0.0002994537353515625 nb_pixel_total : 15013 time to create 1 rle with old method : 0.015982627868652344 length of segment : 152 time for calcul the mask position with numpy : 0.02227020263671875 nb_pixel_total : 1295179 time to create 1 rle with new method : 0.09060120582580566 length of segment : 2440 time for calcul the mask position with numpy : 0.001766204833984375 nb_pixel_total : 25402 time to create 1 rle with old method : 0.029288768768310547 length of segment : 347 time for calcul the mask position with numpy : 0.000682830810546875 nb_pixel_total : 24575 time to create 1 rle with old method : 0.030042648315429688 length of segment : 225 time for calcul the mask position with numpy : 0.002138376235961914 nb_pixel_total : 90082 time to create 1 rle with old method : 0.10025620460510254 length of segment : 373 time for calcul the mask position with numpy : 0.0016434192657470703 nb_pixel_total : 51955 time to create 1 rle with old method : 0.05766892433166504 length of segment : 416 time for calcul the mask position with numpy : 0.002196788787841797 nb_pixel_total : 65988 time to create 1 rle with old method : 0.07275795936584473 length of segment : 501 time for calcul the mask position with numpy : 0.00018644332885742188 nb_pixel_total : 4076 time to create 1 rle with old method : 0.004718303680419922 length of segment : 56 time for calcul the mask position with numpy : 0.0008726119995117188 nb_pixel_total : 41907 time to create 1 rle with old method : 0.047096967697143555 length of segment : 398 time for calcul the mask position with numpy : 0.000576019287109375 nb_pixel_total : 21119 time to create 1 rle with old method : 0.02439117431640625 length of segment : 212 time for calcul the mask position with numpy : 0.0021409988403320312 nb_pixel_total : 88853 time to create 1 rle with old method : 0.09588742256164551 length of segment : 362 time for calcul the mask position with numpy : 0.00041961669921875 nb_pixel_total : 6369 time to create 1 rle with old method : 0.0070497989654541016 length of segment : 146 time for calcul the mask position with numpy : 0.0001423358917236328 nb_pixel_total : 2657 time to create 1 rle with old method : 0.003075122833251953 length of segment : 54 time for calcul the mask position with numpy : 0.00026726722717285156 nb_pixel_total : 6059 time to create 1 rle with old method : 0.006644725799560547 length of segment : 140 time for calcul the mask position with numpy : 0.001997232437133789 nb_pixel_total : 54642 time to create 1 rle with old method : 0.05962228775024414 length of segment : 403 time for calcul the mask position with numpy : 0.00029158592224121094 nb_pixel_total : 4390 time to create 1 rle with old method : 0.0051271915435791016 length of segment : 101 time for calcul the mask position with numpy : 0.004777669906616211 nb_pixel_total : 174682 time to create 1 rle with new method : 0.008412837982177734 length of segment : 654 time for calcul the mask position with numpy : 0.0006134510040283203 nb_pixel_total : 20023 time to create 1 rle with old method : 0.022333383560180664 length of segment : 135 time for calcul the mask position with numpy : 0.0003380775451660156 nb_pixel_total : 3885 time to create 1 rle with old method : 0.004494905471801758 length of segment : 90 time for calcul the mask position with numpy : 0.0001766681671142578 nb_pixel_total : 3410 time to create 1 rle with old method : 0.0041844844818115234 length of segment : 62 time for calcul the mask position with numpy : 0.0007870197296142578 nb_pixel_total : 25090 time to create 1 rle with old method : 0.026856184005737305 length of segment : 239 time for calcul the mask position with numpy : 0.0007021427154541016 nb_pixel_total : 15221 time to create 1 rle with old method : 0.016833782196044922 length of segment : 212 time for calcul the mask position with numpy : 0.00013589859008789062 nb_pixel_total : 1518 time to create 1 rle with old method : 0.0018491744995117188 length of segment : 58 time for calcul the mask position with numpy : 0.005825042724609375 nb_pixel_total : 259982 time to create 1 rle with new method : 0.008304357528686523 length of segment : 714 time for calcul the mask position with numpy : 0.002324819564819336 nb_pixel_total : 39382 time to create 1 rle with old method : 0.04342293739318848 length of segment : 527 time for calcul the mask position with numpy : 0.0009212493896484375 nb_pixel_total : 26358 time to create 1 rle with old method : 0.028547048568725586 length of segment : 207 time for calcul the mask position with numpy : 0.00011301040649414062 nb_pixel_total : 2867 time to create 1 rle with old method : 0.003526926040649414 length of segment : 81 time for calcul the mask position with numpy : 0.00010895729064941406 nb_pixel_total : 1921 time to create 1 rle with old method : 0.002328157424926758 length of segment : 145 time for calcul the mask position with numpy : 0.00017905235290527344 nb_pixel_total : 8462 time to create 1 rle with old method : 0.009551763534545898 length of segment : 89 time for calcul the mask position with numpy : 0.00017023086547851562 nb_pixel_total : 1418 time to create 1 rle with old method : 0.0018150806427001953 length of segment : 44 time for calcul the mask position with numpy : 0.00150299072265625 nb_pixel_total : 59490 time to create 1 rle with old method : 0.06438398361206055 length of segment : 666 time for calcul the mask position with numpy : 0.0022242069244384766 nb_pixel_total : 79759 time to create 1 rle with old method : 0.08367228507995605 length of segment : 517 time for calcul the mask position with numpy : 0.0004673004150390625 nb_pixel_total : 10924 time to create 1 rle with old method : 0.012233257293701172 length of segment : 171 time for calcul the mask position with numpy : 0.0002243518829345703 nb_pixel_total : 5897 time to create 1 rle with old method : 0.006750345230102539 length of segment : 82 time for calcul the mask position with numpy : 0.0004086494445800781 nb_pixel_total : 16649 time to create 1 rle with old method : 0.018223285675048828 length of segment : 111 time for calcul the mask position with numpy : 0.00033783912658691406 nb_pixel_total : 11292 time to create 1 rle with old method : 0.01240396499633789 length of segment : 140 time for calcul the mask position with numpy : 0.0006465911865234375 nb_pixel_total : 24499 time to create 1 rle with old method : 0.02629399299621582 length of segment : 235 time for calcul the mask position with numpy : 0.002010345458984375 nb_pixel_total : 77437 time to create 1 rle with old method : 0.08272433280944824 length of segment : 342 time for calcul the mask position with numpy : 0.0005173683166503906 nb_pixel_total : 13673 time to create 1 rle with old method : 0.015469551086425781 length of segment : 182 time for calcul the mask position with numpy : 0.0028243064880371094 nb_pixel_total : 86652 time to create 1 rle with old method : 0.09345102310180664 length of segment : 381 time for calcul the mask position with numpy : 0.00029349327087402344 nb_pixel_total : 5348 time to create 1 rle with old method : 0.0066089630126953125 length of segment : 75 time for calcul the mask position with numpy : 0.024637699127197266 nb_pixel_total : 1304731 time to create 1 rle with new method : 0.1554098129272461 length of segment : 1729 time for calcul the mask position with numpy : 0.00011920928955078125 nb_pixel_total : 1711 time to create 1 rle with old method : 0.0020215511322021484 length of segment : 60 time for calcul the mask position with numpy : 0.0017039775848388672 nb_pixel_total : 93331 time to create 1 rle with old method : 0.09613943099975586 length of segment : 373 time for calcul the mask position with numpy : 0.0001881122589111328 nb_pixel_total : 9062 time to create 1 rle with old method : 0.010260581970214844 length of segment : 97 time for calcul the mask position with numpy : 0.0002834796905517578 nb_pixel_total : 9491 time to create 1 rle with old method : 0.010618209838867188 length of segment : 178 time for calcul the mask position with numpy : 0.00021910667419433594 nb_pixel_total : 4326 time to create 1 rle with old method : 0.007383108139038086 length of segment : 79 time for calcul the mask position with numpy : 0.0021560192108154297 nb_pixel_total : 47793 time to create 1 rle with old method : 0.07072687149047852 length of segment : 412 time for calcul the mask position with numpy : 0.001115560531616211 nb_pixel_total : 35355 time to create 1 rle with old method : 0.03686189651489258 length of segment : 250 time for calcul the mask position with numpy : 0.00019168853759765625 nb_pixel_total : 2596 time to create 1 rle with old method : 0.0029990673065185547 length of segment : 89 time for calcul the mask position with numpy : 0.0025408267974853516 nb_pixel_total : 71440 time to create 1 rle with old method : 0.0738828182220459 length of segment : 394 time for calcul the mask position with numpy : 0.0006365776062011719 nb_pixel_total : 20069 time to create 1 rle with old method : 0.02230525016784668 length of segment : 158 time for calcul the mask position with numpy : 0.0006709098815917969 nb_pixel_total : 18324 time to create 1 rle with old method : 0.020138978958129883 length of segment : 159 time for calcul the mask position with numpy : 0.003863811492919922 nb_pixel_total : 140152 time to create 1 rle with old method : 0.1458878517150879 length of segment : 421 time for calcul the mask position with numpy : 0.0007939338684082031 nb_pixel_total : 7675 time to create 1 rle with old method : 0.008707046508789062 length of segment : 140 time for calcul the mask position with numpy : 0.00024890899658203125 nb_pixel_total : 7345 time to create 1 rle with old method : 0.008695840835571289 length of segment : 57 time for calcul the mask position with numpy : 0.00029397010803222656 nb_pixel_total : 6367 time to create 1 rle with old method : 0.010019540786743164 length of segment : 94 time for calcul the mask position with numpy : 0.0015566349029541016 nb_pixel_total : 46163 time to create 1 rle with old method : 0.05087995529174805 length of segment : 228 time for calcul the mask position with numpy : 0.004547595977783203 nb_pixel_total : 198306 time to create 1 rle with new method : 0.006185054779052734 length of segment : 550 time for calcul the mask position with numpy : 0.00036454200744628906 nb_pixel_total : 7922 time to create 1 rle with old method : 0.008838891983032227 length of segment : 151 time for calcul the mask position with numpy : 0.0049364566802978516 nb_pixel_total : 215758 time to create 1 rle with new method : 0.0065059661865234375 length of segment : 559 time for calcul the mask position with numpy : 0.0014824867248535156 nb_pixel_total : 36606 time to create 1 rle with old method : 0.038977622985839844 length of segment : 476 time for calcul the mask position with numpy : 0.0010833740234375 nb_pixel_total : 22355 time to create 1 rle with old method : 0.024783849716186523 length of segment : 257 time for calcul the mask position with numpy : 0.002645254135131836 nb_pixel_total : 61146 time to create 1 rle with old method : 0.06942629814147949 length of segment : 384 time for calcul the mask position with numpy : 0.0002617835998535156 nb_pixel_total : 2961 time to create 1 rle with old method : 0.0035402774810791016 length of segment : 109 time for calcul the mask position with numpy : 0.0030622482299804688 nb_pixel_total : 121834 time to create 1 rle with old method : 0.1282792091369629 length of segment : 444 time for calcul the mask position with numpy : 0.0014014244079589844 nb_pixel_total : 89315 time to create 1 rle with old method : 0.09213519096374512 length of segment : 433 time for calcul the mask position with numpy : 0.0002906322479248047 nb_pixel_total : 5692 time to create 1 rle with old method : 0.00657343864440918 length of segment : 52 time for calcul the mask position with numpy : 0.0008161067962646484 nb_pixel_total : 20315 time to create 1 rle with old method : 0.020808696746826172 length of segment : 191 time for calcul the mask position with numpy : 0.00017786026000976562 nb_pixel_total : 1697 time to create 1 rle with old method : 0.0020139217376708984 length of segment : 75 time for calcul the mask position with numpy : 0.006478786468505859 nb_pixel_total : 221263 time to create 1 rle with new method : 0.009847640991210938 length of segment : 632 time for calcul the mask position with numpy : 0.1410987377166748 nb_pixel_total : 2586706 time to create 1 rle with new method : 0.3987467288970947 length of segment : 3688 time for calcul the mask position with numpy : 0.18026208877563477 nb_pixel_total : 1730088 time to create 1 rle with new method : 0.2913477420806885 length of segment : 2618 time for calcul the mask position with numpy : 0.0006899833679199219 nb_pixel_total : 37448 time to create 1 rle with old method : 0.041388511657714844 length of segment : 234 time for calcul the mask position with numpy : 0.0013341903686523438 nb_pixel_total : 89319 time to create 1 rle with old method : 0.09829092025756836 length of segment : 598 time for calcul the mask position with numpy : 0.00021982192993164062 nb_pixel_total : 8160 time to create 1 rle with old method : 0.009568214416503906 length of segment : 189 time for calcul the mask position with numpy : 0.0014574527740478516 nb_pixel_total : 103918 time to create 1 rle with old method : 0.11753582954406738 length of segment : 490 time for calcul the mask position with numpy : 0.5437266826629639 nb_pixel_total : 2510256 time to create 1 rle with new method : 0.18608975410461426 length of segment : 3236 time for calcul the mask position with numpy : 0.005493640899658203 nb_pixel_total : 370529 time to create 1 rle with new method : 0.011070728302001953 length of segment : 620 time for calcul the mask position with numpy : 0.001108407974243164 nb_pixel_total : 43297 time to create 1 rle with old method : 0.052259206771850586 length of segment : 461 time for calcul the mask position with numpy : 0.1531968116760254 nb_pixel_total : 2816158 time to create 1 rle with new method : 0.378079891204834 length of segment : 2814 time for calcul the mask position with numpy : 0.010314702987670898 nb_pixel_total : 495086 time to create 1 rle with new method : 0.12507319450378418 length of segment : 1671 time for calcul the mask position with numpy : 0.0035543441772460938 nb_pixel_total : 330481 time to create 1 rle with new method : 0.0074214935302734375 length of segment : 870 time for calcul the mask position with numpy : 0.0025064945220947266 nb_pixel_total : 188583 time to create 1 rle with new method : 0.006071567535400391 length of segment : 646 time for calcul the mask position with numpy : 0.0016808509826660156 nb_pixel_total : 76856 time to create 1 rle with old method : 0.08224916458129883 length of segment : 389 time for calcul the mask position with numpy : 0.0008151531219482422 nb_pixel_total : 43898 time to create 1 rle with old method : 0.046660423278808594 length of segment : 260 time for calcul the mask position with numpy : 0.03301286697387695 nb_pixel_total : 1458561 time to create 1 rle with new method : 0.23620986938476562 length of segment : 2916 time for calcul the mask position with numpy : 0.0065348148345947266 nb_pixel_total : 472902 time to create 1 rle with new method : 0.016046762466430664 length of segment : 1132 time for calcul the mask position with numpy : 0.001043081283569336 nb_pixel_total : 65581 time to create 1 rle with old method : 0.07213258743286133 length of segment : 351 time for calcul the mask position with numpy : 0.0009572505950927734 nb_pixel_total : 64288 time to create 1 rle with old method : 0.07053589820861816 length of segment : 340 time for calcul the mask position with numpy : 0.00039267539978027344 nb_pixel_total : 973 time to create 1 rle with old method : 0.0013871192932128906 length of segment : 35 time for calcul the mask position with numpy : 0.0024213790893554688 nb_pixel_total : 177547 time to create 1 rle with new method : 0.004065752029418945 length of segment : 507 time for calcul the mask position with numpy : 0.002181529998779297 nb_pixel_total : 160595 time to create 1 rle with new method : 0.00407099723815918 length of segment : 486 time for calcul the mask position with numpy : 0.0009019374847412109 nb_pixel_total : 48167 time to create 1 rle with old method : 0.054096221923828125 length of segment : 288 time spent for convertir_results : 17.86824369430542 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 115 chid ids of type : 3663 Number RLEs to save : 52983 save missing photos in datou_result : time spend for datou_step_exec : 61.77048969268799 time spend to save output : 3.2514514923095703 total time spend for step 1 : 65.02194118499756 step2:crop_condition Fri Feb 14 22:59:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3663 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 115 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 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 ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 38 About to insert : list_path_to_insert length 38 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 ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1337667804, 1337667777, 1337667673, 1337667641, 1337667545, 1337667543, 1337667519, 1337667518, 1337667516, 1337667514] Looping around the photos to save general results len do output : 67 /-3675741514Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741517Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741528Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741541Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741558Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741563Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741588Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741580Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741579Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741591Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741622Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741616Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741617Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741540Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741553Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741556Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741611Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741615Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741621Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741513Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741520Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741557Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741571Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741595Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741518Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741516Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741515Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741521Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741525Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741524Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741538Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741527Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741535Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741537Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741536Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741548Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741562Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741542Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741552Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741546Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741555Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741570Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741575Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741600Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741593Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741584Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741594Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741589Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741582Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741590Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741597Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741592Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741605Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741608Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741607Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741606Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741614Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741620Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741625Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741619Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741624Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741623Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741522Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741549Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741568Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741523Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3675741569Didn'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, '2589640') ('3459', None, '1337667804', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667777', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667673', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667641', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667545', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667543', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667519', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667518', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667516', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667514', None, None, None, None, None, '2589640') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 211 time used for this insertion : 0.033100128173828125 save_final save missing photos in datou_result : time spend for datou_step_exec : 29.196999311447144 time spend to save output : 0.035398006439208984 total time spend for step 2 : 29.232397317886353 step3:thcl Fri Feb 14 23:00: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 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.012136220932006836 time to convert the images to numpy array : 0.059482574462890625 time to import caffe and check if the image exist : 0.009447097778320312 time to convert the images to numpy array : 0.06516146659851074 time to import caffe and check if the image exist : 0.017892837524414062 time to convert the images to numpy array : 0.07421875 time to import caffe and check if the image exist : 0.016057252883911133 time to convert the images to numpy array : 0.08816337585449219 time to import caffe and check if the image exist : 0.014507055282592773 time to convert the images to numpy array : 0.10873222351074219 time to import caffe and check if the image exist : 0.008330106735229492 time to convert the images to numpy array : 0.1233677864074707 time to import caffe and check if the image exist : 0.014185428619384766 time to convert the images to numpy array : 0.614408016204834 time to import caffe and check if the image exist : 0.015614986419677734 time to convert the images to numpy array : 0.6210803985595703 time to import caffe and check if the image exist : 0.014348745346069336 time to convert the images to numpy array : 0.6462757587432861 time to import caffe and check if the image exist : 0.011403083801269531 time to convert the images to numpy array : 0.6494979858398438 total time to convert the images to numpy array : 0.9964480400085449 list photo_ids error: [] list photo_ids correct : [-3675741549, -3675741568, -3675741523, -3675741569, -3675741514, -3675741517, -3675741528, -3675741541, -3675741558, -3675741563, -3675741588, -3675741580, -3675741579, -3675741591, -3675741622, -3675741616, -3675741617, -3675741540, -3675741575, -3675741600, -3675741593, -3675741584, -3675741594, -3675741589, -3675741582, -3675741525, -3675741524, -3675741538, -3675741527, -3675741535, -3675741537, -3675741536, -3675741553, -3675741556, -3675741611, -3675741615, -3675741621, -3675741513, -3675741520, -3675741590, -3675741597, -3675741592, -3675741605, -3675741608, -3675741607, -3675741606, -3675741548, -3675741562, -3675741542, -3675741552, -3675741546, -3675741555, -3675741570, -3675741614, -3675741620, -3675741625, -3675741619, -3675741624, -3675741623, -3675741522, -3675741557, -3675741571, -3675741595, -3675741518, -3675741516, -3675741515, -3675741521] number of photos to traite : 67 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 : 10998 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 : 10776 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.8099155426025391 time used to do the prediction : 0.1741189956665039 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 : 10774 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 : 10774 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.8176279067993164 time used to do the prediction : 0.12767457962036133 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 : 2.193450927734375e-05 save missing photos in datou_result : time spend for datou_step_exec : 9.915292024612427 time spend to save output : 0.0005064010620117188 total time spend for step 3 : 9.915798425674438 step4:merge_mask_thcl_custom Fri Feb 14 23:00:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 115 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 [1337667804, 1337667777, 1337667673, 1337667641, 1337667545, 1337667543, 1337667519, 1337667518, 1337667516, 1337667514] Looping around the photos to save general results len do output : 10 /1337667804Didn't retrieve data .Didn't retrieve data . /1337667777Didn't retrieve data .Didn't retrieve data . /1337667673Didn't retrieve data .Didn't retrieve data . /1337667641Didn't retrieve data .Didn't retrieve data . /1337667545Didn't retrieve data .Didn't retrieve data . /1337667543Didn't retrieve data .Didn't retrieve data . /1337667519Didn't retrieve data .Didn't retrieve data . /1337667518Didn't retrieve data .Didn't retrieve data . /1337667516Didn't retrieve data .Didn't retrieve data . /1337667514Didn'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, '2589640') ('3459', None, '1337667804', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667777', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667673', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667641', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667545', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667543', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667519', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667518', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667516', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667514', None, None, None, None, None, '2589640') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.015613794326782227 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.060210466384887695 time spend to save output : 0.016157865524291992 total time spend for step 4 : 0.07636833190917969 step5:rle_unique_nms_with_priority Fri Feb 14 23:00:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 15 nb_hashtags : 7 time to prepare the origin masks : 8.799811124801636 time for calcul the mask position with numpy : 0.46293044090270996 nb_pixel_total : 5857331 time to create 1 rle with new method : 0.8946323394775391 time for calcul the mask position with numpy : 0.02207183837890625 nb_pixel_total : 59731 time to create 1 rle with old method : 0.06570816040039062 time for calcul the mask position with numpy : 0.022171974182128906 nb_pixel_total : 58159 time to create 1 rle with old method : 0.06606817245483398 time for calcul the mask position with numpy : 0.02306222915649414 nb_pixel_total : 127882 time to create 1 rle with old method : 0.1430654525756836 time for calcul the mask position with numpy : 0.022137165069580078 nb_pixel_total : 21704 time to create 1 rle with old method : 0.024260282516479492 time for calcul the mask position with numpy : 0.0208132266998291 nb_pixel_total : 3912 time to create 1 rle with old method : 0.004597902297973633 time for calcul the mask position with numpy : 0.021324634552001953 nb_pixel_total : 67200 time to create 1 rle with old method : 0.07416200637817383 time for calcul the mask position with numpy : 0.021396398544311523 nb_pixel_total : 4007 time to create 1 rle with old method : 0.0043566226959228516 time for calcul the mask position with numpy : 0.023806095123291016 nb_pixel_total : 339657 time to create 1 rle with new method : 0.5145838260650635 time for calcul the mask position with numpy : 0.021550416946411133 nb_pixel_total : 64528 time to create 1 rle with old method : 0.07584595680236816 time for calcul the mask position with numpy : 0.025240421295166016 nb_pixel_total : 14104 time to create 1 rle with old method : 0.016444921493530273 time for calcul the mask position with numpy : 0.021975278854370117 nb_pixel_total : 147821 time to create 1 rle with old method : 0.1572873592376709 time for calcul the mask position with numpy : 0.022495031356811523 nb_pixel_total : 113987 time to create 1 rle with old method : 0.12366151809692383 time for calcul the mask position with numpy : 0.023009777069091797 nb_pixel_total : 5847 time to create 1 rle with old method : 0.006575107574462891 time for calcul the mask position with numpy : 0.022892236709594727 nb_pixel_total : 23100 time to create 1 rle with old method : 0.02520275115966797 time for calcul the mask position with numpy : 0.02295207977294922 nb_pixel_total : 141270 time to create 1 rle with old method : 0.15695762634277344 create new chi : 3.214181661605835 time to delete rle : 0.014017343521118164 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 11498 TO DO : save crop sub photo not yet done ! save time : 0.6539442539215088 nb_obj : 12 nb_hashtags : 3 time to prepare the origin masks : 8.172596216201782 time for calcul the mask position with numpy : 0.22492527961730957 nb_pixel_total : 5390280 time to create 1 rle with new method : 0.5799441337585449 time for calcul the mask position with numpy : 0.03421592712402344 nb_pixel_total : 24518 time to create 1 rle with old method : 0.02715134620666504 time for calcul the mask position with numpy : 0.04219865798950195 nb_pixel_total : 20260 time to create 1 rle with old method : 0.02259063720703125 time for calcul the mask position with numpy : 0.04405808448791504 nb_pixel_total : 1287125 time to create 1 rle with new method : 0.6257960796356201 time for calcul the mask position with numpy : 0.025020599365234375 nb_pixel_total : 4602 time to create 1 rle with old method : 0.00548863410949707 time for calcul the mask position with numpy : 0.022774219512939453 nb_pixel_total : 1602 time to create 1 rle with old method : 0.0019571781158447266 time for calcul the mask position with numpy : 0.022434234619140625 nb_pixel_total : 43997 time to create 1 rle with old method : 0.06110954284667969 time for calcul the mask position with numpy : 0.0242922306060791 nb_pixel_total : 15642 time to create 1 rle with old method : 0.017461776733398438 time for calcul the mask position with numpy : 0.024582386016845703 nb_pixel_total : 52357 time to create 1 rle with old method : 0.07678508758544922 time for calcul the mask position with numpy : 0.037975311279296875 nb_pixel_total : 65955 time to create 1 rle with old method : 0.07185125350952148 time for calcul the mask position with numpy : 0.034651994705200195 nb_pixel_total : 2511 time to create 1 rle with old method : 0.0032198429107666016 time for calcul the mask position with numpy : 0.03404641151428223 nb_pixel_total : 52049 time to create 1 rle with old method : 0.055173397064208984 time for calcul the mask position with numpy : 0.03496718406677246 nb_pixel_total : 89342 time to create 1 rle with old method : 0.09509015083312988 create new chi : 2.3150956630706787 time to delete rle : 0.0011813640594482422 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 12887 TO DO : save crop sub photo not yet done ! save time : 0.7121188640594482 nb_obj : 21 nb_hashtags : 5 time to prepare the origin masks : 15.136120080947876 time for calcul the mask position with numpy : 0.6905345916748047 nb_pixel_total : 6289119 time to create 1 rle with new method : 0.697840690612793 time for calcul the mask position with numpy : 0.04098963737487793 nb_pixel_total : 259335 time to create 1 rle with new method : 0.8306939601898193 time for calcul the mask position with numpy : 0.03618359565734863 nb_pixel_total : 2100 time to create 1 rle with old method : 0.0025870800018310547 time for calcul the mask position with numpy : 0.03669285774230957 nb_pixel_total : 25068 time to create 1 rle with old method : 0.027753591537475586 time for calcul the mask position with numpy : 0.03989458084106445 nb_pixel_total : 1025 time to create 1 rle with old method : 0.0013589859008789062 time for calcul the mask position with numpy : 0.03551602363586426 nb_pixel_total : 1406 time to create 1 rle with old method : 0.0017063617706298828 time for calcul the mask position with numpy : 0.035215139389038086 nb_pixel_total : 21081 time to create 1 rle with old method : 0.024677276611328125 time for calcul the mask position with numpy : 0.0362238883972168 nb_pixel_total : 15179 time to create 1 rle with old method : 0.017487525939941406 time for calcul the mask position with numpy : 0.03987407684326172 nb_pixel_total : 1908 time to create 1 rle with old method : 0.002819538116455078 time for calcul the mask position with numpy : 0.04136991500854492 nb_pixel_total : 1503 time to create 1 rle with old method : 0.0018727779388427734 time for calcul the mask position with numpy : 0.04063606262207031 nb_pixel_total : 26256 time to create 1 rle with old method : 0.029049158096313477 time for calcul the mask position with numpy : 0.03613424301147461 nb_pixel_total : 3400 time to create 1 rle with old method : 0.003964900970458984 time for calcul the mask position with numpy : 0.036902666091918945 nb_pixel_total : 3872 time to create 1 rle with old method : 0.004540205001831055 time for calcul the mask position with numpy : 0.03722023963928223 nb_pixel_total : 59378 time to create 1 rle with old method : 0.06949162483215332 time for calcul the mask position with numpy : 0.0371091365814209 nb_pixel_total : 4374 time to create 1 rle with old method : 0.005057573318481445 time for calcul the mask position with numpy : 0.03846621513366699 nb_pixel_total : 6038 time to create 1 rle with old method : 0.00726008415222168 time for calcul the mask position with numpy : 0.03733348846435547 nb_pixel_total : 54508 time to create 1 rle with old method : 0.0628201961517334 time for calcul the mask position with numpy : 0.0383753776550293 nb_pixel_total : 2653 time to create 1 rle with old method : 0.0031135082244873047 time for calcul the mask position with numpy : 0.04352855682373047 nb_pixel_total : 2855 time to create 1 rle with old method : 0.004140138626098633 time for calcul the mask position with numpy : 0.03822135925292969 nb_pixel_total : 174350 time to create 1 rle with new method : 0.5506417751312256 time for calcul the mask position with numpy : 0.038718223571777344 nb_pixel_total : 6342 time to create 1 rle with old method : 0.010369062423706055 time for calcul the mask position with numpy : 0.04239606857299805 nb_pixel_total : 88490 time to create 1 rle with old method : 0.10858583450317383 create new chi : 4.064664602279663 time to delete rle : 0.0020346641540527344 batch 1 Loaded 22 chid ids of type : 3726 Number RLEs to save : 11624 TO DO : save crop sub photo not yet done ! save time : 0.6618688106536865 nb_obj : 16 nb_hashtags : 4 time to prepare the origin masks : 12.881312847137451 time for calcul the mask position with numpy : 0.46755099296569824 nb_pixel_total : 5396015 time to create 1 rle with new method : 0.886322021484375 time for calcul the mask position with numpy : 0.03647661209106445 nb_pixel_total : 2530 time to create 1 rle with old method : 0.003178119659423828 time for calcul the mask position with numpy : 0.04135704040527344 nb_pixel_total : 3161 time to create 1 rle with old method : 0.0036306381225585938 time for calcul the mask position with numpy : 0.036036014556884766 nb_pixel_total : 2800 time to create 1 rle with old method : 0.003195047378540039 time for calcul the mask position with numpy : 0.034555912017822266 nb_pixel_total : 1702 time to create 1 rle with old method : 0.0019025802612304688 time for calcul the mask position with numpy : 0.06083321571350098 nb_pixel_total : 1303557 time to create 1 rle with new method : 0.6644465923309326 time for calcul the mask position with numpy : 0.04526185989379883 nb_pixel_total : 5322 time to create 1 rle with old method : 0.006596803665161133 time for calcul the mask position with numpy : 0.036994218826293945 nb_pixel_total : 25596 time to create 1 rle with old method : 0.0285189151763916 time for calcul the mask position with numpy : 0.03578782081604004 nb_pixel_total : 13546 time to create 1 rle with old method : 0.015750885009765625 time for calcul the mask position with numpy : 0.0420842170715332 nb_pixel_total : 79755 time to create 1 rle with old method : 0.09514451026916504 time for calcul the mask position with numpy : 0.04009747505187988 nb_pixel_total : 77381 time to create 1 rle with old method : 0.09126996994018555 time for calcul the mask position with numpy : 0.040773630142211914 nb_pixel_total : 11237 time to create 1 rle with old method : 0.01255488395690918 time for calcul the mask position with numpy : 0.04208111763000488 nb_pixel_total : 16581 time to create 1 rle with old method : 0.018996715545654297 time for calcul the mask position with numpy : 0.041413068771362305 nb_pixel_total : 5826 time to create 1 rle with old method : 0.008453130722045898 time for calcul the mask position with numpy : 0.04130816459655762 nb_pixel_total : 10823 time to create 1 rle with old method : 0.015483379364013672 time for calcul the mask position with numpy : 0.023530006408691406 nb_pixel_total : 7919 time to create 1 rle with old method : 0.010049819946289062 time for calcul the mask position with numpy : 0.02180171012878418 nb_pixel_total : 86489 time to create 1 rle with old method : 0.1031041145324707 create new chi : 3.1384801864624023 time to delete rle : 0.0016489028930664062 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 11132 TO DO : save crop sub photo not yet done ! save time : 0.6392974853515625 nb_obj : 23 nb_hashtags : 6 time to prepare the origin masks : 17.749003648757935 time for calcul the mask position with numpy : 0.7507069110870361 nb_pixel_total : 6004341 time to create 1 rle with new method : 1.827477216720581 time for calcul the mask position with numpy : 0.044766902923583984 nb_pixel_total : 71153 time to create 1 rle with old method : 0.07765460014343262 time for calcul the mask position with numpy : 0.04822134971618652 nb_pixel_total : 6319 time to create 1 rle with old method : 0.0072612762451171875 time for calcul the mask position with numpy : 0.045391082763671875 nb_pixel_total : 18267 time to create 1 rle with old method : 0.02029728889465332 time for calcul the mask position with numpy : 0.04498887062072754 nb_pixel_total : 1675 time to create 1 rle with old method : 0.0020759105682373047 time for calcul the mask position with numpy : 0.0451512336730957 nb_pixel_total : 5589 time to create 1 rle with old method : 0.006627798080444336 time for calcul the mask position with numpy : 0.060974836349487305 nb_pixel_total : 30895 time to create 1 rle with old method : 0.04654860496520996 time for calcul the mask position with numpy : 0.04961419105529785 nb_pixel_total : 60995 time to create 1 rle with old method : 0.06658625602722168 time for calcul the mask position with numpy : 0.0428617000579834 nb_pixel_total : 39590 time to create 1 rle with old method : 0.04431462287902832 time for calcul the mask position with numpy : 0.04204392433166504 nb_pixel_total : 2956 time to create 1 rle with old method : 0.0035295486450195312 time for calcul the mask position with numpy : 0.045212507247924805 nb_pixel_total : 215732 time to create 1 rle with new method : 0.6211526393890381 time for calcul the mask position with numpy : 0.047972917556762695 nb_pixel_total : 35176 time to create 1 rle with old method : 0.03928256034851074 time for calcul the mask position with numpy : 0.04603981971740723 nb_pixel_total : 7895 time to create 1 rle with old method : 0.008966207504272461 time for calcul the mask position with numpy : 0.04610943794250488 nb_pixel_total : 7296 time to create 1 rle with old method : 0.008309364318847656 time for calcul the mask position with numpy : 0.04584097862243652 nb_pixel_total : 7645 time to create 1 rle with old method : 0.00904989242553711 time for calcul the mask position with numpy : 0.04826068878173828 nb_pixel_total : 140056 time to create 1 rle with old method : 0.15534639358520508 time for calcul the mask position with numpy : 0.04813885688781738 nb_pixel_total : 22991 time to create 1 rle with old method : 0.026259422302246094 time for calcul the mask position with numpy : 0.0480809211730957 nb_pixel_total : 19928 time to create 1 rle with old method : 0.028801441192626953 time for calcul the mask position with numpy : 0.05050039291381836 nb_pixel_total : 197951 time to create 1 rle with new method : 0.4750347137451172 time for calcul the mask position with numpy : 0.05302000045776367 nb_pixel_total : 20252 time to create 1 rle with old method : 0.022840499877929688 time for calcul the mask position with numpy : 0.051737308502197266 nb_pixel_total : 46021 time to create 1 rle with old method : 0.06081509590148926 time for calcul the mask position with numpy : 0.046243906021118164 nb_pixel_total : 47749 time to create 1 rle with old method : 0.05308794975280762 time for calcul the mask position with numpy : 0.04431939125061035 nb_pixel_total : 2584 time to create 1 rle with old method : 0.003118276596069336 time for calcul the mask position with numpy : 0.0505518913269043 nb_pixel_total : 37184 time to create 1 rle with old method : 0.04185199737548828 create new chi : 5.614392042160034 time to delete rle : 0.001714468002319336 batch 1 Loaded 24 chid ids of type : 3726 Number RLEs to save : 13380 TO DO : save crop sub photo not yet done ! save time : 1.3960721492767334 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 1.9282636642456055 time for calcul the mask position with numpy : 0.31700921058654785 nb_pixel_total : 4474947 time to create 1 rle with new method : 0.5971333980560303 time for calcul the mask position with numpy : 0.14641714096069336 nb_pixel_total : 2575293 time to create 1 rle with new method : 0.9989621639251709 create new chi : 2.1324217319488525 time to delete rle : 0.0014731884002685547 batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 9554 TO DO : save crop sub photo not yet done ! save time : 0.6615896224975586 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 4.284921646118164 time for calcul the mask position with numpy : 0.3380765914916992 nb_pixel_total : 5088967 time to create 1 rle with new method : 0.5918126106262207 time for calcul the mask position with numpy : 0.03809547424316406 nb_pixel_total : 7594 time to create 1 rle with old method : 0.009060859680175781 time for calcul the mask position with numpy : 0.03182697296142578 nb_pixel_total : 102381 time to create 1 rle with old method : 0.11400747299194336 time for calcul the mask position with numpy : 0.03232073783874512 nb_pixel_total : 37347 time to create 1 rle with old method : 0.04568290710449219 time for calcul the mask position with numpy : 0.06304669380187988 nb_pixel_total : 1714847 time to create 1 rle with new method : 0.6496000289916992 time for calcul the mask position with numpy : 0.022403240203857422 nb_pixel_total : 99104 time to create 1 rle with old method : 0.1102287769317627 create new chi : 2.1300485134124756 time to delete rle : 0.001215219497680664 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 9746 TO DO : save crop sub photo not yet done ! save time : 0.8471400737762451 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 2.808795928955078 time for calcul the mask position with numpy : 0.30383729934692383 nb_pixel_total : 3989846 time to create 1 rle with new method : 0.4982120990753174 time for calcul the mask position with numpy : 0.022902250289916992 nb_pixel_total : 198283 time to create 1 rle with new method : 0.897144079208374 time for calcul the mask position with numpy : 0.023165464401245117 nb_pixel_total : 43215 time to create 1 rle with old method : 0.049240827560424805 time for calcul the mask position with numpy : 0.05675339698791504 nb_pixel_total : 2818896 time to create 1 rle with new method : 0.5840590000152588 create new chi : 2.521538496017456 time to delete rle : 0.0007588863372802734 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 7951 TO DO : save crop sub photo not yet done ! save time : 0.6191463470458984 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 3.024362087249756 time for calcul the mask position with numpy : 0.13753938674926758 nb_pixel_total : 3385087 time to create 1 rle with new method : 0.7712430953979492 time for calcul the mask position with numpy : 0.03561544418334961 nb_pixel_total : 188204 time to create 1 rle with new method : 0.32747626304626465 time for calcul the mask position with numpy : 0.039757728576660156 nb_pixel_total : 242666 time to create 1 rle with new method : 0.3930044174194336 time for calcul the mask position with numpy : 0.13456273078918457 nb_pixel_total : 2904345 time to create 1 rle with new method : 0.3490297794342041 time for calcul the mask position with numpy : 0.027123212814331055 nb_pixel_total : 329938 time to create 1 rle with new method : 0.3255147933959961 create new chi : 2.6771762371063232 time to delete rle : 0.0016067028045654297 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 11816 TO DO : save crop sub photo not yet done ! save time : 0.7241053581237793 nb_obj : 10 nb_hashtags : 6 time to prepare the origin masks : 5.313589096069336 time for calcul the mask position with numpy : 0.20766854286193848 nb_pixel_total : 5052037 time to create 1 rle with new method : 0.8240194320678711 time for calcul the mask position with numpy : 0.025570154190063477 nb_pixel_total : 558 time to create 1 rle with old method : 0.0008499622344970703 time for calcul the mask position with numpy : 0.023258686065673828 nb_pixel_total : 61655 time to create 1 rle with old method : 0.06799507141113281 time for calcul the mask position with numpy : 0.02204275131225586 nb_pixel_total : 14914 time to create 1 rle with old method : 0.016767501831054688 time for calcul the mask position with numpy : 0.027434825897216797 nb_pixel_total : 177243 time to create 1 rle with new method : 0.5588765144348145 time for calcul the mask position with numpy : 0.023233890533447266 nb_pixel_total : 483 time to create 1 rle with old method : 0.0006299018859863281 time for calcul the mask position with numpy : 0.021744728088378906 nb_pixel_total : 76653 time to create 1 rle with old method : 0.08524942398071289 time for calcul the mask position with numpy : 0.033577680587768555 nb_pixel_total : 1457583 time to create 1 rle with new method : 0.3913257122039795 time for calcul the mask position with numpy : 0.02274489402770996 nb_pixel_total : 564 time to create 1 rle with old method : 0.0008563995361328125 time for calcul the mask position with numpy : 0.02472662925720215 nb_pixel_total : 48078 time to create 1 rle with old method : 0.0630655288696289 time for calcul the mask position with numpy : 0.028759479522705078 nb_pixel_total : 160472 time to create 1 rle with new method : 0.3919193744659424 create new chi : 2.979942798614502 time to delete rle : 0.0011281967163085938 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 12817 TO DO : save crop sub photo not yet done ! save time : 0.708122968673706 map_output_result : {1337667804: (0.0, 'Should be the crop_list due to order', 0.0), 1337667777: (0.0, 'Should be the crop_list due to order', 0.0), 1337667673: (0.0, 'Should be the crop_list due to order', 0.0), 1337667641: (0.0, 'Should be the crop_list due to order', 0.0), 1337667545: (0.0, 'Should be the crop_list due to order', 0.0), 1337667543: (0.0, 'Should be the crop_list due to order', 0.0), 1337667519: (0.0, 'Should be the crop_list due to order', 0.0), 1337667518: (0.0, 'Should be the crop_list due to order', 0.0), 1337667516: (0.0, 'Should be the crop_list due to order', 0.0), 1337667514: (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 [1337667804, 1337667777, 1337667673, 1337667641, 1337667545, 1337667543, 1337667519, 1337667518, 1337667516, 1337667514] Looping around the photos to save general results len do output : 10 /1337667804.Didn't retrieve data . /1337667777.Didn't retrieve data . /1337667673.Didn't retrieve data . /1337667641.Didn't retrieve data . /1337667545.Didn't retrieve data . /1337667543.Didn't retrieve data . /1337667519.Didn't retrieve data . /1337667518.Didn't retrieve data . /1337667516.Didn't retrieve data . /1337667514.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, '2589640') ('3459', None, '1337667804', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667777', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667673', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667641', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667545', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667543', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667519', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667518', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667516', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667514', None, None, None, None, None, '2589640') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013837575912475586 save_final save missing photos in datou_result : time spend for datou_step_exec : 119.64204835891724 time spend to save output : 0.02739262580871582 total time spend for step 5 : 119.66944098472595 step6:crop_condition Fri Feb 14 23:02:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure some photos are not treated, begin crop_condition Loading chi in step crop with photo_hashtag_type : 3726 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 120 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! Next one ! Next one ! 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/1739570538_2658201 we have uploaded 8 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.9057061672210693 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739570542_2658201 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5365018844604492 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739570545_2658201 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.2022368907928467 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/1739570548_2658201 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.6066126823425293 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 ! 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/1739570552_2658201 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.966223955154419 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 map_result returned by crop_photo_return_map_crop : length : 0 About to insert : list_path_to_insert length 0 new photo from crops ! About to upload 0 photos WARNING : list_path_to_insert is empty, cannot upload ! we have finished the crop for the class : 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 [1337667804, 1337667777, 1337667673, 1337667641, 1337667545, 1337667543, 1337667519, 1337667518, 1337667516, 1337667514] Looping around the photos to save general results len do output : 17 /1337734931Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337734933Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337734935Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337734937Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337734939Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337734941Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337734943Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337734945Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337735003Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337735035Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337735036Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337735037Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337735038Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337735041Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337735042Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337735044Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337735045Didn'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, '2589640') ('3459', None, '1337667804', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667777', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667673', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667641', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667545', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667543', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667519', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667518', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667516', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667514', None, None, None, None, None, '2589640') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 61 time used for this insertion : 0.02850174903869629 save_final save missing photos in datou_result : time spend for datou_step_exec : 21.44723129272461 time spend to save output : 0.029156923294067383 total time spend for step 6 : 21.476388216018677 step7:ventilate_hashtags_in_portfolio Fri Feb 14 23:02:34 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 : 20577686 get user id for portfolio 20577686 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`=20577686 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','cartonnette','autre_refus','Teint_Dans_La_Masse','Carton_gris','Carton_brun','mal_croppe','flou','plastique','metal','papier','kraft')) 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`=20577686 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','cartonnette','autre_refus','Teint_Dans_La_Masse','Carton_gris','Carton_brun','mal_croppe','flou','plastique','metal','papier','kraft')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20577735,20577736,20577737,20577738,20577739,20577740,20577741,20577742,20577743,20577744,20577745,20577746?tags=papier,plastique,mal_croppe,kraft,flou,autre_refus,environnement,Carton_gris,metal,Teint_Dans_La_Masse,cartonnette,Carton_brun Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1337667804, 1337667777, 1337667673, 1337667641, 1337667545, 1337667543, 1337667519, 1337667518, 1337667516, 1337667514] Looping around the photos to save general results len do output : 1 /20577686. 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, '2589640') ('3459', None, '1337667804', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667777', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667673', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667641', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667545', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667543', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667519', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667518', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667516', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667514', None, None, None, None, None, '2589640') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.01456308364868164 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.3935580253601074 time spend to save output : 0.014786481857299805 total time spend for step 7 : 1.4083445072174072 step8:final Fri Feb 14 23:02:35 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 : {1337667804: ('0.05046688854099728',), 1337667777: ('0.05046688854099728',), 1337667673: ('0.05046688854099728',), 1337667641: ('0.05046688854099728',), 1337667545: ('0.05046688854099728',), 1337667543: ('0.05046688854099728',), 1337667519: ('0.05046688854099728',), 1337667518: ('0.05046688854099728',), 1337667516: ('0.05046688854099728',), 1337667514: ('0.05046688854099728',)} new output for save of step final : {1337667804: ('0.05046688854099728',), 1337667777: ('0.05046688854099728',), 1337667673: ('0.05046688854099728',), 1337667641: ('0.05046688854099728',), 1337667545: ('0.05046688854099728',), 1337667543: ('0.05046688854099728',), 1337667519: ('0.05046688854099728',), 1337667518: ('0.05046688854099728',), 1337667516: ('0.05046688854099728',), 1337667514: ('0.05046688854099728',)} [1337667804, 1337667777, 1337667673, 1337667641, 1337667545, 1337667543, 1337667519, 1337667518, 1337667516, 1337667514] Looping around the photos to save general results len do output : 10 /1337667804.Didn't retrieve data . /1337667777.Didn't retrieve data . /1337667673.Didn't retrieve data . /1337667641.Didn't retrieve data . /1337667545.Didn't retrieve data . /1337667543.Didn't retrieve data . /1337667519.Didn't retrieve data . /1337667518.Didn't retrieve data . /1337667516.Didn't retrieve data . /1337667514.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, '2589640') ('3459', None, '1337667804', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667777', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667673', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667641', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667545', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667543', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667519', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667518', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667516', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667514', None, None, None, None, None, '2589640') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.012469053268432617 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10106730461120605 time spend to save output : 0.01311945915222168 total time spend for step 8 : 0.11418676376342773 step9:velours_tree Fri Feb 14 23:02:36 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.19766020774841309 time spend to save output : 3.528594970703125e-05 total time spend for step 9 : 0.19769549369812012 step10:send_mail_cod Fri Feb 14 23:02:36 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_P20577686_14-02-2025_23_02_36.pdf 20577736 change filename to text .change filename to text .imagette205777361739570556 20577737 imagette205777371739570556 20577738 imagette205777381739570556 20577739 imagette205777391739570556 20577740 change filename to text .change filename to text .imagette205777401739570556 20577743 imagette205777431739570556 20577745 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette205777451739570556 20577742 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 .imagette205777421739570557 20577744 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 .imagette205777441739570557 20577746 change filename to text .change filename to text .change filename to text .imagette205777461739570558 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20577686 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20577735,20577736,20577737,20577738,20577739,20577740,20577741,20577742,20577743,20577744,20577745,20577746?tags=papier,plastique,mal_croppe,kraft,flou,autre_refus,environnement,Carton_gris,metal,Teint_Dans_La_Masse,cartonnette,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1337667804] : ('0.05046688854099728',) no score found for photo 1337667804 apple ('0.05046688854099728',) We are sending mail with results at report@fotonower.com args[1337667777] : ('0.05046688854099728',) no score found for photo 1337667777 apple ('0.05046688854099728',) We are sending mail with results at report@fotonower.com args[1337667673] : ('0.05046688854099728',) no score found for photo 1337667673 apple ('0.05046688854099728',) We are sending mail with results at report@fotonower.com args[1337667641] : ('0.05046688854099728',) no score found for photo 1337667641 apple ('0.05046688854099728',) We are sending mail with results at report@fotonower.com args[1337667545] : ('0.05046688854099728',) no score found for photo 1337667545 apple ('0.05046688854099728',) We are sending mail with results at report@fotonower.com args[1337667543] : ('0.05046688854099728',) no score found for photo 1337667543 apple ('0.05046688854099728',) We are sending mail with results at report@fotonower.com args[1337667519] : ('0.05046688854099728',) no score found for photo 1337667519 apple ('0.05046688854099728',) We are sending mail with results at report@fotonower.com args[1337667518] : ('0.05046688854099728',) no score found for photo 1337667518 apple ('0.05046688854099728',) We are sending mail with results at report@fotonower.com args[1337667516] : ('0.05046688854099728',) no score found for photo 1337667516 apple ('0.05046688854099728',) We are sending mail with results at report@fotonower.com args[1337667514] : ('0.05046688854099728',) no score found for photo 1337667514 apple ('0.05046688854099728',) We are sending mail with results at report@fotonower.com refus_total : 0.05046688854099728 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=20577686 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1337667472,1337667673,1337667804,1337666812,1337668075,1337668079,1337686966,1337687022,1337666872,1337666869,1337686969,1337666929,1337667470,1337667509,1337667545,1337667519,1337668082,1337668073,1337687029,1337687033) Found this number of photos: 20 begin to download photo : 1337667472 begin to download photo : 1337668079 begin to download photo : 1337686969 begin to download photo : 1337667519 download finish for photo 1337667472 begin to download photo : 1337667673 download finish for photo 1337668079 begin to download photo : 1337686966 download finish for photo 1337667519 begin to download photo : 1337668082 download finish for photo 1337686969 begin to download photo : 1337666929 download finish for photo 1337667673 begin to download photo : 1337667804 download finish for photo 1337686966 begin to download photo : 1337687022 download finish for photo 1337668082 begin to download photo : 1337668073 download finish for photo 1337666929 begin to download photo : 1337667470 download finish for photo 1337687022 begin to download photo : 1337666872 download finish for photo 1337667804 begin to download photo : 1337666812 download finish for photo 1337668073 begin to download photo : 1337687029 download finish for photo 1337666872 begin to download photo : 1337666869 download finish for photo 1337667470 begin to download photo : 1337667509 download finish for photo 1337666812 begin to download photo : 1337668075 download finish for photo 1337666869 download finish for photo 1337668075 download finish for photo 1337687029 begin to download photo : 1337687033 download finish for photo 1337667509 begin to download photo : 1337667545 download finish for photo 1337667545 download finish for photo 1337687033 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20577686_14-02-2025_23_02_36.pdf results_Auto_P20577686_14-02-2025_23_02_36.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20577686_14-02-2025_23_02_36.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','20577686','results_Auto_P20577686_14-02-2025_23_02_36.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20577686_14-02-2025_23_02_36.pdf','pdf','','0.84','0.05046688854099728') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1337667804, 1337667777, 1337667673, 1337667641, 1337667545, 1337667543, 1337667519, 1337667518, 1337667516, 1337667514] 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, '2589640') ('3459', None, '1337667804', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667777', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667673', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667641', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667545', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667543', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667519', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667518', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667516', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667514', None, None, None, None, None, '2589640') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.012560844421386719 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.465742588043213 time spend to save output : 0.012792825698852539 total time spend for step 10 : 6.478535413742065 step11:split_time_score Fri Feb 14 23:02:42 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('17', 34),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 14022025 20577686 Nombre de photos uploadées : 34 / 23040 (0%) 14022025 20577686 Nombre de photos taguées (types de déchets): 0 / 34 (0%) 14022025 20577686 Nombre de photos taguées (volume) : 0 / 34 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 9.5367431640625e-06 ?????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018165111541748047 elapsed_time : insert_dashboard_record_day_entry 0.026287078857421875 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.051226881996753466 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20548172_14-02-2025_10_20_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20548172 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`=20548172 AND mptpi.`type`=4207 To do Qualite : 0.05628867931780473 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20549277_14-02-2025_11_53_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20549277 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`=20549277 AND mptpi.`type`=4207 To do Qualite : 0.06243668226560464 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20549278_14-02-2025_09_49_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20549278 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`=20549278 AND mptpi.`type`=4207 To do Qualite : 0.08272583330229384 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20549279_14-02-2025_12_59_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20549279 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`=20549279 AND mptpi.`type`=4209 To do Qualite : 0.0465281771277979 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20577668_14-02-2025_22_58_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577668 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`=20577668 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577669 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577670 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577671 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577672 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577673 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577674 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577675 order by id desc limit 1 Qualite : 0.6509856804349657 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20557523_14-02-2025_18_11_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20557523 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11548 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11556 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11557 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11552 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11552 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11555 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11555 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11580 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11580 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11551 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11550 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11550 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11559 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11551 doesn't seem to be define in the database( WARNING : type of input 3 of step 11550 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11548 doesn't seem to be define in the database( WARNING : type of input 2 of step 11552 doesn't seem to be define in the database( WARNING : output 1 of step 11548 have datatype=2 whereas input 1 of step 11555 have datatype=7 WARNING : type of output 2 of step 11555 doesn't seem to be define in the database( WARNING : type of input 1 of step 11549 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11551 have datatype=10 whereas input 3 of step 11558 have datatype=6 WARNING : type of input 2 of step 11580 doesn't seem to be define in the database( WARNING : output 1 of step 11549 have datatype=7 whereas input 2 of step 11580 have datatype=None WARNING : type of output 3 of step 11580 doesn't seem to be define in the database( WARNING : type of input 1 of step 11551 doesn't seem to be define in the database( WARNING : output 0 of step 11551 have datatype=10 whereas input 0 of step 11586 have datatype=18 WARNING : type of input 5 of step 11558 doesn't seem to be define in the database( WARNING : output 0 of step 11586 have datatype=11 whereas input 5 of step 11558 have datatype=None WARNING : type of output 1 of step 11556 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : type of output 1 of step 11557 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : output 0 of step 11555 have datatype=1 whereas input 0 of step 11549 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20557523 AND mptpi.`type`=4200 To do Qualite : 0.1782808735998264 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20557524_14-02-2025_22_51_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20557524 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`=20557524 AND mptpi.`type`=3327 To do Qualite : 0.05593721952429699 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20557525_14-02-2025_21_40_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20557525 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`=20557525 AND mptpi.`type`=4207 To do Qualite : 0.057077741643422414 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20557526_14-02-2025_15_39_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20557526 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`=20557526 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20557527 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577676 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577677 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577678 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577679 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20557529 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20562870 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20562871 order by id desc limit 1 Qualite : 0.06332046922204408 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20562872_14-02-2025_20_04_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20562872 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`=20562872 AND mptpi.`type`=4207 To do Qualite : 0.028819233679616044 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20562874_14-02-2025_17_13_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20562874 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`=20562874 AND mptpi.`type`=4207 To do Qualite : 0.03607793002459302 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20562875_14-02-2025_16_54_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20562875 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`=20562875 AND mptpi.`type`=4207 To do Qualite : 0.038850070532126926 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20562876_14-02-2025_17_44_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20562876 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`=20562876 AND mptpi.`type`=4207 To do Qualite : 0.07550131369624677 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20562878_14-02-2025_16_52_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20562878 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`=20562878 AND mptpi.`type`=4207 To do Qualite : 0.06530848255459093 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20562879_14-02-2025_21_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20562879 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`=20562879 AND mptpi.`type`=4211 To do Qualite : 0.09668815581108006 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20562880_14-02-2025_20_32_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20562880 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`=20562880 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577680 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577681 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577682 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577683 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577684 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577685 order by id desc limit 1 Qualite : 0.05307959638096329 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20577686_14-02-2025_23_02_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577686 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`=20577686 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577687 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577688 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577689 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577690 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577691 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577692 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577693 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577694 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577695 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20577696 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'14022025': {'nb_upload': 34, '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 [1337667804, 1337667777, 1337667673, 1337667641, 1337667545, 1337667543, 1337667519, 1337667518, 1337667516, 1337667514] Looping around the photos to save general results len do output : 1 /20577686Didn'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, '2589640') ('3459', None, '1337667804', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667777', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667673', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667641', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667545', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667543', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667519', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667518', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667516', None, None, None, None, None, '2589640') ('3459', None, None, None, None, None, None, None, '2589640') ('3459', None, '1337667514', None, None, None, None, None, '2589640') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.015738964080810547 save_final save missing photos in datou_result : time spend for datou_step_exec : 25.14745259284973 time spend to save output : 0.016000986099243164 total time spend for step 11 : 25.163453578948975 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 122.49user 123.33system 4:44.78elapsed 86%CPU (0avgtext+0avgdata 4086320maxresident)k 507800inputs+112784outputs (18354major+11493316minor)pagefaults 0swaps