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 : 2573811 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 : 12>10 please execute split_portfolio.py -i 20176521 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2539836'] with mtr_portfolio_ids : ['20176521'] and first list_photo_ids : [] new path : /proc/2573811/ 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.9741322994232178 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Mon Feb 3 12:34: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 : 2922 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-03 12:34:31.986491: 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-03 12:34:32.011465: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493020000 Hz 2025-02-03 12:34:32.013497: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f9154000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-03 12:34:32.013527: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-03 12:34:32.017563: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-03 12:34:32.283116: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x4368b300 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-03 12:34:32.283164: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-03 12:34:32.284032: 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-03 12:34:32.284496: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-03 12:34:32.287516: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-03 12:34:32.290612: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-03 12:34:32.291122: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-03 12:34:32.294178: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-03 12:34:32.295637: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-03 12:34:32.301169: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-03 12:34:32.302485: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-03 12:34:32.302619: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-03 12:34:32.303293: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-03 12:34:32.303324: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-03 12:34:32.303339: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-03 12:34:32.304447: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2470 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-03 12:34:32.583175: 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-03 12:34:32.583300: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-03 12:34:32.583376: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-03 12:34:32.583405: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-03 12:34:32.583430: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-03 12:34:32.583469: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-03 12:34:32.583493: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-03 12:34:32.583516: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-03 12:34:32.584668: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-03 12:34:32.585845: 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-03 12:34:32.585907: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-03 12:34:32.585935: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-03 12:34:32.585960: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-03 12:34:32.585986: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-03 12:34:32.586012: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-03 12:34:32.586037: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-03 12:34:32.586062: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-03 12:34:32.587198: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-03 12:34:32.587237: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-03 12:34:32.587252: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-03 12:34:32.587263: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-03 12:34:32.588479: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2470 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-03 12:34:42.294017: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-03 12:34:42.499449: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-03 12:34:43.848412: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-03 12:34:43.848488: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-03 12:34:43.855198: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-03 12:34:43.855229: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-03 12:34:43.908672: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-03 12:34:43.908747: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-03 12:34:43.950690: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-03 12:34:43.950724: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-03 12:34:44.001946: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-03 12:34:44.001978: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-03 12:34:44.004280: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.41G (1518206976 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.004792: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.27G (1366386432 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.322570: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-02-03 12:34:44.362332: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.363562: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.365344: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.366528: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.376979: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.377661: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.378337: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.378964: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.379594: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.380260: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.394849: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.395480: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.446512: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.447095: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.454768: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.455354: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.470779: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.471434: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.472063: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.472666: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.476677: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.477257: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.477816: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.478374: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.479298: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.479327: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-02-03 12:34:44.489398: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.489982: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.498861: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.499443: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.500011: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.500566: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.501128: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-03 12:34:44.501679: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.91G (2055077888 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 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 : 9 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 23 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 25 Detection mask done ! Trying to reset tf kernel 2574209 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1729 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 : 2922 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.0002608299255371094 nb_pixel_total : 4328 time to create 1 rle with old method : 0.004683732986450195 length of segment : 129 time for calcul the mask position with numpy : 0.004111766815185547 nb_pixel_total : 181028 time to create 1 rle with new method : 0.009169578552246094 length of segment : 757 time for calcul the mask position with numpy : 0.00010156631469726562 nb_pixel_total : 2738 time to create 1 rle with old method : 0.003340005874633789 length of segment : 62 time for calcul the mask position with numpy : 0.5794401168823242 nb_pixel_total : 712378 time to create 1 rle with new method : 0.3772616386413574 length of segment : 1879 time for calcul the mask position with numpy : 0.003047466278076172 nb_pixel_total : 172568 time to create 1 rle with new method : 0.004140377044677734 length of segment : 535 time for calcul the mask position with numpy : 0.003443002700805664 nb_pixel_total : 111231 time to create 1 rle with old method : 0.12334418296813965 length of segment : 1092 time for calcul the mask position with numpy : 0.0002923011779785156 nb_pixel_total : 5230 time to create 1 rle with old method : 0.006226778030395508 length of segment : 92 time for calcul the mask position with numpy : 0.01052403450012207 nb_pixel_total : 438522 time to create 1 rle with new method : 0.019610166549682617 length of segment : 910 time for calcul the mask position with numpy : 0.0088653564453125 nb_pixel_total : 304794 time to create 1 rle with new method : 0.014202117919921875 length of segment : 978 time for calcul the mask position with numpy : 0.00035500526428222656 nb_pixel_total : 4618 time to create 1 rle with old method : 0.005530595779418945 length of segment : 129 time for calcul the mask position with numpy : 0.021001100540161133 nb_pixel_total : 606844 time to create 1 rle with new method : 0.32255005836486816 length of segment : 1710 time for calcul the mask position with numpy : 0.0004961490631103516 nb_pixel_total : 10828 time to create 1 rle with old method : 0.01275491714477539 length of segment : 183 time for calcul the mask position with numpy : 0.0027132034301757812 nb_pixel_total : 142593 time to create 1 rle with old method : 0.1570448875427246 length of segment : 518 time for calcul the mask position with numpy : 0.010291814804077148 nb_pixel_total : 440497 time to create 1 rle with new method : 0.22779631614685059 length of segment : 816 time for calcul the mask position with numpy : 0.00019168853759765625 nb_pixel_total : 3365 time to create 1 rle with old method : 0.003996133804321289 length of segment : 76 time for calcul the mask position with numpy : 0.0023958683013916016 nb_pixel_total : 113573 time to create 1 rle with old method : 0.12828588485717773 length of segment : 348 time for calcul the mask position with numpy : 0.0028581619262695312 nb_pixel_total : 179704 time to create 1 rle with new method : 0.003766298294067383 length of segment : 510 time for calcul the mask position with numpy : 0.006720304489135742 nb_pixel_total : 273925 time to create 1 rle with new method : 0.01251220703125 length of segment : 886 time for calcul the mask position with numpy : 0.00276947021484375 nb_pixel_total : 81972 time to create 1 rle with old method : 0.09287309646606445 length of segment : 432 time for calcul the mask position with numpy : 0.0013561248779296875 nb_pixel_total : 24492 time to create 1 rle with old method : 0.03955674171447754 length of segment : 247 time for calcul the mask position with numpy : 0.0005114078521728516 nb_pixel_total : 15272 time to create 1 rle with old method : 0.018224477767944336 length of segment : 121 time for calcul the mask position with numpy : 0.001352071762084961 nb_pixel_total : 44234 time to create 1 rle with old method : 0.05274176597595215 length of segment : 369 time for calcul the mask position with numpy : 0.008224725723266602 nb_pixel_total : 280500 time to create 1 rle with new method : 0.012844324111938477 length of segment : 1001 time for calcul the mask position with numpy : 0.0001068115234375 nb_pixel_total : 1289 time to create 1 rle with old method : 0.0018227100372314453 length of segment : 33 time for calcul the mask position with numpy : 0.0013515949249267578 nb_pixel_total : 49158 time to create 1 rle with old method : 0.055998802185058594 length of segment : 323 time for calcul the mask position with numpy : 0.012102842330932617 nb_pixel_total : 407065 time to create 1 rle with new method : 0.017454862594604492 length of segment : 934 time for calcul the mask position with numpy : 0.01726531982421875 nb_pixel_total : 615254 time to create 1 rle with new method : 0.06374239921569824 length of segment : 1789 time for calcul the mask position with numpy : 0.03165030479431152 nb_pixel_total : 620327 time to create 1 rle with new method : 0.05073738098144531 length of segment : 1253 time for calcul the mask position with numpy : 0.0003108978271484375 nb_pixel_total : 6145 time to create 1 rle with old method : 0.007263898849487305 length of segment : 201 time for calcul the mask position with numpy : 0.00842428207397461 nb_pixel_total : 474979 time to create 1 rle with new method : 0.014714717864990234 length of segment : 753 time for calcul the mask position with numpy : 0.0017807483673095703 nb_pixel_total : 43120 time to create 1 rle with old method : 0.048523902893066406 length of segment : 386 time for calcul the mask position with numpy : 0.0008003711700439453 nb_pixel_total : 21914 time to create 1 rle with old method : 0.024855852127075195 length of segment : 223 time for calcul the mask position with numpy : 0.0011658668518066406 nb_pixel_total : 38521 time to create 1 rle with old method : 0.04396653175354004 length of segment : 308 time for calcul the mask position with numpy : 0.0045642852783203125 nb_pixel_total : 162263 time to create 1 rle with new method : 0.006724357604980469 length of segment : 651 time for calcul the mask position with numpy : 0.0005593299865722656 nb_pixel_total : 6730 time to create 1 rle with old method : 0.008356571197509766 length of segment : 121 time for calcul the mask position with numpy : 0.0038657188415527344 nb_pixel_total : 88845 time to create 1 rle with old method : 0.12186956405639648 length of segment : 436 time for calcul the mask position with numpy : 0.0008513927459716797 nb_pixel_total : 4207 time to create 1 rle with old method : 0.0050811767578125 length of segment : 101 time for calcul the mask position with numpy : 0.0023508071899414062 nb_pixel_total : 93830 time to create 1 rle with old method : 0.10301589965820312 length of segment : 448 time for calcul the mask position with numpy : 0.0006999969482421875 nb_pixel_total : 39424 time to create 1 rle with old method : 0.04317045211791992 length of segment : 313 time for calcul the mask position with numpy : 0.001360177993774414 nb_pixel_total : 47737 time to create 1 rle with old method : 0.05665707588195801 length of segment : 297 time for calcul the mask position with numpy : 0.0018723011016845703 nb_pixel_total : 72546 time to create 1 rle with old method : 0.0852804183959961 length of segment : 331 time for calcul the mask position with numpy : 0.001463174819946289 nb_pixel_total : 46015 time to create 1 rle with old method : 0.05036115646362305 length of segment : 473 time for calcul the mask position with numpy : 0.001226663589477539 nb_pixel_total : 28943 time to create 1 rle with old method : 0.031144380569458008 length of segment : 263 time for calcul the mask position with numpy : 0.002375364303588867 nb_pixel_total : 92092 time to create 1 rle with old method : 0.10245418548583984 length of segment : 339 time for calcul the mask position with numpy : 0.0013840198516845703 nb_pixel_total : 90437 time to create 1 rle with old method : 0.1013948917388916 length of segment : 341 time for calcul the mask position with numpy : 0.003989219665527344 nb_pixel_total : 180858 time to create 1 rle with new method : 0.007373809814453125 length of segment : 544 time for calcul the mask position with numpy : 8.058547973632812e-05 nb_pixel_total : 2289 time to create 1 rle with old method : 0.002814769744873047 length of segment : 47 time for calcul the mask position with numpy : 0.00040793418884277344 nb_pixel_total : 12955 time to create 1 rle with old method : 0.015055418014526367 length of segment : 122 time for calcul the mask position with numpy : 0.0005469322204589844 nb_pixel_total : 19725 time to create 1 rle with old method : 0.023789644241333008 length of segment : 269 time for calcul the mask position with numpy : 0.0007071495056152344 nb_pixel_total : 22420 time to create 1 rle with old method : 0.02716541290283203 length of segment : 177 time for calcul the mask position with numpy : 0.0013401508331298828 nb_pixel_total : 80374 time to create 1 rle with old method : 0.0883636474609375 length of segment : 183 time for calcul the mask position with numpy : 0.0012574195861816406 nb_pixel_total : 51800 time to create 1 rle with old method : 0.06148386001586914 length of segment : 322 time for calcul the mask position with numpy : 0.00037407875061035156 nb_pixel_total : 5907 time to create 1 rle with old method : 0.00735020637512207 length of segment : 144 time for calcul the mask position with numpy : 0.0019690990447998047 nb_pixel_total : 62308 time to create 1 rle with old method : 0.06763958930969238 length of segment : 424 time for calcul the mask position with numpy : 0.0051767826080322266 nb_pixel_total : 253439 time to create 1 rle with new method : 0.008167028427124023 length of segment : 841 time for calcul the mask position with numpy : 0.00040268898010253906 nb_pixel_total : 12460 time to create 1 rle with old method : 0.014225482940673828 length of segment : 94 time for calcul the mask position with numpy : 0.005002498626708984 nb_pixel_total : 286588 time to create 1 rle with new method : 0.008017778396606445 length of segment : 791 time for calcul the mask position with numpy : 0.0022096633911132812 nb_pixel_total : 93818 time to create 1 rle with old method : 0.09810996055603027 length of segment : 571 time for calcul the mask position with numpy : 0.0003762245178222656 nb_pixel_total : 11844 time to create 1 rle with old method : 0.013340950012207031 length of segment : 106 time for calcul the mask position with numpy : 0.0007772445678710938 nb_pixel_total : 22316 time to create 1 rle with old method : 0.023977041244506836 length of segment : 166 time for calcul the mask position with numpy : 0.0005512237548828125 nb_pixel_total : 23740 time to create 1 rle with old method : 0.026006221771240234 length of segment : 132 time for calcul the mask position with numpy : 0.0003452301025390625 nb_pixel_total : 6404 time to create 1 rle with old method : 0.010587453842163086 length of segment : 82 time for calcul the mask position with numpy : 0.0012583732604980469 nb_pixel_total : 39595 time to create 1 rle with old method : 0.050023794174194336 length of segment : 278 time for calcul the mask position with numpy : 0.0009446144104003906 nb_pixel_total : 22798 time to create 1 rle with old method : 0.024444580078125 length of segment : 283 time for calcul the mask position with numpy : 0.0007028579711914062 nb_pixel_total : 24106 time to create 1 rle with old method : 0.02808976173400879 length of segment : 236 time for calcul the mask position with numpy : 0.00017333030700683594 nb_pixel_total : 2585 time to create 1 rle with old method : 0.0029370784759521484 length of segment : 59 time for calcul the mask position with numpy : 0.0003662109375 nb_pixel_total : 11135 time to create 1 rle with old method : 0.01275777816772461 length of segment : 119 time for calcul the mask position with numpy : 0.00025272369384765625 nb_pixel_total : 2500 time to create 1 rle with old method : 0.0027866363525390625 length of segment : 115 time for calcul the mask position with numpy : 0.0023920536041259766 nb_pixel_total : 88165 time to create 1 rle with old method : 0.09534668922424316 length of segment : 555 time for calcul the mask position with numpy : 0.004061460494995117 nb_pixel_total : 195888 time to create 1 rle with new method : 0.006939888000488281 length of segment : 583 time for calcul the mask position with numpy : 0.00079345703125 nb_pixel_total : 16450 time to create 1 rle with old method : 0.019448280334472656 length of segment : 205 time for calcul the mask position with numpy : 0.0007555484771728516 nb_pixel_total : 25927 time to create 1 rle with old method : 0.030385255813598633 length of segment : 219 time for calcul the mask position with numpy : 0.0026655197143554688 nb_pixel_total : 136861 time to create 1 rle with old method : 0.15137958526611328 length of segment : 396 time for calcul the mask position with numpy : 0.0001499652862548828 nb_pixel_total : 4683 time to create 1 rle with old method : 0.00568389892578125 length of segment : 98 time for calcul the mask position with numpy : 0.0054264068603515625 nb_pixel_total : 270728 time to create 1 rle with new method : 0.011396169662475586 length of segment : 679 time for calcul the mask position with numpy : 0.327970027923584 nb_pixel_total : 3398163 time to create 1 rle with new method : 0.3955717086791992 length of segment : 1968 time for calcul the mask position with numpy : 0.0006892681121826172 nb_pixel_total : 30037 time to create 1 rle with old method : 0.03476405143737793 length of segment : 167 time for calcul the mask position with numpy : 0.002537965774536133 nb_pixel_total : 155755 time to create 1 rle with new method : 0.005858659744262695 length of segment : 602 time for calcul the mask position with numpy : 0.00016927719116210938 nb_pixel_total : 4339 time to create 1 rle with old method : 0.0054323673248291016 length of segment : 47 time for calcul the mask position with numpy : 0.0001666545867919922 nb_pixel_total : 2973 time to create 1 rle with old method : 0.004007816314697266 length of segment : 38 time for calcul the mask position with numpy : 0.0003635883331298828 nb_pixel_total : 4289 time to create 1 rle with old method : 0.005250215530395508 length of segment : 126 time for calcul the mask position with numpy : 0.002248048782348633 nb_pixel_total : 93994 time to create 1 rle with old method : 0.1051485538482666 length of segment : 246 time for calcul the mask position with numpy : 0.004656076431274414 nb_pixel_total : 243927 time to create 1 rle with new method : 0.0070912837982177734 length of segment : 504 time for calcul the mask position with numpy : 0.04260087013244629 nb_pixel_total : 2343244 time to create 1 rle with new method : 0.306363582611084 length of segment : 3246 time for calcul the mask position with numpy : 0.012813091278076172 nb_pixel_total : 791527 time to create 1 rle with new method : 0.04893374443054199 length of segment : 1530 time for calcul the mask position with numpy : 0.00022554397583007812 nb_pixel_total : 4423 time to create 1 rle with old method : 0.005210161209106445 length of segment : 67 time for calcul the mask position with numpy : 0.0013048648834228516 nb_pixel_total : 44097 time to create 1 rle with old method : 0.047669410705566406 length of segment : 405 time for calcul the mask position with numpy : 0.0026171207427978516 nb_pixel_total : 118745 time to create 1 rle with old method : 0.12591338157653809 length of segment : 570 time for calcul the mask position with numpy : 0.0005440711975097656 nb_pixel_total : 12190 time to create 1 rle with old method : 0.013811588287353516 length of segment : 304 time for calcul the mask position with numpy : 0.0254209041595459 nb_pixel_total : 1418375 time to create 1 rle with new method : 0.31781601905822754 length of segment : 1340 time for calcul the mask position with numpy : 0.0009961128234863281 nb_pixel_total : 27560 time to create 1 rle with old method : 0.033811330795288086 length of segment : 160 time for calcul the mask position with numpy : 0.00020813941955566406 nb_pixel_total : 1583 time to create 1 rle with old method : 0.0018048286437988281 length of segment : 80 time for calcul the mask position with numpy : 0.0006694793701171875 nb_pixel_total : 13996 time to create 1 rle with old method : 0.0162353515625 length of segment : 167 time for calcul the mask position with numpy : 0.0005364418029785156 nb_pixel_total : 12986 time to create 1 rle with old method : 0.015221357345581055 length of segment : 114 time for calcul the mask position with numpy : 0.0023369789123535156 nb_pixel_total : 39608 time to create 1 rle with old method : 0.04709672927856445 length of segment : 417 time for calcul the mask position with numpy : 0.0009245872497558594 nb_pixel_total : 19171 time to create 1 rle with old method : 0.02228689193725586 length of segment : 212 time for calcul the mask position with numpy : 0.0004932880401611328 nb_pixel_total : 10864 time to create 1 rle with old method : 0.013647317886352539 length of segment : 198 time for calcul the mask position with numpy : 0.0003421306610107422 nb_pixel_total : 5357 time to create 1 rle with old method : 0.0064580440521240234 length of segment : 97 time for calcul the mask position with numpy : 0.002431631088256836 nb_pixel_total : 46122 time to create 1 rle with old method : 0.05184507369995117 length of segment : 544 time for calcul the mask position with numpy : 0.0040740966796875 nb_pixel_total : 107090 time to create 1 rle with old method : 0.1422562599182129 length of segment : 604 time for calcul the mask position with numpy : 0.0016922950744628906 nb_pixel_total : 71409 time to create 1 rle with old method : 0.08095097541809082 length of segment : 227 time for calcul the mask position with numpy : 0.0034296512603759766 nb_pixel_total : 133859 time to create 1 rle with old method : 0.1711597442626953 length of segment : 384 time for calcul the mask position with numpy : 0.0012652873992919922 nb_pixel_total : 33333 time to create 1 rle with old method : 0.0388493537902832 length of segment : 287 time for calcul the mask position with numpy : 0.0008873939514160156 nb_pixel_total : 67219 time to create 1 rle with old method : 0.10059213638305664 length of segment : 226 time for calcul the mask position with numpy : 0.001657247543334961 nb_pixel_total : 38719 time to create 1 rle with old method : 0.0445094108581543 length of segment : 222 time for calcul the mask position with numpy : 0.0005741119384765625 nb_pixel_total : 15463 time to create 1 rle with old method : 0.017405033111572266 length of segment : 123 time for calcul the mask position with numpy : 0.0018429756164550781 nb_pixel_total : 23293 time to create 1 rle with old method : 0.026081323623657227 length of segment : 413 time for calcul the mask position with numpy : 0.00014400482177734375 nb_pixel_total : 2697 time to create 1 rle with old method : 0.003391742706298828 length of segment : 63 time for calcul the mask position with numpy : 0.0013599395751953125 nb_pixel_total : 40214 time to create 1 rle with old method : 0.04512286186218262 length of segment : 307 time for calcul the mask position with numpy : 0.00024199485778808594 nb_pixel_total : 2427 time to create 1 rle with old method : 0.003117799758911133 length of segment : 85 time for calcul the mask position with numpy : 0.00015664100646972656 nb_pixel_total : 2354 time to create 1 rle with old method : 0.0029289722442626953 length of segment : 49 time for calcul the mask position with numpy : 0.002215862274169922 nb_pixel_total : 45845 time to create 1 rle with old method : 0.06931209564208984 length of segment : 374 time for calcul the mask position with numpy : 0.00013446807861328125 nb_pixel_total : 2603 time to create 1 rle with old method : 0.0032727718353271484 length of segment : 78 time for calcul the mask position with numpy : 0.00013828277587890625 nb_pixel_total : 4658 time to create 1 rle with old method : 0.005529880523681641 length of segment : 84 time for calcul the mask position with numpy : 0.0003566741943359375 nb_pixel_total : 5636 time to create 1 rle with old method : 0.00692439079284668 length of segment : 95 time for calcul the mask position with numpy : 0.0004127025604248047 nb_pixel_total : 8395 time to create 1 rle with old method : 0.010141611099243164 length of segment : 118 time for calcul the mask position with numpy : 0.00019025802612304688 nb_pixel_total : 2972 time to create 1 rle with old method : 0.0037517547607421875 length of segment : 54 time for calcul the mask position with numpy : 0.0020427703857421875 nb_pixel_total : 59732 time to create 1 rle with old method : 0.06823086738586426 length of segment : 408 time for calcul the mask position with numpy : 0.0029850006103515625 nb_pixel_total : 113238 time to create 1 rle with old method : 0.12372803688049316 length of segment : 294 time for calcul the mask position with numpy : 0.00021982192993164062 nb_pixel_total : 3207 time to create 1 rle with old method : 0.003939151763916016 length of segment : 75 time for calcul the mask position with numpy : 0.00018835067749023438 nb_pixel_total : 3166 time to create 1 rle with old method : 0.003932476043701172 length of segment : 48 time for calcul the mask position with numpy : 0.004778146743774414 nb_pixel_total : 156702 time to create 1 rle with new method : 0.006084918975830078 length of segment : 499 time for calcul the mask position with numpy : 0.0021817684173583984 nb_pixel_total : 35567 time to create 1 rle with old method : 0.03960561752319336 length of segment : 500 time for calcul the mask position with numpy : 0.00035381317138671875 nb_pixel_total : 8374 time to create 1 rle with old method : 0.010123491287231445 length of segment : 198 time for calcul the mask position with numpy : 0.0011048316955566406 nb_pixel_total : 28253 time to create 1 rle with old method : 0.03269314765930176 length of segment : 193 time for calcul the mask position with numpy : 0.0002181529998779297 nb_pixel_total : 1912 time to create 1 rle with old method : 0.0023415088653564453 length of segment : 76 time for calcul the mask position with numpy : 0.00016808509826660156 nb_pixel_total : 2633 time to create 1 rle with old method : 0.0031480789184570312 length of segment : 60 time for calcul the mask position with numpy : 0.0037317276000976562 nb_pixel_total : 117918 time to create 1 rle with old method : 0.12959718704223633 length of segment : 379 time for calcul the mask position with numpy : 0.00038623809814453125 nb_pixel_total : 10141 time to create 1 rle with old method : 0.012809038162231445 length of segment : 90 time for calcul the mask position with numpy : 0.0026824474334716797 nb_pixel_total : 88597 time to create 1 rle with old method : 0.0987398624420166 length of segment : 412 time for calcul the mask position with numpy : 0.0014133453369140625 nb_pixel_total : 33773 time to create 1 rle with old method : 0.03967642784118652 length of segment : 295 time for calcul the mask position with numpy : 0.0007798671722412109 nb_pixel_total : 20686 time to create 1 rle with old method : 0.02459573745727539 length of segment : 250 time for calcul the mask position with numpy : 0.0012454986572265625 nb_pixel_total : 34953 time to create 1 rle with old method : 0.039191246032714844 length of segment : 383 time for calcul the mask position with numpy : 0.0008928775787353516 nb_pixel_total : 18344 time to create 1 rle with old method : 0.0213925838470459 length of segment : 305 time for calcul the mask position with numpy : 0.0018608570098876953 nb_pixel_total : 75996 time to create 1 rle with old method : 0.08420872688293457 length of segment : 440 time for calcul the mask position with numpy : 0.013470888137817383 nb_pixel_total : 416464 time to create 1 rle with new method : 0.03267240524291992 length of segment : 893 time spent for convertir_results : 16.98110604286194 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 136 chid ids of type : 3663 Number RLEs to save : 55677 save missing photos in datou_result : time spend for datou_step_exec : 56.89839267730713 time spend to save output : 3.271941661834717 total time spend for step 1 : 60.170334339141846 step2:crop_condition Mon Feb 3 12:35:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 136 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 ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! we have finished the crop for the class : carton_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 ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1333623930, 1333623926, 1333623921, 1333623909, 1333623895, 1333623892, 1333305350, 1333305167, 1333304398, 1333304393] Looping around the photos to save general results len do output : 70 /-3651278027Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278062Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278064Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278073Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278085Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278113Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278099Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278133Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278068Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278080Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278079Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278095Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278115Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278114Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278111Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278108Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278126Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278142Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278040Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278047Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278043Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278052Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278066Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278086Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278139Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278010Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278017Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278021Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278024Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278033Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278039Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278041Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278031Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278037Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278030Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278028Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278034Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278038Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278044Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278050Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278054Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278049Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278063Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278065Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278081Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278078Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278083Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278098Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278090Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278091Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278103Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278120Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278117Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278109Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278107Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278110Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278127Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278144Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278136Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278138Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278130Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278143Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278131Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278015Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278029Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278053Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278059Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278046Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278057Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3651278112Didn'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, '2539836') ('3459', '20176521', '1333623930', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623926', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623921', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623909', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623895', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623892', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333305350', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333305167', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333304398', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333304393', None, None, None, None, None, '2539836') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 220 time used for this insertion : 0.03561735153198242 save_final save missing photos in datou_result : time spend for datou_step_exec : 44.06104040145874 time spend to save output : 0.037375688552856445 total time spend for step 2 : 44.0984160900116 step3:thcl Mon Feb 3 12:36:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step Thcl ! nombre de thcls : 2 we are using the classfication for multi_thcl [2456, 2868] time to import caffe and check if the image exist : 0.009385347366333008 time to convert the images to numpy array : 0.061251163482666016 time to import caffe and check if the image exist : 0.005476713180541992 time to convert the images to numpy array : 0.08065319061279297 time to import caffe and check if the image exist : 0.011214256286621094 time to convert the images to numpy array : 0.09258604049682617 time to import caffe and check if the image exist : 0.01641106605529785 time to convert the images to numpy array : 0.09012436866760254 time to import caffe and check if the image exist : 0.01125025749206543 time to convert the images to numpy array : 0.1733689308166504 time to import caffe and check if the image exist : 0.01449441909790039 time to convert the images to numpy array : 0.33772754669189453 time to import caffe and check if the image exist : 0.009517669677734375 time to convert the images to numpy array : 0.3691675662994385 time to import caffe and check if the image exist : 0.017381906509399414 time to convert the images to numpy array : 0.3732943534851074 time to import caffe and check if the image exist : 0.008840322494506836 time to convert the images to numpy array : 0.38486647605895996 time to import caffe and check if the image exist : 0.00858306884765625 time to convert the images to numpy array : 0.644587516784668 total time to convert the images to numpy array : 0.8901693820953369 list photo_ids error: [] list photo_ids correct : [-3651278133, -3651278068, -3651278080, -3651278079, -3651278095, -3651278115, -3651278114, -3651278027, -3651278062, -3651278064, -3651278073, -3651278085, -3651278113, -3651278099, -3651278111, -3651278108, -3651278126, -3651278142, -3651278040, -3651278047, -3651278043, -3651278015, -3651278029, -3651278053, -3651278059, -3651278046, -3651278057, -3651278112, -3651278091, -3651278103, -3651278120, -3651278117, -3651278109, -3651278107, -3651278110, -3651278024, -3651278033, -3651278039, -3651278041, -3651278031, -3651278037, -3651278030, -3651278052, -3651278066, -3651278086, -3651278139, -3651278010, -3651278017, -3651278021, -3651278127, -3651278144, -3651278136, -3651278138, -3651278130, -3651278143, -3651278131, -3651278028, -3651278034, -3651278038, -3651278044, -3651278050, -3651278054, -3651278049, -3651278063, -3651278065, -3651278081, -3651278078, -3651278083, -3651278098, -3651278090] number of photos to traite : 70 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 havn't enough memory gpu , need / 2500 l 3632 free memory gpu now : 1950 wait 20 seconds l 3637 free memory gpu now : 1950 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 havn't enough memory gpu , need / 2500 l 3632 free memory gpu now : 1952 wait 20 seconds l 3637 free memory gpu now : 1952 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.0260071754455566 time used to do the prediction : 0.2614777088165283 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 : 3143 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 : 3143 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.2109627723693848 time used to do the prediction : 0.12699389457702637 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.4080276489257812e-05 save missing photos in datou_result : time spend for datou_step_exec : 50.35871362686157 time spend to save output : 0.0005679130554199219 total time spend for step 3 : 50.35928153991699 step4:merge_mask_thcl_custom Mon Feb 3 12:37:03 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step merge_mask_thcl_custom batch 1 Loaded 136 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 [1333623930, 1333623926, 1333623921, 1333623909, 1333623895, 1333623892, 1333305350, 1333305167, 1333304398, 1333304393] Looping around the photos to save general results len do output : 10 /1333623930Didn't retrieve data .Didn't retrieve data . /1333623926Didn't retrieve data .Didn't retrieve data . /1333623921Didn't retrieve data .Didn't retrieve data . /1333623909Didn't retrieve data .Didn't retrieve data . /1333623895Didn't retrieve data .Didn't retrieve data . /1333623892Didn't retrieve data .Didn't retrieve data . /1333305350Didn't retrieve data .Didn't retrieve data . /1333305167Didn't retrieve data .Didn't retrieve data . /1333304398Didn't retrieve data .Didn't retrieve data . /1333304393Didn'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, '2539836') ('3459', '20176521', '1333623930', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623926', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623921', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623909', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623895', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623892', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333305350', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333305167', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333304398', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333304393', None, None, None, None, None, '2539836') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.020254850387573242 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07044219970703125 time spend to save output : 0.02074885368347168 total time spend for step 4 : 0.09119105339050293 step5:rle_unique_nms_with_priority Mon Feb 3 12:37:04 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 : 9 nb_hashtags : 4 time to prepare the origin masks : 4.608841180801392 time for calcul the mask position with numpy : 0.3671298027038574 nb_pixel_total : 5377322 time to create 1 rle with new method : 0.4013817310333252 time for calcul the mask position with numpy : 0.03498196601867676 nb_pixel_total : 5212 time to create 1 rle with old method : 0.005975246429443359 time for calcul the mask position with numpy : 0.03755450248718262 nb_pixel_total : 363074 time to create 1 rle with new method : 0.46588683128356934 time for calcul the mask position with numpy : 0.035043954849243164 nb_pixel_total : 110734 time to create 1 rle with old method : 0.11946582794189453 time for calcul the mask position with numpy : 0.024344205856323242 nb_pixel_total : 117208 time to create 1 rle with old method : 0.13123321533203125 time for calcul the mask position with numpy : 0.021898746490478516 nb_pixel_total : 166566 time to create 1 rle with new method : 0.3679184913635254 time for calcul the mask position with numpy : 0.027341604232788086 nb_pixel_total : 711029 time to create 1 rle with new method : 0.48979973793029785 time for calcul the mask position with numpy : 0.03371691703796387 nb_pixel_total : 2725 time to create 1 rle with old method : 0.003114461898803711 time for calcul the mask position with numpy : 0.03415870666503906 nb_pixel_total : 4315 time to create 1 rle with old method : 0.0046122074127197266 time for calcul the mask position with numpy : 0.03448915481567383 nb_pixel_total : 192055 time to create 1 rle with new method : 0.38185834884643555 create new chi : 3.1461944580078125 time to delete rle : 0.013772249221801758 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 13835 TO DO : save crop sub photo not yet done ! save time : 1.3838005065917969 nb_obj : 9 nb_hashtags : 3 time to prepare the origin masks : 4.906682729721069 time for calcul the mask position with numpy : 0.26612281799316406 nb_pixel_total : 5489993 time to create 1 rle with new method : 0.430203914642334 time for calcul the mask position with numpy : 0.03812241554260254 nb_pixel_total : 59032 time to create 1 rle with old method : 0.06340575218200684 time for calcul the mask position with numpy : 0.02294158935546875 nb_pixel_total : 179666 time to create 1 rle with new method : 0.4402735233306885 time for calcul the mask position with numpy : 0.025788545608520508 nb_pixel_total : 3344 time to create 1 rle with old method : 0.0038106441497802734 time for calcul the mask position with numpy : 0.027978181838989258 nb_pixel_total : 440471 time to create 1 rle with new method : 0.38312625885009766 time for calcul the mask position with numpy : 0.02088618278503418 nb_pixel_total : 10791 time to create 1 rle with old method : 0.011665821075439453 time for calcul the mask position with numpy : 0.02123260498046875 nb_pixel_total : 142125 time to create 1 rle with old method : 0.15250039100646973 time for calcul the mask position with numpy : 0.04067039489746094 nb_pixel_total : 606957 time to create 1 rle with new method : 0.5093860626220703 time for calcul the mask position with numpy : 0.033728837966918945 nb_pixel_total : 4587 time to create 1 rle with old method : 0.0051326751708984375 time for calcul the mask position with numpy : 0.03175973892211914 nb_pixel_total : 113274 time to create 1 rle with old method : 0.1279442310333252 create new chi : 2.7673521041870117 time to delete rle : 0.0011968612670898438 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 11782 TO DO : save crop sub photo not yet done ! save time : 0.6666953563690186 nb_obj : 20 nb_hashtags : 7 time to prepare the origin masks : 10.956109046936035 time for calcul the mask position with numpy : 0.29480886459350586 nb_pixel_total : 4471288 time to create 1 rle with new method : 0.44165635108947754 time for calcul the mask position with numpy : 0.03481483459472656 nb_pixel_total : 741 time to create 1 rle with old method : 0.0011246204376220703 time for calcul the mask position with numpy : 0.0341644287109375 nb_pixel_total : 1196 time to create 1 rle with old method : 0.0015530586242675781 time for calcul the mask position with numpy : 0.03559064865112305 nb_pixel_total : 88744 time to create 1 rle with old method : 0.11463189125061035 time for calcul the mask position with numpy : 0.045871734619140625 nb_pixel_total : 430296 time to create 1 rle with new method : 0.46146202087402344 time for calcul the mask position with numpy : 0.03299856185913086 nb_pixel_total : 24374 time to create 1 rle with old method : 0.027318239212036133 time for calcul the mask position with numpy : 0.03306078910827637 nb_pixel_total : 44157 time to create 1 rle with old method : 0.04695868492126465 time for calcul the mask position with numpy : 0.029582500457763672 nb_pixel_total : 162065 time to create 1 rle with new method : 0.4022057056427002 time for calcul the mask position with numpy : 0.022338151931762695 nb_pixel_total : 49124 time to create 1 rle with old method : 0.05528402328491211 time for calcul the mask position with numpy : 0.022337675094604492 nb_pixel_total : 15113 time to create 1 rle with old method : 0.01639246940612793 time for calcul the mask position with numpy : 0.036775827407836914 nb_pixel_total : 38519 time to create 1 rle with old method : 0.042885541915893555 time for calcul the mask position with numpy : 0.04350709915161133 nb_pixel_total : 620405 time to create 1 rle with new method : 0.37783002853393555 time for calcul the mask position with numpy : 0.03863096237182617 nb_pixel_total : 21855 time to create 1 rle with old method : 0.024596452713012695 time for calcul the mask position with numpy : 0.042238712310791016 nb_pixel_total : 613736 time to create 1 rle with new method : 0.37508201599121094 time for calcul the mask position with numpy : 0.03483104705810547 nb_pixel_total : 38503 time to create 1 rle with old method : 0.04305696487426758 time for calcul the mask position with numpy : 0.03787374496459961 nb_pixel_total : 279524 time to create 1 rle with new method : 0.35597681999206543 time for calcul the mask position with numpy : 0.03447365760803223 nb_pixel_total : 1281 time to create 1 rle with old method : 0.0015418529510498047 time for calcul the mask position with numpy : 0.03364253044128418 nb_pixel_total : 6682 time to create 1 rle with old method : 0.00716853141784668 time for calcul the mask position with numpy : 0.0335848331451416 nb_pixel_total : 42739 time to create 1 rle with old method : 0.04515838623046875 time for calcul the mask position with numpy : 0.034361839294433594 nb_pixel_total : 93813 time to create 1 rle with old method : 0.11732625961303711 time for calcul the mask position with numpy : 0.026741743087768555 nb_pixel_total : 6085 time to create 1 rle with old method : 0.007118701934814453 create new chi : 4.10589075088501 time to delete rle : 0.0017511844635009766 batch 1 Loaded 21 chid ids of type : 3726 Number RLEs to save : 20579 TO DO : save crop sub photo not yet done ! save time : 1.173440933227539 nb_obj : 10 nb_hashtags : 6 time to prepare the origin masks : 9.54875111579895 time for calcul the mask position with numpy : 0.3751955032348633 nb_pixel_total : 6540795 time to create 1 rle with new method : 0.636709451675415 time for calcul the mask position with numpy : 0.038095712661743164 nb_pixel_total : 19414 time to create 1 rle with old method : 0.02167987823486328 time for calcul the mask position with numpy : 0.03626227378845215 nb_pixel_total : 72547 time to create 1 rle with old method : 0.08275675773620605 time for calcul the mask position with numpy : 0.03594803810119629 nb_pixel_total : 12900 time to create 1 rle with old method : 0.014863014221191406 time for calcul the mask position with numpy : 0.034273624420166016 nb_pixel_total : 1908 time to create 1 rle with old method : 0.0020732879638671875 time for calcul the mask position with numpy : 0.03520631790161133 nb_pixel_total : 45920 time to create 1 rle with old method : 0.0480349063873291 time for calcul the mask position with numpy : 0.03721451759338379 nb_pixel_total : 187135 time to create 1 rle with new method : 0.8041703701019287 time for calcul the mask position with numpy : 0.03377509117126465 nb_pixel_total : 28794 time to create 1 rle with old method : 0.03044915199279785 time for calcul the mask position with numpy : 0.03319096565246582 nb_pixel_total : 3081 time to create 1 rle with old method : 0.0037784576416015625 time for calcul the mask position with numpy : 0.037966251373291016 nb_pixel_total : 90144 time to create 1 rle with old method : 0.09868836402893066 time for calcul the mask position with numpy : 0.033432960510253906 nb_pixel_total : 47602 time to create 1 rle with old method : 0.04969143867492676 create new chi : 2.592759370803833 time to delete rle : 0.0010075569152832031 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 7644 TO DO : save crop sub photo not yet done ! save time : 0.44222164154052734 nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 8.767102241516113 time for calcul the mask position with numpy : 0.4379096031188965 nb_pixel_total : 6211089 time to create 1 rle with new method : 0.6816713809967041 time for calcul the mask position with numpy : 0.03779745101928711 nb_pixel_total : 22268 time to create 1 rle with old method : 0.02559494972229004 time for calcul the mask position with numpy : 0.037383317947387695 nb_pixel_total : 31884 time to create 1 rle with old method : 0.03692984580993652 time for calcul the mask position with numpy : 0.044159650802612305 nb_pixel_total : 285679 time to create 1 rle with new method : 0.622039794921875 time for calcul the mask position with numpy : 0.03476858139038086 nb_pixel_total : 80183 time to create 1 rle with old method : 0.08768296241760254 time for calcul the mask position with numpy : 0.03736066818237305 nb_pixel_total : 12375 time to create 1 rle with old method : 0.013859033584594727 time for calcul the mask position with numpy : 0.03387188911437988 nb_pixel_total : 11768 time to create 1 rle with old method : 0.012978553771972656 time for calcul the mask position with numpy : 0.040430307388305664 nb_pixel_total : 62358 time to create 1 rle with old method : 0.06448912620544434 time for calcul the mask position with numpy : 0.03443551063537598 nb_pixel_total : 252832 time to create 1 rle with new method : 0.9783275127410889 time for calcul the mask position with numpy : 0.039394378662109375 nb_pixel_total : 5896 time to create 1 rle with old method : 0.006812334060668945 time for calcul the mask position with numpy : 0.036214590072631836 nb_pixel_total : 51635 time to create 1 rle with old method : 0.056386470794677734 time for calcul the mask position with numpy : 0.03517341613769531 nb_pixel_total : 22273 time to create 1 rle with old method : 0.02582240104675293 create new chi : 3.5529820919036865 time to delete rle : 0.0011572837829589844 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 9641 TO DO : save crop sub photo not yet done ! save time : 0.5483465194702148 nb_obj : 13 nb_hashtags : 4 time to prepare the origin masks : 7.212843179702759 time for calcul the mask position with numpy : 0.36949825286865234 nb_pixel_total : 6455295 time to create 1 rle with new method : 0.6860828399658203 time for calcul the mask position with numpy : 0.027853727340698242 nb_pixel_total : 195614 time to create 1 rle with new method : 0.5857205390930176 time for calcul the mask position with numpy : 0.022039175033569336 nb_pixel_total : 16392 time to create 1 rle with old method : 0.017571449279785156 time for calcul the mask position with numpy : 0.02263331413269043 nb_pixel_total : 25871 time to create 1 rle with old method : 0.02730560302734375 time for calcul the mask position with numpy : 0.020807743072509766 nb_pixel_total : 87913 time to create 1 rle with old method : 0.09214973449707031 time for calcul the mask position with numpy : 0.021822452545166016 nb_pixel_total : 136678 time to create 1 rle with old method : 0.14516782760620117 time for calcul the mask position with numpy : 0.02052021026611328 nb_pixel_total : 2486 time to create 1 rle with old method : 0.0027544498443603516 time for calcul the mask position with numpy : 0.02084493637084961 nb_pixel_total : 24025 time to create 1 rle with old method : 0.02600693702697754 time for calcul the mask position with numpy : 0.022885560989379883 nb_pixel_total : 11032 time to create 1 rle with old method : 0.012154340744018555 time for calcul the mask position with numpy : 0.025078535079956055 nb_pixel_total : 2561 time to create 1 rle with old method : 0.003099679946899414 time for calcul the mask position with numpy : 0.02682662010192871 nb_pixel_total : 22772 time to create 1 rle with old method : 0.02520895004272461 time for calcul the mask position with numpy : 0.024595260620117188 nb_pixel_total : 39569 time to create 1 rle with old method : 0.047774553298950195 time for calcul the mask position with numpy : 0.02476048469543457 nb_pixel_total : 6369 time to create 1 rle with old method : 0.00745844841003418 time for calcul the mask position with numpy : 0.02589893341064453 nb_pixel_total : 23663 time to create 1 rle with old method : 0.028316974639892578 create new chi : 2.4481382369995117 time to delete rle : 0.0009999275207519531 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 8667 TO DO : save crop sub photo not yet done ! save time : 0.49867868423461914 nb_obj : 4 nb_hashtags : 4 time to prepare the origin masks : 3.251091480255127 time for calcul the mask position with numpy : 0.058457136154174805 nb_pixel_total : 3166185 time to create 1 rle with new method : 0.41729068756103516 time for calcul the mask position with numpy : 0.02549147605895996 nb_pixel_total : 270405 time to create 1 rle with new method : 0.4351668357849121 time for calcul the mask position with numpy : 0.020238637924194336 nb_pixel_total : 29933 time to create 1 rle with old method : 0.03157472610473633 time for calcul the mask position with numpy : 0.22574305534362793 nb_pixel_total : 3428624 time to create 1 rle with new method : 0.6725349426269531 time for calcul the mask position with numpy : 0.033709049224853516 nb_pixel_total : 155093 time to create 1 rle with new method : 0.45285630226135254 create new chi : 2.489380359649658 time to delete rle : 0.0007154941558837891 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 8664 TO DO : save crop sub photo not yet done ! save time : 0.49520158767700195 nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 6.62596321105957 time for calcul the mask position with numpy : 0.045523643493652344 nb_pixel_total : 2712940 time to create 1 rle with new method : 0.6530110836029053 time for calcul the mask position with numpy : 0.020951032638549805 nb_pixel_total : 43965 time to create 1 rle with old method : 0.047521352767944336 time for calcul the mask position with numpy : 0.030748605728149414 nb_pixel_total : 1139179 time to create 1 rle with new method : 0.6627089977264404 time for calcul the mask position with numpy : 0.021854639053344727 nb_pixel_total : 243459 time to create 1 rle with new method : 0.5539271831512451 time for calcul the mask position with numpy : 0.021278858184814453 nb_pixel_total : 93568 time to create 1 rle with old method : 0.10228610038757324 time for calcul the mask position with numpy : 0.02001810073852539 nb_pixel_total : 4405 time to create 1 rle with old method : 0.004623889923095703 time for calcul the mask position with numpy : 0.022586345672607422 nb_pixel_total : 293447 time to create 1 rle with new method : 0.5495357513427734 time for calcul the mask position with numpy : 0.03995990753173828 nb_pixel_total : 2512055 time to create 1 rle with new method : 0.5857384204864502 time for calcul the mask position with numpy : 0.02108931541442871 nb_pixel_total : 4260 time to create 1 rle with old method : 0.0045969486236572266 time for calcul the mask position with numpy : 0.020884990692138672 nb_pixel_total : 2962 time to create 1 rle with old method : 0.0032901763916015625 create new chi : 3.556694269180298 time to delete rle : 0.0012135505676269531 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 13132 TO DO : save crop sub photo not yet done ! save time : 0.7151329517364502 nb_obj : 23 nb_hashtags : 7 time to prepare the origin masks : 11.883640050888062 time for calcul the mask position with numpy : 0.4762284755706787 nb_pixel_total : 6349617 time to create 1 rle with new method : 0.8611273765563965 time for calcul the mask position with numpy : 0.020710229873657227 nb_pixel_total : 45732 time to create 1 rle with old method : 0.05063509941101074 time for calcul the mask position with numpy : 0.01975703239440918 nb_pixel_total : 15397 time to create 1 rle with old method : 0.015921831130981445 time for calcul the mask position with numpy : 0.020313262939453125 nb_pixel_total : 106910 time to create 1 rle with old method : 0.10844659805297852 time for calcul the mask position with numpy : 0.02093648910522461 nb_pixel_total : 38206 time to create 1 rle with old method : 0.03856992721557617 time for calcul the mask position with numpy : 0.02086186408996582 nb_pixel_total : 40003 time to create 1 rle with old method : 0.04306840896606445 time for calcul the mask position with numpy : 0.02000260353088379 nb_pixel_total : 23219 time to create 1 rle with old method : 0.023859500885009766 time for calcul the mask position with numpy : 0.020473241806030273 nb_pixel_total : 2584 time to create 1 rle with old method : 0.002797365188598633 time for calcul the mask position with numpy : 0.02091813087463379 nb_pixel_total : 38375 time to create 1 rle with old method : 0.03986930847167969 time for calcul the mask position with numpy : 0.020427703857421875 nb_pixel_total : 2335 time to create 1 rle with old method : 0.0026018619537353516 time for calcul the mask position with numpy : 0.021057844161987305 nb_pixel_total : 39984 time to create 1 rle with old method : 0.04250526428222656 time for calcul the mask position with numpy : 0.02128124237060547 nb_pixel_total : 2418 time to create 1 rle with old method : 0.0025932788848876953 time for calcul the mask position with numpy : 0.020843029022216797 nb_pixel_total : 2679 time to create 1 rle with old method : 0.0029153823852539062 time for calcul the mask position with numpy : 0.020452499389648438 nb_pixel_total : 44854 time to create 1 rle with old method : 0.04706597328186035 time for calcul the mask position with numpy : 0.020737886428833008 nb_pixel_total : 6280 time to create 1 rle with old method : 0.007393598556518555 time for calcul the mask position with numpy : 0.021488189697265625 nb_pixel_total : 133597 time to create 1 rle with old method : 0.14265727996826172 time for calcul the mask position with numpy : 0.02054309844970703 nb_pixel_total : 67044 time to create 1 rle with old method : 0.07027316093444824 time for calcul the mask position with numpy : 0.03289031982421875 nb_pixel_total : 5307 time to create 1 rle with old method : 0.0054705142974853516 time for calcul the mask position with numpy : 0.03284335136413574 nb_pixel_total : 10811 time to create 1 rle with old method : 0.011462926864624023 time for calcul the mask position with numpy : 0.03322887420654297 nb_pixel_total : 19039 time to create 1 rle with old method : 0.019790172576904297 time for calcul the mask position with numpy : 0.03262639045715332 nb_pixel_total : 12893 time to create 1 rle with old method : 0.013004302978515625 time for calcul the mask position with numpy : 0.031156539916992188 nb_pixel_total : 27467 time to create 1 rle with old method : 0.028362512588500977 time for calcul the mask position with numpy : 0.019586801528930664 nb_pixel_total : 13916 time to create 1 rle with old method : 0.01433706283569336 time for calcul the mask position with numpy : 0.020214080810546875 nb_pixel_total : 1573 time to create 1 rle with old method : 0.001638174057006836 create new chi : 2.6491928100585938 time to delete rle : 0.0010225772857666016 batch 1 Loaded 24 chid ids of type : 3726 Number RLEs to save : 12611 TO DO : save crop sub photo not yet done ! save time : 0.6982808113098145 nb_obj : 22 nb_hashtags : 4 time to prepare the origin masks : 13.307301044464111 time for calcul the mask position with numpy : 0.5611703395843506 nb_pixel_total : 5842873 time to create 1 rle with new method : 0.7765970230102539 time for calcul the mask position with numpy : 0.03239750862121582 nb_pixel_total : 422673 time to create 1 rle with new method : 0.5561003684997559 time for calcul the mask position with numpy : 0.023522138595581055 nb_pixel_total : 15392 time to create 1 rle with old method : 0.016509056091308594 time for calcul the mask position with numpy : 0.019620418548583984 nb_pixel_total : 1071 time to create 1 rle with old method : 0.0013380050659179688 time for calcul the mask position with numpy : 0.019838809967041016 nb_pixel_total : 33625 time to create 1 rle with old method : 0.034743547439575195 time for calcul the mask position with numpy : 0.020104169845581055 nb_pixel_total : 18196 time to create 1 rle with old method : 0.018937349319458008 time for calcul the mask position with numpy : 0.020390033721923828 nb_pixel_total : 35348 time to create 1 rle with old method : 0.037489891052246094 time for calcul the mask position with numpy : 0.020937681198120117 nb_pixel_total : 10096 time to create 1 rle with old method : 0.010480403900146484 time for calcul the mask position with numpy : 0.020420312881469727 nb_pixel_total : 2626 time to create 1 rle with old method : 0.0029544830322265625 time for calcul the mask position with numpy : 0.020040273666381836 nb_pixel_total : 1907 time to create 1 rle with old method : 0.00197601318359375 time for calcul the mask position with numpy : 0.021778345108032227 nb_pixel_total : 117595 time to create 1 rle with old method : 0.12978887557983398 time for calcul the mask position with numpy : 0.024128437042236328 nb_pixel_total : 59627 time to create 1 rle with old method : 0.07902717590332031 time for calcul the mask position with numpy : 0.020736217498779297 nb_pixel_total : 8451 time to create 1 rle with old method : 0.009107351303100586 time for calcul the mask position with numpy : 0.01979207992553711 nb_pixel_total : 3151 time to create 1 rle with old method : 0.0033559799194335938 time for calcul the mask position with numpy : 0.01992058753967285 nb_pixel_total : 28101 time to create 1 rle with old method : 0.02808403968811035 time for calcul the mask position with numpy : 0.020780563354492188 nb_pixel_total : 3195 time to create 1 rle with old method : 0.003424406051635742 time for calcul the mask position with numpy : 0.022049903869628906 nb_pixel_total : 156538 time to create 1 rle with new method : 0.5355229377746582 time for calcul the mask position with numpy : 0.020842552185058594 nb_pixel_total : 113021 time to create 1 rle with old method : 0.11663317680358887 time for calcul the mask position with numpy : 0.02077031135559082 nb_pixel_total : 2942 time to create 1 rle with old method : 0.0033638477325439453 time for calcul the mask position with numpy : 0.021076440811157227 nb_pixel_total : 8339 time to create 1 rle with old method : 0.008863449096679688 time for calcul the mask position with numpy : 0.021247386932373047 nb_pixel_total : 71555 time to create 1 rle with old method : 0.0788874626159668 time for calcul the mask position with numpy : 0.023823261260986328 nb_pixel_total : 5587 time to create 1 rle with old method : 0.0059719085693359375 time for calcul the mask position with numpy : 0.02106618881225586 nb_pixel_total : 88331 time to create 1 rle with old method : 0.09143185615539551 create new chi : 3.6747379302978516 time to delete rle : 0.0010933876037597656 batch 1 Loaded 23 chid ids of type : 3726 Number RLEs to save : 13208 TO DO : save crop sub photo not yet done ! save time : 0.7196035385131836 map_output_result : {1333623930: (0.0, 'Should be the crop_list due to order', 0.0), 1333623926: (0.0, 'Should be the crop_list due to order', 0.0), 1333623921: (0.0, 'Should be the crop_list due to order', 0.0), 1333623909: (0.0, 'Should be the crop_list due to order', 0.0), 1333623895: (0.0, 'Should be the crop_list due to order', 0.0), 1333623892: (0.0, 'Should be the crop_list due to order', 0.0), 1333305350: (0.0, 'Should be the crop_list due to order', 0.0), 1333305167: (0.0, 'Should be the crop_list due to order', 0.0), 1333304398: (0.0, 'Should be the crop_list due to order', 0.0), 1333304393: (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 [1333623930, 1333623926, 1333623921, 1333623909, 1333623895, 1333623892, 1333305350, 1333305167, 1333304398, 1333304393] Looping around the photos to save general results len do output : 10 /1333623930.Didn't retrieve data . /1333623926.Didn't retrieve data . /1333623921.Didn't retrieve data . /1333623909.Didn't retrieve data . /1333623895.Didn't retrieve data . /1333623892.Didn't retrieve data . /1333305350.Didn't retrieve data . /1333305167.Didn't retrieve data . /1333304398.Didn't retrieve data . /1333304393.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, '2539836') ('3459', '20176521', '1333623930', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623926', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623921', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623909', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623895', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623892', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333305350', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333305167', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333304398', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333304393', None, None, None, None, None, '2539836') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.10879230499267578 save_final save missing photos in datou_result : time spend for datou_step_exec : 121.500159740448 time spend to save output : 0.10924768447875977 total time spend for step 5 : 121.60940742492676 step6:crop_condition Mon Feb 3 12:39:05 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 140 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 ! 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/1738582747_2573811 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7801899909973145 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! About to upload 10 photos upload in portfolio : 4869462 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738582756_2573811 we have uploaded 10 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.644444704055786 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/1738582761_2573811 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.6821072101593018 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 4869462 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738582770_2573811 we have uploaded 7 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.0850911140441895 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738582776_2573811 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.4776363372802734 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738582778_2573811 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.8404707908630371 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 [1333623930, 1333623926, 1333623921, 1333623909, 1333623895, 1333623892, 1333305350, 1333305167, 1333304398, 1333304393] Looping around the photos to save general results len do output : 29 /1334173080Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173088Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173089Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173090Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173091Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173092Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173093Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173094Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173095Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173096Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173097Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173100Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173101Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173102Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173103Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173119Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173120Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173121Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173122Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173123Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173124Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173125Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173127Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173128Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173129Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173130Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173132Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173146Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334173147Didn'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, '2539836') ('3459', '20176521', '1333623930', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623926', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623921', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623909', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623895', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623892', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333305350', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333305167', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333304398', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333304393', None, None, None, None, None, '2539836') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 97 time used for this insertion : 0.04279828071594238 save_final save missing photos in datou_result : time spend for datou_step_exec : 34.565377712249756 time spend to save output : 0.04387545585632324 total time spend for step 6 : 34.60925316810608 step7:ventilate_hashtags_in_portfolio Mon Feb 3 12:39:40 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 : 20176521 get user id for portfolio 20176521 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`=20176521 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','mal_croppe','Teint_Dans_La_Masse','plastique','Carton_gris','Carton_brun','environnement','autre_refus','metal','papier','flou','kraft')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20176521 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','mal_croppe','Teint_Dans_La_Masse','plastique','Carton_gris','Carton_brun','environnement','autre_refus','metal','papier','flou','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`=20176521 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','mal_croppe','Teint_Dans_La_Masse','plastique','Carton_gris','Carton_brun','environnement','autre_refus','metal','papier','flou','kraft')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20176746,20176747,20176748,20176749,20176750,20176751,20176752,20176753,20176754,20176755,20176756,20176757?tags=cartonnette,mal_croppe,Teint_Dans_La_Masse,plastique,Carton_gris,Carton_brun,environnement,autre_refus,metal,papier,flou,kraft Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1333623930, 1333623926, 1333623921, 1333623909, 1333623895, 1333623892, 1333305350, 1333305167, 1333304398, 1333304393] Looping around the photos to save general results len do output : 1 /20176521. 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, '2539836') ('3459', '20176521', '1333623930', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623926', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623921', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623909', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623895', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623892', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333305350', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333305167', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333304398', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333304393', None, None, None, None, None, '2539836') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013844013214111328 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7211697101593018 time spend to save output : 0.01416778564453125 total time spend for step 7 : 1.735337495803833 step8:final Mon Feb 3 12:39: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 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 : {1333623930: ('0.11710340391431627',), 1333623926: ('0.11710340391431627',), 1333623921: ('0.11710340391431627',), 1333623909: ('0.11710340391431627',), 1333623895: ('0.11710340391431627',), 1333623892: ('0.11710340391431627',), 1333305350: ('0.11710340391431627',), 1333305167: ('0.11710340391431627',), 1333304398: ('0.11710340391431627',), 1333304393: ('0.11710340391431627',)} new output for save of step final : {1333623930: ('0.11710340391431627',), 1333623926: ('0.11710340391431627',), 1333623921: ('0.11710340391431627',), 1333623909: ('0.11710340391431627',), 1333623895: ('0.11710340391431627',), 1333623892: ('0.11710340391431627',), 1333305350: ('0.11710340391431627',), 1333305167: ('0.11710340391431627',), 1333304398: ('0.11710340391431627',), 1333304393: ('0.11710340391431627',)} [1333623930, 1333623926, 1333623921, 1333623909, 1333623895, 1333623892, 1333305350, 1333305167, 1333304398, 1333304393] Looping around the photos to save general results len do output : 10 /1333623930.Didn't retrieve data . /1333623926.Didn't retrieve data . /1333623921.Didn't retrieve data . /1333623909.Didn't retrieve data . /1333623895.Didn't retrieve data . /1333623892.Didn't retrieve data . /1333305350.Didn't retrieve data . /1333305167.Didn't retrieve data . /1333304398.Didn't retrieve data . /1333304393.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, '2539836') ('3459', '20176521', '1333623930', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623926', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623921', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623909', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623895', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623892', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333305350', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333305167', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333304398', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333304393', None, None, None, None, None, '2539836') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.029664039611816406 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.09477019309997559 time spend to save output : 0.03016209602355957 total time spend for step 8 : 0.12493228912353516 step9:velours_tree Mon Feb 3 12:39: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 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.04992270469665527 time spend to save output : 3.814697265625e-05 total time spend for step 9 : 0.04996085166931152 step10:send_mail_cod Mon Feb 3 12:39: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 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_P20176521_03-02-2025_12_39_42.pdf 20176746 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 .imagette201767461738582782 20176747 imagette201767471738582782 20176749 change filename to text .change filename to text .imagette201767491738582782 20176753 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 .imagette201767531738582782 20176754 imagette201767541738582783 20176756 imagette201767561738582783 20176757 imagette201767571738582783 20176748 change filename to text .imagette201767481738582783 20176750 change filename to text .change filename to text .change filename to text .change filename to text .imagette201767501738582783 20176751 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette201767511738582784 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20176521 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20176746,20176747,20176748,20176749,20176750,20176751,20176752,20176753,20176754,20176755,20176756,20176757?tags=cartonnette,mal_croppe,Teint_Dans_La_Masse,plastique,Carton_gris,Carton_brun,environnement,autre_refus,metal,papier,flou,kraft your option no_mail is active, we will not send the real mail to your client args[1333623930] : ('0.11710340391431627',) no score found for photo 1333623930 We are sending mail with results at report@fotonower.com args[1333623926] : ('0.11710340391431627',) no score found for photo 1333623926 We are sending mail with results at report@fotonower.com args[1333623921] : ('0.11710340391431627',) no score found for photo 1333623921 We are sending mail with results at report@fotonower.com args[1333623909] : ('0.11710340391431627',) no score found for photo 1333623909 We are sending mail with results at report@fotonower.com args[1333623895] : ('0.11710340391431627',) no score found for photo 1333623895 We are sending mail with results at report@fotonower.com args[1333623892] : ('0.11710340391431627',) no score found for photo 1333623892 We are sending mail with results at report@fotonower.com args[1333305350] : ('0.11710340391431627',) no score found for photo 1333305350 We are sending mail with results at report@fotonower.com args[1333305167] : ('0.11710340391431627',) We are sending mail with results at report@fotonower.com args[1333304398] : ('0.11710340391431627',) no score found for photo 1333304398 We are sending mail with results at report@fotonower.com args[1333304393] : ('0.11710340391431627',) no score found for photo 1333304393 We are sending mail with results at report@fotonower.com refus_total : 0.11710340391431627 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=20176521 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1333303674,1333304393,1333304398,1333623892,1333623895,1333623909,1333623921,1333623926,1333303760,1333305167,1333305350,1333623930) Found this number of photos: 12 begin to download photo : 1333303674 begin to download photo : 1333623892 begin to download photo : 1333623921 begin to download photo : 1333305167 download finish for photo 1333305167 begin to download photo : 1333305350 download finish for photo 1333623892 begin to download photo : 1333623895 download finish for photo 1333623921 begin to download photo : 1333623926 download finish for photo 1333305350 begin to download photo : 1333623930 download finish for photo 1333303674 begin to download photo : 1333304393 download finish for photo 1333623895 begin to download photo : 1333623909 download finish for photo 1333623926 begin to download photo : 1333303760 download finish for photo 1333623930 download finish for photo 1333623909 download finish for photo 1333304393 begin to download photo : 1333304398 download finish for photo 1333303760 download finish for photo 1333304398 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20176521_03-02-2025_12_39_42.pdf results_Auto_P20176521_03-02-2025_12_39_42.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20176521_03-02-2025_12_39_42.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','20176521','results_Auto_P20176521_03-02-2025_12_39_42.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20176521_03-02-2025_12_39_42.pdf','pdf','','0.8','0.11710340391431627') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1333623930, 1333623926, 1333623921, 1333623909, 1333623895, 1333623892, 1333305350, 1333305167, 1333304398, 1333304393] 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, '2539836') ('3459', '20176521', '1333623930', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623926', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623921', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623909', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623895', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623892', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333305350', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333305167', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333304398', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333304393', None, None, None, None, None, '2539836') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.01292276382446289 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.110430955886841 time spend to save output : 0.01315927505493164 total time spend for step 10 : 5.1235902309417725 step11:split_time_score Mon Feb 3 12:39:47 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'}] (('12', 12),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 31012025 20176521 Nombre de photos uploadées : 12 / 23040 (0%) 31012025 20176521 Nombre de photos taguées (types de déchets): 0 / 12 (0%) 31012025 20176521 Nombre de photos taguées (volume) : 0 / 12 (0%) elapsed_time : load_data_split_time_score 3.814697265625e-06 elapsed_time : order_list_meta_photo_and_scores 1.0251998901367188e-05 ???????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005893707275390625 elapsed_time : insert_dashboard_record_day_entry 0.02288341522216797 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.07948558805196004 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128150_01-02-2025_04_30_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128150 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`=20128150 AND mptpi.`type`=4207 To do Qualite : 0.04288956511275865 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128151_01-02-2025_03_54_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128151 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`=20128151 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128152 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176483 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176484 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176485 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176486 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176487 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176512 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176513 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176514 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176515 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176516 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176517 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176518 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176519 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176520 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20116177 order by id desc limit 1 Qualite : 0.11710340391431627 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20176521_03-02-2025_12_39_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176521 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`=20176521 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176522 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176523 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176524 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176525 order by id desc limit 1 Qualite : 0.08687190479353087 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135985_01-02-2025_06_07_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20135985 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`=20135985 AND mptpi.`type`=4207 To do Qualite : 0.11540364153479511 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135986_01-02-2025_07_01_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20135986 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 11512 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11521 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11520 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11516 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11516 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11519 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 11519 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11513 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11513 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11577 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11577 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11515 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11514 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11514 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11523 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 11515 doesn't seem to be define in the database( WARNING : type of input 3 of step 11514 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11512 doesn't seem to be define in the database( WARNING : type of input 2 of step 11516 doesn't seem to be define in the database( WARNING : output 1 of step 11512 have datatype=2 whereas input 1 of step 11519 have datatype=7 WARNING : type of output 2 of step 11519 doesn't seem to be define in the database( WARNING : type of input 1 of step 11513 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11515 have datatype=10 whereas input 3 of step 11522 have datatype=6 WARNING : type of input 2 of step 11577 doesn't seem to be define in the database( WARNING : output 1 of step 11513 have datatype=7 whereas input 2 of step 11577 have datatype=None WARNING : type of output 3 of step 11577 doesn't seem to be define in the database( WARNING : type of input 1 of step 11515 doesn't seem to be define in the database( WARNING : output 0 of step 11515 have datatype=10 whereas input 0 of step 11583 have datatype=18 WARNING : type of input 5 of step 11522 doesn't seem to be define in the database( WARNING : output 0 of step 11583 have datatype=11 whereas input 5 of step 11522 have datatype=None WARNING : type of output 1 of step 11521 doesn't seem to be define in the database( WARNING : type of input 3 of step 11516 doesn't seem to be define in the database( WARNING : type of output 1 of step 11520 doesn't seem to be define in the database( WARNING : type of input 3 of step 11516 doesn't seem to be define in the database( WARNING : output 0 of step 11519 have datatype=1 whereas input 0 of step 11513 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`=20135986 AND mptpi.`type`=4203 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135988_01-02-2025_06_46_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20135988 order by id desc limit 1 Qualite : 0.22578661033761485 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20135989 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20135989 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135990_01-02-2025_05_51_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20135990 order by id desc limit 1 Qualite : 0.20874959339445653 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128161_01-02-2025_01_24_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128161 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20128161 AND mptpi.`type`=3594 To do Qualite : 0.280106560658458 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128162_01-02-2025_04_44_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128162 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`=20128162 AND mptpi.`type`=4200 To do Qualite : 0.198585640541933 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128894_01-02-2025_07_08_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128894 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`=20128894 AND mptpi.`type`=3327 To do Qualite : 0.08584882097122022 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128895_01-02-2025_04_15_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128895 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`=20128895 AND mptpi.`type`=4207 To do Qualite : 0.021879504220965417 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128165_01-02-2025_01_28_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128165 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`=20128165 AND mptpi.`type`=4207 To do Qualite : 0.04651606487101653 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128166_01-02-2025_01_54_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128166 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`=20128166 AND mptpi.`type`=4207 To do Qualite : 0.03317004296775434 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128167_01-02-2025_01_48_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128167 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`=20128167 AND mptpi.`type`=4207 To do Qualite : 0.04314198433668906 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128168_01-02-2025_01_31_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128168 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`=20128168 AND mptpi.`type`=4207 To do Qualite : 0.07726311033869263 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128169_01-02-2025_01_28_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128169 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`=20128169 AND mptpi.`type`=3726 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20128896_01-02-2025_06_58_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20128896 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'31012025': {'nb_upload': 12, '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 [1333623930, 1333623926, 1333623921, 1333623909, 1333623895, 1333623892, 1333305350, 1333305167, 1333304398, 1333304393] Looping around the photos to save general results len do output : 1 /20176521Didn'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, '2539836') ('3459', '20176521', '1333623930', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623926', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623921', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623909', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623895', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333623892', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333305350', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333305167', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333304398', None, None, None, None, None, '2539836') ('3459', None, None, None, None, None, None, None, '2539836') ('3459', '20176521', '1333304393', None, None, None, None, None, '2539836') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013063669204711914 save_final save missing photos in datou_result : time spend for datou_step_exec : 17.931318044662476 time spend to save output : 0.013335466384887695 total time spend for step 11 : 17.944653511047363 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 150.49user 119.96system 5:40.94elapsed 79%CPU (0avgtext+0avgdata 4159344maxresident)k 719688inputs+140112outputs (73major+12743834minor)pagefaults 0swaps