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 : 496777 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 : 30>10 please execute split_portfolio.py -i 20924412 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2623424'] with mtr_portfolio_ids : ['20924412'] and first list_photo_ids : [] new path : /proc/496777/ 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.2516639232635498 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Fri Feb 28 11:38:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5525 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-28 11:38:32.942705: 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-28 11:38:32.967269: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-28 11:38:32.969295: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f6e44000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-28 11:38:32.969338: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-28 11:38:32.973674: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-28 11:38:33.216277: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x327a37a0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-28 11:38:33.216323: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-28 11:38:33.217240: 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-28 11:38:33.217553: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-28 11:38:33.219835: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-28 11:38:33.221905: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-28 11:38:33.222272: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-28 11:38:33.224774: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-28 11:38:33.226001: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-28 11:38:33.230929: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-28 11:38:33.232330: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-28 11:38:33.232406: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-28 11:38:33.233161: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-28 11:38:33.233179: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-28 11:38:33.233190: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-28 11:38:33.234484: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5051 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-28 11:38:33.536091: 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-28 11:38:33.536219: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-28 11:38:33.536256: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-28 11:38:33.536281: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-28 11:38:33.536302: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-28 11:38:33.536321: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-28 11:38:33.536340: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-28 11:38:33.536359: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-28 11:38:33.537662: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-28 11:38:33.538884: 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-28 11:38:33.538953: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-28 11:38:33.538973: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-28 11:38:33.538990: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-28 11:38:33.539044: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-28 11:38:33.539063: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-28 11:38:33.539081: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-28 11:38:33.539098: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-28 11:38:33.540292: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-28 11:38:33.540328: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-28 11:38:33.540339: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-28 11:38:33.540349: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-28 11:38:33.541589: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5051 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-28 11:38:41.441960: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-28 11:38:41.635746: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 140.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 Detection mask done ! Trying to reset tf kernel 497359 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 236 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 : 5525 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.0003159046173095703 nb_pixel_total : 8742 time to create 1 rle with old method : 0.009463071823120117 length of segment : 208 time for calcul the mask position with numpy : 0.0178682804107666 nb_pixel_total : 828975 time to create 1 rle with new method : 0.08099031448364258 length of segment : 1012 time for calcul the mask position with numpy : 0.004071474075317383 nb_pixel_total : 219001 time to create 1 rle with new method : 0.009714603424072266 length of segment : 674 time for calcul the mask position with numpy : 0.0007283687591552734 nb_pixel_total : 50223 time to create 1 rle with old method : 0.05676150321960449 length of segment : 374 time for calcul the mask position with numpy : 9.942054748535156e-05 nb_pixel_total : 3014 time to create 1 rle with old method : 0.003403902053833008 length of segment : 79 time for calcul the mask position with numpy : 0.0008113384246826172 nb_pixel_total : 63727 time to create 1 rle with old method : 0.07782316207885742 length of segment : 190 time for calcul the mask position with numpy : 0.0008759498596191406 nb_pixel_total : 61621 time to create 1 rle with old method : 0.08500361442565918 length of segment : 188 time for calcul the mask position with numpy : 0.005289554595947266 nb_pixel_total : 304530 time to create 1 rle with new method : 0.013176441192626953 length of segment : 895 time for calcul the mask position with numpy : 0.0003147125244140625 nb_pixel_total : 8899 time to create 1 rle with old method : 0.010373353958129883 length of segment : 206 time for calcul the mask position with numpy : 0.0009417533874511719 nb_pixel_total : 55447 time to create 1 rle with old method : 0.06041073799133301 length of segment : 386 time for calcul the mask position with numpy : 0.0002410411834716797 nb_pixel_total : 11262 time to create 1 rle with old method : 0.012605428695678711 length of segment : 251 time for calcul the mask position with numpy : 0.0042171478271484375 nb_pixel_total : 284664 time to create 1 rle with new method : 0.012977361679077148 length of segment : 1163 time for calcul the mask position with numpy : 0.0003540515899658203 nb_pixel_total : 9758 time to create 1 rle with old method : 0.010629653930664062 length of segment : 167 time for calcul the mask position with numpy : 0.0009684562683105469 nb_pixel_total : 52661 time to create 1 rle with old method : 0.05848336219787598 length of segment : 278 time for calcul the mask position with numpy : 0.0008845329284667969 nb_pixel_total : 74178 time to create 1 rle with old method : 0.08238601684570312 length of segment : 337 time for calcul the mask position with numpy : 0.0007152557373046875 nb_pixel_total : 19215 time to create 1 rle with old method : 0.022404193878173828 length of segment : 239 time for calcul the mask position with numpy : 0.0007696151733398438 nb_pixel_total : 53559 time to create 1 rle with old method : 0.06507539749145508 length of segment : 273 time for calcul the mask position with numpy : 0.010279655456542969 nb_pixel_total : 371955 time to create 1 rle with new method : 0.024171829223632812 length of segment : 2123 time for calcul the mask position with numpy : 0.0009789466857910156 nb_pixel_total : 43242 time to create 1 rle with old method : 0.04819488525390625 length of segment : 359 time for calcul the mask position with numpy : 0.0005078315734863281 nb_pixel_total : 24450 time to create 1 rle with old method : 0.02614760398864746 length of segment : 221 time for calcul the mask position with numpy : 0.003649473190307617 nb_pixel_total : 272742 time to create 1 rle with new method : 0.008185863494873047 length of segment : 637 time for calcul the mask position with numpy : 0.00023627281188964844 nb_pixel_total : 6545 time to create 1 rle with old method : 0.007269382476806641 length of segment : 87 time for calcul the mask position with numpy : 0.0035440921783447266 nb_pixel_total : 320338 time to create 1 rle with new method : 0.007833242416381836 length of segment : 587 time for calcul the mask position with numpy : 0.0007367134094238281 nb_pixel_total : 36779 time to create 1 rle with old method : 0.03898906707763672 length of segment : 306 time for calcul the mask position with numpy : 0.0007977485656738281 nb_pixel_total : 30349 time to create 1 rle with old method : 0.03298807144165039 length of segment : 313 time for calcul the mask position with numpy : 0.00041961669921875 nb_pixel_total : 13853 time to create 1 rle with old method : 0.015391349792480469 length of segment : 130 time for calcul the mask position with numpy : 0.0006618499755859375 nb_pixel_total : 28716 time to create 1 rle with old method : 0.03153681755065918 length of segment : 232 time for calcul the mask position with numpy : 0.009889841079711914 nb_pixel_total : 462969 time to create 1 rle with new method : 0.02291584014892578 length of segment : 1170 time for calcul the mask position with numpy : 0.00016832351684570312 nb_pixel_total : 3941 time to create 1 rle with old method : 0.006368875503540039 length of segment : 84 time for calcul the mask position with numpy : 0.0007727146148681641 nb_pixel_total : 40989 time to create 1 rle with old method : 0.05320882797241211 length of segment : 374 time for calcul the mask position with numpy : 0.00986790657043457 nb_pixel_total : 558629 time to create 1 rle with new method : 0.020405292510986328 length of segment : 2192 time for calcul the mask position with numpy : 0.00010800361633300781 nb_pixel_total : 3286 time to create 1 rle with old method : 0.00390934944152832 length of segment : 59 time for calcul the mask position with numpy : 0.0010428428649902344 nb_pixel_total : 61896 time to create 1 rle with old method : 0.07261395454406738 length of segment : 815 time for calcul the mask position with numpy : 0.008233070373535156 nb_pixel_total : 506105 time to create 1 rle with new method : 0.02063751220703125 length of segment : 1708 time for calcul the mask position with numpy : 0.00012087821960449219 nb_pixel_total : 718 time to create 1 rle with old method : 0.0009267330169677734 length of segment : 39 time for calcul the mask position with numpy : 0.0003857612609863281 nb_pixel_total : 7705 time to create 1 rle with old method : 0.00931096076965332 length of segment : 175 time for calcul the mask position with numpy : 0.0017247200012207031 nb_pixel_total : 80589 time to create 1 rle with old method : 0.08934688568115234 length of segment : 229 time for calcul the mask position with numpy : 0.0030145645141601562 nb_pixel_total : 113400 time to create 1 rle with old method : 0.1234281063079834 length of segment : 744 time for calcul the mask position with numpy : 0.00910329818725586 nb_pixel_total : 404914 time to create 1 rle with new method : 0.01601123809814453 length of segment : 1097 time for calcul the mask position with numpy : 0.0004839897155761719 nb_pixel_total : 20422 time to create 1 rle with old method : 0.02285146713256836 length of segment : 217 time for calcul the mask position with numpy : 0.00024080276489257812 nb_pixel_total : 13013 time to create 1 rle with old method : 0.014786243438720703 length of segment : 167 time for calcul the mask position with numpy : 0.0005235671997070312 nb_pixel_total : 29133 time to create 1 rle with old method : 0.03351998329162598 length of segment : 331 time for calcul the mask position with numpy : 0.0005288124084472656 nb_pixel_total : 32245 time to create 1 rle with old method : 0.03650093078613281 length of segment : 344 time for calcul the mask position with numpy : 0.001127481460571289 nb_pixel_total : 12977 time to create 1 rle with old method : 0.016063928604125977 length of segment : 279 time for calcul the mask position with numpy : 0.004680156707763672 nb_pixel_total : 372235 time to create 1 rle with new method : 0.010784149169921875 length of segment : 1085 time for calcul the mask position with numpy : 0.0010790824890136719 nb_pixel_total : 14827 time to create 1 rle with old method : 0.02356863021850586 length of segment : 263 time for calcul the mask position with numpy : 0.0004570484161376953 nb_pixel_total : 20403 time to create 1 rle with old method : 0.02358388900756836 length of segment : 106 time for calcul the mask position with numpy : 9.250640869140625e-05 nb_pixel_total : 1104 time to create 1 rle with old method : 0.0013549327850341797 length of segment : 49 time for calcul the mask position with numpy : 0.016969680786132812 nb_pixel_total : 792046 time to create 1 rle with new method : 0.03233933448791504 length of segment : 1372 time for calcul the mask position with numpy : 0.00013256072998046875 nb_pixel_total : 4708 time to create 1 rle with old method : 0.005396366119384766 length of segment : 73 time for calcul the mask position with numpy : 5.173683166503906e-05 nb_pixel_total : 1394 time to create 1 rle with old method : 0.0017375946044921875 length of segment : 42 time for calcul the mask position with numpy : 0.0001785755157470703 nb_pixel_total : 9957 time to create 1 rle with old method : 0.012537956237792969 length of segment : 69 time for calcul the mask position with numpy : 0.004239320755004883 nb_pixel_total : 254485 time to create 1 rle with new method : 0.006511688232421875 length of segment : 935 time for calcul the mask position with numpy : 0.0009284019470214844 nb_pixel_total : 46225 time to create 1 rle with old method : 0.053459882736206055 length of segment : 670 time for calcul the mask position with numpy : 0.00036406517028808594 nb_pixel_total : 16742 time to create 1 rle with old method : 0.019624710083007812 length of segment : 169 time for calcul the mask position with numpy : 0.0007560253143310547 nb_pixel_total : 53316 time to create 1 rle with old method : 0.05811166763305664 length of segment : 186 time for calcul the mask position with numpy : 0.013116121292114258 nb_pixel_total : 785180 time to create 1 rle with new method : 0.020708322525024414 length of segment : 1395 time for calcul the mask position with numpy : 0.003688335418701172 nb_pixel_total : 303655 time to create 1 rle with new method : 0.008882284164428711 length of segment : 917 time for calcul the mask position with numpy : 0.0015325546264648438 nb_pixel_total : 112085 time to create 1 rle with old method : 0.12614130973815918 length of segment : 438 time for calcul the mask position with numpy : 0.00040984153747558594 nb_pixel_total : 13558 time to create 1 rle with old method : 0.01566171646118164 length of segment : 151 time for calcul the mask position with numpy : 0.00042891502380371094 nb_pixel_total : 14441 time to create 1 rle with old method : 0.01712203025817871 length of segment : 108 time for calcul the mask position with numpy : 0.0004582405090332031 nb_pixel_total : 13021 time to create 1 rle with old method : 0.01538228988647461 length of segment : 168 time for calcul the mask position with numpy : 0.0007395744323730469 nb_pixel_total : 44829 time to create 1 rle with old method : 0.05171561241149902 length of segment : 226 time for calcul the mask position with numpy : 0.001132965087890625 nb_pixel_total : 57020 time to create 1 rle with old method : 0.0660085678100586 length of segment : 226 time for calcul the mask position with numpy : 0.00949239730834961 nb_pixel_total : 592456 time to create 1 rle with new method : 0.01757526397705078 length of segment : 1350 time for calcul the mask position with numpy : 0.00032711029052734375 nb_pixel_total : 19616 time to create 1 rle with old method : 0.023055076599121094 length of segment : 143 time for calcul the mask position with numpy : 0.00015974044799804688 nb_pixel_total : 4480 time to create 1 rle with old method : 0.005451679229736328 length of segment : 54 time for calcul the mask position with numpy : 0.016433000564575195 nb_pixel_total : 1064307 time to create 1 rle with new method : 0.030630826950073242 length of segment : 2325 time for calcul the mask position with numpy : 0.0017499923706054688 nb_pixel_total : 140015 time to create 1 rle with old method : 0.1533803939819336 length of segment : 906 time for calcul the mask position with numpy : 0.0005254745483398438 nb_pixel_total : 34633 time to create 1 rle with old method : 0.038786888122558594 length of segment : 373 time for calcul the mask position with numpy : 7.390975952148438e-05 nb_pixel_total : 1797 time to create 1 rle with old method : 0.0022389888763427734 length of segment : 79 time for calcul the mask position with numpy : 0.003322601318359375 nb_pixel_total : 310847 time to create 1 rle with new method : 0.00799703598022461 length of segment : 904 time for calcul the mask position with numpy : 0.002115964889526367 nb_pixel_total : 153436 time to create 1 rle with new method : 0.0051822662353515625 length of segment : 644 time for calcul the mask position with numpy : 0.0003147125244140625 nb_pixel_total : 8587 time to create 1 rle with old method : 0.009344816207885742 length of segment : 152 time for calcul the mask position with numpy : 0.016881942749023438 nb_pixel_total : 1223942 time to create 1 rle with new method : 0.07360434532165527 length of segment : 1625 time for calcul the mask position with numpy : 0.0031194686889648438 nb_pixel_total : 120134 time to create 1 rle with old method : 0.1444721221923828 length of segment : 640 time for calcul the mask position with numpy : 0.00024390220642089844 nb_pixel_total : 12604 time to create 1 rle with old method : 0.014748096466064453 length of segment : 65 time for calcul the mask position with numpy : 0.0014853477478027344 nb_pixel_total : 76587 time to create 1 rle with old method : 0.08306646347045898 length of segment : 341 time for calcul the mask position with numpy : 0.003519773483276367 nb_pixel_total : 314189 time to create 1 rle with new method : 0.008446455001831055 length of segment : 966 time for calcul the mask position with numpy : 0.00021123886108398438 nb_pixel_total : 7838 time to create 1 rle with old method : 0.008935928344726562 length of segment : 145 time spent for convertir_results : 8.896474361419678 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 80 chid ids of type : 3663 Number RLEs to save : 41299 save missing photos in datou_result : time spend for datou_step_exec : 30.56055212020874 time spend to save output : 4.778921842575073 total time spend for step 1 : 35.33947396278381 step2:crop_condition Fri Feb 28 11: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 Loading chi in step crop with photo_hashtag_type : 3663 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 80 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 18 About to insert : list_path_to_insert length 18 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 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 ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! we have finished the crop for the class : 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1340123879, 1340123833, 1340123828, 1340123688, 1340123674, 1340123475, 1340123468, 1340123414, 1340123410, 1340123364] Looping around the photos to save general results len do output : 33 /-3689943115Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943114Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943112Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943125Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943132Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943131Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943136Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943138Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943137Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943156Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943151Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943155Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943149Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943153Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943158Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943165Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943164Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943167Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943141Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943152Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943121Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943117Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943128Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943134Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943133Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943157Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943177Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943140Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943146Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943143Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943171Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943191Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689943188Didn'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, '2623424') ('3459', None, '1340123879', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123833', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123828', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123688', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123674', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123475', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123468', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123414', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123410', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123364', None, None, None, None, None, '2623424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 109 time used for this insertion : 0.024402618408203125 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.152358293533325 time spend to save output : 0.025978565216064453 total time spend for step 2 : 11.17833685874939 step3:thcl Fri Feb 28 11:39:16 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.003742694854736328 time to convert the images to numpy array : 1.430511474609375e-06 time to import caffe and check if the image exist : 0.004517555236816406 time to convert the images to numpy array : 0.004715442657470703 time to import caffe and check if the image exist : 0.0065577030181884766 time to convert the images to numpy array : 0.012412071228027344 time to import caffe and check if the image exist : 0.007025957107543945 time to convert the images to numpy array : 0.014182090759277344 time to import caffe and check if the image exist : 0.00616908073425293 time to convert the images to numpy array : 0.04166603088378906 time to import caffe and check if the image exist : 0.004788875579833984 time to convert the images to numpy array : 0.06129288673400879 time to import caffe and check if the image exist : 0.0035429000854492188 time to convert the images to numpy array : 0.06480932235717773 time to import caffe and check if the image exist : 0.009514570236206055 time to convert the images to numpy array : 0.059627532958984375 time to import caffe and check if the image exist : 0.0075244903564453125 time to convert the images to numpy array : 0.11046099662780762 time to import caffe and check if the image exist : 0.0068857669830322266 time to convert the images to numpy array : 0.11817264556884766 total time to convert the images to numpy array : 0.3021206855773926 list photo_ids error: [] list photo_ids correct : [-3689943188, -3689943146, -3689943143, -3689943171, -3689943191, -3689943133, -3689943157, -3689943177, -3689943140, -3689943149, -3689943153, -3689943158, -3689943165, -3689943115, -3689943114, -3689943112, -3689943125, -3689943164, -3689943167, -3689943141, -3689943152, -3689943132, -3689943131, -3689943136, -3689943138, -3689943121, -3689943117, -3689943128, -3689943134, -3689943137, -3689943156, -3689943151, -3689943155] number of photos to traite : 33 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 thcls : [{'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'}] thcl {'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'} Update svm_hashtag_type_desc : 4999 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) To loadFromThcl() : net_4999 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5525 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_qualipapia_papier_refus_from_vlg_data_aug Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_qualipapia_papier_refus_from_vlg_data_aug model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel size_local : 44972172 size in s3 : 44972172 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 caffemodel already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt size_local : 17311 size in s3 : 17311 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:51 mean.npy already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/synset_words.txt size_local : 57 size in s3 : 57 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/caffe_cuda8_python3/python/:/home/admin/workarea/install/darknet/:/home/admin/workarea/git/Velours/python:/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python:/home/admin/mtr/.credentials:/home/admin/workarea/install/caffe/python:/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools/:/home/admin/workarea/git/fotonowerpip/:/home/admin/workarea/install/segment-anything:/home/admin//workarea/git/pyfvs/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt caffemodel_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5306 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.31719112396240234 time used to do the prediction : 0.13081812858581543 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 : 5304 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 : 5304 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.4032411575317383 time used to do the prediction : 0.0883638858795166 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 : 8.344650268554688e-06 save missing photos in datou_result : time spend for datou_step_exec : 8.210380792617798 time spend to save output : 0.00031256675720214844 total time spend for step 3 : 8.210693359375 step4:merge_mask_thcl_custom Fri Feb 28 11:39:25 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 80 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 [1340123879, 1340123833, 1340123828, 1340123688, 1340123674, 1340123475, 1340123468, 1340123414, 1340123410, 1340123364] Looping around the photos to save general results len do output : 10 /1340123879Didn't retrieve data .Didn't retrieve data . /1340123833Didn't retrieve data .Didn't retrieve data . /1340123828Didn't retrieve data .Didn't retrieve data . /1340123688Didn't retrieve data .Didn't retrieve data . /1340123674Didn't retrieve data .Didn't retrieve data . /1340123475Didn't retrieve data .Didn't retrieve data . /1340123468Didn't retrieve data .Didn't retrieve data . /1340123414Didn't retrieve data .Didn't retrieve data . /1340123410Didn't retrieve data .Didn't retrieve data . /1340123364Didn'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, '2623424') ('3459', None, '1340123879', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123833', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123828', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123688', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123674', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123475', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123468', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123414', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123410', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123364', None, None, None, None, None, '2623424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014845848083496094 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.058634042739868164 time spend to save output : 0.015372753143310547 total time spend for step 4 : 0.07400679588317871 step5:rle_unique_nms_with_priority Fri Feb 28 11:39:25 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 : 1.9886200428009033 time for calcul the mask position with numpy : 0.03199648857116699 nb_pixel_total : 862623 time to create 1 rle with new method : 0.0987539291381836 time for calcul the mask position with numpy : 0.007036447525024414 nb_pixel_total : 47877 time to create 1 rle with old method : 0.0533292293548584 time for calcul the mask position with numpy : 0.007567882537841797 nb_pixel_total : 888 time to create 1 rle with old method : 0.0012943744659423828 time for calcul the mask position with numpy : 0.007752656936645508 nb_pixel_total : 428 time to create 1 rle with old method : 0.0006902217864990234 time for calcul the mask position with numpy : 0.008023977279663086 nb_pixel_total : 39240 time to create 1 rle with old method : 0.043453216552734375 time for calcul the mask position with numpy : 0.006471872329711914 nb_pixel_total : 3009 time to create 1 rle with old method : 0.003361225128173828 time for calcul the mask position with numpy : 0.006585597991943359 nb_pixel_total : 63511 time to create 1 rle with old method : 0.07025408744812012 time for calcul the mask position with numpy : 0.029801130294799805 nb_pixel_total : 828604 time to create 1 rle with new method : 0.08447670936584473 time for calcul the mask position with numpy : 0.006256580352783203 nb_pixel_total : 8727 time to create 1 rle with old method : 0.009505510330200195 time for calcul the mask position with numpy : 0.007514476776123047 nb_pixel_total : 218693 time to create 1 rle with new method : 0.24923944473266602 create new chi : 0.7612731456756592 time to delete rle : 0.017841815948486328 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 6985 TO DO : save crop sub photo not yet done ! save time : 0.41341590881347656 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.3607950210571289 time for calcul the mask position with numpy : 0.2256917953491211 nb_pixel_total : 1713863 time to create 1 rle with new method : 0.07387161254882812 time for calcul the mask position with numpy : 0.006410837173461914 nb_pixel_total : 2402 time to create 1 rle with old method : 0.003293275833129883 time for calcul the mask position with numpy : 0.006714344024658203 nb_pixel_total : 52391 time to create 1 rle with old method : 0.057637929916381836 time for calcul the mask position with numpy : 0.0059871673583984375 nb_pixel_total : 9720 time to create 1 rle with old method : 0.010364770889282227 time for calcul the mask position with numpy : 0.007734060287475586 nb_pixel_total : 283999 time to create 1 rle with new method : 0.031297922134399414 time for calcul the mask position with numpy : 0.007750749588012695 nb_pixel_total : 11225 time to create 1 rle with old method : 0.014309406280517578 create new chi : 0.45189619064331055 time to delete rle : 0.0005154609680175781 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 5054 TO DO : save crop sub photo not yet done ! save time : 0.3331882953643799 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 0.4962735176086426 time for calcul the mask position with numpy : 0.018758058547973633 nb_pixel_total : 1297812 time to create 1 rle with new method : 0.11475205421447754 time for calcul the mask position with numpy : 0.006532430648803711 nb_pixel_total : 24373 time to create 1 rle with old method : 0.026482582092285156 time for calcul the mask position with numpy : 0.0063877105712890625 nb_pixel_total : 53152 time to create 1 rle with old method : 0.058040618896484375 time for calcul the mask position with numpy : 0.0064585208892822266 nb_pixel_total : 6471 time to create 1 rle with old method : 0.007354259490966797 time for calcul the mask position with numpy : 0.0064127445220947266 nb_pixel_total : 6520 time to create 1 rle with old method : 0.007245779037475586 time for calcul the mask position with numpy : 0.007148265838623047 nb_pixel_total : 43133 time to create 1 rle with old method : 0.04731631278991699 time for calcul the mask position with numpy : 0.0076448917388916016 nb_pixel_total : 272090 time to create 1 rle with new method : 0.05377769470214844 time for calcul the mask position with numpy : 0.009314537048339844 nb_pixel_total : 370049 time to create 1 rle with new method : 0.03438091278076172 create new chi : 0.4265279769897461 time to delete rle : 0.0011425018310546875 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 9025 TO DO : save crop sub photo not yet done ! save time : 0.6849474906921387 nb_obj : 9 nb_hashtags : 7 time to prepare the origin masks : 1.6829166412353516 time for calcul the mask position with numpy : 0.03451061248779297 nb_pixel_total : 938886 time to create 1 rle with new method : 0.25884532928466797 time for calcul the mask position with numpy : 0.006754636764526367 nb_pixel_total : 5672 time to create 1 rle with old method : 0.006749391555786133 time for calcul the mask position with numpy : 0.006609439849853516 nb_pixel_total : 18068 time to create 1 rle with old method : 0.02000737190246582 time for calcul the mask position with numpy : 0.011179447174072266 nb_pixel_total : 581488 time to create 1 rle with new method : 0.10128116607666016 time for calcul the mask position with numpy : 0.006735324859619141 nb_pixel_total : 25130 time to create 1 rle with old method : 0.028786897659301758 time for calcul the mask position with numpy : 0.00702214241027832 nb_pixel_total : 21087 time to create 1 rle with old method : 0.024970293045043945 time for calcul the mask position with numpy : 0.006841182708740234 nb_pixel_total : 3276 time to create 1 rle with old method : 0.003706216812133789 time for calcul the mask position with numpy : 0.008083343505859375 nb_pixel_total : 3937 time to create 1 rle with old method : 0.005619525909423828 time for calcul the mask position with numpy : 0.011168241500854492 nb_pixel_total : 462238 time to create 1 rle with new method : 0.11975741386413574 time for calcul the mask position with numpy : 0.006468534469604492 nb_pixel_total : 13818 time to create 1 rle with old method : 0.01531839370727539 create new chi : 0.7114658355712891 time to delete rle : 0.0008249282836914062 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 7857 TO DO : save crop sub photo not yet done ! save time : 1.1178274154663086 nb_obj : 12 nb_hashtags : 5 time to prepare the origin masks : 1.0711004734039307 time for calcul the mask position with numpy : 0.05571556091308594 nb_pixel_total : 1354245 time to create 1 rle with new method : 0.08486366271972656 time for calcul the mask position with numpy : 0.006629467010498047 nb_pixel_total : 62750 time to create 1 rle with old method : 0.0724644660949707 time for calcul the mask position with numpy : 0.006750345230102539 nb_pixel_total : 113241 time to create 1 rle with old method : 0.12146997451782227 time for calcul the mask position with numpy : 0.006166934967041016 nb_pixel_total : 4626 time to create 1 rle with old method : 0.005240440368652344 time for calcul the mask position with numpy : 0.006081581115722656 nb_pixel_total : 20356 time to create 1 rle with old method : 0.02279353141784668 time for calcul the mask position with numpy : 0.006234407424926758 nb_pixel_total : 12981 time to create 1 rle with old method : 0.014374494552612305 time for calcul the mask position with numpy : 0.005928516387939453 nb_pixel_total : 708 time to create 1 rle with old method : 0.0008311271667480469 time for calcul the mask position with numpy : 0.008096456527709961 nb_pixel_total : 360177 time to create 1 rle with new method : 0.2299041748046875 time for calcul the mask position with numpy : 0.006451129913330078 nb_pixel_total : 80422 time to create 1 rle with old method : 0.09083724021911621 time for calcul the mask position with numpy : 0.006371736526489258 nb_pixel_total : 28994 time to create 1 rle with old method : 0.031077861785888672 time for calcul the mask position with numpy : 0.006005048751831055 nb_pixel_total : 7652 time to create 1 rle with old method : 0.0084075927734375 time for calcul the mask position with numpy : 0.006274223327636719 nb_pixel_total : 14601 time to create 1 rle with old method : 0.01635122299194336 time for calcul the mask position with numpy : 0.006543636322021484 nb_pixel_total : 12847 time to create 1 rle with old method : 0.015034198760986328 create new chi : 0.8609387874603271 time to delete rle : 0.00080108642578125 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 9551 TO DO : save crop sub photo not yet done ! save time : 0.5654637813568115 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.3656775951385498 time for calcul the mask position with numpy : 0.017559528350830078 nb_pixel_total : 1249466 time to create 1 rle with new method : 0.040590763092041016 time for calcul the mask position with numpy : 0.006372928619384766 nb_pixel_total : 4700 time to create 1 rle with old method : 0.005179643630981445 time for calcul the mask position with numpy : 0.01766061782836914 nb_pixel_total : 798019 time to create 1 rle with new method : 0.03537154197692871 time for calcul the mask position with numpy : 0.007298469543457031 nb_pixel_total : 20323 time to create 1 rle with old method : 0.03323984146118164 time for calcul the mask position with numpy : 0.007249116897583008 nb_pixel_total : 1092 time to create 1 rle with old method : 0.0019366741180419922 create new chi : 0.17334866523742676 time to delete rle : 0.0007665157318115234 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 3641 TO DO : save crop sub photo not yet done ! save time : 0.2480461597442627 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 0.7682712078094482 time for calcul the mask position with numpy : 0.013396978378295898 nb_pixel_total : 862005 time to create 1 rle with new method : 0.032263755798339844 time for calcul the mask position with numpy : 0.0062713623046875 nb_pixel_total : 17029 time to create 1 rle with old method : 0.02609872817993164 time for calcul the mask position with numpy : 0.00849151611328125 nb_pixel_total : 75309 time to create 1 rle with old method : 0.11009716987609863 time for calcul the mask position with numpy : 0.014244556427001953 nb_pixel_total : 792353 time to create 1 rle with new method : 0.03282952308654785 time for calcul the mask position with numpy : 0.00768733024597168 nb_pixel_total : 212233 time to create 1 rle with new method : 0.03336763381958008 time for calcul the mask position with numpy : 0.006728649139404297 nb_pixel_total : 16414 time to create 1 rle with old method : 0.018252134323120117 time for calcul the mask position with numpy : 0.008661985397338867 nb_pixel_total : 45010 time to create 1 rle with old method : 0.04940676689147949 time for calcul the mask position with numpy : 0.0067446231842041016 nb_pixel_total : 53247 time to create 1 rle with old method : 0.058515310287475586 create new chi : 0.43430089950561523 time to delete rle : 0.0008270740509033203 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 8100 TO DO : save crop sub photo not yet done ! save time : 0.46855592727661133 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 0.5678393840789795 time for calcul the mask position with numpy : 0.014947891235351562 nb_pixel_total : 1341401 time to create 1 rle with new method : 0.08406686782836914 time for calcul the mask position with numpy : 0.006250143051147461 nb_pixel_total : 19543 time to create 1 rle with old method : 0.022588729858398438 time for calcul the mask position with numpy : 0.010268688201904297 nb_pixel_total : 570266 time to create 1 rle with new method : 0.03138017654418945 time for calcul the mask position with numpy : 0.007386684417724609 nb_pixel_total : 56887 time to create 1 rle with old method : 0.09105539321899414 time for calcul the mask position with numpy : 0.006474733352661133 nb_pixel_total : 13484 time to create 1 rle with old method : 0.01458883285522461 time for calcul the mask position with numpy : 0.006915092468261719 nb_pixel_total : 44737 time to create 1 rle with old method : 0.05144023895263672 time for calcul the mask position with numpy : 0.007596254348754883 nb_pixel_total : 12964 time to create 1 rle with old method : 0.01768779754638672 time for calcul the mask position with numpy : 0.006869077682495117 nb_pixel_total : 14318 time to create 1 rle with old method : 0.01674938201904297 create new chi : 0.40239405632019043 time to delete rle : 0.0005562305450439453 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 5410 TO DO : save crop sub photo not yet done ! save time : 0.33557748794555664 nb_obj : 7 nb_hashtags : 1 time to prepare the origin masks : 0.6901259422302246 time for calcul the mask position with numpy : 0.01518106460571289 nb_pixel_total : 770590 time to create 1 rle with new method : 0.09002852439880371 time for calcul the mask position with numpy : 0.006707191467285156 nb_pixel_total : 13557 time to create 1 rle with old method : 0.022295475006103516 time for calcul the mask position with numpy : 0.007692098617553711 nb_pixel_total : 142038 time to create 1 rle with old method : 0.17145419120788574 time for calcul the mask position with numpy : 0.006188631057739258 nb_pixel_total : 1777 time to create 1 rle with old method : 0.0020165443420410156 time for calcul the mask position with numpy : 0.006216764450073242 nb_pixel_total : 4112 time to create 1 rle with old method : 0.005338191986083984 time for calcul the mask position with numpy : 0.006748199462890625 nb_pixel_total : 77438 time to create 1 rle with old method : 0.08901095390319824 time for calcul the mask position with numpy : 0.12199163436889648 nb_pixel_total : 1059638 time to create 1 rle with new method : 0.08403873443603516 time for calcul the mask position with numpy : 0.006106376647949219 nb_pixel_total : 4450 time to create 1 rle with old method : 0.004767656326293945 create new chi : 0.6612038612365723 time to delete rle : 0.0007352828979492188 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 8638 TO DO : save crop sub photo not yet done ! save time : 0.5081748962402344 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 0.7219192981719971 time for calcul the mask position with numpy : 0.01415705680847168 nb_pixel_total : 704001 time to create 1 rle with new method : 0.08681821823120117 time for calcul the mask position with numpy : 0.005949497222900391 nb_pixel_total : 496 time to create 1 rle with old method : 0.0005781650543212891 time for calcul the mask position with numpy : 0.005880594253540039 nb_pixel_total : 11335 time to create 1 rle with old method : 0.012038707733154297 time for calcul the mask position with numpy : 0.006135225296020508 nb_pixel_total : 57640 time to create 1 rle with old method : 0.06355786323547363 time for calcul the mask position with numpy : 0.006748199462890625 nb_pixel_total : 9650 time to create 1 rle with old method : 0.010941743850708008 time for calcul the mask position with numpy : 0.0064258575439453125 nb_pixel_total : 62394 time to create 1 rle with old method : 0.06727886199951172 time for calcul the mask position with numpy : 0.17283272743225098 nb_pixel_total : 1219512 time to create 1 rle with new method : 0.08316659927368164 time for calcul the mask position with numpy : 0.006669044494628906 nb_pixel_total : 8572 time to create 1 rle with old method : 0.009553670883178711 create new chi : 0.5735859870910645 time to delete rle : 0.0006487369537353516 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 7014 TO DO : save crop sub photo not yet done ! save time : 0.41835927963256836 map_output_result : {1340123879: (0.0, 'Should be the crop_list due to order', 0), 1340123833: (0.0, 'Should be the crop_list due to order', 0), 1340123828: (0.0, 'Should be the crop_list due to order', 0), 1340123688: (0.0, 'Should be the crop_list due to order', 0), 1340123674: (0.0, 'Should be the crop_list due to order', 0), 1340123475: (0.0, 'Should be the crop_list due to order', 0), 1340123468: (0.0, 'Should be the crop_list due to order', 0), 1340123414: (0.0, 'Should be the crop_list due to order', 0), 1340123410: (0.0, 'Should be the crop_list due to order', 0), 1340123364: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1340123879, 1340123833, 1340123828, 1340123688, 1340123674, 1340123475, 1340123468, 1340123414, 1340123410, 1340123364] Looping around the photos to save general results len do output : 10 /1340123879.Didn't retrieve data . /1340123833.Didn't retrieve data . /1340123828.Didn't retrieve data . /1340123688.Didn't retrieve data . /1340123674.Didn't retrieve data . /1340123475.Didn't retrieve data . /1340123468.Didn't retrieve data . /1340123414.Didn't retrieve data . /1340123410.Didn't retrieve data . /1340123364.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, '2623424') ('3459', None, '1340123879', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123833', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123828', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123688', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123674', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123475', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123468', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123414', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123410', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123364', None, None, None, None, None, '2623424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013571739196777344 save_final save missing photos in datou_result : time spend for datou_step_exec : 19.608553647994995 time spend to save output : 0.014113187789916992 total time spend for step 5 : 19.622666835784912 step6:crop_condition Fri Feb 28 11:39:44 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 84 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 4869462 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740739187_496777 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.9727811813354492 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 ! 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/1740739190_496777 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.8029601573944092 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 begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740739191_496777 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.178330898284912 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 ! 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/1740739194_496777 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.2371046543121338 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/1740739196_496777 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.1792511940002441 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 [1340123879, 1340123833, 1340123828, 1340123688, 1340123674, 1340123475, 1340123468, 1340123414, 1340123410, 1340123364] Looping around the photos to save general results len do output : 17 /1340125566Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125567Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125568Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125569Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125570Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125571Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125579Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125580Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125582Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125583Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125584Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125593Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125594Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125595Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125596Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125597Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125598Didn'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, '2623424') ('3459', None, '1340123879', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123833', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123828', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123688', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123674', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123475', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123468', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123414', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123410', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123364', None, None, None, None, None, '2623424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 61 time used for this insertion : 0.02618885040283203 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.855879306793213 time spend to save output : 0.02683568000793457 total time spend for step 6 : 12.882714986801147 step7:ventilate_hashtags_in_portfolio Fri Feb 28 11:39:57 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 : 20924412 get user id for portfolio 20924412 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`=20924412 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','mal_croppe','flou','plastique','metal','autre_refus','Carton_brun','cartonnette','kraft','environnement','Carton_gris','papier')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20924412 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','mal_croppe','flou','plastique','metal','autre_refus','Carton_brun','cartonnette','kraft','environnement','Carton_gris','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20924513,20924514,20924515,20924516,20924517,20924518,20924519,20924520,20924521,20924522,20924523,20924524?tags=flou,Teint_Dans_La_Masse,environnement,metal,cartonnette,plastique,mal_croppe,Carton_brun,kraft,papier,Carton_gris,autre_refus Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1340123879, 1340123833, 1340123828, 1340123688, 1340123674, 1340123475, 1340123468, 1340123414, 1340123410, 1340123364] Looping around the photos to save general results len do output : 1 /20924412. 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, '2623424') ('3459', None, '1340123879', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123833', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123828', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123688', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123674', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123475', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123468', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123414', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123410', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123364', None, None, None, None, None, '2623424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.015785932540893555 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4123086929321289 time spend to save output : 0.016037702560424805 total time spend for step 7 : 0.4283463954925537 step8:final Fri Feb 28 11:39:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1340123879: ('0.0827218082107567',), 1340123833: ('0.0827218082107567',), 1340123828: ('0.0827218082107567',), 1340123688: ('0.0827218082107567',), 1340123674: ('0.0827218082107567',), 1340123475: ('0.0827218082107567',), 1340123468: ('0.0827218082107567',), 1340123414: ('0.0827218082107567',), 1340123410: ('0.0827218082107567',), 1340123364: ('0.0827218082107567',)} new output for save of step final : {1340123879: ('0.0827218082107567',), 1340123833: ('0.0827218082107567',), 1340123828: ('0.0827218082107567',), 1340123688: ('0.0827218082107567',), 1340123674: ('0.0827218082107567',), 1340123475: ('0.0827218082107567',), 1340123468: ('0.0827218082107567',), 1340123414: ('0.0827218082107567',), 1340123410: ('0.0827218082107567',), 1340123364: ('0.0827218082107567',)} [1340123879, 1340123833, 1340123828, 1340123688, 1340123674, 1340123475, 1340123468, 1340123414, 1340123410, 1340123364] Looping around the photos to save general results len do output : 10 /1340123879.Didn't retrieve data . /1340123833.Didn't retrieve data . /1340123828.Didn't retrieve data . /1340123688.Didn't retrieve data . /1340123674.Didn't retrieve data . /1340123475.Didn't retrieve data . /1340123468.Didn't retrieve data . /1340123414.Didn't retrieve data . /1340123410.Didn't retrieve data . /1340123364.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, '2623424') ('3459', None, '1340123879', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123833', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123828', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123688', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123674', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123475', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123468', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123414', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123410', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123364', None, None, None, None, None, '2623424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013403654098510742 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.09711885452270508 time spend to save output : 0.013911962509155273 total time spend for step 8 : 0.11103081703186035 step9:velours_tree Fri Feb 28 11:39:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure 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.03275561332702637 time spend to save output : 3.314018249511719e-05 total time spend for step 9 : 0.032788753509521484 step10:send_mail_cod Fri Feb 28 11:39:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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_P20924412_28-02-2025_11_39_58.pdf 20924513 imagette209245131740739198 20924516 imagette209245161740739198 20924517 change filename to text .change filename to text .change filename to text .change filename to text .imagette209245171740739198 20924518 change filename to text .change filename to text .imagette209245181740739198 20924519 imagette209245191740739198 20924521 imagette209245211740739198 20924524 change filename to text .change filename to text .imagette209245241740739198 20924514 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 .imagette209245141740739198 20924520 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette209245201740739199 20924523 change filename to text .change filename to text .change filename to text .imagette209245231740739199 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20924412 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20924513,20924514,20924515,20924516,20924517,20924518,20924519,20924520,20924521,20924522,20924523,20924524?tags=flou,Teint_Dans_La_Masse,environnement,metal,cartonnette,plastique,mal_croppe,Carton_brun,kraft,papier,Carton_gris,autre_refus your option no_mail is active, we will not send the real mail to your client args[1340123879] : ('0.0827218082107567',) no score found for photo 1340123879 We are sending mail with results at report@fotonower.com args[1340123833] : ('0.0827218082107567',) no score found for photo 1340123833 We are sending mail with results at report@fotonower.com args[1340123828] : ('0.0827218082107567',) no score found for photo 1340123828 We are sending mail with results at report@fotonower.com args[1340123688] : ('0.0827218082107567',) no score found for photo 1340123688 We are sending mail with results at report@fotonower.com args[1340123674] : ('0.0827218082107567',) no score found for photo 1340123674 We are sending mail with results at report@fotonower.com args[1340123475] : ('0.0827218082107567',) no score found for photo 1340123475 We are sending mail with results at report@fotonower.com args[1340123468] : ('0.0827218082107567',) no score found for photo 1340123468 We are sending mail with results at report@fotonower.com args[1340123414] : ('0.0827218082107567',) no score found for photo 1340123414 We are sending mail with results at report@fotonower.com args[1340123410] : ('0.0827218082107567',) no score found for photo 1340123410 We are sending mail with results at report@fotonower.com args[1340123364] : ('0.0827218082107567',) no score found for photo 1340123364 We are sending mail with results at report@fotonower.com refus_total : 0.0827218082107567 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=20924412 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1340124080,1340123008,1340123879,1340123833,1340123674,1340124366,1340124077,1340124033,1340124031,1340123982,1340123975,1340123929,1340123926,1340123882,1340123828,1340123688,1340122282,1340123475,1340123468,1340123414) Found this number of photos: 20 begin to download photo : 1340124080 begin to download photo : 1340124366 begin to download photo : 1340123975 begin to download photo : 1340123688 download finish for photo 1340124366 begin to download photo : 1340124077 download finish for photo 1340123975 begin to download photo : 1340123929 download finish for photo 1340123688 begin to download photo : 1340122282 download finish for photo 1340124080 begin to download photo : 1340123008 download finish for photo 1340123929 begin to download photo : 1340123926 download finish for photo 1340124077 begin to download photo : 1340124033 download finish for photo 1340123008 begin to download photo : 1340123879 download finish for photo 1340122282 begin to download photo : 1340123475 download finish for photo 1340123926 begin to download photo : 1340123882 download finish for photo 1340124033 begin to download photo : 1340124031 download finish for photo 1340123879 begin to download photo : 1340123833 download finish for photo 1340124031 begin to download photo : 1340123982 download finish for photo 1340123882 begin to download photo : 1340123828 download finish for photo 1340123833 begin to download photo : 1340123674 download finish for photo 1340123475 begin to download photo : 1340123468 download finish for photo 1340123982 download finish for photo 1340123828 download finish for photo 1340123674 download finish for photo 1340123468 begin to download photo : 1340123414 download finish for photo 1340123414 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924412_28-02-2025_11_39_58.pdf results_Auto_P20924412_28-02-2025_11_39_58.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924412_28-02-2025_11_39_58.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','20924412','results_Auto_P20924412_28-02-2025_11_39_58.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924412_28-02-2025_11_39_58.pdf','pdf','','0.35','0.0827218082107567') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1340123879, 1340123833, 1340123828, 1340123688, 1340123674, 1340123475, 1340123468, 1340123414, 1340123410, 1340123364] 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, '2623424') ('3459', None, '1340123879', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123833', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123828', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123688', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123674', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123475', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123468', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123414', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123410', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123364', None, None, None, None, None, '2623424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.012783050537109375 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.6695456504821777 time spend to save output : 0.013072729110717773 total time spend for step 10 : 3.6826183795928955 step11:split_time_score Fri Feb 28 11:40:01 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'}] (('11', 30),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 28022025 20924412 Nombre de photos uploadées : 30 / 23040 (0%) 28022025 20924412 Nombre de photos taguées (types de déchets): 0 / 30 (0%) 28022025 20924412 Nombre de photos taguées (volume) : 0 / 30 (0%) elapsed_time : load_data_split_time_score 5.0067901611328125e-06 elapsed_time : order_list_meta_photo_and_scores 1.33514404296875e-05 ?????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0038280487060546875 elapsed_time : insert_dashboard_record_day_entry 0.022757768630981445 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.05088624831321179 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20914260_28-02-2025_07_41_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20914260 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`=20914260 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20915778 order by id desc limit 1 Qualite : 0.04017470717428347 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20915779_28-02-2025_08_15_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20915779 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`=20915779 AND mptpi.`type`=3726 To do Qualite : 0.04803433581558472 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20915780_28-02-2025_08_12_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20915780 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`=20915780 AND mptpi.`type`=3726 To do Qualite : 0.06013827796971072 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20918548_28-02-2025_09_29_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20918548 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`=20918548 AND mptpi.`type`=3726 To do Qualite : 0.04300211938089632 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20918549_28-02-2025_09_23_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20918549 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`=20918549 AND mptpi.`type`=3726 To do Qualite : 0.04345018324882482 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20918550_28-02-2025_09_15_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20918550 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`=20918550 AND mptpi.`type`=3726 To do Qualite : 0.026506946779751964 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20918551_28-02-2025_10_42_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20918551 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`=20918551 AND mptpi.`type`=3726 To do Qualite : 0.055121887298477674 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20920571_28-02-2025_10_11_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20920571 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`=20920571 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20923146 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20923147 order by id desc limit 1 Qualite : 0.032410133098050124 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20923148_28-02-2025_11_19_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20923148 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`=20923148 AND mptpi.`type`=3726 To do Qualite : 0.05067717796119748 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20923149_28-02-2025_11_13_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20923149 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`=20923149 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20923150 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20924411 order by id desc limit 1 Qualite : 0.05241756196653198 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924412_28-02-2025_11_39_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20924412 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`=20924412 AND mptpi.`type`=3726 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'28022025': {'nb_upload': 30, '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 [1340123879, 1340123833, 1340123828, 1340123688, 1340123674, 1340123475, 1340123468, 1340123414, 1340123410, 1340123364] Looping around the photos to save general results len do output : 1 /20924412Didn'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, '2623424') ('3459', None, '1340123879', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123833', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123828', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123688', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123674', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123475', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123468', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123414', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123410', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', None, '1340123364', None, None, None, None, None, '2623424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.01602625846862793 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.724123954772949 time spend to save output : 0.016237497329711914 total time spend for step 11 : 4.740361452102661 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 54.21user 28.06system 1:41.94elapsed 80%CPU (0avgtext+0avgdata 2809676maxresident)k 2032inputs+45016outputs (42major+2263887minor)pagefaults 0swaps